Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-17 23:59:02.763686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/12/image_16012025_20_12_02_581793_0003.jpg', '/home/pi/Desktop/images/16012025/20/13/image_16012025_20_13_02_792356_0000.jpg', '/home/pi/Desktop/images/16012025/20/13/image_16012025_20_13_02_792356_0001.jpg', '/home/pi/Desktop/images/16012025/20/13/image_16012025_20_13_02_792356_0002.jpg', '/home/pi/Desktop/images/16012025/20/13/image_16012025_20_13_02_792356_0003.jpg', '/home/pi/Desktop/images/16012025/20/14/image_16012025_20_14_02_944440_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/12/image_16012025_20_12_02_581793_0003.jpg
/home/pi/Desktop/images/16012025/20/13/image_16012025_20_13_02_792356_0000.jpg
/home/pi/Desktop/images/16012025/20/13/image_16012025_20_13_02_792356_0001.jpg
/home/pi/Desktop/images/16012025/20/13/image_16012025_20_13_02_792356_0002.jpg
/home/pi/Desktop/images/16012025/20/13/image_16012025_20_13_02_792356_0003.jpg
/home/pi/Desktop/images/16012025/20/14/image_16012025_20_14_02_944440_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":["1329598579","1329598581","1329598575","1329598569","1329598584","1329598551"],"photo_ids_order":["1329598551","1329598569","1329598575","1329598579","1329598581","1329598584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/132396fbfe806f4cc3bce612f4dbdd64.jpg","text":"TemporaryFile(/tmp/multipartBody2925380635580761774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154821208,"filename":"image_16012025_20_13_02_792356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce0e07bc706ed793f6195248c8643c8f.jpg","text":"TemporaryFile(/tmp/multipartBody270958279767824729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154821208,"filename":"image_16012025_20_13_02_792356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0fdb3726e7a93fd0610878dd56649079.jpg","text":"TemporaryFile(/tmp/multipartBody9069622791377419094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154821208,"filename":"image_16012025_20_13_02_792356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b47f0a70ac1c209f9b3c26c2b39ed3bc.jpg","text":"TemporaryFile(/tmp/multipartBody1739679544404030567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154821208,"filename":"image_16012025_20_13_02_792356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21e2d1a61f40e831941ca4f2546a1104.jpg","text":"TemporaryFile(/tmp/multipartBody6703363821973400468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154821208,"filename":"image_16012025_20_14_02_944440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cb36d5a6572165def0a14584f1029430.jpg","text":"TemporaryFile(/tmp/multipartBody4475944154111336315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154821208,"filename":"image_16012025_20_12_02_581793_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329598575","file1":"1329598569","file0":"1329598551","file4":"1329598581","file5":"1329598584","file3":"1329598579"},"map_files_photo_id_array":[{"photo_id":"1329598584","filename":"file5"},{"photo_id":"1329598575","filename":"file2"},{"photo_id":"1329598581","filename":"file4"},{"photo_id":"1329598569","filename":"file1"},{"photo_id":"1329598551","filename":"file0"},{"photo_id":"1329598579","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329598579":["hashtag1","hashtag2"]},{"1329598581":["hashtag1","hashtag2"]},{"1329598575":["hashtag1","hashtag2"]},{"1329598569":["hashtag1","hashtag2"]},{"1329598584":["hashtag1","hashtag2"]},{"1329598551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329598579, 1329598581, 1329598575, 1329598569, 1329598584, 1329598551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.604307413101196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:00:22.300809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 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_18012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19724253, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1737154883000}
533
2493062
533
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/00/image_18012025_00_00_02_522511_0000.jpg', '/home/pi/Desktop/images/18012025/00/00/image_18012025_00_00_02_522511_0001.jpg', '/home/pi/Desktop/images/18012025/00/00/image_18012025_00_00_02_522511_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/00/image_18012025_00_00_02_522511_0000.jpg
/home/pi/Desktop/images/18012025/00/00/image_18012025_00_00_02_522511_0001.jpg
/home/pi/Desktop/images/18012025/00/00/image_18012025_00_00_02_522511_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329598622","1329598619","1329598626"],"photo_ids_order":["1329598619","1329598622","1329598626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f98eeb8a1580b8b5b95b4eb965ce10f8.jpg","text":"TemporaryFile(/tmp/multipartBody6287835529057810930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154893834,"filename":"image_18012025_00_00_02_522511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7087f23164cba07a6fd8dbf97dcfb86.jpg","text":"TemporaryFile(/tmp/multipartBody1752742017627077917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154893834,"filename":"image_18012025_00_00_02_522511_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54442cb15d2c701d23f96fac1a7a83c0.jpg","text":"TemporaryFile(/tmp/multipartBody6792909141367431096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154893834,"filename":"image_18012025_00_00_02_522511_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329598626","file1":"1329598622","file0":"1329598619"},"map_files_photo_id_array":[{"photo_id":"1329598626","filename":"file2"},{"photo_id":"1329598622","filename":"file1"},{"photo_id":"1329598619","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329598622":["hashtag1","hashtag2"]},{"1329598619":["hashtag1","hashtag2"]},{"1329598626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329598622, 1329598619, 1329598626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.853028297424316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 00:01:03.019973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/14/image_16012025_20_14_02_944440_0001.jpg', '/home/pi/Desktop/images/16012025/20/14/image_16012025_20_14_02_944440_0002.jpg', '/home/pi/Desktop/images/16012025/20/14/image_16012025_20_14_02_944440_0003.jpg', '/home/pi/Desktop/images/16012025/20/15/image_16012025_20_15_03_093817_0000.jpg', '/home/pi/Desktop/images/16012025/20/15/image_16012025_20_15_03_093817_0001.jpg', '/home/pi/Desktop/images/16012025/20/15/image_16012025_20_15_03_093817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/14/image_16012025_20_14_02_944440_0001.jpg
/home/pi/Desktop/images/16012025/20/14/image_16012025_20_14_02_944440_0002.jpg
/home/pi/Desktop/images/16012025/20/14/image_16012025_20_14_02_944440_0003.jpg
/home/pi/Desktop/images/16012025/20/15/image_16012025_20_15_03_093817_0000.jpg
/home/pi/Desktop/images/16012025/20/15/image_16012025_20_15_03_093817_0001.jpg
/home/pi/Desktop/images/16012025/20/15/image_16012025_20_15_03_093817_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329598655","1329598643","1329598648","1329598662","1329598650","1329598652"],"photo_ids_order":["1329598643","1329598648","1329598650","1329598652","1329598655","1329598662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f96da960309b473b21f8a4b4ecba88e.jpg","text":"TemporaryFile(/tmp/multipartBody2716676840689972164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154940356,"filename":"image_16012025_20_15_03_093817_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/990fe3c1d2c353b3755aa8bce487e4cb.jpg","text":"TemporaryFile(/tmp/multipartBody7864373074586975481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154940356,"filename":"image_16012025_20_14_02_944440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6df11ea4d79bc4fe3df946be894d0351.jpg","text":"TemporaryFile(/tmp/multipartBody4960329417720650285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154940356,"filename":"image_16012025_20_14_02_944440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e86e612a696ac5b1f866ae35c7cf819d.jpg","text":"TemporaryFile(/tmp/multipartBody5305425286862936657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154940356,"filename":"image_16012025_20_15_03_093817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac9318d6343d9b455643245c5c18092c.jpg","text":"TemporaryFile(/tmp/multipartBody1833916105782155822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154940356,"filename":"image_16012025_20_14_02_944440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/72dfabec3ff83137c02fe8c91ea32470.jpg","text":"TemporaryFile(/tmp/multipartBody4394907800011557397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737154940356,"filename":"image_16012025_20_15_03_093817_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329598650","file1":"1329598648","file0":"1329598643","file4":"1329598655","file5":"1329598662","file3":"1329598652"},"map_files_photo_id_array":[{"photo_id":"1329598662","filename":"file5"},{"photo_id":"1329598650","filename":"file2"},{"photo_id":"1329598655","filename":"file4"},{"photo_id":"1329598648","filename":"file1"},{"photo_id":"1329598643","filename":"file0"},{"photo_id":"1329598652","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329598655":["hashtag1","hashtag2"]},{"1329598643":["hashtag1","hashtag2"]},{"1329598648":["hashtag1","hashtag2"]},{"1329598662":["hashtag1","hashtag2"]},{"1329598650":["hashtag1","hashtag2"]},{"1329598652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329598655, 1329598643, 1329598648, 1329598662, 1329598650, 1329598652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.267836570739746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:02:22.552744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/00/image_18012025_00_00_02_522511_0003.jpg', '/home/pi/Desktop/images/18012025/00/01/image_18012025_00_01_02_609591_0000.jpg', '/home/pi/Desktop/images/18012025/00/01/image_18012025_00_01_02_609591_0001.jpg', '/home/pi/Desktop/images/18012025/00/01/image_18012025_00_01_02_609591_0002.jpg', '/home/pi/Desktop/images/18012025/00/01/image_18012025_00_01_02_609591_0003.jpg', '/home/pi/Desktop/images/18012025/00/02/image_18012025_00_02_02_823815_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/00/image_18012025_00_00_02_522511_0003.jpg
/home/pi/Desktop/images/18012025/00/01/image_18012025_00_01_02_609591_0000.jpg
/home/pi/Desktop/images/18012025/00/01/image_18012025_00_01_02_609591_0001.jpg
/home/pi/Desktop/images/18012025/00/01/image_18012025_00_01_02_609591_0002.jpg
/home/pi/Desktop/images/18012025/00/01/image_18012025_00_01_02_609591_0003.jpg
/home/pi/Desktop/images/18012025/00/02/image_18012025_00_02_02_823815_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":["1329598814","1329598901","1329599214","1329599186","1329599004","1329599117"],"photo_ids_order":["1329598814","1329598901","1329599004","1329599117","1329599186","1329599214"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f59f99368a3ed779183431b4b88b2f35.jpg","text":"TemporaryFile(/tmp/multipartBody4938858183334951152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155019205,"filename":"image_18012025_00_00_02_522511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b69a9fcc0171cca40752fd3e621cc374.jpg","text":"TemporaryFile(/tmp/multipartBody7067067274329683542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155019205,"filename":"image_18012025_00_01_02_609591_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b15d5d240a1682a8e81e03e6add5a88.jpg","text":"TemporaryFile(/tmp/multipartBody6067565726822660632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155019205,"filename":"image_18012025_00_02_02_823815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/10dfac3b3e291f59ea1d874adfacd91e.jpg","text":"TemporaryFile(/tmp/multipartBody4240567153232798840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155019205,"filename":"image_18012025_00_01_02_609591_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6fd156ee27fabbfeddc18680c4bbe392.jpg","text":"TemporaryFile(/tmp/multipartBody1756525701729644542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155019205,"filename":"image_18012025_00_01_02_609591_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/904d44a6f26630f9f8860bc5795698b0.jpg","text":"TemporaryFile(/tmp/multipartBody4994359255040067259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155019205,"filename":"image_18012025_00_01_02_609591_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329599004","file1":"1329598901","file0":"1329598814","file4":"1329599186","file5":"1329599214","file3":"1329599117"},"map_files_photo_id_array":[{"photo_id":"1329599214","filename":"file5"},{"photo_id":"1329599004","filename":"file2"},{"photo_id":"1329599186","filename":"file4"},{"photo_id":"1329598901","filename":"file1"},{"photo_id":"1329598814","filename":"file0"},{"photo_id":"1329599117","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329598814":["hashtag1","hashtag2"]},{"1329598901":["hashtag1","hashtag2"]},{"1329599214":["hashtag1","hashtag2"]},{"1329599186":["hashtag1","hashtag2"]},{"1329599004":["hashtag1","hashtag2"]},{"1329599117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329598814, 1329598901, 1329599214, 1329599186, 1329599004, 1329599117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.838143825531006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:03:21.837275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/02/image_18012025_00_02_02_823815_0001.jpg', '/home/pi/Desktop/images/18012025/00/02/image_18012025_00_02_02_823815_0002.jpg', '/home/pi/Desktop/images/18012025/00/02/image_18012025_00_02_02_823815_0003.jpg', '/home/pi/Desktop/images/18012025/00/03/image_18012025_00_03_02_928292_0000.jpg', '/home/pi/Desktop/images/18012025/00/03/image_18012025_00_03_02_928292_0001.jpg', '/home/pi/Desktop/images/18012025/00/03/image_18012025_00_03_02_928292_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/02/image_18012025_00_02_02_823815_0001.jpg
/home/pi/Desktop/images/18012025/00/02/image_18012025_00_02_02_823815_0002.jpg
/home/pi/Desktop/images/18012025/00/02/image_18012025_00_02_02_823815_0003.jpg
/home/pi/Desktop/images/18012025/00/03/image_18012025_00_03_02_928292_0000.jpg
/home/pi/Desktop/images/18012025/00/03/image_18012025_00_03_02_928292_0001.jpg
/home/pi/Desktop/images/18012025/00/03/image_18012025_00_03_02_928292_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329600319","1329600192","1329599845","1329599658","1329599487","1329600011"],"photo_ids_order":["1329599487","1329599658","1329599845","1329600011","1329600192","1329600319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be63c8b58707d0b11352fd64a7649ed2.jpg","text":"TemporaryFile(/tmp/multipartBody4500370250867620327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155078328,"filename":"image_18012025_00_03_02_928292_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea8fa4cd60b074a0c18674cbbee8bd10.jpg","text":"TemporaryFile(/tmp/multipartBody6257503607584821282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155078328,"filename":"image_18012025_00_03_02_928292_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01e9d29787da788d428a2f990a5ac7b5.jpg","text":"TemporaryFile(/tmp/multipartBody8201225637429972255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155078328,"filename":"image_18012025_00_02_02_823815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/985362dc0aa2e73582a184c838f2ef07.jpg","text":"TemporaryFile(/tmp/multipartBody1358437190848322024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155078328,"filename":"image_18012025_00_02_02_823815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a21c912bce3fee564179cd64d2829cae.jpg","text":"TemporaryFile(/tmp/multipartBody1107097125016047985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155078328,"filename":"image_18012025_00_02_02_823815_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5cffcd2c1174335e823b83457b32470b.jpg","text":"TemporaryFile(/tmp/multipartBody1322821124505649103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155078328,"filename":"image_18012025_00_03_02_928292_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329599845","file1":"1329599658","file0":"1329599487","file4":"1329600192","file5":"1329600319","file3":"1329600011"},"map_files_photo_id_array":[{"photo_id":"1329600319","filename":"file5"},{"photo_id":"1329599845","filename":"file2"},{"photo_id":"1329600192","filename":"file4"},{"photo_id":"1329599658","filename":"file1"},{"photo_id":"1329599487","filename":"file0"},{"photo_id":"1329600011","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329600319":["hashtag1","hashtag2"]},{"1329600192":["hashtag1","hashtag2"]},{"1329599845":["hashtag1","hashtag2"]},{"1329599658":["hashtag1","hashtag2"]},{"1329599487":["hashtag1","hashtag2"]},{"1329600011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329600319, 1329600192, 1329599845, 1329599658, 1329599487, 1329600011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.021623611450195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:04:21.959482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/03/image_18012025_00_03_02_928292_0003.jpg', '/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0000.jpg', '/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0001.jpg', '/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/03/image_18012025_00_03_02_928292_0003.jpg
/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0000.jpg
/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0001.jpg
/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.057537078857422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:04:51.985306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/15/image_16012025_20_15_03_093817_0003.jpg', '/home/pi/Desktop/images/16012025/20/16/image_16012025_20_16_02_405268_0000.jpg', '/home/pi/Desktop/images/16012025/20/16/image_16012025_20_16_02_405268_0001.jpg', '/home/pi/Desktop/images/16012025/20/16/image_16012025_20_16_02_405268_0002.jpg', '/home/pi/Desktop/images/16012025/20/16/image_16012025_20_16_02_405268_0003.jpg', '/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/15/image_16012025_20_15_03_093817_0003.jpg
/home/pi/Desktop/images/16012025/20/16/image_16012025_20_16_02_405268_0000.jpg
/home/pi/Desktop/images/16012025/20/16/image_16012025_20_16_02_405268_0001.jpg
/home/pi/Desktop/images/16012025/20/16/image_16012025_20_16_02_405268_0002.jpg
/home/pi/Desktop/images/16012025/20/16/image_16012025_20_16_02_405268_0003.jpg
/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_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":["1329601221","1329601209","1329601217","1329601192","1329601225","1329601197"],"photo_ids_order":["1329601192","1329601197","1329601209","1329601217","1329601221","1329601225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/32b2f3726413eb648005804a88eeb2b1.jpg","text":"TemporaryFile(/tmp/multipartBody1805477631355969004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155169616,"filename":"image_16012025_20_16_02_405268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b16410571c7da19eafb4cc4dccad7fe3.jpg","text":"TemporaryFile(/tmp/multipartBody5811260197299190021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155169616,"filename":"image_16012025_20_16_02_405268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e18fa56e87035b451c886d86bcb11a19.jpg","text":"TemporaryFile(/tmp/multipartBody6870730724978633693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155169616,"filename":"image_16012025_20_16_02_405268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b057e2681d1ab5665dd4ac32f5f7d6b5.jpg","text":"TemporaryFile(/tmp/multipartBody4874473250923049519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155169616,"filename":"image_16012025_20_15_03_093817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cdcd19ddd40644eda40ea5dbce6b168c.jpg","text":"TemporaryFile(/tmp/multipartBody9077947996332519905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155169616,"filename":"image_16012025_20_17_02_607736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed12c2f91551a99b3493361fa90ce1ac.jpg","text":"TemporaryFile(/tmp/multipartBody1483112153801495226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155169616,"filename":"image_16012025_20_16_02_405268_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329601209","file1":"1329601197","file0":"1329601192","file4":"1329601221","file5":"1329601225","file3":"1329601217"},"map_files_photo_id_array":[{"photo_id":"1329601225","filename":"file5"},{"photo_id":"1329601209","filename":"file2"},{"photo_id":"1329601221","filename":"file4"},{"photo_id":"1329601197","filename":"file1"},{"photo_id":"1329601192","filename":"file0"},{"photo_id":"1329601217","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329601221":["hashtag1","hashtag2"]},{"1329601209":["hashtag1","hashtag2"]},{"1329601217":["hashtag1","hashtag2"]},{"1329601192":["hashtag1","hashtag2"]},{"1329601225":["hashtag1","hashtag2"]},{"1329601197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329601221, 1329601209, 1329601217, 1329601192, 1329601225, 1329601197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.272287130355835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:05:52.201994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_0001.jpg', '/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_0002.jpg', '/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_0003.jpg', '/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_0000.jpg', '/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_0001.jpg', '/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_0001.jpg
/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_0002.jpg
/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_0003.jpg
/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_0000.jpg
/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_0001.jpg
/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_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: 17.313953161239624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:06:22.349903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/03/image_18012025_00_03_02_928292_0003.jpg', '/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0000.jpg', '/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0001.jpg', '/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0002.jpg', '/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0003.jpg', '/home/pi/Desktop/images/18012025/00/05/image_18012025_00_05_02_404667_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/03/image_18012025_00_03_02_928292_0003.jpg
/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0000.jpg
/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0001.jpg
/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0002.jpg
/home/pi/Desktop/images/18012025/00/04/image_18012025_00_04_02_194154_0003.jpg
/home/pi/Desktop/images/18012025/00/05/image_18012025_00_05_02_404667_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":["1329601265","1329601684","1329601270","1329601579","1329601465","1329601348"],"photo_ids_order":["1329601265","1329601270","1329601348","1329601465","1329601579","1329601684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2379a57074b224b25a0cfb3d343b032.jpg","text":"TemporaryFile(/tmp/multipartBody8909282464689484580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155259133,"filename":"image_18012025_00_03_02_928292_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8ff50991758b72005b3aea1b43719a3.jpg","text":"TemporaryFile(/tmp/multipartBody39801727156354034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155259133,"filename":"image_18012025_00_05_02_404667_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1554abdfdc46442b97582bb83db5c5de.jpg","text":"TemporaryFile(/tmp/multipartBody179683286457774606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155259133,"filename":"image_18012025_00_04_02_194154_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e674459d1bff36eddbea268d5874b02b.jpg","text":"TemporaryFile(/tmp/multipartBody4235329362590388703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155259133,"filename":"image_18012025_00_04_02_194154_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c54d855ced5da18f3619f19f92db3e23.jpg","text":"TemporaryFile(/tmp/multipartBody8310474823222244030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155259133,"filename":"image_18012025_00_04_02_194154_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a2fe33b2974a15ca6380e8f82e46238.jpg","text":"TemporaryFile(/tmp/multipartBody3437258502801575373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155259133,"filename":"image_18012025_00_04_02_194154_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329601348","file1":"1329601270","file0":"1329601265","file4":"1329601579","file5":"1329601684","file3":"1329601465"},"map_files_photo_id_array":[{"photo_id":"1329601684","filename":"file5"},{"photo_id":"1329601348","filename":"file2"},{"photo_id":"1329601579","filename":"file4"},{"photo_id":"1329601270","filename":"file1"},{"photo_id":"1329601265","filename":"file0"},{"photo_id":"1329601465","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329601265":["hashtag1","hashtag2"]},{"1329601684":["hashtag1","hashtag2"]},{"1329601270":["hashtag1","hashtag2"]},{"1329601579":["hashtag1","hashtag2"]},{"1329601465":["hashtag1","hashtag2"]},{"1329601348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329601265, 1329601684, 1329601270, 1329601579, 1329601465, 1329601348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.227912187576294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:07:22.451220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/05/image_18012025_00_05_02_404667_0001.jpg', '/home/pi/Desktop/images/18012025/00/05/image_18012025_00_05_02_404667_0002.jpg', '/home/pi/Desktop/images/18012025/00/05/image_18012025_00_05_02_404667_0003.jpg', '/home/pi/Desktop/images/18012025/00/06/image_18012025_00_06_02_545259_0000.jpg', '/home/pi/Desktop/images/18012025/00/06/image_18012025_00_06_02_545259_0001.jpg', '/home/pi/Desktop/images/18012025/00/06/image_18012025_00_06_02_545259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/05/image_18012025_00_05_02_404667_0001.jpg
/home/pi/Desktop/images/18012025/00/05/image_18012025_00_05_02_404667_0002.jpg
/home/pi/Desktop/images/18012025/00/05/image_18012025_00_05_02_404667_0003.jpg
/home/pi/Desktop/images/18012025/00/06/image_18012025_00_06_02_545259_0000.jpg
/home/pi/Desktop/images/18012025/00/06/image_18012025_00_06_02_545259_0001.jpg
/home/pi/Desktop/images/18012025/00/06/image_18012025_00_06_02_545259_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329602690","1329601997","1329601973","1329602417","1329602161","1329601987"],"photo_ids_order":["1329601973","1329601987","1329601997","1329602161","1329602417","1329602690"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3915425c897eec07550498f8adb7a578.jpg","text":"TemporaryFile(/tmp/multipartBody2019783845995527231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155319001,"filename":"image_18012025_00_06_02_545259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3064d7b8f72865a1c4b0c051b635b1a4.jpg","text":"TemporaryFile(/tmp/multipartBody3783519301622417481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155319001,"filename":"image_18012025_00_05_02_404667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/465de5ef5e2d8fbfb6e308ed32b146e9.jpg","text":"TemporaryFile(/tmp/multipartBody1331335588238962598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155319001,"filename":"image_18012025_00_05_02_404667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/698c90a3e1d200c3535c5e15bff46dc7.jpg","text":"TemporaryFile(/tmp/multipartBody3065746223823115240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155319001,"filename":"image_18012025_00_06_02_545259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28b99f3a32c60ff3015121f3d3423631.jpg","text":"TemporaryFile(/tmp/multipartBody10474918140617452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155319001,"filename":"image_18012025_00_06_02_545259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a148ed1e2e103e9a98e909e338784ca.jpg","text":"TemporaryFile(/tmp/multipartBody4104716769267291631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155319001,"filename":"image_18012025_00_05_02_404667_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329601997","file1":"1329601987","file0":"1329601973","file4":"1329602417","file5":"1329602690","file3":"1329602161"},"map_files_photo_id_array":[{"photo_id":"1329602690","filename":"file5"},{"photo_id":"1329601997","filename":"file2"},{"photo_id":"1329602417","filename":"file4"},{"photo_id":"1329601987","filename":"file1"},{"photo_id":"1329601973","filename":"file0"},{"photo_id":"1329602161","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329602690":["hashtag1","hashtag2"]},{"1329601997":["hashtag1","hashtag2"]},{"1329601973":["hashtag1","hashtag2"]},{"1329602417":["hashtag1","hashtag2"]},{"1329602161":["hashtag1","hashtag2"]},{"1329601987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329602690, 1329601997, 1329601973, 1329602417, 1329602161, 1329601987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.96312952041626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:08:22.710036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/06/image_18012025_00_06_02_545259_0003.jpg', '/home/pi/Desktop/images/18012025/00/07/image_18012025_00_07_02_751296_0000.jpg', '/home/pi/Desktop/images/18012025/00/07/image_18012025_00_07_02_751296_0001.jpg', '/home/pi/Desktop/images/18012025/00/07/image_18012025_00_07_02_751296_0002.jpg', '/home/pi/Desktop/images/18012025/00/07/image_18012025_00_07_02_751296_0003.jpg', '/home/pi/Desktop/images/18012025/00/08/image_18012025_00_08_02_882854_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/06/image_18012025_00_06_02_545259_0003.jpg
/home/pi/Desktop/images/18012025/00/07/image_18012025_00_07_02_751296_0000.jpg
/home/pi/Desktop/images/18012025/00/07/image_18012025_00_07_02_751296_0001.jpg
/home/pi/Desktop/images/18012025/00/07/image_18012025_00_07_02_751296_0002.jpg
/home/pi/Desktop/images/18012025/00/07/image_18012025_00_07_02_751296_0003.jpg
/home/pi/Desktop/images/18012025/00/08/image_18012025_00_08_02_882854_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":["1329603242","1329603199","1329603225","1329603222","1329603210","1329603197"],"photo_ids_order":["1329603197","1329603199","1329603210","1329603222","1329603225","1329603242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/785535f73e47534984ed655800ad25fd.jpg","text":"TemporaryFile(/tmp/multipartBody3279864131375826532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155378958,"filename":"image_18012025_00_08_02_882854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/626f32ee7f9a8bb10a30504ff7b52543.jpg","text":"TemporaryFile(/tmp/multipartBody3252924542161721977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155378958,"filename":"image_18012025_00_07_02_751296_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a17067251fcd0ed4aa3f7c01600552c.jpg","text":"TemporaryFile(/tmp/multipartBody8708987935784739613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155378958,"filename":"image_18012025_00_07_02_751296_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf897643d9328b162bba24751ef97f17.jpg","text":"TemporaryFile(/tmp/multipartBody7549766301974004527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155378958,"filename":"image_18012025_00_07_02_751296_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a00f36a53c7eb8d801df67e8fa59da69.jpg","text":"TemporaryFile(/tmp/multipartBody8991659163021918736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155378958,"filename":"image_18012025_00_07_02_751296_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/12f8e5f25557df12c281780ed1b62a7e.jpg","text":"TemporaryFile(/tmp/multipartBody6324632158642273741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155378958,"filename":"image_18012025_00_06_02_545259_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329603210","file1":"1329603199","file0":"1329603197","file4":"1329603225","file5":"1329603242","file3":"1329603222"},"map_files_photo_id_array":[{"photo_id":"1329603242","filename":"file5"},{"photo_id":"1329603210","filename":"file2"},{"photo_id":"1329603225","filename":"file4"},{"photo_id":"1329603199","filename":"file1"},{"photo_id":"1329603197","filename":"file0"},{"photo_id":"1329603222","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329603242":["hashtag1","hashtag2"]},{"1329603199":["hashtag1","hashtag2"]},{"1329603225":["hashtag1","hashtag2"]},{"1329603222":["hashtag1","hashtag2"]},{"1329603210":["hashtag1","hashtag2"]},{"1329603197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329603242, 1329603199, 1329603225, 1329603222, 1329603210, 1329603197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.36298203468323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:09:21.841262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/08/image_18012025_00_08_02_882854_0001.jpg', '/home/pi/Desktop/images/18012025/00/08/image_18012025_00_08_02_882854_0002.jpg', '/home/pi/Desktop/images/18012025/00/08/image_18012025_00_08_02_882854_0003.jpg', '/home/pi/Desktop/images/18012025/00/09/image_18012025_00_09_03_049300_0000.jpg', '/home/pi/Desktop/images/18012025/00/09/image_18012025_00_09_03_049300_0001.jpg', '/home/pi/Desktop/images/18012025/00/09/image_18012025_00_09_03_049300_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/08/image_18012025_00_08_02_882854_0001.jpg
/home/pi/Desktop/images/18012025/00/08/image_18012025_00_08_02_882854_0002.jpg
/home/pi/Desktop/images/18012025/00/08/image_18012025_00_08_02_882854_0003.jpg
/home/pi/Desktop/images/18012025/00/09/image_18012025_00_09_03_049300_0000.jpg
/home/pi/Desktop/images/18012025/00/09/image_18012025_00_09_03_049300_0001.jpg
/home/pi/Desktop/images/18012025/00/09/image_18012025_00_09_03_049300_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329603944","1329603892","1329603595","1329603949","1329603841","1329603888"],"photo_ids_order":["1329603595","1329603841","1329603888","1329603892","1329603944","1329603949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6eae6c2ae4ceec22e1edd2739302222c.jpg","text":"TemporaryFile(/tmp/multipartBody6542794182007505163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155438049,"filename":"image_18012025_00_09_03_049300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b997d0b7e40f9dadaf0c05b8fa0499e3.jpg","text":"TemporaryFile(/tmp/multipartBody8220112657165979543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155438049,"filename":"image_18012025_00_09_03_049300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17508924b75dd54729ec88fff9f3e97c.jpg","text":"TemporaryFile(/tmp/multipartBody2413108424178943733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155438049,"filename":"image_18012025_00_08_02_882854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/07ebbeb8468779f804ca32dc4cccdcfd.jpg","text":"TemporaryFile(/tmp/multipartBody4937329294333659979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155438049,"filename":"image_18012025_00_09_03_049300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9802995c001c017adca69020eb96965a.jpg","text":"TemporaryFile(/tmp/multipartBody5441263212089028104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155438049,"filename":"image_18012025_00_08_02_882854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/64108a81fed05173fa3e781a9dc7d5ac.jpg","text":"TemporaryFile(/tmp/multipartBody3480976873117554037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155438049,"filename":"image_18012025_00_08_02_882854_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329603888","file1":"1329603841","file0":"1329603595","file4":"1329603944","file5":"1329603949","file3":"1329603892"},"map_files_photo_id_array":[{"photo_id":"1329603949","filename":"file5"},{"photo_id":"1329603888","filename":"file2"},{"photo_id":"1329603944","filename":"file4"},{"photo_id":"1329603841","filename":"file1"},{"photo_id":"1329603595","filename":"file0"},{"photo_id":"1329603892","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329603944":["hashtag1","hashtag2"]},{"1329603892":["hashtag1","hashtag2"]},{"1329603595":["hashtag1","hashtag2"]},{"1329603949":["hashtag1","hashtag2"]},{"1329603841":["hashtag1","hashtag2"]},{"1329603888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329603944, 1329603892, 1329603595, 1329603949, 1329603841, 1329603888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.645734786987305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:10:21.976612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/09/image_18012025_00_09_03_049300_0003.jpg', '/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0000.jpg', '/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0001.jpg', '/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/09/image_18012025_00_09_03_049300_0003.jpg
/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0000.jpg
/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0001.jpg
/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.384593486785889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:10:51.988216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_0001.jpg', '/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_0002.jpg', '/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_0003.jpg', '/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_0000.jpg', '/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_0001.jpg', '/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_0001.jpg
/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_0002.jpg
/home/pi/Desktop/images/16012025/20/17/image_16012025_20_17_02_607736_0003.jpg
/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_0000.jpg
/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_0001.jpg
/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329604133","1329604186","1329604114","1329604138","1329604188","1329604142"],"photo_ids_order":["1329604114","1329604133","1329604138","1329604142","1329604186","1329604188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86e89da301f9755578ff7667d84cb070.jpg","text":"TemporaryFile(/tmp/multipartBody1455442485320609709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155529588,"filename":"image_16012025_20_17_02_607736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9848946912ba93a400ff3dca73e24fa6.jpg","text":"TemporaryFile(/tmp/multipartBody738785641376099264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155529588,"filename":"image_16012025_20_18_02_658068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5f9f60165088951e1f12cf65562fe641.jpg","text":"TemporaryFile(/tmp/multipartBody443672742273901106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155529588,"filename":"image_16012025_20_17_02_607736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/272d949b45bbf0315d14ec51365561d9.jpg","text":"TemporaryFile(/tmp/multipartBody4586560435426330853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155529588,"filename":"image_16012025_20_17_02_607736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/203225b5f1258def095e3050ec5473b1.jpg","text":"TemporaryFile(/tmp/multipartBody5704157949324647391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155529588,"filename":"image_16012025_20_18_02_658068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4a8c429607df1cb783304777a6b536ab.jpg","text":"TemporaryFile(/tmp/multipartBody3833463248100854476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155529588,"filename":"image_16012025_20_18_02_658068_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329604138","file1":"1329604133","file0":"1329604114","file4":"1329604186","file5":"1329604188","file3":"1329604142"},"map_files_photo_id_array":[{"photo_id":"1329604188","filename":"file5"},{"photo_id":"1329604138","filename":"file2"},{"photo_id":"1329604186","filename":"file4"},{"photo_id":"1329604133","filename":"file1"},{"photo_id":"1329604114","filename":"file0"},{"photo_id":"1329604142","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329604133":["hashtag1","hashtag2"]},{"1329604186":["hashtag1","hashtag2"]},{"1329604114":["hashtag1","hashtag2"]},{"1329604138":["hashtag1","hashtag2"]},{"1329604188":["hashtag1","hashtag2"]},{"1329604142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329604133, 1329604186, 1329604114, 1329604138, 1329604188, 1329604142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.732885122299194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:11:52.157737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_0003.jpg', '/home/pi/Desktop/images/16012025/20/19/image_16012025_20_19_02_870523_0000.jpg', '/home/pi/Desktop/images/16012025/20/19/image_16012025_20_19_02_870523_0001.jpg', '/home/pi/Desktop/images/16012025/20/19/image_16012025_20_19_02_870523_0002.jpg', '/home/pi/Desktop/images/16012025/20/19/image_16012025_20_19_02_870523_0003.jpg', '/home/pi/Desktop/images/16012025/20/20/image_16012025_20_20_03_105038_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/18/image_16012025_20_18_02_658068_0003.jpg
/home/pi/Desktop/images/16012025/20/19/image_16012025_20_19_02_870523_0000.jpg
/home/pi/Desktop/images/16012025/20/19/image_16012025_20_19_02_870523_0001.jpg
/home/pi/Desktop/images/16012025/20/19/image_16012025_20_19_02_870523_0002.jpg
/home/pi/Desktop/images/16012025/20/19/image_16012025_20_19_02_870523_0003.jpg
/home/pi/Desktop/images/16012025/20/20/image_16012025_20_20_03_105038_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":["1329604234","1329604213","1329604222","1329604204","1329604209","1329604250"],"photo_ids_order":["1329604204","1329604209","1329604213","1329604222","1329604234","1329604250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4bb56cdbe4df4c406908b90fe20e5996.jpg","text":"TemporaryFile(/tmp/multipartBody6315892256890285805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155589959,"filename":"image_16012025_20_19_02_870523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53966aef4b79783bc7e78d7fe7529651.jpg","text":"TemporaryFile(/tmp/multipartBody3627988189563123345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155589959,"filename":"image_16012025_20_19_02_870523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95162d06079e2551240bced6da1225b0.jpg","text":"TemporaryFile(/tmp/multipartBody6930296566007081940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155589959,"filename":"image_16012025_20_19_02_870523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6fc7737a39ac20d0ae4564a40fbbd9ed.jpg","text":"TemporaryFile(/tmp/multipartBody5249352851507611810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155589959,"filename":"image_16012025_20_18_02_658068_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/186a15cbce44bad3053fb9892feea4a7.jpg","text":"TemporaryFile(/tmp/multipartBody5800396668224741948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155589959,"filename":"image_16012025_20_19_02_870523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd9daef3eda90e451c983e61d2b19dde.jpg","text":"TemporaryFile(/tmp/multipartBody966487116868815659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155589959,"filename":"image_16012025_20_20_03_105038_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329604213","file1":"1329604209","file0":"1329604204","file4":"1329604234","file5":"1329604250","file3":"1329604222"},"map_files_photo_id_array":[{"photo_id":"1329604250","filename":"file5"},{"photo_id":"1329604213","filename":"file2"},{"photo_id":"1329604234","filename":"file4"},{"photo_id":"1329604209","filename":"file1"},{"photo_id":"1329604204","filename":"file0"},{"photo_id":"1329604222","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329604234":["hashtag1","hashtag2"]},{"1329604213":["hashtag1","hashtag2"]},{"1329604222":["hashtag1","hashtag2"]},{"1329604204":["hashtag1","hashtag2"]},{"1329604209":["hashtag1","hashtag2"]},{"1329604250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329604234, 1329604213, 1329604222, 1329604204, 1329604209, 1329604250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.83291840553284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:12:52.336442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/20/image_16012025_20_20_03_105038_0001.jpg', '/home/pi/Desktop/images/16012025/20/20/image_16012025_20_20_03_105038_0002.jpg', '/home/pi/Desktop/images/16012025/20/20/image_16012025_20_20_03_105038_0003.jpg', '/home/pi/Desktop/images/16012025/20/21/image_16012025_20_21_02_332313_0000.jpg', '/home/pi/Desktop/images/16012025/20/21/image_16012025_20_21_02_332313_0001.jpg', '/home/pi/Desktop/images/16012025/20/21/image_16012025_20_21_02_332313_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/20/image_16012025_20_20_03_105038_0001.jpg
/home/pi/Desktop/images/16012025/20/20/image_16012025_20_20_03_105038_0002.jpg
/home/pi/Desktop/images/16012025/20/20/image_16012025_20_20_03_105038_0003.jpg
/home/pi/Desktop/images/16012025/20/21/image_16012025_20_21_02_332313_0000.jpg
/home/pi/Desktop/images/16012025/20/21/image_16012025_20_21_02_332313_0001.jpg
/home/pi/Desktop/images/16012025/20/21/image_16012025_20_21_02_332313_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329604278","1329604263","1329604332","1329604314","1329604292","1329604271"],"photo_ids_order":["1329604263","1329604271","1329604278","1329604292","1329604314","1329604332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/41b3cb37b2b9d79e3a696634b19e47b5.jpg","text":"TemporaryFile(/tmp/multipartBody7616421269338441373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155649999,"filename":"image_16012025_20_20_03_105038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/205caec1aa94370e91f2dfe72c00588f.jpg","text":"TemporaryFile(/tmp/multipartBody4307246378288736884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155649999,"filename":"image_16012025_20_20_03_105038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5effb39ba2fbd999ccbfa1ab7b4c4a30.jpg","text":"TemporaryFile(/tmp/multipartBody2274736683225918804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155649999,"filename":"image_16012025_20_21_02_332313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46b11a6c46164cc8abd7974f9020eeb3.jpg","text":"TemporaryFile(/tmp/multipartBody8301981416438029635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155649999,"filename":"image_16012025_20_21_02_332313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ecd98d6312feb8a560457be991d29b0.jpg","text":"TemporaryFile(/tmp/multipartBody6946580984738346720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155649999,"filename":"image_16012025_20_21_02_332313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2821c3a7cba63d9df0db4e16700b554.jpg","text":"TemporaryFile(/tmp/multipartBody3379893628378810578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155649999,"filename":"image_16012025_20_20_03_105038_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329604278","file1":"1329604271","file0":"1329604263","file4":"1329604314","file5":"1329604332","file3":"1329604292"},"map_files_photo_id_array":[{"photo_id":"1329604332","filename":"file5"},{"photo_id":"1329604278","filename":"file2"},{"photo_id":"1329604314","filename":"file4"},{"photo_id":"1329604271","filename":"file1"},{"photo_id":"1329604263","filename":"file0"},{"photo_id":"1329604292","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329604278":["hashtag1","hashtag2"]},{"1329604263":["hashtag1","hashtag2"]},{"1329604332":["hashtag1","hashtag2"]},{"1329604314":["hashtag1","hashtag2"]},{"1329604292":["hashtag1","hashtag2"]},{"1329604271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329604278, 1329604263, 1329604332, 1329604314, 1329604292, 1329604271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.111854791641235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:13:52.448928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/21/image_16012025_20_21_02_332313_0003.jpg', '/home/pi/Desktop/images/16012025/20/22/image_16012025_20_22_02_441922_0000.jpg', '/home/pi/Desktop/images/16012025/20/22/image_16012025_20_22_02_441922_0001.jpg', '/home/pi/Desktop/images/16012025/20/22/image_16012025_20_22_02_441922_0002.jpg', '/home/pi/Desktop/images/16012025/20/22/image_16012025_20_22_02_441922_0003.jpg', '/home/pi/Desktop/images/16012025/20/23/image_16012025_20_23_02_780666_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/21/image_16012025_20_21_02_332313_0003.jpg
/home/pi/Desktop/images/16012025/20/22/image_16012025_20_22_02_441922_0000.jpg
/home/pi/Desktop/images/16012025/20/22/image_16012025_20_22_02_441922_0001.jpg
/home/pi/Desktop/images/16012025/20/22/image_16012025_20_22_02_441922_0002.jpg
/home/pi/Desktop/images/16012025/20/22/image_16012025_20_22_02_441922_0003.jpg
/home/pi/Desktop/images/16012025/20/23/image_16012025_20_23_02_780666_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":["1329604381","1329604378","1329604366","1329604370","1329604373","1329604361"],"photo_ids_order":["1329604361","1329604366","1329604370","1329604373","1329604378","1329604381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84c212ad69bb7fb86312e5f67b875bf4.jpg","text":"TemporaryFile(/tmp/multipartBody2175785619985686098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155709788,"filename":"image_16012025_20_23_02_780666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5716ecf8f0fd74fe7244f5927435bc0b.jpg","text":"TemporaryFile(/tmp/multipartBody7941163487386693169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155709788,"filename":"image_16012025_20_22_02_441922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/815d47f864d47faefd2aa2a3191b795c.jpg","text":"TemporaryFile(/tmp/multipartBody8386370654292682543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155709788,"filename":"image_16012025_20_22_02_441922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a65188d7371f6aeb86337b34fab93336.jpg","text":"TemporaryFile(/tmp/multipartBody6303101466469590771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155709788,"filename":"image_16012025_20_22_02_441922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d9edac5a0be11794fe9f0e0898640e6.jpg","text":"TemporaryFile(/tmp/multipartBody3899030009387383898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155709788,"filename":"image_16012025_20_22_02_441922_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/848ced9ddf965b9b0db6d9f9c7ebe03a.jpg","text":"TemporaryFile(/tmp/multipartBody2956654115603981721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155709788,"filename":"image_16012025_20_21_02_332313_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329604370","file1":"1329604366","file0":"1329604361","file4":"1329604378","file5":"1329604381","file3":"1329604373"},"map_files_photo_id_array":[{"photo_id":"1329604381","filename":"file5"},{"photo_id":"1329604370","filename":"file2"},{"photo_id":"1329604378","filename":"file4"},{"photo_id":"1329604366","filename":"file1"},{"photo_id":"1329604361","filename":"file0"},{"photo_id":"1329604373","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329604381":["hashtag1","hashtag2"]},{"1329604378":["hashtag1","hashtag2"]},{"1329604366":["hashtag1","hashtag2"]},{"1329604370":["hashtag1","hashtag2"]},{"1329604373":["hashtag1","hashtag2"]},{"1329604361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329604381, 1329604378, 1329604366, 1329604370, 1329604373, 1329604361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.41374731063843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 00:15:02.407744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/09/image_18012025_00_09_03_049300_0003.jpg', '/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0000.jpg', '/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0001.jpg', '/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0002.jpg', '/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0003.jpg', '/home/pi/Desktop/images/18012025/00/11/image_18012025_00_11_02_401423_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/09/image_18012025_00_09_03_049300_0003.jpg
/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0000.jpg
/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0001.jpg
/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0002.jpg
/home/pi/Desktop/images/18012025/00/10/image_18012025_00_10_02_201580_0003.jpg
/home/pi/Desktop/images/18012025/00/11/image_18012025_00_11_02_401423_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":["1329604423","1329604434","1329604437","1329604431","1329604433","1329604427"],"photo_ids_order":["1329604423","1329604427","1329604431","1329604433","1329604434","1329604437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5ef02751d5bae3023c3f302772f09de7.jpg","text":"TemporaryFile(/tmp/multipartBody7502725159590162311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155778466,"filename":"image_18012025_00_09_03_049300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1be7db8e630a21130bf2342ccb2f5c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7483237758920721288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155778466,"filename":"image_18012025_00_10_02_201580_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea1e1b8f0a496b37c9d14383f1f71e77.jpg","text":"TemporaryFile(/tmp/multipartBody8936298895533267786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155778466,"filename":"image_18012025_00_11_02_401423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d3cc66b526de691e80ba5d413e797c26.jpg","text":"TemporaryFile(/tmp/multipartBody7460586811716098814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155778466,"filename":"image_18012025_00_10_02_201580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8cbb86ea69c6043e922c73a9525678d.jpg","text":"TemporaryFile(/tmp/multipartBody1176035781372022071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155778466,"filename":"image_18012025_00_10_02_201580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39465b9e87b898dd80a67544ce76649c.jpg","text":"TemporaryFile(/tmp/multipartBody2143043994431218030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155778466,"filename":"image_18012025_00_10_02_201580_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329604431","file1":"1329604427","file0":"1329604423","file4":"1329604434","file5":"1329604437","file3":"1329604433"},"map_files_photo_id_array":[{"photo_id":"1329604437","filename":"file5"},{"photo_id":"1329604431","filename":"file2"},{"photo_id":"1329604434","filename":"file4"},{"photo_id":"1329604427","filename":"file1"},{"photo_id":"1329604423","filename":"file0"},{"photo_id":"1329604433","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329604423":["hashtag1","hashtag2"]},{"1329604434":["hashtag1","hashtag2"]},{"1329604437":["hashtag1","hashtag2"]},{"1329604431":["hashtag1","hashtag2"]},{"1329604433":["hashtag1","hashtag2"]},{"1329604427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329604423, 1329604434, 1329604437, 1329604431, 1329604433, 1329604427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.60709810256958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 00:16:02.544350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/11/image_18012025_00_11_02_401423_0001.jpg', '/home/pi/Desktop/images/18012025/00/11/image_18012025_00_11_02_401423_0002.jpg', '/home/pi/Desktop/images/18012025/00/11/image_18012025_00_11_02_401423_0003.jpg', '/home/pi/Desktop/images/18012025/00/12/image_18012025_00_12_02_512410_0000.jpg', '/home/pi/Desktop/images/18012025/00/12/image_18012025_00_12_02_512410_0001.jpg', '/home/pi/Desktop/images/18012025/00/12/image_18012025_00_12_02_512410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/11/image_18012025_00_11_02_401423_0001.jpg
/home/pi/Desktop/images/18012025/00/11/image_18012025_00_11_02_401423_0002.jpg
/home/pi/Desktop/images/18012025/00/11/image_18012025_00_11_02_401423_0003.jpg
/home/pi/Desktop/images/18012025/00/12/image_18012025_00_12_02_512410_0000.jpg
/home/pi/Desktop/images/18012025/00/12/image_18012025_00_12_02_512410_0001.jpg
/home/pi/Desktop/images/18012025/00/12/image_18012025_00_12_02_512410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329604486","1329604477","1329604465","1329604457","1329604460","1329604454"],"photo_ids_order":["1329604454","1329604457","1329604460","1329604465","1329604477","1329604486"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d6fc1b28e68882268cbb4cfccf9df9e.jpg","text":"TemporaryFile(/tmp/multipartBody1379215459340571068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155839224,"filename":"image_18012025_00_12_02_512410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b12d0f9a06f852eb68fb14059e49d79.jpg","text":"TemporaryFile(/tmp/multipartBody4912078313267842465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155839224,"filename":"image_18012025_00_12_02_512410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/886b067c584001f2138fff36a496a354.jpg","text":"TemporaryFile(/tmp/multipartBody1880042858584693642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155839224,"filename":"image_18012025_00_12_02_512410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a90f6bece2046b52106df90fc1f1fd3.jpg","text":"TemporaryFile(/tmp/multipartBody4066516232788811442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155839224,"filename":"image_18012025_00_11_02_401423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f211be8fb5e12d1d82f975b93e9c44e5.jpg","text":"TemporaryFile(/tmp/multipartBody6206532175351665345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155839224,"filename":"image_18012025_00_11_02_401423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/34d08b7eaada2543c23a1fd8dee18672.jpg","text":"TemporaryFile(/tmp/multipartBody6938537470150545293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155839224,"filename":"image_18012025_00_11_02_401423_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329604460","file1":"1329604457","file0":"1329604454","file4":"1329604477","file5":"1329604486","file3":"1329604465"},"map_files_photo_id_array":[{"photo_id":"1329604486","filename":"file5"},{"photo_id":"1329604460","filename":"file2"},{"photo_id":"1329604477","filename":"file4"},{"photo_id":"1329604457","filename":"file1"},{"photo_id":"1329604454","filename":"file0"},{"photo_id":"1329604465","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329604486":["hashtag1","hashtag2"]},{"1329604477":["hashtag1","hashtag2"]},{"1329604465":["hashtag1","hashtag2"]},{"1329604457":["hashtag1","hashtag2"]},{"1329604460":["hashtag1","hashtag2"]},{"1329604454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329604486, 1329604477, 1329604465, 1329604457, 1329604460, 1329604454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.53615760803223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 00:17:02.931996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/12/image_18012025_00_12_02_512410_0003.jpg', '/home/pi/Desktop/images/18012025/00/13/image_18012025_00_13_02_833439_0000.jpg', '/home/pi/Desktop/images/18012025/00/13/image_18012025_00_13_02_833439_0001.jpg', '/home/pi/Desktop/images/18012025/00/13/image_18012025_00_13_02_833439_0002.jpg', '/home/pi/Desktop/images/18012025/00/13/image_18012025_00_13_02_833439_0003.jpg', '/home/pi/Desktop/images/18012025/00/14/image_18012025_00_14_02_840884_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/12/image_18012025_00_12_02_512410_0003.jpg
/home/pi/Desktop/images/18012025/00/13/image_18012025_00_13_02_833439_0000.jpg
/home/pi/Desktop/images/18012025/00/13/image_18012025_00_13_02_833439_0001.jpg
/home/pi/Desktop/images/18012025/00/13/image_18012025_00_13_02_833439_0002.jpg
/home/pi/Desktop/images/18012025/00/13/image_18012025_00_13_02_833439_0003.jpg
/home/pi/Desktop/images/18012025/00/14/image_18012025_00_14_02_840884_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":["1329604505","1329604540","1329604519","1329604500","1329604530","1329604511"],"photo_ids_order":["1329604500","1329604505","1329604511","1329604519","1329604530","1329604540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1cc8c02c0edd872a3867d1b45ccb32ff.jpg","text":"TemporaryFile(/tmp/multipartBody7115213288356163297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155899703,"filename":"image_18012025_00_13_02_833439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd2ad4e169d0df6af8f050344f27f02d.jpg","text":"TemporaryFile(/tmp/multipartBody2325157134230292045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155899703,"filename":"image_18012025_00_14_02_840884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6b11b953050029b1cb79d55d0341f7a.jpg","text":"TemporaryFile(/tmp/multipartBody8951669215102273906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155899703,"filename":"image_18012025_00_13_02_833439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a03ec69a4115fc6f2bd12414bd05af1.jpg","text":"TemporaryFile(/tmp/multipartBody4925359330498831478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155899703,"filename":"image_18012025_00_12_02_512410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95ca6a67b217b0cd40a5bac2602a630e.jpg","text":"TemporaryFile(/tmp/multipartBody4119246541858265735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155899703,"filename":"image_18012025_00_13_02_833439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/432c9d28e2906a5301099e5e47784f7b.jpg","text":"TemporaryFile(/tmp/multipartBody606961924367959405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155899703,"filename":"image_18012025_00_13_02_833439_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329604511","file1":"1329604505","file0":"1329604500","file4":"1329604530","file5":"1329604540","file3":"1329604519"},"map_files_photo_id_array":[{"photo_id":"1329604540","filename":"file5"},{"photo_id":"1329604511","filename":"file2"},{"photo_id":"1329604530","filename":"file4"},{"photo_id":"1329604505","filename":"file1"},{"photo_id":"1329604500","filename":"file0"},{"photo_id":"1329604519","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329604505":["hashtag1","hashtag2"]},{"1329604540":["hashtag1","hashtag2"]},{"1329604519":["hashtag1","hashtag2"]},{"1329604500":["hashtag1","hashtag2"]},{"1329604530":["hashtag1","hashtag2"]},{"1329604511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329604505, 1329604540, 1329604519, 1329604500, 1329604530, 1329604511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.95812916755676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 00:18:02.849568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/14/image_18012025_00_14_02_840884_0001.jpg', '/home/pi/Desktop/images/18012025/00/14/image_18012025_00_14_02_840884_0002.jpg', '/home/pi/Desktop/images/18012025/00/14/image_18012025_00_14_02_840884_0003.jpg', '/home/pi/Desktop/images/18012025/00/15/image_18012025_00_15_03_003971_0000.jpg', '/home/pi/Desktop/images/18012025/00/15/image_18012025_00_15_03_003971_0001.jpg', '/home/pi/Desktop/images/18012025/00/15/image_18012025_00_15_03_003971_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/14/image_18012025_00_14_02_840884_0001.jpg
/home/pi/Desktop/images/18012025/00/14/image_18012025_00_14_02_840884_0002.jpg
/home/pi/Desktop/images/18012025/00/14/image_18012025_00_14_02_840884_0003.jpg
/home/pi/Desktop/images/18012025/00/15/image_18012025_00_15_03_003971_0000.jpg
/home/pi/Desktop/images/18012025/00/15/image_18012025_00_15_03_003971_0001.jpg
/home/pi/Desktop/images/18012025/00/15/image_18012025_00_15_03_003971_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329605008","1329605200","1329605202","1329605195","1329605204","1329604751"],"photo_ids_order":["1329604751","1329605008","1329605195","1329605200","1329605202","1329605204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dad3cc7e4d12358429a8b869caae0bf1.jpg","text":"TemporaryFile(/tmp/multipartBody1319010184025357301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155959707,"filename":"image_18012025_00_14_02_840884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ade017b43c77e710a9991d965b8f0de.jpg","text":"TemporaryFile(/tmp/multipartBody5842705271991037505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155959707,"filename":"image_18012025_00_15_03_003971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1d54edae92ed926fdaa5832326b7988d.jpg","text":"TemporaryFile(/tmp/multipartBody7205630014819718354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155959707,"filename":"image_18012025_00_15_03_003971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a9377be8863c788abea3762e707b01b8.jpg","text":"TemporaryFile(/tmp/multipartBody2714051757386301021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155959707,"filename":"image_18012025_00_14_02_840884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/948653808c18474f3de726eb705cbb22.jpg","text":"TemporaryFile(/tmp/multipartBody3735401455592757878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155959707,"filename":"image_18012025_00_15_03_003971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46693dd6ced86e105f36920afae456f5.jpg","text":"TemporaryFile(/tmp/multipartBody5149184402378642398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737155959707,"filename":"image_18012025_00_14_02_840884_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329605195","file1":"1329605008","file0":"1329604751","file4":"1329605202","file5":"1329605204","file3":"1329605200"},"map_files_photo_id_array":[{"photo_id":"1329605204","filename":"file5"},{"photo_id":"1329605195","filename":"file2"},{"photo_id":"1329605202","filename":"file4"},{"photo_id":"1329605008","filename":"file1"},{"photo_id":"1329604751","filename":"file0"},{"photo_id":"1329605200","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329605008":["hashtag1","hashtag2"]},{"1329605200":["hashtag1","hashtag2"]},{"1329605202":["hashtag1","hashtag2"]},{"1329605195":["hashtag1","hashtag2"]},{"1329605204":["hashtag1","hashtag2"]},{"1329604751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329605008, 1329605200, 1329605202, 1329605195, 1329605204, 1329604751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.01107478141785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 00:19:03.150121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/15/image_18012025_00_15_03_003971_0003.jpg', '/home/pi/Desktop/images/18012025/00/16/image_18012025_00_16_02_218681_0000.jpg', '/home/pi/Desktop/images/18012025/00/16/image_18012025_00_16_02_218681_0001.jpg', '/home/pi/Desktop/images/18012025/00/16/image_18012025_00_16_02_218681_0002.jpg', '/home/pi/Desktop/images/18012025/00/16/image_18012025_00_16_02_218681_0003.jpg', '/home/pi/Desktop/images/18012025/00/17/image_18012025_00_17_02_428802_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/15/image_18012025_00_15_03_003971_0003.jpg
/home/pi/Desktop/images/18012025/00/16/image_18012025_00_16_02_218681_0000.jpg
/home/pi/Desktop/images/18012025/00/16/image_18012025_00_16_02_218681_0001.jpg
/home/pi/Desktop/images/18012025/00/16/image_18012025_00_16_02_218681_0002.jpg
/home/pi/Desktop/images/18012025/00/16/image_18012025_00_16_02_218681_0003.jpg
/home/pi/Desktop/images/18012025/00/17/image_18012025_00_17_02_428802_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":["1329605377","1329605382","1329605373","1329605393","1329605386","1329605389"],"photo_ids_order":["1329605373","1329605377","1329605382","1329605386","1329605389","1329605393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84ea8b2bbbee977b294c6198d78ce486.jpg","text":"TemporaryFile(/tmp/multipartBody6962290274281288518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156020103,"filename":"image_18012025_00_16_02_218681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/befd32cd02f71af3da6a6903da5aeb83.jpg","text":"TemporaryFile(/tmp/multipartBody1487035880974716736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156020103,"filename":"image_18012025_00_16_02_218681_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a3a772250a584ae8760dd4a84e3f5afd.jpg","text":"TemporaryFile(/tmp/multipartBody8498742404363944650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156020103,"filename":"image_18012025_00_15_03_003971_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/85231f8f423db9dcce1e7b71ed1a17f7.jpg","text":"TemporaryFile(/tmp/multipartBody5192916034909741040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156020103,"filename":"image_18012025_00_17_02_428802_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d02e2e51deb1b42dac55b042d89d4d94.jpg","text":"TemporaryFile(/tmp/multipartBody7298542721554950355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156020103,"filename":"image_18012025_00_16_02_218681_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3349785eba937ff2d528ba89fb9c1907.jpg","text":"TemporaryFile(/tmp/multipartBody269651860733672860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156020103,"filename":"image_18012025_00_16_02_218681_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329605382","file1":"1329605377","file0":"1329605373","file4":"1329605389","file5":"1329605393","file3":"1329605386"},"map_files_photo_id_array":[{"photo_id":"1329605393","filename":"file5"},{"photo_id":"1329605382","filename":"file2"},{"photo_id":"1329605389","filename":"file4"},{"photo_id":"1329605377","filename":"file1"},{"photo_id":"1329605373","filename":"file0"},{"photo_id":"1329605386","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329605377":["hashtag1","hashtag2"]},{"1329605382":["hashtag1","hashtag2"]},{"1329605373":["hashtag1","hashtag2"]},{"1329605393":["hashtag1","hashtag2"]},{"1329605386":["hashtag1","hashtag2"]},{"1329605389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329605377, 1329605382, 1329605373, 1329605393, 1329605386, 1329605389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.12800931930542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 00:20:02.176819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/17/image_18012025_00_17_02_428802_0001.jpg', '/home/pi/Desktop/images/18012025/00/17/image_18012025_00_17_02_428802_0002.jpg', '/home/pi/Desktop/images/18012025/00/17/image_18012025_00_17_02_428802_0003.jpg', '/home/pi/Desktop/images/18012025/00/18/image_18012025_00_18_02_573286_0000.jpg', '/home/pi/Desktop/images/18012025/00/18/image_18012025_00_18_02_573286_0001.jpg', '/home/pi/Desktop/images/18012025/00/18/image_18012025_00_18_02_573286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/17/image_18012025_00_17_02_428802_0001.jpg
/home/pi/Desktop/images/18012025/00/17/image_18012025_00_17_02_428802_0002.jpg
/home/pi/Desktop/images/18012025/00/17/image_18012025_00_17_02_428802_0003.jpg
/home/pi/Desktop/images/18012025/00/18/image_18012025_00_18_02_573286_0000.jpg
/home/pi/Desktop/images/18012025/00/18/image_18012025_00_18_02_573286_0001.jpg
/home/pi/Desktop/images/18012025/00/18/image_18012025_00_18_02_573286_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329605449","1329605451","1329605445","1329605438","1329605429","1329605464"],"photo_ids_order":["1329605429","1329605438","1329605445","1329605449","1329605451","1329605464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d9fd934f1e6f60a771be2254bc6be7d.jpg","text":"TemporaryFile(/tmp/multipartBody2973328242149060111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156078826,"filename":"image_18012025_00_18_02_573286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/27790ffef189015189bd991589abc283.jpg","text":"TemporaryFile(/tmp/multipartBody4069197355156500366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156078826,"filename":"image_18012025_00_18_02_573286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04adbe7d2bf721f6416a40e572e01ff9.jpg","text":"TemporaryFile(/tmp/multipartBody5074487408900622522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156078826,"filename":"image_18012025_00_17_02_428802_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9dca2c6f6ff0b42b3f4b22dd83eb9af8.jpg","text":"TemporaryFile(/tmp/multipartBody5665064142549218528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156078826,"filename":"image_18012025_00_17_02_428802_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/783022e4665f23dbad976bb024b5bcb7.jpg","text":"TemporaryFile(/tmp/multipartBody4815699490088158919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156078826,"filename":"image_18012025_00_17_02_428802_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/604f5ecb5984291d5000e6fdd64cd79d.jpg","text":"TemporaryFile(/tmp/multipartBody5959369022397695776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156078826,"filename":"image_18012025_00_18_02_573286_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329605445","file1":"1329605438","file0":"1329605429","file4":"1329605451","file5":"1329605464","file3":"1329605449"},"map_files_photo_id_array":[{"photo_id":"1329605464","filename":"file5"},{"photo_id":"1329605445","filename":"file2"},{"photo_id":"1329605451","filename":"file4"},{"photo_id":"1329605438","filename":"file1"},{"photo_id":"1329605429","filename":"file0"},{"photo_id":"1329605449","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329605449":["hashtag1","hashtag2"]},{"1329605451":["hashtag1","hashtag2"]},{"1329605445":["hashtag1","hashtag2"]},{"1329605438":["hashtag1","hashtag2"]},{"1329605429":["hashtag1","hashtag2"]},{"1329605464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329605449, 1329605451, 1329605445, 1329605438, 1329605429, 1329605464)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.39826583862305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:21:21.984918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/18/image_18012025_00_18_02_573286_0003.jpg', '/home/pi/Desktop/images/18012025/00/19/image_18012025_00_19_02_792704_0000.jpg', '/home/pi/Desktop/images/18012025/00/19/image_18012025_00_19_02_792704_0001.jpg', '/home/pi/Desktop/images/18012025/00/19/image_18012025_00_19_02_792704_0002.jpg', '/home/pi/Desktop/images/18012025/00/19/image_18012025_00_19_02_792704_0003.jpg', '/home/pi/Desktop/images/18012025/00/20/image_18012025_00_20_02_971441_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/18/image_18012025_00_18_02_573286_0003.jpg
/home/pi/Desktop/images/18012025/00/19/image_18012025_00_19_02_792704_0000.jpg
/home/pi/Desktop/images/18012025/00/19/image_18012025_00_19_02_792704_0001.jpg
/home/pi/Desktop/images/18012025/00/19/image_18012025_00_19_02_792704_0002.jpg
/home/pi/Desktop/images/18012025/00/19/image_18012025_00_19_02_792704_0003.jpg
/home/pi/Desktop/images/18012025/00/20/image_18012025_00_20_02_971441_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":["1329605524","1329605508","1329605502","1329605492","1329605486","1329605505"],"photo_ids_order":["1329605486","1329605492","1329605502","1329605505","1329605508","1329605524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1278e44b5b4006fd3c918f13ce38d208.jpg","text":"TemporaryFile(/tmp/multipartBody245829180636911891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156158479,"filename":"image_18012025_00_20_02_971441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4be6cdfc4182faf8487157301c11cc94.jpg","text":"TemporaryFile(/tmp/multipartBody5928626625657268668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156158479,"filename":"image_18012025_00_19_02_792704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/117231b36c0782efa2cceea393daf195.jpg","text":"TemporaryFile(/tmp/multipartBody1036671838648436731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156158479,"filename":"image_18012025_00_19_02_792704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c26d7c76a961074b481b792000773bc7.jpg","text":"TemporaryFile(/tmp/multipartBody49252739268102312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156158479,"filename":"image_18012025_00_19_02_792704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/848020ef97eb8f7eca91b48eddb1792e.jpg","text":"TemporaryFile(/tmp/multipartBody7796605167817299215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156158479,"filename":"image_18012025_00_18_02_573286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/58656b5cbc0cf4b0f67a7f363c3c3ef4.jpg","text":"TemporaryFile(/tmp/multipartBody3705247147488464899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156158479,"filename":"image_18012025_00_19_02_792704_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329605502","file1":"1329605492","file0":"1329605486","file4":"1329605508","file5":"1329605524","file3":"1329605505"},"map_files_photo_id_array":[{"photo_id":"1329605524","filename":"file5"},{"photo_id":"1329605502","filename":"file2"},{"photo_id":"1329605508","filename":"file4"},{"photo_id":"1329605492","filename":"file1"},{"photo_id":"1329605486","filename":"file0"},{"photo_id":"1329605505","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329605524":["hashtag1","hashtag2"]},{"1329605508":["hashtag1","hashtag2"]},{"1329605502":["hashtag1","hashtag2"]},{"1329605492":["hashtag1","hashtag2"]},{"1329605486":["hashtag1","hashtag2"]},{"1329605505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329605524, 1329605508, 1329605502, 1329605492, 1329605486, 1329605505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.88548970222473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:22:22.201336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/20/image_18012025_00_20_02_971441_0001.jpg', '/home/pi/Desktop/images/18012025/00/20/image_18012025_00_20_02_971441_0002.jpg', '/home/pi/Desktop/images/18012025/00/20/image_18012025_00_20_02_971441_0003.jpg', '/home/pi/Desktop/images/18012025/00/21/image_18012025_00_21_02_108020_0000.jpg', '/home/pi/Desktop/images/18012025/00/21/image_18012025_00_21_02_108020_0001.jpg', '/home/pi/Desktop/images/18012025/00/21/image_18012025_00_21_02_108020_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/20/image_18012025_00_20_02_971441_0001.jpg
/home/pi/Desktop/images/18012025/00/20/image_18012025_00_20_02_971441_0002.jpg
/home/pi/Desktop/images/18012025/00/20/image_18012025_00_20_02_971441_0003.jpg
/home/pi/Desktop/images/18012025/00/21/image_18012025_00_21_02_108020_0000.jpg
/home/pi/Desktop/images/18012025/00/21/image_18012025_00_21_02_108020_0001.jpg
/home/pi/Desktop/images/18012025/00/21/image_18012025_00_21_02_108020_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329605560","1329605557","1329605559","1329605550","1329605553","1329605566"],"photo_ids_order":["1329605550","1329605553","1329605557","1329605559","1329605560","1329605566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/12fa1fd085d920b97f9146dca312f71b.jpg","text":"TemporaryFile(/tmp/multipartBody7605350538223420763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156218284,"filename":"image_18012025_00_21_02_108020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b512b967029b5d441cf3ad814c147ef7.jpg","text":"TemporaryFile(/tmp/multipartBody7702968770795101440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156218284,"filename":"image_18012025_00_20_02_971441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/80e2b8946152e3b8cc53144667043aba.jpg","text":"TemporaryFile(/tmp/multipartBody1688496801213466511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156218284,"filename":"image_18012025_00_21_02_108020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8690c407d2d7a7d4f12305e79e550d18.jpg","text":"TemporaryFile(/tmp/multipartBody7921857076019840469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156218284,"filename":"image_18012025_00_20_02_971441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e63fafd7880f066eed17bede61c9ca9.jpg","text":"TemporaryFile(/tmp/multipartBody6357908242842330273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156218284,"filename":"image_18012025_00_20_02_971441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a82d905fc419877e9b6a1347e881c014.jpg","text":"TemporaryFile(/tmp/multipartBody381716816135282885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156218284,"filename":"image_18012025_00_21_02_108020_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329605557","file1":"1329605553","file0":"1329605550","file4":"1329605560","file5":"1329605566","file3":"1329605559"},"map_files_photo_id_array":[{"photo_id":"1329605566","filename":"file5"},{"photo_id":"1329605557","filename":"file2"},{"photo_id":"1329605560","filename":"file4"},{"photo_id":"1329605553","filename":"file1"},{"photo_id":"1329605550","filename":"file0"},{"photo_id":"1329605559","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329605560":["hashtag1","hashtag2"]},{"1329605557":["hashtag1","hashtag2"]},{"1329605559":["hashtag1","hashtag2"]},{"1329605550":["hashtag1","hashtag2"]},{"1329605553":["hashtag1","hashtag2"]},{"1329605566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329605560, 1329605557, 1329605559, 1329605550, 1329605553, 1329605566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.19400715827942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:23:22.269429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/21/image_18012025_00_21_02_108020_0003.jpg', '/home/pi/Desktop/images/18012025/00/22/image_18012025_00_22_02_344621_0000.jpg', '/home/pi/Desktop/images/18012025/00/22/image_18012025_00_22_02_344621_0001.jpg', '/home/pi/Desktop/images/18012025/00/22/image_18012025_00_22_02_344621_0002.jpg', '/home/pi/Desktop/images/18012025/00/22/image_18012025_00_22_02_344621_0003.jpg', '/home/pi/Desktop/images/18012025/00/23/image_18012025_00_23_02_558335_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/21/image_18012025_00_21_02_108020_0003.jpg
/home/pi/Desktop/images/18012025/00/22/image_18012025_00_22_02_344621_0000.jpg
/home/pi/Desktop/images/18012025/00/22/image_18012025_00_22_02_344621_0001.jpg
/home/pi/Desktop/images/18012025/00/22/image_18012025_00_22_02_344621_0002.jpg
/home/pi/Desktop/images/18012025/00/22/image_18012025_00_22_02_344621_0003.jpg
/home/pi/Desktop/images/18012025/00/23/image_18012025_00_23_02_558335_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":["1329605620","1329605595","1329605625","1329605604","1329605633","1329605624"],"photo_ids_order":["1329605595","1329605604","1329605620","1329605624","1329605625","1329605633"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2c1988c1e8709520f5cca8e708e6c96.jpg","text":"TemporaryFile(/tmp/multipartBody530177013461242328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156278143,"filename":"image_18012025_00_22_02_344621_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c65b1b6bcb0c3e60a48ce1eca1bf8ea.jpg","text":"TemporaryFile(/tmp/multipartBody8793248768988118635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156278143,"filename":"image_18012025_00_21_02_108020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/641dfbc1ea1c653713d864c117567938.jpg","text":"TemporaryFile(/tmp/multipartBody5838666121152052032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156278143,"filename":"image_18012025_00_22_02_344621_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/06ee61df8222af93df400ce3fa147777.jpg","text":"TemporaryFile(/tmp/multipartBody6118422697955000761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156278143,"filename":"image_18012025_00_22_02_344621_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e2b2fd445d52250e8edef7842580e17a.jpg","text":"TemporaryFile(/tmp/multipartBody4894837108868180551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156278143,"filename":"image_18012025_00_23_02_558335_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6823d54fe8103ecee635c1f6331a20ee.jpg","text":"TemporaryFile(/tmp/multipartBody7477650081326296266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156278143,"filename":"image_18012025_00_22_02_344621_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329605620","file1":"1329605604","file0":"1329605595","file4":"1329605625","file5":"1329605633","file3":"1329605624"},"map_files_photo_id_array":[{"photo_id":"1329605633","filename":"file5"},{"photo_id":"1329605620","filename":"file2"},{"photo_id":"1329605625","filename":"file4"},{"photo_id":"1329605604","filename":"file1"},{"photo_id":"1329605595","filename":"file0"},{"photo_id":"1329605624","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329605620":["hashtag1","hashtag2"]},{"1329605595":["hashtag1","hashtag2"]},{"1329605625":["hashtag1","hashtag2"]},{"1329605604":["hashtag1","hashtag2"]},{"1329605633":["hashtag1","hashtag2"]},{"1329605624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329605620, 1329605595, 1329605625, 1329605604, 1329605633, 1329605624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.092100858688354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:24:22.567572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/23/image_18012025_00_23_02_558335_0001.jpg', '/home/pi/Desktop/images/18012025/00/23/image_18012025_00_23_02_558335_0002.jpg', '/home/pi/Desktop/images/18012025/00/23/image_18012025_00_23_02_558335_0003.jpg', '/home/pi/Desktop/images/18012025/00/24/image_18012025_00_24_02_727739_0000.jpg', '/home/pi/Desktop/images/18012025/00/24/image_18012025_00_24_02_727739_0001.jpg', '/home/pi/Desktop/images/18012025/00/24/image_18012025_00_24_02_727739_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/23/image_18012025_00_23_02_558335_0001.jpg
/home/pi/Desktop/images/18012025/00/23/image_18012025_00_23_02_558335_0002.jpg
/home/pi/Desktop/images/18012025/00/23/image_18012025_00_23_02_558335_0003.jpg
/home/pi/Desktop/images/18012025/00/24/image_18012025_00_24_02_727739_0000.jpg
/home/pi/Desktop/images/18012025/00/24/image_18012025_00_24_02_727739_0001.jpg
/home/pi/Desktop/images/18012025/00/24/image_18012025_00_24_02_727739_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329605866","1329605668","1329605749","1329605658","1329605975","1329605663"],"photo_ids_order":["1329605658","1329605663","1329605668","1329605749","1329605866","1329605975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff16e6ccf72b7f3b30bb977d753dba4d.jpg","text":"TemporaryFile(/tmp/multipartBody4660936018128864099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156338336,"filename":"image_18012025_00_24_02_727739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f56828910172bf39bb31c66e2e72a81c.jpg","text":"TemporaryFile(/tmp/multipartBody5272398003027724738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156338336,"filename":"image_18012025_00_23_02_558335_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/996870d14f83bf3152a490492adc5890.jpg","text":"TemporaryFile(/tmp/multipartBody3650840947327176542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156338336,"filename":"image_18012025_00_24_02_727739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b93cb0d433a068a6b41203afa0fc0d9.jpg","text":"TemporaryFile(/tmp/multipartBody3738131269612233527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156338336,"filename":"image_18012025_00_23_02_558335_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd58e882100723cb2f8e63f0d33a8ca1.jpg","text":"TemporaryFile(/tmp/multipartBody8381266539461014024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156338336,"filename":"image_18012025_00_24_02_727739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f319745ff40414bf7c0f37646dd15026.jpg","text":"TemporaryFile(/tmp/multipartBody5455924865001280624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156338336,"filename":"image_18012025_00_23_02_558335_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329605668","file1":"1329605663","file0":"1329605658","file4":"1329605866","file5":"1329605975","file3":"1329605749"},"map_files_photo_id_array":[{"photo_id":"1329605975","filename":"file5"},{"photo_id":"1329605668","filename":"file2"},{"photo_id":"1329605866","filename":"file4"},{"photo_id":"1329605663","filename":"file1"},{"photo_id":"1329605658","filename":"file0"},{"photo_id":"1329605749","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329605866":["hashtag1","hashtag2"]},{"1329605668":["hashtag1","hashtag2"]},{"1329605749":["hashtag1","hashtag2"]},{"1329605658":["hashtag1","hashtag2"]},{"1329605975":["hashtag1","hashtag2"]},{"1329605663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329605866, 1329605668, 1329605749, 1329605658, 1329605975, 1329605663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.021841287612915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:25:22.670343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/24/image_18012025_00_24_02_727739_0003.jpg', '/home/pi/Desktop/images/18012025/00/25/image_18012025_00_25_02_909720_0000.jpg', '/home/pi/Desktop/images/18012025/00/25/image_18012025_00_25_02_909720_0001.jpg', '/home/pi/Desktop/images/18012025/00/25/image_18012025_00_25_02_909720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/24/image_18012025_00_24_02_727739_0003.jpg
/home/pi/Desktop/images/18012025/00/25/image_18012025_00_25_02_909720_0000.jpg
/home/pi/Desktop/images/18012025/00/25/image_18012025_00_25_02_909720_0001.jpg
/home/pi/Desktop/images/18012025/00/25/image_18012025_00_25_02_909720_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329606846","1329606479","1329606737","1329606632"],"photo_ids_order":["1329606479","1329606632","1329606737","1329606846"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c1b5d6bdd8791f0b598419ed2827e08.jpg","text":"TemporaryFile(/tmp/multipartBody8059610301583783648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156393700,"filename":"image_18012025_00_25_02_909720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/368a960214ba0238f44360d7ef3b2d86.jpg","text":"TemporaryFile(/tmp/multipartBody7003014397788429743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156393700,"filename":"image_18012025_00_24_02_727739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15e98861dda3ba574736e3f9262123b9.jpg","text":"TemporaryFile(/tmp/multipartBody1104409888750045569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156393700,"filename":"image_18012025_00_25_02_909720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/00ee0b35dc89a78ddb7d4b365f65857f.jpg","text":"TemporaryFile(/tmp/multipartBody2155268079203883498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156393700,"filename":"image_18012025_00_25_02_909720_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329606737","file1":"1329606632","file0":"1329606479","file3":"1329606846"},"map_files_photo_id_array":[{"photo_id":"1329606737","filename":"file2"},{"photo_id":"1329606632","filename":"file1"},{"photo_id":"1329606479","filename":"file0"},{"photo_id":"1329606846","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329606846":["hashtag1","hashtag2"]},{"1329606479":["hashtag1","hashtag2"]},{"1329606737":["hashtag1","hashtag2"]},{"1329606632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329606846, 1329606479, 1329606737, 1329606632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.79423785209656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:26:21.863628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/25/image_18012025_00_25_02_909720_0003.jpg', '/home/pi/Desktop/images/18012025/00/26/image_18012025_00_26_03_127152_0000.jpg', '/home/pi/Desktop/images/18012025/00/26/image_18012025_00_26_03_127152_0001.jpg', '/home/pi/Desktop/images/18012025/00/26/image_18012025_00_26_03_127152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/25/image_18012025_00_25_02_909720_0003.jpg
/home/pi/Desktop/images/18012025/00/26/image_18012025_00_26_03_127152_0000.jpg
/home/pi/Desktop/images/18012025/00/26/image_18012025_00_26_03_127152_0001.jpg
/home/pi/Desktop/images/18012025/00/26/image_18012025_00_26_03_127152_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329607241","1329607238","1329607252","1329607240"],"photo_ids_order":["1329607238","1329607240","1329607241","1329607252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd828a022aff905585233a1920db03e0.jpg","text":"TemporaryFile(/tmp/multipartBody4875918629018889119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156453068,"filename":"image_18012025_00_26_03_127152_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c7c25ac608753b886aa8547f8358f0a2.jpg","text":"TemporaryFile(/tmp/multipartBody5851143143195241641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156453068,"filename":"image_18012025_00_25_02_909720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/40afda0976e09dadc17d6bc59e4f86de.jpg","text":"TemporaryFile(/tmp/multipartBody6710733267079583476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156453068,"filename":"image_18012025_00_26_03_127152_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89c9cb83b2843cbf2c47d35d173fcbf2.jpg","text":"TemporaryFile(/tmp/multipartBody5221127868197917934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156453068,"filename":"image_18012025_00_26_03_127152_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329607241","file1":"1329607240","file0":"1329607238","file3":"1329607252"},"map_files_photo_id_array":[{"photo_id":"1329607241","filename":"file2"},{"photo_id":"1329607240","filename":"file1"},{"photo_id":"1329607238","filename":"file0"},{"photo_id":"1329607252","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329607241":["hashtag1","hashtag2"]},{"1329607238":["hashtag1","hashtag2"]},{"1329607252":["hashtag1","hashtag2"]},{"1329607240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329607241, 1329607238, 1329607252, 1329607240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40896034240723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 00:27:02.741017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/23/image_16012025_20_23_02_780666_0001.jpg', '/home/pi/Desktop/images/16012025/20/23/image_16012025_20_23_02_780666_0002.jpg', '/home/pi/Desktop/images/16012025/20/23/image_16012025_20_23_02_780666_0003.jpg', '/home/pi/Desktop/images/16012025/20/24/image_16012025_20_24_02_895341_0000.jpg', '/home/pi/Desktop/images/16012025/20/24/image_16012025_20_24_02_895341_0001.jpg', '/home/pi/Desktop/images/16012025/20/24/image_16012025_20_24_02_895341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/23/image_16012025_20_23_02_780666_0001.jpg
/home/pi/Desktop/images/16012025/20/23/image_16012025_20_23_02_780666_0002.jpg
/home/pi/Desktop/images/16012025/20/23/image_16012025_20_23_02_780666_0003.jpg
/home/pi/Desktop/images/16012025/20/24/image_16012025_20_24_02_895341_0000.jpg
/home/pi/Desktop/images/16012025/20/24/image_16012025_20_24_02_895341_0001.jpg
/home/pi/Desktop/images/16012025/20/24/image_16012025_20_24_02_895341_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329607286","1329607280","1329607313","1329607282","1329607284","1329607275"],"photo_ids_order":["1329607275","1329607280","1329607282","1329607284","1329607286","1329607313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/57ddc74d9730b819e473a0c5ace9ccc5.jpg","text":"TemporaryFile(/tmp/multipartBody4135747491971246778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156500674,"filename":"image_16012025_20_24_02_895341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/379fd8a70083bbc67ac6dcee1521caf2.jpg","text":"TemporaryFile(/tmp/multipartBody8212893686392795195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156500674,"filename":"image_16012025_20_23_02_780666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b81c6d95bc45abb340a2f58ff4302428.jpg","text":"TemporaryFile(/tmp/multipartBody6114847943125548822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156500674,"filename":"image_16012025_20_24_02_895341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0fb76248c0b441d5f62a09f42cb51f2d.jpg","text":"TemporaryFile(/tmp/multipartBody4003097245436966482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156500674,"filename":"image_16012025_20_23_02_780666_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73475c611f46847700ff90d1d76fa9b3.jpg","text":"TemporaryFile(/tmp/multipartBody5387467411891208521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156500674,"filename":"image_16012025_20_24_02_895341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bce96d304cd72a1f18d07509ebb910f5.jpg","text":"TemporaryFile(/tmp/multipartBody4644893271145528793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156500674,"filename":"image_16012025_20_23_02_780666_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329607282","file1":"1329607280","file0":"1329607275","file4":"1329607286","file5":"1329607313","file3":"1329607284"},"map_files_photo_id_array":[{"photo_id":"1329607313","filename":"file5"},{"photo_id":"1329607282","filename":"file2"},{"photo_id":"1329607286","filename":"file4"},{"photo_id":"1329607280","filename":"file1"},{"photo_id":"1329607275","filename":"file0"},{"photo_id":"1329607284","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329607286":["hashtag1","hashtag2"]},{"1329607280":["hashtag1","hashtag2"]},{"1329607313":["hashtag1","hashtag2"]},{"1329607282":["hashtag1","hashtag2"]},{"1329607284":["hashtag1","hashtag2"]},{"1329607275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329607286, 1329607280, 1329607313, 1329607282, 1329607284, 1329607275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.065813302993774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:28:22.147611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/26/image_18012025_00_26_03_127152_0003.jpg', '/home/pi/Desktop/images/18012025/00/27/image_18012025_00_27_02_228731_0000.jpg', '/home/pi/Desktop/images/18012025/00/27/image_18012025_00_27_02_228731_0001.jpg', '/home/pi/Desktop/images/18012025/00/27/image_18012025_00_27_02_228731_0002.jpg', '/home/pi/Desktop/images/18012025/00/27/image_18012025_00_27_02_228731_0003.jpg', '/home/pi/Desktop/images/18012025/00/28/image_18012025_00_28_02_463320_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/26/image_18012025_00_26_03_127152_0003.jpg
/home/pi/Desktop/images/18012025/00/27/image_18012025_00_27_02_228731_0000.jpg
/home/pi/Desktop/images/18012025/00/27/image_18012025_00_27_02_228731_0001.jpg
/home/pi/Desktop/images/18012025/00/27/image_18012025_00_27_02_228731_0002.jpg
/home/pi/Desktop/images/18012025/00/27/image_18012025_00_27_02_228731_0003.jpg
/home/pi/Desktop/images/18012025/00/28/image_18012025_00_28_02_463320_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":["1329607653","1329607682","1329607664","1329607762","1329607663","1329607695"],"photo_ids_order":["1329607653","1329607663","1329607664","1329607682","1329607695","1329607762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3404fce237fa1b82500c5391cff7dabf.jpg","text":"TemporaryFile(/tmp/multipartBody5463695195033586779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156578850,"filename":"image_18012025_00_26_03_127152_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/378f5b39d7d8f741aa06c630ba0f6e04.jpg","text":"TemporaryFile(/tmp/multipartBody3095144255063393722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156578850,"filename":"image_18012025_00_27_02_228731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0d22682f305d6c6f84bf94a7afa07be8.jpg","text":"TemporaryFile(/tmp/multipartBody4839973230459014631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156578850,"filename":"image_18012025_00_27_02_228731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f362b6916dd389bc9ec8bf5be6adc351.jpg","text":"TemporaryFile(/tmp/multipartBody7780887007098285794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156578850,"filename":"image_18012025_00_28_02_463320_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/997de7e6879f77f66a57568fc694135b.jpg","text":"TemporaryFile(/tmp/multipartBody8732962893559652771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156578850,"filename":"image_18012025_00_27_02_228731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9dfd09d4c6f64372a4dbbcf4767510d8.jpg","text":"TemporaryFile(/tmp/multipartBody8417261491381584679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156578850,"filename":"image_18012025_00_27_02_228731_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329607664","file1":"1329607663","file0":"1329607653","file4":"1329607695","file5":"1329607762","file3":"1329607682"},"map_files_photo_id_array":[{"photo_id":"1329607762","filename":"file5"},{"photo_id":"1329607664","filename":"file2"},{"photo_id":"1329607695","filename":"file4"},{"photo_id":"1329607663","filename":"file1"},{"photo_id":"1329607653","filename":"file0"},{"photo_id":"1329607682","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329607653":["hashtag1","hashtag2"]},{"1329607682":["hashtag1","hashtag2"]},{"1329607664":["hashtag1","hashtag2"]},{"1329607762":["hashtag1","hashtag2"]},{"1329607663":["hashtag1","hashtag2"]},{"1329607695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329607653, 1329607682, 1329607664, 1329607762, 1329607663, 1329607695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.768280267715454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:29:22.394645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/28/image_18012025_00_28_02_463320_0001.jpg', '/home/pi/Desktop/images/18012025/00/28/image_18012025_00_28_02_463320_0002.jpg', '/home/pi/Desktop/images/18012025/00/28/image_18012025_00_28_02_463320_0003.jpg', '/home/pi/Desktop/images/18012025/00/29/image_18012025_00_29_02_537069_0000.jpg', '/home/pi/Desktop/images/18012025/00/29/image_18012025_00_29_02_537069_0001.jpg', '/home/pi/Desktop/images/18012025/00/29/image_18012025_00_29_02_537069_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/28/image_18012025_00_28_02_463320_0001.jpg
/home/pi/Desktop/images/18012025/00/28/image_18012025_00_28_02_463320_0002.jpg
/home/pi/Desktop/images/18012025/00/28/image_18012025_00_28_02_463320_0003.jpg
/home/pi/Desktop/images/18012025/00/29/image_18012025_00_29_02_537069_0000.jpg
/home/pi/Desktop/images/18012025/00/29/image_18012025_00_29_02_537069_0001.jpg
/home/pi/Desktop/images/18012025/00/29/image_18012025_00_29_02_537069_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329607868","1329607856","1329607844","1329607904","1329607907","1329607897"],"photo_ids_order":["1329607844","1329607856","1329607868","1329607897","1329607904","1329607907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/984bf105a340368514e8394946ae962c.jpg","text":"TemporaryFile(/tmp/multipartBody7006042883839525554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156639021,"filename":"image_18012025_00_28_02_463320_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/179252b384f50fcb1798df64c2ab8318.jpg","text":"TemporaryFile(/tmp/multipartBody6777833751053534598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156639021,"filename":"image_18012025_00_28_02_463320_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/158211928a4a0bc54c551b7b52ba8641.jpg","text":"TemporaryFile(/tmp/multipartBody4194426008577961822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156639021,"filename":"image_18012025_00_28_02_463320_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ef270a85964348101cae00ec47f9142.jpg","text":"TemporaryFile(/tmp/multipartBody8785179334777978358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156639021,"filename":"image_18012025_00_29_02_537069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92f7e851aeaea1958b8d28f4471718ac.jpg","text":"TemporaryFile(/tmp/multipartBody8199779787187184604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156639021,"filename":"image_18012025_00_29_02_537069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0fadf39e53621f003203ef1060c8e238.jpg","text":"TemporaryFile(/tmp/multipartBody8067941234555270337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156639021,"filename":"image_18012025_00_29_02_537069_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329607868","file1":"1329607856","file0":"1329607844","file4":"1329607904","file5":"1329607907","file3":"1329607897"},"map_files_photo_id_array":[{"photo_id":"1329607907","filename":"file5"},{"photo_id":"1329607868","filename":"file2"},{"photo_id":"1329607904","filename":"file4"},{"photo_id":"1329607856","filename":"file1"},{"photo_id":"1329607844","filename":"file0"},{"photo_id":"1329607897","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329607868":["hashtag1","hashtag2"]},{"1329607856":["hashtag1","hashtag2"]},{"1329607844":["hashtag1","hashtag2"]},{"1329607904":["hashtag1","hashtag2"]},{"1329607907":["hashtag1","hashtag2"]},{"1329607897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329607868, 1329607856, 1329607844, 1329607904, 1329607907, 1329607897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.68072056770325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:30:22.600802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/29/image_18012025_00_29_02_537069_0003.jpg', '/home/pi/Desktop/images/18012025/00/30/image_18012025_00_30_02_775285_0000.jpg', '/home/pi/Desktop/images/18012025/00/30/image_18012025_00_30_02_775285_0001.jpg', '/home/pi/Desktop/images/18012025/00/30/image_18012025_00_30_02_775285_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/29/image_18012025_00_29_02_537069_0003.jpg
/home/pi/Desktop/images/18012025/00/30/image_18012025_00_30_02_775285_0000.jpg
/home/pi/Desktop/images/18012025/00/30/image_18012025_00_30_02_775285_0001.jpg
/home/pi/Desktop/images/18012025/00/30/image_18012025_00_30_02_775285_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329607964","1329607949","1329607927","1329607974"],"photo_ids_order":["1329607927","1329607949","1329607964","1329607974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1015812604894158b920125b0f06ec13.jpg","text":"TemporaryFile(/tmp/multipartBody1776389338242893139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156693985,"filename":"image_18012025_00_30_02_775285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4e908c09628557dfb714e535dac731ac.jpg","text":"TemporaryFile(/tmp/multipartBody4704032602605500939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156693985,"filename":"image_18012025_00_30_02_775285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b680407c98b197015750eb5bd7967fe.jpg","text":"TemporaryFile(/tmp/multipartBody4955535275376700641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156693985,"filename":"image_18012025_00_29_02_537069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86167a77c6d27fb9837c48e418f7eda1.jpg","text":"TemporaryFile(/tmp/multipartBody6299894423591010440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156693985,"filename":"image_18012025_00_30_02_775285_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329607964","file1":"1329607949","file0":"1329607927","file3":"1329607974"},"map_files_photo_id_array":[{"photo_id":"1329607964","filename":"file2"},{"photo_id":"1329607949","filename":"file1"},{"photo_id":"1329607927","filename":"file0"},{"photo_id":"1329607974","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329607964":["hashtag1","hashtag2"]},{"1329607949":["hashtag1","hashtag2"]},{"1329607927":["hashtag1","hashtag2"]},{"1329607974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329607964, 1329607949, 1329607927, 1329607974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.82089185714722 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:31:22.702140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/30/image_18012025_00_30_02_775285_0003.jpg', '/home/pi/Desktop/images/18012025/00/31/image_18012025_00_31_02_929420_0000.jpg', '/home/pi/Desktop/images/18012025/00/31/image_18012025_00_31_02_929420_0001.jpg', '/home/pi/Desktop/images/18012025/00/31/image_18012025_00_31_02_929420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/30/image_18012025_00_30_02_775285_0003.jpg
/home/pi/Desktop/images/18012025/00/31/image_18012025_00_31_02_929420_0000.jpg
/home/pi/Desktop/images/18012025/00/31/image_18012025_00_31_02_929420_0001.jpg
/home/pi/Desktop/images/18012025/00/31/image_18012025_00_31_02_929420_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329608021","1329608015","1329608018","1329608026"],"photo_ids_order":["1329608015","1329608018","1329608021","1329608026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9cc5268f00e48267ef229d0f9b6a72c.jpg","text":"TemporaryFile(/tmp/multipartBody6059228072456666874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156754374,"filename":"image_18012025_00_31_02_929420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63c8eb4a1e2612a68e513997ba445f5f.jpg","text":"TemporaryFile(/tmp/multipartBody4580417840701957295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156754374,"filename":"image_18012025_00_30_02_775285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad78ade46f92c448a5af3e6a3bbc1f30.jpg","text":"TemporaryFile(/tmp/multipartBody3406854776496698846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156754374,"filename":"image_18012025_00_31_02_929420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3a26fed3202319ac95776f664b37ccae.jpg","text":"TemporaryFile(/tmp/multipartBody2791076703264018077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156754374,"filename":"image_18012025_00_31_02_929420_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329608021","file1":"1329608018","file0":"1329608015","file3":"1329608026"},"map_files_photo_id_array":[{"photo_id":"1329608021","filename":"file2"},{"photo_id":"1329608018","filename":"file1"},{"photo_id":"1329608015","filename":"file0"},{"photo_id":"1329608026","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329608021":["hashtag1","hashtag2"]},{"1329608015":["hashtag1","hashtag2"]},{"1329608018":["hashtag1","hashtag2"]},{"1329608026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329608021, 1329608015, 1329608018, 1329608026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.22224712371826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:32:21.914533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/31/image_18012025_00_31_02_929420_0003.jpg', '/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0000.jpg', '/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0001.jpg', '/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/31/image_18012025_00_31_02_929420_0003.jpg
/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0000.jpg
/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0001.jpg
/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.24255108833313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:32:51.901920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/24/image_16012025_20_24_02_895341_0003.jpg', '/home/pi/Desktop/images/16012025/20/25/image_16012025_20_25_03_048877_0000.jpg', '/home/pi/Desktop/images/16012025/20/25/image_16012025_20_25_03_048877_0001.jpg', '/home/pi/Desktop/images/16012025/20/25/image_16012025_20_25_03_048877_0002.jpg', '/home/pi/Desktop/images/16012025/20/25/image_16012025_20_25_03_048877_0003.jpg', '/home/pi/Desktop/images/16012025/20/26/image_16012025_20_26_02_322613_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/24/image_16012025_20_24_02_895341_0003.jpg
/home/pi/Desktop/images/16012025/20/25/image_16012025_20_25_03_048877_0000.jpg
/home/pi/Desktop/images/16012025/20/25/image_16012025_20_25_03_048877_0001.jpg
/home/pi/Desktop/images/16012025/20/25/image_16012025_20_25_03_048877_0002.jpg
/home/pi/Desktop/images/16012025/20/25/image_16012025_20_25_03_048877_0003.jpg
/home/pi/Desktop/images/16012025/20/26/image_16012025_20_26_02_322613_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":["1329608084","1329608117","1329608105","1329608137","1329608146","1329608121"],"photo_ids_order":["1329608084","1329608105","1329608117","1329608121","1329608137","1329608146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/197050136bab5c07994ab2bc3e2ee756.jpg","text":"TemporaryFile(/tmp/multipartBody5693252988104989561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156849525,"filename":"image_16012025_20_24_02_895341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0b3f0f502373e792ede7e9137400419.jpg","text":"TemporaryFile(/tmp/multipartBody3159994569695321063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156849525,"filename":"image_16012025_20_25_03_048877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/136f2ff6ae7ac6568a38d449efcbce5d.jpg","text":"TemporaryFile(/tmp/multipartBody8341261618261909149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156849525,"filename":"image_16012025_20_25_03_048877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fcb9bed7804acd44b9e7665fc7ea47ae.jpg","text":"TemporaryFile(/tmp/multipartBody2139349185902979795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156849525,"filename":"image_16012025_20_25_03_048877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fef57263cfad143e5ffb52cff44d576e.jpg","text":"TemporaryFile(/tmp/multipartBody6818984934728625069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156849525,"filename":"image_16012025_20_26_02_322613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c7e3949e53098940e7d380e466a7e46.jpg","text":"TemporaryFile(/tmp/multipartBody2281204899289098835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156849525,"filename":"image_16012025_20_25_03_048877_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329608117","file1":"1329608105","file0":"1329608084","file4":"1329608137","file5":"1329608146","file3":"1329608121"},"map_files_photo_id_array":[{"photo_id":"1329608146","filename":"file5"},{"photo_id":"1329608117","filename":"file2"},{"photo_id":"1329608137","filename":"file4"},{"photo_id":"1329608105","filename":"file1"},{"photo_id":"1329608084","filename":"file0"},{"photo_id":"1329608121","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329608084":["hashtag1","hashtag2"]},{"1329608117":["hashtag1","hashtag2"]},{"1329608105":["hashtag1","hashtag2"]},{"1329608137":["hashtag1","hashtag2"]},{"1329608146":["hashtag1","hashtag2"]},{"1329608121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329608084, 1329608117, 1329608105, 1329608137, 1329608146, 1329608121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.9741313457489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:33:52.097673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/26/image_16012025_20_26_02_322613_0001.jpg', '/home/pi/Desktop/images/16012025/20/26/image_16012025_20_26_02_322613_0002.jpg', '/home/pi/Desktop/images/16012025/20/26/image_16012025_20_26_02_322613_0003.jpg', '/home/pi/Desktop/images/16012025/20/27/image_16012025_20_27_02_475238_0000.jpg', '/home/pi/Desktop/images/16012025/20/27/image_16012025_20_27_02_475238_0001.jpg', '/home/pi/Desktop/images/16012025/20/27/image_16012025_20_27_02_475238_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/26/image_16012025_20_26_02_322613_0001.jpg
/home/pi/Desktop/images/16012025/20/26/image_16012025_20_26_02_322613_0002.jpg
/home/pi/Desktop/images/16012025/20/26/image_16012025_20_26_02_322613_0003.jpg
/home/pi/Desktop/images/16012025/20/27/image_16012025_20_27_02_475238_0000.jpg
/home/pi/Desktop/images/16012025/20/27/image_16012025_20_27_02_475238_0001.jpg
/home/pi/Desktop/images/16012025/20/27/image_16012025_20_27_02_475238_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329608243","1329608246","1329608228","1329608266","1329608236","1329608239"],"photo_ids_order":["1329608228","1329608236","1329608239","1329608243","1329608246","1329608266"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/798a5afa56878079b875f9f935b67bb5.jpg","text":"TemporaryFile(/tmp/multipartBody5741830415354636265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156909386,"filename":"image_16012025_20_27_02_475238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/609eefa55d06fc1164e04392a36b0940.jpg","text":"TemporaryFile(/tmp/multipartBody8140012356735729529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156909386,"filename":"image_16012025_20_27_02_475238_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/642fb71514ded664fb66ad9b6fcb757e.jpg","text":"TemporaryFile(/tmp/multipartBody4738551048616177995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156909386,"filename":"image_16012025_20_26_02_322613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b9a2a814dcc2ca221d3839f3d512f5c.jpg","text":"TemporaryFile(/tmp/multipartBody8038456138007760012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156909386,"filename":"image_16012025_20_27_02_475238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/319d54715ff8b6b4b8797bdb5f69bd99.jpg","text":"TemporaryFile(/tmp/multipartBody1150781124093608701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156909386,"filename":"image_16012025_20_26_02_322613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b599e0c428d28ab5c8284c6056fb5187.jpg","text":"TemporaryFile(/tmp/multipartBody4184747048435636422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156909386,"filename":"image_16012025_20_26_02_322613_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329608239","file1":"1329608236","file0":"1329608228","file4":"1329608246","file5":"1329608266","file3":"1329608243"},"map_files_photo_id_array":[{"photo_id":"1329608266","filename":"file5"},{"photo_id":"1329608239","filename":"file2"},{"photo_id":"1329608246","filename":"file4"},{"photo_id":"1329608236","filename":"file1"},{"photo_id":"1329608228","filename":"file0"},{"photo_id":"1329608243","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329608243":["hashtag1","hashtag2"]},{"1329608246":["hashtag1","hashtag2"]},{"1329608228":["hashtag1","hashtag2"]},{"1329608266":["hashtag1","hashtag2"]},{"1329608236":["hashtag1","hashtag2"]},{"1329608239":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329608243, 1329608246, 1329608228, 1329608266, 1329608236, 1329608239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.29042911529541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:34:52.287713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/27/image_16012025_20_27_02_475238_0003.jpg', '/home/pi/Desktop/images/16012025/20/28/image_16012025_20_28_02_754252_0000.jpg', '/home/pi/Desktop/images/16012025/20/28/image_16012025_20_28_02_754252_0001.jpg', '/home/pi/Desktop/images/16012025/20/28/image_16012025_20_28_02_754252_0002.jpg', '/home/pi/Desktop/images/16012025/20/28/image_16012025_20_28_02_754252_0003.jpg', '/home/pi/Desktop/images/16012025/20/29/image_16012025_20_29_02_867127_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/27/image_16012025_20_27_02_475238_0003.jpg
/home/pi/Desktop/images/16012025/20/28/image_16012025_20_28_02_754252_0000.jpg
/home/pi/Desktop/images/16012025/20/28/image_16012025_20_28_02_754252_0001.jpg
/home/pi/Desktop/images/16012025/20/28/image_16012025_20_28_02_754252_0002.jpg
/home/pi/Desktop/images/16012025/20/28/image_16012025_20_28_02_754252_0003.jpg
/home/pi/Desktop/images/16012025/20/29/image_16012025_20_29_02_867127_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":["1329608330","1329608405","1329608408","1329608402","1329608392","1329608412"],"photo_ids_order":["1329608330","1329608392","1329608402","1329608405","1329608408","1329608412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3a0dbd33c753efcea8585d80db59056d.jpg","text":"TemporaryFile(/tmp/multipartBody1644722843088550528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156969857,"filename":"image_16012025_20_27_02_475238_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/324a74a7534990f047b44006f34932e0.jpg","text":"TemporaryFile(/tmp/multipartBody5064859756993008273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156969857,"filename":"image_16012025_20_28_02_754252_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/134c24ca0bd56b2667c316d51019e50b.jpg","text":"TemporaryFile(/tmp/multipartBody6802591848653838114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156969857,"filename":"image_16012025_20_28_02_754252_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8664093b227466e62855015f9e6c8b7f.jpg","text":"TemporaryFile(/tmp/multipartBody6251127349279662724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156969857,"filename":"image_16012025_20_28_02_754252_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50949972f23b7e21b71d927c9ed87ead.jpg","text":"TemporaryFile(/tmp/multipartBody2416598738873973829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156969857,"filename":"image_16012025_20_28_02_754252_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cfb62ca6a2432948b1f19409d3508daa.jpg","text":"TemporaryFile(/tmp/multipartBody8652385704890812040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737156969857,"filename":"image_16012025_20_29_02_867127_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329608402","file1":"1329608392","file0":"1329608330","file4":"1329608408","file5":"1329608412","file3":"1329608405"},"map_files_photo_id_array":[{"photo_id":"1329608412","filename":"file5"},{"photo_id":"1329608402","filename":"file2"},{"photo_id":"1329608408","filename":"file4"},{"photo_id":"1329608392","filename":"file1"},{"photo_id":"1329608330","filename":"file0"},{"photo_id":"1329608405","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329608330":["hashtag1","hashtag2"]},{"1329608405":["hashtag1","hashtag2"]},{"1329608408":["hashtag1","hashtag2"]},{"1329608402":["hashtag1","hashtag2"]},{"1329608392":["hashtag1","hashtag2"]},{"1329608412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329608330, 1329608405, 1329608408, 1329608402, 1329608392, 1329608412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.2846417427063 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:35:52.422554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/29/image_16012025_20_29_02_867127_0001.jpg', '/home/pi/Desktop/images/16012025/20/29/image_16012025_20_29_02_867127_0002.jpg', '/home/pi/Desktop/images/16012025/20/29/image_16012025_20_29_02_867127_0003.jpg', '/home/pi/Desktop/images/16012025/20/30/image_16012025_20_30_03_044028_0000.jpg', '/home/pi/Desktop/images/16012025/20/30/image_16012025_20_30_03_044028_0001.jpg', '/home/pi/Desktop/images/16012025/20/30/image_16012025_20_30_03_044028_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/29/image_16012025_20_29_02_867127_0001.jpg
/home/pi/Desktop/images/16012025/20/29/image_16012025_20_29_02_867127_0002.jpg
/home/pi/Desktop/images/16012025/20/29/image_16012025_20_29_02_867127_0003.jpg
/home/pi/Desktop/images/16012025/20/30/image_16012025_20_30_03_044028_0000.jpg
/home/pi/Desktop/images/16012025/20/30/image_16012025_20_30_03_044028_0001.jpg
/home/pi/Desktop/images/16012025/20/30/image_16012025_20_30_03_044028_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329608621","1329608452","1329608449","1329608442","1329608445","1329608454"],"photo_ids_order":["1329608442","1329608445","1329608449","1329608452","1329608454","1329608621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e721070d7f5f80f23dabbc7118f1b05b.jpg","text":"TemporaryFile(/tmp/multipartBody2451894720464863940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157029711,"filename":"image_16012025_20_30_03_044028_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eabb48cd16e4c527aaa4ce15c91595df.jpg","text":"TemporaryFile(/tmp/multipartBody262552849703678526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157029711,"filename":"image_16012025_20_30_03_044028_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8afcc6a658b15bc0c85933aa687d64a.jpg","text":"TemporaryFile(/tmp/multipartBody2284580447264804406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157029711,"filename":"image_16012025_20_29_02_867127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0ad1ba1ab3fb2250b03ac417faf316f.jpg","text":"TemporaryFile(/tmp/multipartBody2818466082320646711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157029711,"filename":"image_16012025_20_29_02_867127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0a496913ec3c4dce17a8900dd74f437.jpg","text":"TemporaryFile(/tmp/multipartBody2355437854356420999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157029711,"filename":"image_16012025_20_29_02_867127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6722af8b6a88ca7f016e4eb3cf7c0d0.jpg","text":"TemporaryFile(/tmp/multipartBody6739107856685829608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157029711,"filename":"image_16012025_20_30_03_044028_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329608449","file1":"1329608445","file0":"1329608442","file4":"1329608454","file5":"1329608621","file3":"1329608452"},"map_files_photo_id_array":[{"photo_id":"1329608621","filename":"file5"},{"photo_id":"1329608449","filename":"file2"},{"photo_id":"1329608454","filename":"file4"},{"photo_id":"1329608445","filename":"file1"},{"photo_id":"1329608442","filename":"file0"},{"photo_id":"1329608452","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329608621":["hashtag1","hashtag2"]},{"1329608452":["hashtag1","hashtag2"]},{"1329608449":["hashtag1","hashtag2"]},{"1329608442":["hashtag1","hashtag2"]},{"1329608445":["hashtag1","hashtag2"]},{"1329608454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329608621, 1329608452, 1329608449, 1329608442, 1329608445, 1329608454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.19548225402832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:36:52.587569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/30/image_16012025_20_30_03_044028_0003.jpg', '/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0000.jpg', '/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0001.jpg', '/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0002.jpg', '/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0003.jpg', '/home/pi/Desktop/images/16012025/20/32/image_16012025_20_32_02_483317_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/30/image_16012025_20_30_03_044028_0003.jpg
/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0000.jpg
/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0001.jpg
/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0002.jpg
/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0003.jpg
/home/pi/Desktop/images/16012025/20/32/image_16012025_20_32_02_483317_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.40766978263855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:37:21.782041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/31/image_18012025_00_31_02_929420_0003.jpg', '/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0000.jpg', '/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0001.jpg', '/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0002.jpg', '/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0003.jpg', '/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/31/image_18012025_00_31_02_929420_0003.jpg
/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0000.jpg
/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0001.jpg
/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0002.jpg
/home/pi/Desktop/images/18012025/00/32/image_18012025_00_32_03_106597_0003.jpg
/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_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":["1329609437","1329609716","1329609425","1329609730","1329609438","1329609603"],"photo_ids_order":["1329609425","1329609437","1329609438","1329609603","1329609716","1329609730"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a9a49622f7c09e4020037f375199f9d.jpg","text":"TemporaryFile(/tmp/multipartBody805028461194785515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157118797,"filename":"image_18012025_00_32_03_106597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ecc5f556907d0284584a53cb99492c39.jpg","text":"TemporaryFile(/tmp/multipartBody7315808002324119842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157118797,"filename":"image_18012025_00_32_03_106597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/669fbe1aa7fa568c54da9d34892baa52.jpg","text":"TemporaryFile(/tmp/multipartBody6195605730303232838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157118797,"filename":"image_18012025_00_31_02_929420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd1097acbba3618eda051a8f5a75b2a3.jpg","text":"TemporaryFile(/tmp/multipartBody6817932334058313983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157118797,"filename":"image_18012025_00_33_02_250088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6803f9e2f04428b3f2a72bdcbd1341a4.jpg","text":"TemporaryFile(/tmp/multipartBody8919281856630295008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157118797,"filename":"image_18012025_00_32_03_106597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/195e710256b2980c80be6afaf07d764d.jpg","text":"TemporaryFile(/tmp/multipartBody1794023150720627417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157118797,"filename":"image_18012025_00_32_03_106597_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329609438","file1":"1329609437","file0":"1329609425","file4":"1329609716","file5":"1329609730","file3":"1329609603"},"map_files_photo_id_array":[{"photo_id":"1329609730","filename":"file5"},{"photo_id":"1329609438","filename":"file2"},{"photo_id":"1329609716","filename":"file4"},{"photo_id":"1329609437","filename":"file1"},{"photo_id":"1329609425","filename":"file0"},{"photo_id":"1329609603","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329609437":["hashtag1","hashtag2"]},{"1329609716":["hashtag1","hashtag2"]},{"1329609425":["hashtag1","hashtag2"]},{"1329609730":["hashtag1","hashtag2"]},{"1329609438":["hashtag1","hashtag2"]},{"1329609603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329609437, 1329609716, 1329609425, 1329609730, 1329609438, 1329609603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.94895386695862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:38:22.047055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_0001.jpg', '/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_0002.jpg', '/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_0003.jpg', '/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0000.jpg', '/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0001.jpg', '/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_0001.jpg
/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_0002.jpg
/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_0003.jpg
/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0000.jpg
/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0001.jpg
/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.893150806427002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:38:52.018076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/30/image_16012025_20_30_03_044028_0003.jpg', '/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0000.jpg', '/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0001.jpg', '/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0002.jpg', '/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0003.jpg', '/home/pi/Desktop/images/16012025/20/32/image_16012025_20_32_02_483317_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/30/image_16012025_20_30_03_044028_0003.jpg
/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0000.jpg
/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0001.jpg
/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0002.jpg
/home/pi/Desktop/images/16012025/20/31/image_16012025_20_31_02_268238_0003.jpg
/home/pi/Desktop/images/16012025/20/32/image_16012025_20_32_02_483317_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":["1329610094","1329609982","1329609910","1329609975","1329610080","1329610097"],"photo_ids_order":["1329609910","1329609975","1329609982","1329610080","1329610094","1329610097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5fbf6435bbf0dc63643ba1c0f159291.jpg","text":"TemporaryFile(/tmp/multipartBody7111455707993438070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157209622,"filename":"image_16012025_20_31_02_268238_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8aa8aea2dd5c331d0561fa7924b5f965.jpg","text":"TemporaryFile(/tmp/multipartBody8746157307264245637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157209622,"filename":"image_16012025_20_31_02_268238_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f67557f626859012f17b6559e76e540a.jpg","text":"TemporaryFile(/tmp/multipartBody7802360007061736546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157209622,"filename":"image_16012025_20_30_03_044028_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b3d43e80d9edf4f16a62afba9b4268a2.jpg","text":"TemporaryFile(/tmp/multipartBody5710410269320518402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157209622,"filename":"image_16012025_20_31_02_268238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4fd4428cb95ee10a913585176714315c.jpg","text":"TemporaryFile(/tmp/multipartBody1727262605251493913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157209622,"filename":"image_16012025_20_31_02_268238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03d0f87ddfa235622d7927da98102f2e.jpg","text":"TemporaryFile(/tmp/multipartBody5051191457017364055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157209622,"filename":"image_16012025_20_32_02_483317_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329609982","file1":"1329609975","file0":"1329609910","file4":"1329610094","file5":"1329610097","file3":"1329610080"},"map_files_photo_id_array":[{"photo_id":"1329610097","filename":"file5"},{"photo_id":"1329609982","filename":"file2"},{"photo_id":"1329610094","filename":"file4"},{"photo_id":"1329609975","filename":"file1"},{"photo_id":"1329609910","filename":"file0"},{"photo_id":"1329610080","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329610094":["hashtag1","hashtag2"]},{"1329609982":["hashtag1","hashtag2"]},{"1329609910":["hashtag1","hashtag2"]},{"1329609975":["hashtag1","hashtag2"]},{"1329610080":["hashtag1","hashtag2"]},{"1329610097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329610094, 1329609982, 1329609910, 1329609975, 1329610080, 1329610097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.41625475883484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:39:52.218323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/32/image_16012025_20_32_02_483317_0001.jpg', '/home/pi/Desktop/images/16012025/20/32/image_16012025_20_32_02_483317_0002.jpg', '/home/pi/Desktop/images/16012025/20/32/image_16012025_20_32_02_483317_0003.jpg', '/home/pi/Desktop/images/16012025/20/33/image_16012025_20_33_02_728272_0000.jpg', '/home/pi/Desktop/images/16012025/20/33/image_16012025_20_33_02_728272_0001.jpg', '/home/pi/Desktop/images/16012025/20/33/image_16012025_20_33_02_728272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/32/image_16012025_20_32_02_483317_0001.jpg
/home/pi/Desktop/images/16012025/20/32/image_16012025_20_32_02_483317_0002.jpg
/home/pi/Desktop/images/16012025/20/32/image_16012025_20_32_02_483317_0003.jpg
/home/pi/Desktop/images/16012025/20/33/image_16012025_20_33_02_728272_0000.jpg
/home/pi/Desktop/images/16012025/20/33/image_16012025_20_33_02_728272_0001.jpg
/home/pi/Desktop/images/16012025/20/33/image_16012025_20_33_02_728272_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329610358","1329610352","1329610355","1329610424","1329610428","1329610377"],"photo_ids_order":["1329610352","1329610355","1329610358","1329610377","1329610424","1329610428"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e961e2682ec6cfc2db5a684b254983e9.jpg","text":"TemporaryFile(/tmp/multipartBody6101299658074410163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157269629,"filename":"image_16012025_20_32_02_483317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/09cfc4612d06452846e177ece09dceb5.jpg","text":"TemporaryFile(/tmp/multipartBody5512431962606527555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157269629,"filename":"image_16012025_20_32_02_483317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cb61581b852a3b2b04a590c6d78944e2.jpg","text":"TemporaryFile(/tmp/multipartBody2232384413689837511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157269629,"filename":"image_16012025_20_32_02_483317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf754074bbb2b606215258a13b69bba5.jpg","text":"TemporaryFile(/tmp/multipartBody4336469033875789420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157269629,"filename":"image_16012025_20_33_02_728272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f8b704eecab1d3c87c9ce18fc07d92a6.jpg","text":"TemporaryFile(/tmp/multipartBody3952082807580477550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157269629,"filename":"image_16012025_20_33_02_728272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4b5c1c0d9f3d013c9d8dd28494e4e1d.jpg","text":"TemporaryFile(/tmp/multipartBody6475621701682727128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157269629,"filename":"image_16012025_20_33_02_728272_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329610358","file1":"1329610355","file0":"1329610352","file4":"1329610424","file5":"1329610428","file3":"1329610377"},"map_files_photo_id_array":[{"photo_id":"1329610428","filename":"file5"},{"photo_id":"1329610358","filename":"file2"},{"photo_id":"1329610424","filename":"file4"},{"photo_id":"1329610355","filename":"file1"},{"photo_id":"1329610352","filename":"file0"},{"photo_id":"1329610377","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329610358":["hashtag1","hashtag2"]},{"1329610352":["hashtag1","hashtag2"]},{"1329610355":["hashtag1","hashtag2"]},{"1329610424":["hashtag1","hashtag2"]},{"1329610428":["hashtag1","hashtag2"]},{"1329610377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329610358, 1329610352, 1329610355, 1329610424, 1329610428, 1329610377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.67600750923157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:40:52.387700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/33/image_16012025_20_33_02_728272_0003.jpg', '/home/pi/Desktop/images/16012025/20/34/image_16012025_20_34_02_903836_0000.jpg', '/home/pi/Desktop/images/16012025/20/34/image_16012025_20_34_02_903836_0001.jpg', '/home/pi/Desktop/images/16012025/20/34/image_16012025_20_34_02_903836_0002.jpg', '/home/pi/Desktop/images/16012025/20/34/image_16012025_20_34_02_903836_0003.jpg', '/home/pi/Desktop/images/16012025/20/35/image_16012025_20_35_03_087134_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/33/image_16012025_20_33_02_728272_0003.jpg
/home/pi/Desktop/images/16012025/20/34/image_16012025_20_34_02_903836_0000.jpg
/home/pi/Desktop/images/16012025/20/34/image_16012025_20_34_02_903836_0001.jpg
/home/pi/Desktop/images/16012025/20/34/image_16012025_20_34_02_903836_0002.jpg
/home/pi/Desktop/images/16012025/20/34/image_16012025_20_34_02_903836_0003.jpg
/home/pi/Desktop/images/16012025/20/35/image_16012025_20_35_03_087134_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":["1329610475","1329610469","1329610498","1329610494","1329610488","1329610500"],"photo_ids_order":["1329610469","1329610475","1329610488","1329610494","1329610498","1329610500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7bae0052385c9eaedbba77c5d966b47.jpg","text":"TemporaryFile(/tmp/multipartBody6804042143327651152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157329221,"filename":"image_16012025_20_34_02_903836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f17d411107bfa4edcddb2281ead347d.jpg","text":"TemporaryFile(/tmp/multipartBody5306838925451191165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157329221,"filename":"image_16012025_20_33_02_728272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e715b776e76901ba9957218f7404875e.jpg","text":"TemporaryFile(/tmp/multipartBody8631145657438360408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157329221,"filename":"image_16012025_20_34_02_903836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c1b7c72683406ba806d736d95a6eff4e.jpg","text":"TemporaryFile(/tmp/multipartBody2665274083313624905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157329221,"filename":"image_16012025_20_34_02_903836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53cc508bdfb91fc702d76c67739576a8.jpg","text":"TemporaryFile(/tmp/multipartBody5925473902585313550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157329221,"filename":"image_16012025_20_34_02_903836_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec73ddea65e7fedeed986f93910e5b23.jpg","text":"TemporaryFile(/tmp/multipartBody1196082280895364324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157329221,"filename":"image_16012025_20_35_03_087134_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329610488","file1":"1329610475","file0":"1329610469","file4":"1329610498","file5":"1329610500","file3":"1329610494"},"map_files_photo_id_array":[{"photo_id":"1329610500","filename":"file5"},{"photo_id":"1329610488","filename":"file2"},{"photo_id":"1329610498","filename":"file4"},{"photo_id":"1329610475","filename":"file1"},{"photo_id":"1329610469","filename":"file0"},{"photo_id":"1329610494","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329610475":["hashtag1","hashtag2"]},{"1329610469":["hashtag1","hashtag2"]},{"1329610498":["hashtag1","hashtag2"]},{"1329610494":["hashtag1","hashtag2"]},{"1329610488":["hashtag1","hashtag2"]},{"1329610500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329610475, 1329610469, 1329610498, 1329610494, 1329610488, 1329610500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.211233377456665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:41:52.561189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/35/image_16012025_20_35_03_087134_0001.jpg', '/home/pi/Desktop/images/16012025/20/35/image_16012025_20_35_03_087134_0002.jpg', '/home/pi/Desktop/images/16012025/20/35/image_16012025_20_35_03_087134_0003.jpg', '/home/pi/Desktop/images/16012025/20/36/image_16012025_20_36_02_227502_0000.jpg', '/home/pi/Desktop/images/16012025/20/36/image_16012025_20_36_02_227502_0001.jpg', '/home/pi/Desktop/images/16012025/20/36/image_16012025_20_36_02_227502_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/35/image_16012025_20_35_03_087134_0001.jpg
/home/pi/Desktop/images/16012025/20/35/image_16012025_20_35_03_087134_0002.jpg
/home/pi/Desktop/images/16012025/20/35/image_16012025_20_35_03_087134_0003.jpg
/home/pi/Desktop/images/16012025/20/36/image_16012025_20_36_02_227502_0000.jpg
/home/pi/Desktop/images/16012025/20/36/image_16012025_20_36_02_227502_0001.jpg
/home/pi/Desktop/images/16012025/20/36/image_16012025_20_36_02_227502_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329610550","1329610544","1329610519","1329610528","1329610563","1329610554"],"photo_ids_order":["1329610519","1329610528","1329610544","1329610550","1329610554","1329610563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/09d2cfbd42e72f194d7fa13e89c80aa2.jpg","text":"TemporaryFile(/tmp/multipartBody2432517850440532698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157389934,"filename":"image_16012025_20_36_02_227502_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4e13a8c71c2f7e6fd1db70db6703a17a.jpg","text":"TemporaryFile(/tmp/multipartBody5636510295039679884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157389934,"filename":"image_16012025_20_35_03_087134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2ed18110e0c1d2098e8ef7b07ecb62ea.jpg","text":"TemporaryFile(/tmp/multipartBody5878315998268953065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157389934,"filename":"image_16012025_20_35_03_087134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95d636f1c1d63d90a639d1e3f8ddde4e.jpg","text":"TemporaryFile(/tmp/multipartBody1865625710013201587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157389934,"filename":"image_16012025_20_35_03_087134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9bb6e2053e2035f7efcc11998c1839c7.jpg","text":"TemporaryFile(/tmp/multipartBody7753445080504759885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157389934,"filename":"image_16012025_20_36_02_227502_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49742c75efe28dffd35c12d40308fdce.jpg","text":"TemporaryFile(/tmp/multipartBody8344481898239558269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157389934,"filename":"image_16012025_20_36_02_227502_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329610544","file1":"1329610528","file0":"1329610519","file4":"1329610554","file5":"1329610563","file3":"1329610550"},"map_files_photo_id_array":[{"photo_id":"1329610563","filename":"file5"},{"photo_id":"1329610544","filename":"file2"},{"photo_id":"1329610554","filename":"file4"},{"photo_id":"1329610528","filename":"file1"},{"photo_id":"1329610519","filename":"file0"},{"photo_id":"1329610550","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329610550":["hashtag1","hashtag2"]},{"1329610544":["hashtag1","hashtag2"]},{"1329610519":["hashtag1","hashtag2"]},{"1329610528":["hashtag1","hashtag2"]},{"1329610563":["hashtag1","hashtag2"]},{"1329610554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329610550, 1329610544, 1329610519, 1329610528, 1329610563, 1329610554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.662962675094604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:42:52.790335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/36/image_16012025_20_36_02_227502_0003.jpg', '/home/pi/Desktop/images/16012025/20/37/image_16012025_20_37_02_454091_0000.jpg', '/home/pi/Desktop/images/16012025/20/37/image_16012025_20_37_02_454091_0001.jpg', '/home/pi/Desktop/images/16012025/20/37/image_16012025_20_37_02_454091_0002.jpg', '/home/pi/Desktop/images/16012025/20/37/image_16012025_20_37_02_454091_0003.jpg', '/home/pi/Desktop/images/16012025/20/38/image_16012025_20_38_02_646050_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/36/image_16012025_20_36_02_227502_0003.jpg
/home/pi/Desktop/images/16012025/20/37/image_16012025_20_37_02_454091_0000.jpg
/home/pi/Desktop/images/16012025/20/37/image_16012025_20_37_02_454091_0001.jpg
/home/pi/Desktop/images/16012025/20/37/image_16012025_20_37_02_454091_0002.jpg
/home/pi/Desktop/images/16012025/20/37/image_16012025_20_37_02_454091_0003.jpg
/home/pi/Desktop/images/16012025/20/38/image_16012025_20_38_02_646050_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":["1329610697","1329610690","1329610630","1329610705","1329610707","1329610701"],"photo_ids_order":["1329610630","1329610690","1329610697","1329610701","1329610705","1329610707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/76de80232520def3bf1ceefc2b0ca651.jpg","text":"TemporaryFile(/tmp/multipartBody3998006295132311498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157449850,"filename":"image_16012025_20_37_02_454091_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9fc18ed42c688dfbfd0fdd38f6dca46.jpg","text":"TemporaryFile(/tmp/multipartBody4335088120562365186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157449850,"filename":"image_16012025_20_37_02_454091_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a94074c23925f2e3d4e665bdd1003f60.jpg","text":"TemporaryFile(/tmp/multipartBody5532011047821310896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157449850,"filename":"image_16012025_20_36_02_227502_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5191c9f66193325cce58f0eccae89339.jpg","text":"TemporaryFile(/tmp/multipartBody7754083337930696275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157449850,"filename":"image_16012025_20_37_02_454091_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/045d8580f28bd318f9d0f2abb1b6a08a.jpg","text":"TemporaryFile(/tmp/multipartBody3369497511586012327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157449850,"filename":"image_16012025_20_38_02_646050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e9933660742f730b6ce73db00a50447a.jpg","text":"TemporaryFile(/tmp/multipartBody840266194138933740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157449850,"filename":"image_16012025_20_37_02_454091_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329610697","file1":"1329610690","file0":"1329610630","file4":"1329610705","file5":"1329610707","file3":"1329610701"},"map_files_photo_id_array":[{"photo_id":"1329610707","filename":"file5"},{"photo_id":"1329610697","filename":"file2"},{"photo_id":"1329610705","filename":"file4"},{"photo_id":"1329610690","filename":"file1"},{"photo_id":"1329610630","filename":"file0"},{"photo_id":"1329610701","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329610697":["hashtag1","hashtag2"]},{"1329610690":["hashtag1","hashtag2"]},{"1329610630":["hashtag1","hashtag2"]},{"1329610705":["hashtag1","hashtag2"]},{"1329610707":["hashtag1","hashtag2"]},{"1329610701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329610697, 1329610690, 1329610630, 1329610705, 1329610707, 1329610701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.9253785610199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:43:51.977427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/38/image_16012025_20_38_02_646050_0001.jpg', '/home/pi/Desktop/images/16012025/20/38/image_16012025_20_38_02_646050_0002.jpg', '/home/pi/Desktop/images/16012025/20/38/image_16012025_20_38_02_646050_0003.jpg', '/home/pi/Desktop/images/16012025/20/39/image_16012025_20_39_02_838381_0000.jpg', '/home/pi/Desktop/images/16012025/20/39/image_16012025_20_39_02_838381_0001.jpg', '/home/pi/Desktop/images/16012025/20/39/image_16012025_20_39_02_838381_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/38/image_16012025_20_38_02_646050_0001.jpg
/home/pi/Desktop/images/16012025/20/38/image_16012025_20_38_02_646050_0002.jpg
/home/pi/Desktop/images/16012025/20/38/image_16012025_20_38_02_646050_0003.jpg
/home/pi/Desktop/images/16012025/20/39/image_16012025_20_39_02_838381_0000.jpg
/home/pi/Desktop/images/16012025/20/39/image_16012025_20_39_02_838381_0001.jpg
/home/pi/Desktop/images/16012025/20/39/image_16012025_20_39_02_838381_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329610742","1329610729","1329610726","1329610737","1329610731","1329610734"],"photo_ids_order":["1329610726","1329610729","1329610731","1329610734","1329610737","1329610742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28e4e916a2a1e028825c0871ee5f8de2.jpg","text":"TemporaryFile(/tmp/multipartBody3161457657596661030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157509780,"filename":"image_16012025_20_39_02_838381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5cda8b9bcbcc008fa3a3bb42f4046ddb.jpg","text":"TemporaryFile(/tmp/multipartBody8520996001719856927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157509780,"filename":"image_16012025_20_38_02_646050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/36a42225ade7453a8b92ec54b201818a.jpg","text":"TemporaryFile(/tmp/multipartBody3803386108681643898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157509780,"filename":"image_16012025_20_38_02_646050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/30094a8f40ac0e5e3b723aea85c0a88d.jpg","text":"TemporaryFile(/tmp/multipartBody3939853677276447718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157509780,"filename":"image_16012025_20_39_02_838381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04608f5052dc82f4ab47420c9f99f99f.jpg","text":"TemporaryFile(/tmp/multipartBody5883375058596435070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157509780,"filename":"image_16012025_20_38_02_646050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/677f1d7949216f9ec8c03cd06fb0e811.jpg","text":"TemporaryFile(/tmp/multipartBody7105495892201108858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157509780,"filename":"image_16012025_20_39_02_838381_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329610731","file1":"1329610729","file0":"1329610726","file4":"1329610737","file5":"1329610742","file3":"1329610734"},"map_files_photo_id_array":[{"photo_id":"1329610742","filename":"file5"},{"photo_id":"1329610731","filename":"file2"},{"photo_id":"1329610737","filename":"file4"},{"photo_id":"1329610729","filename":"file1"},{"photo_id":"1329610726","filename":"file0"},{"photo_id":"1329610734","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329610742":["hashtag1","hashtag2"]},{"1329610729":["hashtag1","hashtag2"]},{"1329610726":["hashtag1","hashtag2"]},{"1329610737":["hashtag1","hashtag2"]},{"1329610731":["hashtag1","hashtag2"]},{"1329610734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329610742, 1329610729, 1329610726, 1329610737, 1329610731, 1329610734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.831746101379395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:44:52.147615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/39/image_16012025_20_39_02_838381_0003.jpg', '/home/pi/Desktop/images/16012025/20/40/image_16012025_20_40_02_951878_0000.jpg', '/home/pi/Desktop/images/16012025/20/40/image_16012025_20_40_02_951878_0001.jpg', '/home/pi/Desktop/images/16012025/20/40/image_16012025_20_40_02_951878_0002.jpg', '/home/pi/Desktop/images/16012025/20/40/image_16012025_20_40_02_951878_0003.jpg', '/home/pi/Desktop/images/16012025/20/41/image_16012025_20_41_02_148715_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/39/image_16012025_20_39_02_838381_0003.jpg
/home/pi/Desktop/images/16012025/20/40/image_16012025_20_40_02_951878_0000.jpg
/home/pi/Desktop/images/16012025/20/40/image_16012025_20_40_02_951878_0001.jpg
/home/pi/Desktop/images/16012025/20/40/image_16012025_20_40_02_951878_0002.jpg
/home/pi/Desktop/images/16012025/20/40/image_16012025_20_40_02_951878_0003.jpg
/home/pi/Desktop/images/16012025/20/41/image_16012025_20_41_02_148715_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":["1329610772","1329610789","1329610819","1329610779","1329610770","1329610767"],"photo_ids_order":["1329610767","1329610770","1329610772","1329610779","1329610789","1329610819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53b427f18b3ef5f4b0e3cab7c37c4fd4.jpg","text":"TemporaryFile(/tmp/multipartBody1314076801163228673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157569804,"filename":"image_16012025_20_40_02_951878_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e34d18fbfaee902aab8791152ad74e61.jpg","text":"TemporaryFile(/tmp/multipartBody8286955012571807555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157569804,"filename":"image_16012025_20_40_02_951878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a8914b2b03a3fdc5f3c4cab70f64054a.jpg","text":"TemporaryFile(/tmp/multipartBody5364564813701710408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157569804,"filename":"image_16012025_20_41_02_148715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97f72de3c4b955304df94352de625dfd.jpg","text":"TemporaryFile(/tmp/multipartBody4450561555622608606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157569804,"filename":"image_16012025_20_40_02_951878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f829d6c25873b36013aabb63e22040f.jpg","text":"TemporaryFile(/tmp/multipartBody8740560525515256675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157569804,"filename":"image_16012025_20_40_02_951878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a8e03f19ec152d7c41a43883c27b81ae.jpg","text":"TemporaryFile(/tmp/multipartBody2002945106942935691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157569804,"filename":"image_16012025_20_39_02_838381_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329610772","file1":"1329610770","file0":"1329610767","file4":"1329610789","file5":"1329610819","file3":"1329610779"},"map_files_photo_id_array":[{"photo_id":"1329610819","filename":"file5"},{"photo_id":"1329610772","filename":"file2"},{"photo_id":"1329610789","filename":"file4"},{"photo_id":"1329610770","filename":"file1"},{"photo_id":"1329610767","filename":"file0"},{"photo_id":"1329610779","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329610772":["hashtag1","hashtag2"]},{"1329610789":["hashtag1","hashtag2"]},{"1329610819":["hashtag1","hashtag2"]},{"1329610779":["hashtag1","hashtag2"]},{"1329610770":["hashtag1","hashtag2"]},{"1329610767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329610772, 1329610789, 1329610819, 1329610779, 1329610770, 1329610767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.04704427719116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:45:52.316687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/41/image_16012025_20_41_02_148715_0001.jpg', '/home/pi/Desktop/images/16012025/20/41/image_16012025_20_41_02_148715_0002.jpg', '/home/pi/Desktop/images/16012025/20/41/image_16012025_20_41_02_148715_0003.jpg', '/home/pi/Desktop/images/16012025/20/42/image_16012025_20_42_02_272767_0000.jpg', '/home/pi/Desktop/images/16012025/20/42/image_16012025_20_42_02_272767_0001.jpg', '/home/pi/Desktop/images/16012025/20/42/image_16012025_20_42_02_272767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/41/image_16012025_20_41_02_148715_0001.jpg
/home/pi/Desktop/images/16012025/20/41/image_16012025_20_41_02_148715_0002.jpg
/home/pi/Desktop/images/16012025/20/41/image_16012025_20_41_02_148715_0003.jpg
/home/pi/Desktop/images/16012025/20/42/image_16012025_20_42_02_272767_0000.jpg
/home/pi/Desktop/images/16012025/20/42/image_16012025_20_42_02_272767_0001.jpg
/home/pi/Desktop/images/16012025/20/42/image_16012025_20_42_02_272767_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329610892","1329610880","1329610868","1329610904","1329610896","1329610875"],"photo_ids_order":["1329610868","1329610875","1329610880","1329610892","1329610896","1329610904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/80e22092a4ad92e8351471bbc1ee12e7.jpg","text":"TemporaryFile(/tmp/multipartBody8867938379518702221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157629090,"filename":"image_16012025_20_42_02_272767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d33b801124ef38a725bd187ff0c2cb8.jpg","text":"TemporaryFile(/tmp/multipartBody3292582828786577036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157629090,"filename":"image_16012025_20_41_02_148715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/80dc2a6dc2148d8116c8155a858e8694.jpg","text":"TemporaryFile(/tmp/multipartBody187019267318808340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157629090,"filename":"image_16012025_20_41_02_148715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e121cc0699645cb99514328bf9b97b7.jpg","text":"TemporaryFile(/tmp/multipartBody557857008308194338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157629090,"filename":"image_16012025_20_42_02_272767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1bc963f675c4011a2fc2655ce649c4e.jpg","text":"TemporaryFile(/tmp/multipartBody265330493899190046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157629090,"filename":"image_16012025_20_42_02_272767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/246d450bddbc7192e5f5135a5723f6dd.jpg","text":"TemporaryFile(/tmp/multipartBody2518201358785475262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157629090,"filename":"image_16012025_20_41_02_148715_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329610880","file1":"1329610875","file0":"1329610868","file4":"1329610896","file5":"1329610904","file3":"1329610892"},"map_files_photo_id_array":[{"photo_id":"1329610904","filename":"file5"},{"photo_id":"1329610880","filename":"file2"},{"photo_id":"1329610896","filename":"file4"},{"photo_id":"1329610875","filename":"file1"},{"photo_id":"1329610868","filename":"file0"},{"photo_id":"1329610892","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329610892":["hashtag1","hashtag2"]},{"1329610880":["hashtag1","hashtag2"]},{"1329610868":["hashtag1","hashtag2"]},{"1329610904":["hashtag1","hashtag2"]},{"1329610896":["hashtag1","hashtag2"]},{"1329610875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329610892, 1329610880, 1329610868, 1329610904, 1329610896, 1329610875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.14130187034607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:46:52.465960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/42/image_16012025_20_42_02_272767_0003.jpg', '/home/pi/Desktop/images/16012025/20/43/image_16012025_20_43_02_509898_0000.jpg', '/home/pi/Desktop/images/16012025/20/43/image_16012025_20_43_02_509898_0001.jpg', '/home/pi/Desktop/images/16012025/20/43/image_16012025_20_43_02_509898_0002.jpg', '/home/pi/Desktop/images/16012025/20/43/image_16012025_20_43_02_509898_0003.jpg', '/home/pi/Desktop/images/16012025/20/44/image_16012025_20_44_02_672759_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/42/image_16012025_20_42_02_272767_0003.jpg
/home/pi/Desktop/images/16012025/20/43/image_16012025_20_43_02_509898_0000.jpg
/home/pi/Desktop/images/16012025/20/43/image_16012025_20_43_02_509898_0001.jpg
/home/pi/Desktop/images/16012025/20/43/image_16012025_20_43_02_509898_0002.jpg
/home/pi/Desktop/images/16012025/20/43/image_16012025_20_43_02_509898_0003.jpg
/home/pi/Desktop/images/16012025/20/44/image_16012025_20_44_02_672759_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":["1329611210","1329611197","1329611206","1329611190","1329611202","1329611186"],"photo_ids_order":["1329611186","1329611190","1329611197","1329611202","1329611206","1329611210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6f8ad2709245143b389fd7f6b29fa8f.jpg","text":"TemporaryFile(/tmp/multipartBody2118144547652897573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157690325,"filename":"image_16012025_20_44_02_672759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3fd501ab462fa2d3771886b1d0afdfbf.jpg","text":"TemporaryFile(/tmp/multipartBody6838129800999703412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157690325,"filename":"image_16012025_20_43_02_509898_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a58bd0bfc688728153274f6d362dd449.jpg","text":"TemporaryFile(/tmp/multipartBody7723257448430588922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157690325,"filename":"image_16012025_20_43_02_509898_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd0255bc94cef303b096c841ef45c8b1.jpg","text":"TemporaryFile(/tmp/multipartBody6267510893563883958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157690325,"filename":"image_16012025_20_43_02_509898_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e360c04a40e1e89a178e8767f01513a6.jpg","text":"TemporaryFile(/tmp/multipartBody8066927443379146894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157690325,"filename":"image_16012025_20_43_02_509898_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/94c032c7a038e30a5766460ef1e7dc5d.jpg","text":"TemporaryFile(/tmp/multipartBody7165057568097681224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157690325,"filename":"image_16012025_20_42_02_272767_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329611197","file1":"1329611190","file0":"1329611186","file4":"1329611206","file5":"1329611210","file3":"1329611202"},"map_files_photo_id_array":[{"photo_id":"1329611210","filename":"file5"},{"photo_id":"1329611197","filename":"file2"},{"photo_id":"1329611206","filename":"file4"},{"photo_id":"1329611190","filename":"file1"},{"photo_id":"1329611186","filename":"file0"},{"photo_id":"1329611202","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329611210":["hashtag1","hashtag2"]},{"1329611197":["hashtag1","hashtag2"]},{"1329611206":["hashtag1","hashtag2"]},{"1329611190":["hashtag1","hashtag2"]},{"1329611202":["hashtag1","hashtag2"]},{"1329611186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329611210, 1329611197, 1329611206, 1329611190, 1329611202, 1329611186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.74461364746094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 00:48:02.143645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_0001.jpg', '/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_0002.jpg', '/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_0003.jpg', '/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0000.jpg', '/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0001.jpg', '/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_0001.jpg
/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_0002.jpg
/home/pi/Desktop/images/18012025/00/33/image_18012025_00_33_02_250088_0003.jpg
/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0000.jpg
/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0001.jpg
/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329611284","1329611272","1329611278","1329611221","1329611256","1329611243"],"photo_ids_order":["1329611221","1329611243","1329611256","1329611272","1329611278","1329611284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad093bbca60281921e953c1dbd055a4f.jpg","text":"TemporaryFile(/tmp/multipartBody4272949327885119101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157758489,"filename":"image_18012025_00_34_02_455627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0951aaec4573eb4e44f97380658522c6.jpg","text":"TemporaryFile(/tmp/multipartBody7066865508790542794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157758489,"filename":"image_18012025_00_34_02_455627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9915eb9afc7d9e29531eb92c322945eb.jpg","text":"TemporaryFile(/tmp/multipartBody136364174333205734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157758489,"filename":"image_18012025_00_34_02_455627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d6fe4ecf164a081fbb0df21b3cad09e.jpg","text":"TemporaryFile(/tmp/multipartBody9021023843341513696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157758489,"filename":"image_18012025_00_33_02_250088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9e5255d80c0870171be7c7907eeabe6b.jpg","text":"TemporaryFile(/tmp/multipartBody7724934575284527044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157758489,"filename":"image_18012025_00_33_02_250088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8851949d7ce6de4427acdd2835a17a90.jpg","text":"TemporaryFile(/tmp/multipartBody3289465693565667599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157758489,"filename":"image_18012025_00_33_02_250088_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329611256","file1":"1329611243","file0":"1329611221","file4":"1329611278","file5":"1329611284","file3":"1329611272"},"map_files_photo_id_array":[{"photo_id":"1329611284","filename":"file5"},{"photo_id":"1329611256","filename":"file2"},{"photo_id":"1329611278","filename":"file4"},{"photo_id":"1329611243","filename":"file1"},{"photo_id":"1329611221","filename":"file0"},{"photo_id":"1329611272","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329611284":["hashtag1","hashtag2"]},{"1329611272":["hashtag1","hashtag2"]},{"1329611278":["hashtag1","hashtag2"]},{"1329611221":["hashtag1","hashtag2"]},{"1329611256":["hashtag1","hashtag2"]},{"1329611243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329611284, 1329611272, 1329611278, 1329611221, 1329611256, 1329611243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.50950741767883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 00:49:02.588484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0003.jpg', '/home/pi/Desktop/images/18012025/00/35/image_18012025_00_35_02_604947_0000.jpg', '/home/pi/Desktop/images/18012025/00/35/image_18012025_00_35_02_604947_0001.jpg', '/home/pi/Desktop/images/18012025/00/35/image_18012025_00_35_02_604947_0002.jpg', '/home/pi/Desktop/images/18012025/00/35/image_18012025_00_35_02_604947_0003.jpg', '/home/pi/Desktop/images/18012025/00/36/image_18012025_00_36_02_806985_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/34/image_18012025_00_34_02_455627_0003.jpg
/home/pi/Desktop/images/18012025/00/35/image_18012025_00_35_02_604947_0000.jpg
/home/pi/Desktop/images/18012025/00/35/image_18012025_00_35_02_604947_0001.jpg
/home/pi/Desktop/images/18012025/00/35/image_18012025_00_35_02_604947_0002.jpg
/home/pi/Desktop/images/18012025/00/35/image_18012025_00_35_02_604947_0003.jpg
/home/pi/Desktop/images/18012025/00/36/image_18012025_00_36_02_806985_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":["1329611327","1329611347","1329611341","1329611317","1329611352","1329611336"],"photo_ids_order":["1329611317","1329611327","1329611336","1329611341","1329611347","1329611352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/99d062dddca15f1c0a46889254dc8664.jpg","text":"TemporaryFile(/tmp/multipartBody1317275133477344969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157818101,"filename":"image_18012025_00_35_02_604947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4a1757744c79c4abee598ddbf21afb8b.jpg","text":"TemporaryFile(/tmp/multipartBody6040347605928254145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157818101,"filename":"image_18012025_00_35_02_604947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/47cc03f6f6228f266071e4b77d3dd4b7.jpg","text":"TemporaryFile(/tmp/multipartBody1833718937519495432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157818101,"filename":"image_18012025_00_35_02_604947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92541d1e02c08829ccb773d277b696a5.jpg","text":"TemporaryFile(/tmp/multipartBody2655050822188338139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157818101,"filename":"image_18012025_00_34_02_455627_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a8ad8db91a677a90d3904e8c18f90bc.jpg","text":"TemporaryFile(/tmp/multipartBody4160196445763048892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157818101,"filename":"image_18012025_00_36_02_806985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5130c36dcc17b910515ddf9e19a4ccc7.jpg","text":"TemporaryFile(/tmp/multipartBody3074497740748989392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157818101,"filename":"image_18012025_00_35_02_604947_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329611336","file1":"1329611327","file0":"1329611317","file4":"1329611347","file5":"1329611352","file3":"1329611341"},"map_files_photo_id_array":[{"photo_id":"1329611352","filename":"file5"},{"photo_id":"1329611336","filename":"file2"},{"photo_id":"1329611347","filename":"file4"},{"photo_id":"1329611327","filename":"file1"},{"photo_id":"1329611317","filename":"file0"},{"photo_id":"1329611341","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329611327":["hashtag1","hashtag2"]},{"1329611347":["hashtag1","hashtag2"]},{"1329611341":["hashtag1","hashtag2"]},{"1329611317":["hashtag1","hashtag2"]},{"1329611352":["hashtag1","hashtag2"]},{"1329611336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329611327, 1329611347, 1329611341, 1329611317, 1329611352, 1329611336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.95118594169617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 00:50:02.543839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/36/image_18012025_00_36_02_806985_0001.jpg', '/home/pi/Desktop/images/18012025/00/36/image_18012025_00_36_02_806985_0002.jpg', '/home/pi/Desktop/images/18012025/00/36/image_18012025_00_36_02_806985_0003.jpg', '/home/pi/Desktop/images/18012025/00/37/image_18012025_00_37_02_960624_0000.jpg', '/home/pi/Desktop/images/18012025/00/37/image_18012025_00_37_02_960624_0001.jpg', '/home/pi/Desktop/images/18012025/00/37/image_18012025_00_37_02_960624_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/36/image_18012025_00_36_02_806985_0001.jpg
/home/pi/Desktop/images/18012025/00/36/image_18012025_00_36_02_806985_0002.jpg
/home/pi/Desktop/images/18012025/00/36/image_18012025_00_36_02_806985_0003.jpg
/home/pi/Desktop/images/18012025/00/37/image_18012025_00_37_02_960624_0000.jpg
/home/pi/Desktop/images/18012025/00/37/image_18012025_00_37_02_960624_0001.jpg
/home/pi/Desktop/images/18012025/00/37/image_18012025_00_37_02_960624_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329611417","1329611416","1329611394","1329611397","1329611391","1329611403"],"photo_ids_order":["1329611391","1329611394","1329611397","1329611403","1329611416","1329611417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e30dc69c437dd1b894143165f98725af.jpg","text":"TemporaryFile(/tmp/multipartBody382869737125389344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157878393,"filename":"image_18012025_00_37_02_960624_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4091049d430d5b5bca280780a268103b.jpg","text":"TemporaryFile(/tmp/multipartBody8333168290883725558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157878393,"filename":"image_18012025_00_37_02_960624_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7f5191746d7311d9d639ef0b094d126b.jpg","text":"TemporaryFile(/tmp/multipartBody7563325699501111656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157878393,"filename":"image_18012025_00_36_02_806985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0cb54b718044d04d2ae804791221903d.jpg","text":"TemporaryFile(/tmp/multipartBody1131479528974224737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157878393,"filename":"image_18012025_00_36_02_806985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f7e6348ec33042556d081c7888c08cf.jpg","text":"TemporaryFile(/tmp/multipartBody6248241333056706900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157878393,"filename":"image_18012025_00_36_02_806985_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3142cda4b911a5bc87e572975dbb2720.jpg","text":"TemporaryFile(/tmp/multipartBody1437096855555512886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157878393,"filename":"image_18012025_00_37_02_960624_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329611397","file1":"1329611394","file0":"1329611391","file4":"1329611416","file5":"1329611417","file3":"1329611403"},"map_files_photo_id_array":[{"photo_id":"1329611417","filename":"file5"},{"photo_id":"1329611397","filename":"file2"},{"photo_id":"1329611416","filename":"file4"},{"photo_id":"1329611394","filename":"file1"},{"photo_id":"1329611391","filename":"file0"},{"photo_id":"1329611403","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329611417":["hashtag1","hashtag2"]},{"1329611416":["hashtag1","hashtag2"]},{"1329611394":["hashtag1","hashtag2"]},{"1329611397":["hashtag1","hashtag2"]},{"1329611391":["hashtag1","hashtag2"]},{"1329611403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329611417, 1329611416, 1329611394, 1329611397, 1329611391, 1329611403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.60632085800171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 00:51:02.941399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/37/image_18012025_00_37_02_960624_0003.jpg', '/home/pi/Desktop/images/18012025/00/38/image_18012025_00_38_02_165277_0000.jpg', '/home/pi/Desktop/images/18012025/00/38/image_18012025_00_38_02_165277_0001.jpg', '/home/pi/Desktop/images/18012025/00/38/image_18012025_00_38_02_165277_0002.jpg', '/home/pi/Desktop/images/18012025/00/38/image_18012025_00_38_02_165277_0003.jpg', '/home/pi/Desktop/images/18012025/00/39/image_18012025_00_39_02_408563_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/37/image_18012025_00_37_02_960624_0003.jpg
/home/pi/Desktop/images/18012025/00/38/image_18012025_00_38_02_165277_0000.jpg
/home/pi/Desktop/images/18012025/00/38/image_18012025_00_38_02_165277_0001.jpg
/home/pi/Desktop/images/18012025/00/38/image_18012025_00_38_02_165277_0002.jpg
/home/pi/Desktop/images/18012025/00/38/image_18012025_00_38_02_165277_0003.jpg
/home/pi/Desktop/images/18012025/00/39/image_18012025_00_39_02_408563_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":["1329611494","1329611497","1329611499","1329611498","1329611502","1329611489"],"photo_ids_order":["1329611489","1329611494","1329611497","1329611498","1329611499","1329611502"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5230bede9c50be91d9830268eb6bc09d.jpg","text":"TemporaryFile(/tmp/multipartBody4807238478576177482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157939320,"filename":"image_18012025_00_38_02_165277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/493ca8d3e33b182b0eba9e7eb0e64158.jpg","text":"TemporaryFile(/tmp/multipartBody5590499402506798429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157939320,"filename":"image_18012025_00_38_02_165277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/87030281f4f1e3e8b3a78a9e317ab343.jpg","text":"TemporaryFile(/tmp/multipartBody1514413835356196614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157939320,"filename":"image_18012025_00_38_02_165277_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e88a137a6778c862c907e7d20c148f42.jpg","text":"TemporaryFile(/tmp/multipartBody409279421446731440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157939320,"filename":"image_18012025_00_38_02_165277_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/efcf44b129a2bf743621063cb7389ff0.jpg","text":"TemporaryFile(/tmp/multipartBody8509435095159358351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157939320,"filename":"image_18012025_00_39_02_408563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1846cc229528284cf147ea28b128c001.jpg","text":"TemporaryFile(/tmp/multipartBody3921835543018423367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157939320,"filename":"image_18012025_00_37_02_960624_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329611497","file1":"1329611494","file0":"1329611489","file4":"1329611499","file5":"1329611502","file3":"1329611498"},"map_files_photo_id_array":[{"photo_id":"1329611502","filename":"file5"},{"photo_id":"1329611497","filename":"file2"},{"photo_id":"1329611499","filename":"file4"},{"photo_id":"1329611494","filename":"file1"},{"photo_id":"1329611489","filename":"file0"},{"photo_id":"1329611498","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329611494":["hashtag1","hashtag2"]},{"1329611497":["hashtag1","hashtag2"]},{"1329611499":["hashtag1","hashtag2"]},{"1329611498":["hashtag1","hashtag2"]},{"1329611502":["hashtag1","hashtag2"]},{"1329611489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329611494, 1329611497, 1329611499, 1329611498, 1329611502, 1329611489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.500757694244385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 00:52:02.880969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/39/image_18012025_00_39_02_408563_0001.jpg', '/home/pi/Desktop/images/18012025/00/39/image_18012025_00_39_02_408563_0002.jpg', '/home/pi/Desktop/images/18012025/00/39/image_18012025_00_39_02_408563_0003.jpg', '/home/pi/Desktop/images/18012025/00/40/image_18012025_00_40_02_569974_0000.jpg', '/home/pi/Desktop/images/18012025/00/40/image_18012025_00_40_02_569974_0001.jpg', '/home/pi/Desktop/images/18012025/00/40/image_18012025_00_40_02_569974_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/39/image_18012025_00_39_02_408563_0001.jpg
/home/pi/Desktop/images/18012025/00/39/image_18012025_00_39_02_408563_0002.jpg
/home/pi/Desktop/images/18012025/00/39/image_18012025_00_39_02_408563_0003.jpg
/home/pi/Desktop/images/18012025/00/40/image_18012025_00_40_02_569974_0000.jpg
/home/pi/Desktop/images/18012025/00/40/image_18012025_00_40_02_569974_0001.jpg
/home/pi/Desktop/images/18012025/00/40/image_18012025_00_40_02_569974_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329611527","1329611530","1329611518","1329611523","1329611532","1329611534"],"photo_ids_order":["1329611518","1329611523","1329611527","1329611530","1329611532","1329611534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fde0cdb01791504a92148f3f7283d613.jpg","text":"TemporaryFile(/tmp/multipartBody5552050452530880194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157998615,"filename":"image_18012025_00_39_02_408563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed0f8c85bbf98e8227c4d2cd3222c60c.jpg","text":"TemporaryFile(/tmp/multipartBody6524463276628178996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157998615,"filename":"image_18012025_00_40_02_569974_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b751e8c6fbaf8b1e0225526a4fd54dd.jpg","text":"TemporaryFile(/tmp/multipartBody9034586778099015249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157998615,"filename":"image_18012025_00_39_02_408563_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e8e0c81deb0a8a2e04dd41b026f24f0.jpg","text":"TemporaryFile(/tmp/multipartBody2507568435359092925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157998615,"filename":"image_18012025_00_39_02_408563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f6af26309b23a113728f3d84e22ddce6.jpg","text":"TemporaryFile(/tmp/multipartBody8188503239341383699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157998615,"filename":"image_18012025_00_40_02_569974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/56b4d5e0eb8fb58096c18c84d4462375.jpg","text":"TemporaryFile(/tmp/multipartBody6637361477765165584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737157998615,"filename":"image_18012025_00_40_02_569974_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329611527","file1":"1329611523","file0":"1329611518","file4":"1329611532","file5":"1329611534","file3":"1329611530"},"map_files_photo_id_array":[{"photo_id":"1329611534","filename":"file5"},{"photo_id":"1329611527","filename":"file2"},{"photo_id":"1329611532","filename":"file4"},{"photo_id":"1329611523","filename":"file1"},{"photo_id":"1329611518","filename":"file0"},{"photo_id":"1329611530","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329611527":["hashtag1","hashtag2"]},{"1329611530":["hashtag1","hashtag2"]},{"1329611518":["hashtag1","hashtag2"]},{"1329611523":["hashtag1","hashtag2"]},{"1329611532":["hashtag1","hashtag2"]},{"1329611534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329611527, 1329611530, 1329611518, 1329611523, 1329611532, 1329611534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.36316108703613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 00:53:22.670337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/40/image_18012025_00_40_02_569974_0003.jpg', '/home/pi/Desktop/images/18012025/00/41/image_18012025_00_41_02_794052_0000.jpg', '/home/pi/Desktop/images/18012025/00/41/image_18012025_00_41_02_794052_0001.jpg', '/home/pi/Desktop/images/18012025/00/41/image_18012025_00_41_02_794052_0002.jpg', '/home/pi/Desktop/images/18012025/00/41/image_18012025_00_41_02_794052_0003.jpg', '/home/pi/Desktop/images/18012025/00/42/image_18012025_00_42_02_927953_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/40/image_18012025_00_40_02_569974_0003.jpg
/home/pi/Desktop/images/18012025/00/41/image_18012025_00_41_02_794052_0000.jpg
/home/pi/Desktop/images/18012025/00/41/image_18012025_00_41_02_794052_0001.jpg
/home/pi/Desktop/images/18012025/00/41/image_18012025_00_41_02_794052_0002.jpg
/home/pi/Desktop/images/18012025/00/41/image_18012025_00_41_02_794052_0003.jpg
/home/pi/Desktop/images/18012025/00/42/image_18012025_00_42_02_927953_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":["1329611657","1329611618","1329611632","1329611728","1329611724","1329611669"],"photo_ids_order":["1329611618","1329611632","1329611657","1329611669","1329611724","1329611728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f3733049b95f39c04966d4898e8fbd33.jpg","text":"TemporaryFile(/tmp/multipartBody6921490967549498388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158079084,"filename":"image_18012025_00_41_02_794052_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8d1a78cb59385b05d6bd0f99a6a6977a.jpg","text":"TemporaryFile(/tmp/multipartBody1251528787915594920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158079084,"filename":"image_18012025_00_40_02_569974_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1cf8b192db549e01163bf8d52e31192.jpg","text":"TemporaryFile(/tmp/multipartBody7520620598545006514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158079084,"filename":"image_18012025_00_41_02_794052_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/847f0010fee8eb837b631c16e58e5b78.jpg","text":"TemporaryFile(/tmp/multipartBody2310347921802484470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158079084,"filename":"image_18012025_00_42_02_927953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d7be9c312734c599a10001eccd8648e1.jpg","text":"TemporaryFile(/tmp/multipartBody6600715923030926365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158079084,"filename":"image_18012025_00_41_02_794052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eae370cd8cfdfc2206487c69059fd6ad.jpg","text":"TemporaryFile(/tmp/multipartBody1790001465628283274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158079084,"filename":"image_18012025_00_41_02_794052_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329611657","file1":"1329611632","file0":"1329611618","file4":"1329611724","file5":"1329611728","file3":"1329611669"},"map_files_photo_id_array":[{"photo_id":"1329611728","filename":"file5"},{"photo_id":"1329611657","filename":"file2"},{"photo_id":"1329611724","filename":"file4"},{"photo_id":"1329611632","filename":"file1"},{"photo_id":"1329611618","filename":"file0"},{"photo_id":"1329611669","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329611657":["hashtag1","hashtag2"]},{"1329611618":["hashtag1","hashtag2"]},{"1329611632":["hashtag1","hashtag2"]},{"1329611728":["hashtag1","hashtag2"]},{"1329611724":["hashtag1","hashtag2"]},{"1329611669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329611657, 1329611618, 1329611632, 1329611728, 1329611724, 1329611669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.970494508743286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:54:51.869134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/44/image_16012025_20_44_02_672759_0001.jpg', '/home/pi/Desktop/images/16012025/20/44/image_16012025_20_44_02_672759_0002.jpg', '/home/pi/Desktop/images/16012025/20/44/image_16012025_20_44_02_672759_0003.jpg', '/home/pi/Desktop/images/16012025/20/45/image_16012025_20_45_02_934854_0000.jpg', '/home/pi/Desktop/images/16012025/20/45/image_16012025_20_45_02_934854_0001.jpg', '/home/pi/Desktop/images/16012025/20/45/image_16012025_20_45_02_934854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/44/image_16012025_20_44_02_672759_0001.jpg
/home/pi/Desktop/images/16012025/20/44/image_16012025_20_44_02_672759_0002.jpg
/home/pi/Desktop/images/16012025/20/44/image_16012025_20_44_02_672759_0003.jpg
/home/pi/Desktop/images/16012025/20/45/image_16012025_20_45_02_934854_0000.jpg
/home/pi/Desktop/images/16012025/20/45/image_16012025_20_45_02_934854_0001.jpg
/home/pi/Desktop/images/16012025/20/45/image_16012025_20_45_02_934854_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329611909","1329611903","1329611898","1329611892","1329611886","1329611880"],"photo_ids_order":["1329611880","1329611886","1329611892","1329611898","1329611903","1329611909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/748989aafea803bb3a8c9363884e1506.jpg","text":"TemporaryFile(/tmp/multipartBody8260042179744976393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158168391,"filename":"image_16012025_20_45_02_934854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a52bcc2c527c0082a2bdf7c06d74de92.jpg","text":"TemporaryFile(/tmp/multipartBody1995745720347864258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158168391,"filename":"image_16012025_20_45_02_934854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/22ebb4b6dc3449c9d46f660868ab36c1.jpg","text":"TemporaryFile(/tmp/multipartBody4123330311659123587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158168391,"filename":"image_16012025_20_45_02_934854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e2ba271425e45c11b2b7966f4455192.jpg","text":"TemporaryFile(/tmp/multipartBody8459859937942754023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158168391,"filename":"image_16012025_20_44_02_672759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b28da4842dcdd5961f40681bee61ec6.jpg","text":"TemporaryFile(/tmp/multipartBody8993143709520663730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158168391,"filename":"image_16012025_20_44_02_672759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b182718429a68a3c94f7c1cfc4b8c09.jpg","text":"TemporaryFile(/tmp/multipartBody594298906971973816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158168391,"filename":"image_16012025_20_44_02_672759_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329611892","file1":"1329611886","file0":"1329611880","file4":"1329611903","file5":"1329611909","file3":"1329611898"},"map_files_photo_id_array":[{"photo_id":"1329611909","filename":"file5"},{"photo_id":"1329611892","filename":"file2"},{"photo_id":"1329611903","filename":"file4"},{"photo_id":"1329611886","filename":"file1"},{"photo_id":"1329611880","filename":"file0"},{"photo_id":"1329611898","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329611909":["hashtag1","hashtag2"]},{"1329611903":["hashtag1","hashtag2"]},{"1329611898":["hashtag1","hashtag2"]},{"1329611892":["hashtag1","hashtag2"]},{"1329611886":["hashtag1","hashtag2"]},{"1329611880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329611909, 1329611903, 1329611898, 1329611892, 1329611886, 1329611880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.56746792793274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:55:52.078248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/45/image_16012025_20_45_02_934854_0003.jpg', '/home/pi/Desktop/images/16012025/20/46/image_16012025_20_46_03_100966_0000.jpg', '/home/pi/Desktop/images/16012025/20/46/image_16012025_20_46_03_100966_0001.jpg', '/home/pi/Desktop/images/16012025/20/46/image_16012025_20_46_03_100966_0002.jpg', '/home/pi/Desktop/images/16012025/20/46/image_16012025_20_46_03_100966_0003.jpg', '/home/pi/Desktop/images/16012025/20/47/image_16012025_20_47_02_248661_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/45/image_16012025_20_45_02_934854_0003.jpg
/home/pi/Desktop/images/16012025/20/46/image_16012025_20_46_03_100966_0000.jpg
/home/pi/Desktop/images/16012025/20/46/image_16012025_20_46_03_100966_0001.jpg
/home/pi/Desktop/images/16012025/20/46/image_16012025_20_46_03_100966_0002.jpg
/home/pi/Desktop/images/16012025/20/46/image_16012025_20_46_03_100966_0003.jpg
/home/pi/Desktop/images/16012025/20/47/image_16012025_20_47_02_248661_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":["1329611927","1329611956","1329611970","1329611961","1329611966","1329611930"],"photo_ids_order":["1329611927","1329611930","1329611956","1329611961","1329611966","1329611970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/19b307e7ea7aeee5d805260a43ea3739.jpg","text":"TemporaryFile(/tmp/multipartBody5433345173015103761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158227739,"filename":"image_16012025_20_45_02_934854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b9d2abf0f18313283f0ea84002f29b2.jpg","text":"TemporaryFile(/tmp/multipartBody8300381872172398455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158227739,"filename":"image_16012025_20_46_03_100966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/581568b3cdb6d51f2a9a3302c2d70a23.jpg","text":"TemporaryFile(/tmp/multipartBody7127858928746287901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158227739,"filename":"image_16012025_20_47_02_248661_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e24b19de79a49925621ae8073602c46a.jpg","text":"TemporaryFile(/tmp/multipartBody3502864786709916908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158227739,"filename":"image_16012025_20_46_03_100966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/19b8ab1b3e471dd19997b547c63e7f26.jpg","text":"TemporaryFile(/tmp/multipartBody9152106376725736262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158227739,"filename":"image_16012025_20_46_03_100966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7caa8cff640cb17eb7bf11b5d3f06d10.jpg","text":"TemporaryFile(/tmp/multipartBody12435310589376117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158227739,"filename":"image_16012025_20_46_03_100966_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329611956","file1":"1329611930","file0":"1329611927","file4":"1329611966","file5":"1329611970","file3":"1329611961"},"map_files_photo_id_array":[{"photo_id":"1329611970","filename":"file5"},{"photo_id":"1329611956","filename":"file2"},{"photo_id":"1329611966","filename":"file4"},{"photo_id":"1329611930","filename":"file1"},{"photo_id":"1329611927","filename":"file0"},{"photo_id":"1329611961","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329611927":["hashtag1","hashtag2"]},{"1329611956":["hashtag1","hashtag2"]},{"1329611970":["hashtag1","hashtag2"]},{"1329611961":["hashtag1","hashtag2"]},{"1329611966":["hashtag1","hashtag2"]},{"1329611930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329611927, 1329611956, 1329611970, 1329611961, 1329611966, 1329611930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.48923301696777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:56:52.246126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/47/image_16012025_20_47_02_248661_0002.jpg', '/home/pi/Desktop/images/16012025/20/47/image_16012025_20_47_02_248661_0003.jpg', '/home/pi/Desktop/images/16012025/20/48/image_16012025_20_48_02_392599_0000.jpg', '/home/pi/Desktop/images/16012025/20/48/image_16012025_20_48_02_392599_0001.jpg', '/home/pi/Desktop/images/16012025/20/48/image_16012025_20_48_02_392599_0003.jpg', '/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/47/image_16012025_20_47_02_248661_0002.jpg
/home/pi/Desktop/images/16012025/20/47/image_16012025_20_47_02_248661_0003.jpg
/home/pi/Desktop/images/16012025/20/48/image_16012025_20_48_02_392599_0000.jpg
/home/pi/Desktop/images/16012025/20/48/image_16012025_20_48_02_392599_0001.jpg
/home/pi/Desktop/images/16012025/20/48/image_16012025_20_48_02_392599_0003.jpg
/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_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":["1329612145","1329612055","1329612049","1329612121","1329612093","1329612072"],"photo_ids_order":["1329612049","1329612055","1329612072","1329612093","1329612121","1329612145"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60005d88e0c224f88c1dac95f16c542c.jpg","text":"TemporaryFile(/tmp/multipartBody880764955823508426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158288017,"filename":"image_16012025_20_49_02_661711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/55e6ac2774b654e12ce80ab0911ad19f.jpg","text":"TemporaryFile(/tmp/multipartBody5015416798888498550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158288017,"filename":"image_16012025_20_47_02_248661_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21b44522ce258e7f47dfb133985ac281.jpg","text":"TemporaryFile(/tmp/multipartBody4016398775393770381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158288017,"filename":"image_16012025_20_47_02_248661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9262e2fa9aca02a401cda895d21a048.jpg","text":"TemporaryFile(/tmp/multipartBody611733816679772642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158288017,"filename":"image_16012025_20_48_02_392599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0308c9f057dce72e742790b95c9a03f3.jpg","text":"TemporaryFile(/tmp/multipartBody5106697696442140877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158288017,"filename":"image_16012025_20_48_02_392599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d3c88041acf6442e555bc5d91ddb2ca.jpg","text":"TemporaryFile(/tmp/multipartBody328436443737619343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158288017,"filename":"image_16012025_20_48_02_392599_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329612072","file1":"1329612055","file0":"1329612049","file4":"1329612121","file5":"1329612145","file3":"1329612093"},"map_files_photo_id_array":[{"photo_id":"1329612145","filename":"file5"},{"photo_id":"1329612072","filename":"file2"},{"photo_id":"1329612121","filename":"file4"},{"photo_id":"1329612055","filename":"file1"},{"photo_id":"1329612049","filename":"file0"},{"photo_id":"1329612093","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329612145":["hashtag1","hashtag2"]},{"1329612055":["hashtag1","hashtag2"]},{"1329612049":["hashtag1","hashtag2"]},{"1329612121":["hashtag1","hashtag2"]},{"1329612093":["hashtag1","hashtag2"]},{"1329612072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329612145, 1329612055, 1329612049, 1329612121, 1329612093, 1329612072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.154144525527954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/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-18 00:57:52.454714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_0001.jpg', '/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_0002.jpg', '/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_0003.jpg', '/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0000.jpg', '/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0001.jpg', '/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_0001.jpg
/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_0002.jpg
/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_0003.jpg
/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0000.jpg
/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0001.jpg
/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_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-18 00:59:02.356209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/42/image_18012025_00_42_02_927953_0001.jpg', '/home/pi/Desktop/images/18012025/00/42/image_18012025_00_42_02_927953_0002.jpg', '/home/pi/Desktop/images/18012025/00/42/image_18012025_00_42_02_927953_0003.jpg', '/home/pi/Desktop/images/18012025/00/43/image_18012025_00_43_03_065387_0000.jpg', '/home/pi/Desktop/images/18012025/00/43/image_18012025_00_43_03_065387_0001.jpg', '/home/pi/Desktop/images/18012025/00/43/image_18012025_00_43_03_065387_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/42/image_18012025_00_42_02_927953_0001.jpg
/home/pi/Desktop/images/18012025/00/42/image_18012025_00_42_02_927953_0002.jpg
/home/pi/Desktop/images/18012025/00/42/image_18012025_00_42_02_927953_0003.jpg
/home/pi/Desktop/images/18012025/00/43/image_18012025_00_43_03_065387_0000.jpg
/home/pi/Desktop/images/18012025/00/43/image_18012025_00_43_03_065387_0001.jpg
/home/pi/Desktop/images/18012025/00/43/image_18012025_00_43_03_065387_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329612286","1329612313","1329612307","1329612301","1329612369","1329612371"],"photo_ids_order":["1329612286","1329612301","1329612307","1329612313","1329612369","1329612371"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8572dc99d68891f75f0a5a0af76739cb.jpg","text":"TemporaryFile(/tmp/multipartBody8082256122120102077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158419321,"filename":"image_18012025_00_42_02_927953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/31d2139e373645fad22ccb6632cea0db.jpg","text":"TemporaryFile(/tmp/multipartBody190997757079293553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158419321,"filename":"image_18012025_00_43_03_065387_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/434e63159e46ddeb2e2e32745e467f48.jpg","text":"TemporaryFile(/tmp/multipartBody8602873684297496186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158419321,"filename":"image_18012025_00_42_02_927953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0b31c9c9b78ae8445185e0935217b1a.jpg","text":"TemporaryFile(/tmp/multipartBody7814143213295313008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158419321,"filename":"image_18012025_00_42_02_927953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e842df36b1046e7780cc4e470f85a99.jpg","text":"TemporaryFile(/tmp/multipartBody9017530290696840973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158419321,"filename":"image_18012025_00_43_03_065387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bdbf7134b3d734e6ebc8c73c69d9b41f.jpg","text":"TemporaryFile(/tmp/multipartBody3407235346005445338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158419321,"filename":"image_18012025_00_43_03_065387_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329612307","file1":"1329612301","file0":"1329612286","file4":"1329612369","file5":"1329612371","file3":"1329612313"},"map_files_photo_id_array":[{"photo_id":"1329612371","filename":"file5"},{"photo_id":"1329612307","filename":"file2"},{"photo_id":"1329612369","filename":"file4"},{"photo_id":"1329612301","filename":"file1"},{"photo_id":"1329612286","filename":"file0"},{"photo_id":"1329612313","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329612286":["hashtag1","hashtag2"]},{"1329612313":["hashtag1","hashtag2"]},{"1329612307":["hashtag1","hashtag2"]},{"1329612301":["hashtag1","hashtag2"]},{"1329612369":["hashtag1","hashtag2"]},{"1329612371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329612286, 1329612313, 1329612307, 1329612301, 1329612369, 1329612371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.502562046051025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:00:02.948975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/43/image_18012025_00_43_03_065387_0003.jpg', '/home/pi/Desktop/images/18012025/00/44/image_18012025_00_44_02_335242_0000.jpg', '/home/pi/Desktop/images/18012025/00/44/image_18012025_00_44_02_335242_0001.jpg', '/home/pi/Desktop/images/18012025/00/44/image_18012025_00_44_02_335242_0002.jpg', '/home/pi/Desktop/images/18012025/00/44/image_18012025_00_44_02_335242_0003.jpg', '/home/pi/Desktop/images/18012025/00/45/image_18012025_00_45_02_597753_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/43/image_18012025_00_43_03_065387_0003.jpg
/home/pi/Desktop/images/18012025/00/44/image_18012025_00_44_02_335242_0000.jpg
/home/pi/Desktop/images/18012025/00/44/image_18012025_00_44_02_335242_0001.jpg
/home/pi/Desktop/images/18012025/00/44/image_18012025_00_44_02_335242_0002.jpg
/home/pi/Desktop/images/18012025/00/44/image_18012025_00_44_02_335242_0003.jpg
/home/pi/Desktop/images/18012025/00/45/image_18012025_00_45_02_597753_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329612407","1329612397","1329612409","1329612417","1329612411","1329612404"],"photo_ids_order":["1329612397","1329612404","1329612407","1329612409","1329612411","1329612417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0317f9611f73276f8476e5669a5e4944.jpg","text":"TemporaryFile(/tmp/multipartBody2200161209502791974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158479784,"filename":"image_18012025_00_44_02_335242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c68afca94493622711865a59607db12.jpg","text":"TemporaryFile(/tmp/multipartBody3481380986033877138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158479784,"filename":"image_18012025_00_43_03_065387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0919983490850d68f6473b74149ff73.jpg","text":"TemporaryFile(/tmp/multipartBody5481805767808550018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158479784,"filename":"image_18012025_00_44_02_335242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bb80572b76a3640a6bd425122f19c2dc.jpg","text":"TemporaryFile(/tmp/multipartBody5754135269491474200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158479784,"filename":"image_18012025_00_45_02_597753_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/862c9d2f8042e4229604d6c016b0d3df.jpg","text":"TemporaryFile(/tmp/multipartBody1809364581449795817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158479784,"filename":"image_18012025_00_44_02_335242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d158ebb691bddc8304fec830a9535ab4.jpg","text":"TemporaryFile(/tmp/multipartBody2294882895087639356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158479784,"filename":"image_18012025_00_44_02_335242_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329612407","file1":"1329612404","file0":"1329612397","file4":"1329612411","file5":"1329612417","file3":"1329612409"},"map_files_photo_id_array":[{"photo_id":"1329612417","filename":"file5"},{"photo_id":"1329612407","filename":"file2"},{"photo_id":"1329612411","filename":"file4"},{"photo_id":"1329612404","filename":"file1"},{"photo_id":"1329612397","filename":"file0"},{"photo_id":"1329612409","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329612407":["hashtag1","hashtag2"]},{"1329612397":["hashtag1","hashtag2"]},{"1329612409":["hashtag1","hashtag2"]},{"1329612417":["hashtag1","hashtag2"]},{"1329612411":["hashtag1","hashtag2"]},{"1329612404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329612407, 1329612397, 1329612409, 1329612417, 1329612411, 1329612404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.582186222076416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:01:02.630589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/45/image_18012025_00_45_02_597753_0001.jpg', '/home/pi/Desktop/images/18012025/00/45/image_18012025_00_45_02_597753_0002.jpg', '/home/pi/Desktop/images/18012025/00/45/image_18012025_00_45_02_597753_0003.jpg', '/home/pi/Desktop/images/18012025/00/46/image_18012025_00_46_02_689319_0000.jpg', '/home/pi/Desktop/images/18012025/00/46/image_18012025_00_46_02_689319_0001.jpg', '/home/pi/Desktop/images/18012025/00/46/image_18012025_00_46_02_689319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/45/image_18012025_00_45_02_597753_0001.jpg
/home/pi/Desktop/images/18012025/00/45/image_18012025_00_45_02_597753_0002.jpg
/home/pi/Desktop/images/18012025/00/45/image_18012025_00_45_02_597753_0003.jpg
/home/pi/Desktop/images/18012025/00/46/image_18012025_00_46_02_689319_0000.jpg
/home/pi/Desktop/images/18012025/00/46/image_18012025_00_46_02_689319_0001.jpg
/home/pi/Desktop/images/18012025/00/46/image_18012025_00_46_02_689319_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329612454","1329612436","1329612441","1329612444","1329612438","1329612434"],"photo_ids_order":["1329612434","1329612436","1329612438","1329612441","1329612444","1329612454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e2ef562917a1d262bef3b57975482b57.jpg","text":"TemporaryFile(/tmp/multipartBody4856864650682657486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158539250,"filename":"image_18012025_00_46_02_689319_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7f1887da3e70477e836ccd7804dc139e.jpg","text":"TemporaryFile(/tmp/multipartBody6453519716027143684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158539250,"filename":"image_18012025_00_45_02_597753_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/476f578298c0452afe7bbc9a557aca0c.jpg","text":"TemporaryFile(/tmp/multipartBody671213921039460764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158539250,"filename":"image_18012025_00_46_02_689319_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/959ac6b8bb95339048d0a7dbe49742ef.jpg","text":"TemporaryFile(/tmp/multipartBody2572174509395516280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158539250,"filename":"image_18012025_00_46_02_689319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39a3b8d60c62e540850243bc3fc804da.jpg","text":"TemporaryFile(/tmp/multipartBody8601772500454167683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158539250,"filename":"image_18012025_00_45_02_597753_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48a93a8ff2f6a8ff94d5c2224fe207c1.jpg","text":"TemporaryFile(/tmp/multipartBody488726968363645690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158539250,"filename":"image_18012025_00_45_02_597753_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329612438","file1":"1329612436","file0":"1329612434","file4":"1329612444","file5":"1329612454","file3":"1329612441"},"map_files_photo_id_array":[{"photo_id":"1329612454","filename":"file5"},{"photo_id":"1329612438","filename":"file2"},{"photo_id":"1329612444","filename":"file4"},{"photo_id":"1329612436","filename":"file1"},{"photo_id":"1329612434","filename":"file0"},{"photo_id":"1329612441","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329612454":["hashtag1","hashtag2"]},{"1329612436":["hashtag1","hashtag2"]},{"1329612441":["hashtag1","hashtag2"]},{"1329612444":["hashtag1","hashtag2"]},{"1329612438":["hashtag1","hashtag2"]},{"1329612434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329612454, 1329612436, 1329612441, 1329612444, 1329612438, 1329612434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.79507374763489 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:02:02.961843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/46/image_18012025_00_46_02_689319_0003.jpg', '/home/pi/Desktop/images/18012025/00/47/image_18012025_00_47_02_917235_0000.jpg', '/home/pi/Desktop/images/18012025/00/47/image_18012025_00_47_02_917235_0001.jpg', '/home/pi/Desktop/images/18012025/00/47/image_18012025_00_47_02_917235_0002.jpg', '/home/pi/Desktop/images/18012025/00/47/image_18012025_00_47_02_917235_0003.jpg', '/home/pi/Desktop/images/18012025/00/48/image_18012025_00_48_03_009137_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/46/image_18012025_00_46_02_689319_0003.jpg
/home/pi/Desktop/images/18012025/00/47/image_18012025_00_47_02_917235_0000.jpg
/home/pi/Desktop/images/18012025/00/47/image_18012025_00_47_02_917235_0001.jpg
/home/pi/Desktop/images/18012025/00/47/image_18012025_00_47_02_917235_0002.jpg
/home/pi/Desktop/images/18012025/00/47/image_18012025_00_47_02_917235_0003.jpg
/home/pi/Desktop/images/18012025/00/48/image_18012025_00_48_03_009137_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":["1329612496","1329612499","1329612472","1329612486","1329612476","1329612493"],"photo_ids_order":["1329612472","1329612476","1329612486","1329612493","1329612496","1329612499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/544c435434279ce83594b1eea6b556cc.jpg","text":"TemporaryFile(/tmp/multipartBody3723917130987167574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158599386,"filename":"image_18012025_00_47_02_917235_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/690f54c90d8d5a0fb59cc2dbe55b2c3b.jpg","text":"TemporaryFile(/tmp/multipartBody7600825308325467202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158599386,"filename":"image_18012025_00_48_03_009137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b700571ea4cc8f547281c9bbca89a22.jpg","text":"TemporaryFile(/tmp/multipartBody2401039989498646057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158599386,"filename":"image_18012025_00_46_02_689319_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/039baed6d73cdc61a78a2d2ef00f2a6c.jpg","text":"TemporaryFile(/tmp/multipartBody5700554318064703951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158599386,"filename":"image_18012025_00_47_02_917235_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d1f02232f5cd111e7612db6d08391979.jpg","text":"TemporaryFile(/tmp/multipartBody4560517298804081587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158599386,"filename":"image_18012025_00_47_02_917235_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e85517bc4ebb04a220daa0bf1b0f8681.jpg","text":"TemporaryFile(/tmp/multipartBody8810314907333124282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158599386,"filename":"image_18012025_00_47_02_917235_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329612486","file1":"1329612476","file0":"1329612472","file4":"1329612496","file5":"1329612499","file3":"1329612493"},"map_files_photo_id_array":[{"photo_id":"1329612499","filename":"file5"},{"photo_id":"1329612486","filename":"file2"},{"photo_id":"1329612496","filename":"file4"},{"photo_id":"1329612476","filename":"file1"},{"photo_id":"1329612472","filename":"file0"},{"photo_id":"1329612493","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329612496":["hashtag1","hashtag2"]},{"1329612499":["hashtag1","hashtag2"]},{"1329612472":["hashtag1","hashtag2"]},{"1329612486":["hashtag1","hashtag2"]},{"1329612476":["hashtag1","hashtag2"]},{"1329612493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329612496, 1329612499, 1329612472, 1329612486, 1329612476, 1329612493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.08342242240906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:03:22.099927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/48/image_18012025_00_48_03_009137_0001.jpg', '/home/pi/Desktop/images/18012025/00/48/image_18012025_00_48_03_009137_0002.jpg', '/home/pi/Desktop/images/18012025/00/48/image_18012025_00_48_03_009137_0003.jpg', '/home/pi/Desktop/images/18012025/00/49/image_18012025_00_49_02_219070_0000.jpg', '/home/pi/Desktop/images/18012025/00/49/image_18012025_00_49_02_219070_0001.jpg', '/home/pi/Desktop/images/18012025/00/49/image_18012025_00_49_02_219070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/48/image_18012025_00_48_03_009137_0001.jpg
/home/pi/Desktop/images/18012025/00/48/image_18012025_00_48_03_009137_0002.jpg
/home/pi/Desktop/images/18012025/00/48/image_18012025_00_48_03_009137_0003.jpg
/home/pi/Desktop/images/18012025/00/49/image_18012025_00_49_02_219070_0000.jpg
/home/pi/Desktop/images/18012025/00/49/image_18012025_00_49_02_219070_0001.jpg
/home/pi/Desktop/images/18012025/00/49/image_18012025_00_49_02_219070_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329612541","1329612520","1329612555","1329612558","1329612536","1329612524"],"photo_ids_order":["1329612520","1329612524","1329612536","1329612541","1329612555","1329612558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9047a8d3a5f914acf4f355392116fe9b.jpg","text":"TemporaryFile(/tmp/multipartBody6063261928790917420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158678530,"filename":"image_18012025_00_49_02_219070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4a9d78575268f4a48713cf28b396484e.jpg","text":"TemporaryFile(/tmp/multipartBody4076728175201598801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158678530,"filename":"image_18012025_00_48_03_009137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60fa39bafae6589565bf3e0da17db97e.jpg","text":"TemporaryFile(/tmp/multipartBody2502351536286431222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158678530,"filename":"image_18012025_00_49_02_219070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ab7713fc6fef6b78c385340ae71d480f.jpg","text":"TemporaryFile(/tmp/multipartBody8784466323859776126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158678530,"filename":"image_18012025_00_49_02_219070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be480b8d1c1997c048d2e14407df4e26.jpg","text":"TemporaryFile(/tmp/multipartBody2353336098025468585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158678530,"filename":"image_18012025_00_48_03_009137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1827ad47956470b08a61b1161127b53e.jpg","text":"TemporaryFile(/tmp/multipartBody3697068911944366667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158678530,"filename":"image_18012025_00_48_03_009137_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329612536","file1":"1329612524","file0":"1329612520","file4":"1329612555","file5":"1329612558","file3":"1329612541"},"map_files_photo_id_array":[{"photo_id":"1329612558","filename":"file5"},{"photo_id":"1329612536","filename":"file2"},{"photo_id":"1329612555","filename":"file4"},{"photo_id":"1329612524","filename":"file1"},{"photo_id":"1329612520","filename":"file0"},{"photo_id":"1329612541","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329612541":["hashtag1","hashtag2"]},{"1329612520":["hashtag1","hashtag2"]},{"1329612555":["hashtag1","hashtag2"]},{"1329612558":["hashtag1","hashtag2"]},{"1329612536":["hashtag1","hashtag2"]},{"1329612524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329612541, 1329612520, 1329612555, 1329612558, 1329612536, 1329612524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.61400818824768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:04:22.652184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/49/image_18012025_00_49_02_219070_0003.jpg', '/home/pi/Desktop/images/18012025/00/50/image_18012025_00_50_02_337434_0000.jpg', '/home/pi/Desktop/images/18012025/00/50/image_18012025_00_50_02_337434_0001.jpg', '/home/pi/Desktop/images/18012025/00/50/image_18012025_00_50_02_337434_0002.jpg', '/home/pi/Desktop/images/18012025/00/50/image_18012025_00_50_02_337434_0003.jpg', '/home/pi/Desktop/images/18012025/00/51/image_18012025_00_51_02_469602_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/49/image_18012025_00_49_02_219070_0003.jpg
/home/pi/Desktop/images/18012025/00/50/image_18012025_00_50_02_337434_0000.jpg
/home/pi/Desktop/images/18012025/00/50/image_18012025_00_50_02_337434_0001.jpg
/home/pi/Desktop/images/18012025/00/50/image_18012025_00_50_02_337434_0002.jpg
/home/pi/Desktop/images/18012025/00/50/image_18012025_00_50_02_337434_0003.jpg
/home/pi/Desktop/images/18012025/00/51/image_18012025_00_51_02_469602_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329612661","1329612649","1329612646","1329612642","1329612674","1329612665"],"photo_ids_order":["1329612642","1329612646","1329612649","1329612661","1329612665","1329612674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/018c75c74349d79c9d87e3ff79efbb7d.jpg","text":"TemporaryFile(/tmp/multipartBody7933240802557550736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158739158,"filename":"image_18012025_00_50_02_337434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/034a1645830eeae35602ae1c890737b5.jpg","text":"TemporaryFile(/tmp/multipartBody2852553948673596731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158739158,"filename":"image_18012025_00_50_02_337434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/248f4b73d23c360c75e9e87217684477.jpg","text":"TemporaryFile(/tmp/multipartBody6532375376369233490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158739158,"filename":"image_18012025_00_50_02_337434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c74c482e3bff28f722ac32944c06733.jpg","text":"TemporaryFile(/tmp/multipartBody8642855234220211572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158739158,"filename":"image_18012025_00_49_02_219070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fdb91601d9d09e72e6bcd64ecf04fcbe.jpg","text":"TemporaryFile(/tmp/multipartBody2232179758684482647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158739158,"filename":"image_18012025_00_51_02_469602_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/34270df06fc00673e3a231916a93bd3b.jpg","text":"TemporaryFile(/tmp/multipartBody220835911679559267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158739158,"filename":"image_18012025_00_50_02_337434_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329612649","file1":"1329612646","file0":"1329612642","file4":"1329612665","file5":"1329612674","file3":"1329612661"},"map_files_photo_id_array":[{"photo_id":"1329612674","filename":"file5"},{"photo_id":"1329612649","filename":"file2"},{"photo_id":"1329612665","filename":"file4"},{"photo_id":"1329612646","filename":"file1"},{"photo_id":"1329612642","filename":"file0"},{"photo_id":"1329612661","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329612661":["hashtag1","hashtag2"]},{"1329612649":["hashtag1","hashtag2"]},{"1329612646":["hashtag1","hashtag2"]},{"1329612642":["hashtag1","hashtag2"]},{"1329612674":["hashtag1","hashtag2"]},{"1329612665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329612661, 1329612649, 1329612646, 1329612642, 1329612674, 1329612665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.37200951576233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:05:22.041391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/51/image_18012025_00_51_02_469602_0001.jpg', '/home/pi/Desktop/images/18012025/00/51/image_18012025_00_51_02_469602_0002.jpg', '/home/pi/Desktop/images/18012025/00/51/image_18012025_00_51_02_469602_0003.jpg', '/home/pi/Desktop/images/18012025/00/52/image_18012025_00_52_02_672400_0000.jpg', '/home/pi/Desktop/images/18012025/00/52/image_18012025_00_52_02_672400_0001.jpg', '/home/pi/Desktop/images/18012025/00/52/image_18012025_00_52_02_672400_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/51/image_18012025_00_51_02_469602_0001.jpg
/home/pi/Desktop/images/18012025/00/51/image_18012025_00_51_02_469602_0002.jpg
/home/pi/Desktop/images/18012025/00/51/image_18012025_00_51_02_469602_0003.jpg
/home/pi/Desktop/images/18012025/00/52/image_18012025_00_52_02_672400_0000.jpg
/home/pi/Desktop/images/18012025/00/52/image_18012025_00_52_02_672400_0001.jpg
/home/pi/Desktop/images/18012025/00/52/image_18012025_00_52_02_672400_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329612736","1329612739","1329612718","1329612726","1329612729","1329612734"],"photo_ids_order":["1329612718","1329612726","1329612729","1329612734","1329612736","1329612739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aef59b0fc958338dcce6d0892050e566.jpg","text":"TemporaryFile(/tmp/multipartBody4685368606964973290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158798936,"filename":"image_18012025_00_52_02_672400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3d1dc47703e0ab57ef5d458b25274529.jpg","text":"TemporaryFile(/tmp/multipartBody2320559573910490890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158798936,"filename":"image_18012025_00_52_02_672400_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6db35cf93dc51afa0e225029b66c602.jpg","text":"TemporaryFile(/tmp/multipartBody6104568234850703785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158798936,"filename":"image_18012025_00_51_02_469602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c2c17c24ee2f27abec33e0634f2d109.jpg","text":"TemporaryFile(/tmp/multipartBody8815760966839577144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158798936,"filename":"image_18012025_00_51_02_469602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/29ea98ee831bc348ad769bf19b5e8277.jpg","text":"TemporaryFile(/tmp/multipartBody3307053656695919078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158798936,"filename":"image_18012025_00_51_02_469602_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff5f177b07854be28b4db37da80df05a.jpg","text":"TemporaryFile(/tmp/multipartBody3302341833432816105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158798936,"filename":"image_18012025_00_52_02_672400_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329612729","file1":"1329612726","file0":"1329612718","file4":"1329612736","file5":"1329612739","file3":"1329612734"},"map_files_photo_id_array":[{"photo_id":"1329612739","filename":"file5"},{"photo_id":"1329612729","filename":"file2"},{"photo_id":"1329612736","filename":"file4"},{"photo_id":"1329612726","filename":"file1"},{"photo_id":"1329612718","filename":"file0"},{"photo_id":"1329612734","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329612736":["hashtag1","hashtag2"]},{"1329612739":["hashtag1","hashtag2"]},{"1329612718":["hashtag1","hashtag2"]},{"1329612726":["hashtag1","hashtag2"]},{"1329612729":["hashtag1","hashtag2"]},{"1329612734":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329612736, 1329612739, 1329612718, 1329612726, 1329612729, 1329612734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.89075231552124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:07:02.611190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/52/image_18012025_00_52_02_672400_0003.jpg', '/home/pi/Desktop/images/18012025/00/53/image_18012025_00_53_02_895084_0000.jpg', '/home/pi/Desktop/images/18012025/00/53/image_18012025_00_53_02_895084_0001.jpg', '/home/pi/Desktop/images/18012025/00/53/image_18012025_00_53_02_895084_0002.jpg', '/home/pi/Desktop/images/18012025/00/53/image_18012025_00_53_02_895084_0003.jpg', '/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/52/image_18012025_00_52_02_672400_0003.jpg
/home/pi/Desktop/images/18012025/00/53/image_18012025_00_53_02_895084_0000.jpg
/home/pi/Desktop/images/18012025/00/53/image_18012025_00_53_02_895084_0001.jpg
/home/pi/Desktop/images/18012025/00/53/image_18012025_00_53_02_895084_0002.jpg
/home/pi/Desktop/images/18012025/00/53/image_18012025_00_53_02_895084_0003.jpg
/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_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":["1329612781","1329612775","1329612802","1329612795","1329612854","1329612770"],"photo_ids_order":["1329612770","1329612775","1329612781","1329612795","1329612802","1329612854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9f8b8c726b280c2fcc35d240a8160d9.jpg","text":"TemporaryFile(/tmp/multipartBody9162214107560093056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158898891,"filename":"image_18012025_00_53_02_895084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46fcc71f6e82172844c9912867ab1a10.jpg","text":"TemporaryFile(/tmp/multipartBody8493037845638130594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158898891,"filename":"image_18012025_00_53_02_895084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4bc1d5a1af33d0b8a779d59c83c17273.jpg","text":"TemporaryFile(/tmp/multipartBody8725946178507908827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158898891,"filename":"image_18012025_00_53_02_895084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd847cea1f94d8c967b12d12c393c119.jpg","text":"TemporaryFile(/tmp/multipartBody4564074689145721562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158898891,"filename":"image_18012025_00_53_02_895084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f927227537b753325ff44df8f49e85a.jpg","text":"TemporaryFile(/tmp/multipartBody2322871967987728247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158898891,"filename":"image_18012025_00_54_03_074718_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7fc767ec61f1b2639f39554eef20a063.jpg","text":"TemporaryFile(/tmp/multipartBody8501822627928985328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737158898891,"filename":"image_18012025_00_52_02_672400_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329612781","file1":"1329612775","file0":"1329612770","file4":"1329612802","file5":"1329612854","file3":"1329612795"},"map_files_photo_id_array":[{"photo_id":"1329612854","filename":"file5"},{"photo_id":"1329612781","filename":"file2"},{"photo_id":"1329612802","filename":"file4"},{"photo_id":"1329612775","filename":"file1"},{"photo_id":"1329612770","filename":"file0"},{"photo_id":"1329612795","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329612781":["hashtag1","hashtag2"]},{"1329612775":["hashtag1","hashtag2"]},{"1329612802":["hashtag1","hashtag2"]},{"1329612795":["hashtag1","hashtag2"]},{"1329612854":["hashtag1","hashtag2"]},{"1329612770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329612781, 1329612775, 1329612802, 1329612795, 1329612854, 1329612770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.3003089427948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:08:21.760306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_0001.jpg', '/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_0002.jpg', '/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_0003.jpg', '/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0000.jpg', '/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0001.jpg', '/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_0001.jpg
/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_0002.jpg
/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_0003.jpg
/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0000.jpg
/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0001.jpg
/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.988455533981323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:09:02.772216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_0001.jpg', '/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_0002.jpg', '/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_0003.jpg', '/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0000.jpg', '/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0001.jpg', '/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_0001.jpg
/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_0002.jpg
/home/pi/Desktop/images/18012025/00/54/image_18012025_00_54_03_074718_0003.jpg
/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0000.jpg
/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0001.jpg
/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329614091","1329614079","1329614084","1329614098","1329614095","1329614065"],"photo_ids_order":["1329614065","1329614079","1329614084","1329614091","1329614095","1329614098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8a9f6ab1adcc6452db9563f5e12f99d.jpg","text":"TemporaryFile(/tmp/multipartBody2597545212461020702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159019257,"filename":"image_18012025_00_55_02_196627_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f9aa64e264b5a51cd82713f15ff1836c.jpg","text":"TemporaryFile(/tmp/multipartBody6578043898768270624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159019257,"filename":"image_18012025_00_54_03_074718_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec8510d23013e1fc1689400fa0204834.jpg","text":"TemporaryFile(/tmp/multipartBody3895007250883988222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159019257,"filename":"image_18012025_00_54_03_074718_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04c92f6a67d2b2bfc5f39865875d5ad5.jpg","text":"TemporaryFile(/tmp/multipartBody6694836123382307483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159019257,"filename":"image_18012025_00_55_02_196627_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6794c58e36f37c76f41660e3af061c4.jpg","text":"TemporaryFile(/tmp/multipartBody2279428620587269471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159019257,"filename":"image_18012025_00_55_02_196627_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/948047ad3ebb639657f342a3ac8aa162.jpg","text":"TemporaryFile(/tmp/multipartBody7181706580432574599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159019257,"filename":"image_18012025_00_54_03_074718_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329614084","file1":"1329614079","file0":"1329614065","file4":"1329614095","file5":"1329614098","file3":"1329614091"},"map_files_photo_id_array":[{"photo_id":"1329614098","filename":"file5"},{"photo_id":"1329614084","filename":"file2"},{"photo_id":"1329614095","filename":"file4"},{"photo_id":"1329614079","filename":"file1"},{"photo_id":"1329614065","filename":"file0"},{"photo_id":"1329614091","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329614091":["hashtag1","hashtag2"]},{"1329614079":["hashtag1","hashtag2"]},{"1329614084":["hashtag1","hashtag2"]},{"1329614098":["hashtag1","hashtag2"]},{"1329614095":["hashtag1","hashtag2"]},{"1329614065":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329614091, 1329614079, 1329614084, 1329614098, 1329614095, 1329614065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.937288999557495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:10:02.200170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0003.jpg', '/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0000.jpg', '/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0001.jpg', '/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0002.jpg', '/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0003.jpg', '/home/pi/Desktop/images/18012025/00/57/image_18012025_00_57_02_651255_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0003.jpg
/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0000.jpg
/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0001.jpg
/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0002.jpg
/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0003.jpg
/home/pi/Desktop/images/18012025/00/57/image_18012025_00_57_02_651255_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.967477321624756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:10:21.819833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0003.jpg', '/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0000.jpg', '/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0001.jpg', '/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0002.jpg', '/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0003.jpg', '/home/pi/Desktop/images/18012025/00/57/image_18012025_00_57_02_651255_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/55/image_18012025_00_55_02_196627_0003.jpg
/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0000.jpg
/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0001.jpg
/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0002.jpg
/home/pi/Desktop/images/18012025/00/56/image_18012025_00_56_02_493337_0003.jpg
/home/pi/Desktop/images/18012025/00/57/image_18012025_00_57_02_651255_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329614127","1329614132","1329614140","1329614143","1329614137","1329614122"],"photo_ids_order":["1329614122","1329614127","1329614132","1329614137","1329614140","1329614143"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6cb5ae01c9f9b000716e12976dec95a2.jpg","text":"TemporaryFile(/tmp/multipartBody4244676580186003242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159098164,"filename":"image_18012025_00_56_02_493337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50390e0b84b7c97d12a2e08d92205cc3.jpg","text":"TemporaryFile(/tmp/multipartBody2395744604809544185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159098164,"filename":"image_18012025_00_56_02_493337_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b761d82ed738860a3da78f7bdeafd79.jpg","text":"TemporaryFile(/tmp/multipartBody7822261035083539932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159098164,"filename":"image_18012025_00_56_02_493337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/302b17dfee72f9db871fb45bfdb12165.jpg","text":"TemporaryFile(/tmp/multipartBody309042141793868024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159098164,"filename":"image_18012025_00_57_02_651255_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0d9f102255ea603d7a9f27510f48ce33.jpg","text":"TemporaryFile(/tmp/multipartBody123278953606456880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159098164,"filename":"image_18012025_00_56_02_493337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d393ccbe88b8a15f17594eac6b88556d.jpg","text":"TemporaryFile(/tmp/multipartBody5732109136020856618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159098164,"filename":"image_18012025_00_55_02_196627_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329614132","file1":"1329614127","file0":"1329614122","file4":"1329614140","file5":"1329614143","file3":"1329614137"},"map_files_photo_id_array":[{"photo_id":"1329614143","filename":"file5"},{"photo_id":"1329614132","filename":"file2"},{"photo_id":"1329614140","filename":"file4"},{"photo_id":"1329614127","filename":"file1"},{"photo_id":"1329614122","filename":"file0"},{"photo_id":"1329614137","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329614127":["hashtag1","hashtag2"]},{"1329614132":["hashtag1","hashtag2"]},{"1329614140":["hashtag1","hashtag2"]},{"1329614143":["hashtag1","hashtag2"]},{"1329614137":["hashtag1","hashtag2"]},{"1329614122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329614127, 1329614132, 1329614140, 1329614143, 1329614137, 1329614122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.414347648620605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:11:22.295833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/57/image_18012025_00_57_02_651255_0001.jpg', '/home/pi/Desktop/images/18012025/00/57/image_18012025_00_57_02_651255_0002.jpg', '/home/pi/Desktop/images/18012025/00/57/image_18012025_00_57_02_651255_0003.jpg', '/home/pi/Desktop/images/18012025/00/58/image_18012025_00_58_02_873856_0000.jpg', '/home/pi/Desktop/images/18012025/00/58/image_18012025_00_58_02_873856_0001.jpg', '/home/pi/Desktop/images/18012025/00/58/image_18012025_00_58_02_873856_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/57/image_18012025_00_57_02_651255_0001.jpg
/home/pi/Desktop/images/18012025/00/57/image_18012025_00_57_02_651255_0002.jpg
/home/pi/Desktop/images/18012025/00/57/image_18012025_00_57_02_651255_0003.jpg
/home/pi/Desktop/images/18012025/00/58/image_18012025_00_58_02_873856_0000.jpg
/home/pi/Desktop/images/18012025/00/58/image_18012025_00_58_02_873856_0001.jpg
/home/pi/Desktop/images/18012025/00/58/image_18012025_00_58_02_873856_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329614308","1329614162","1329614312","1329614185","1329614158","1329614181"],"photo_ids_order":["1329614158","1329614162","1329614181","1329614185","1329614308","1329614312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c8b70ec20b52ea07442389d2311b986.jpg","text":"TemporaryFile(/tmp/multipartBody4311819386397103211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159159624,"filename":"image_18012025_00_58_02_873856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f0d19c531b722601c1b4bf5a92193db.jpg","text":"TemporaryFile(/tmp/multipartBody1218314550201957687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159159624,"filename":"image_18012025_00_57_02_651255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a5d0c047f6193d838adaab15aaf5bbc2.jpg","text":"TemporaryFile(/tmp/multipartBody4245445226455948432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159159624,"filename":"image_18012025_00_58_02_873856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16066e34cc9f2bdb1903e879dd2e3b14.jpg","text":"TemporaryFile(/tmp/multipartBody1743040307206999157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159159624,"filename":"image_18012025_00_58_02_873856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c75ae2437d3765abff26548c2cbdd9df.jpg","text":"TemporaryFile(/tmp/multipartBody7795073614803640501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159159624,"filename":"image_18012025_00_57_02_651255_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dcd99417748f35e3381aafcb6bc51ec8.jpg","text":"TemporaryFile(/tmp/multipartBody4853928992636484243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159159624,"filename":"image_18012025_00_57_02_651255_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329614181","file1":"1329614162","file0":"1329614158","file4":"1329614308","file5":"1329614312","file3":"1329614185"},"map_files_photo_id_array":[{"photo_id":"1329614312","filename":"file5"},{"photo_id":"1329614181","filename":"file2"},{"photo_id":"1329614308","filename":"file4"},{"photo_id":"1329614162","filename":"file1"},{"photo_id":"1329614158","filename":"file0"},{"photo_id":"1329614185","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329614308":["hashtag1","hashtag2"]},{"1329614162":["hashtag1","hashtag2"]},{"1329614312":["hashtag1","hashtag2"]},{"1329614185":["hashtag1","hashtag2"]},{"1329614158":["hashtag1","hashtag2"]},{"1329614181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329614308, 1329614162, 1329614312, 1329614185, 1329614158, 1329614181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.81713652610779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:13:02.965858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/58/image_18012025_00_58_02_873856_0003.jpg', '/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0000.jpg', '/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0001.jpg', '/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0002.jpg', '/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0003.jpg', '/home/pi/Desktop/images/18012025/01/00/image_18012025_01_00_02_220451_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/58/image_18012025_00_58_02_873856_0003.jpg
/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0000.jpg
/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0001.jpg
/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0002.jpg
/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0003.jpg
/home/pi/Desktop/images/18012025/01/00/image_18012025_01_00_02_220451_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.660434246063232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:13:22.247995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/00/58/image_18012025_00_58_02_873856_0003.jpg', '/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0000.jpg', '/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0001.jpg', '/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0002.jpg', '/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0003.jpg', '/home/pi/Desktop/images/18012025/01/00/image_18012025_01_00_02_220451_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/00/58/image_18012025_00_58_02_873856_0003.jpg
/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0000.jpg
/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0001.jpg
/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0002.jpg
/home/pi/Desktop/images/18012025/00/59/image_18012025_00_59_03_019597_0003.jpg
/home/pi/Desktop/images/18012025/01/00/image_18012025_01_00_02_220451_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":["1329614583","1329614576","1329614516","1329614572","1329614527","1329614586"],"photo_ids_order":["1329614516","1329614527","1329614572","1329614576","1329614583","1329614586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d616fb574f11712233094d0bd2e20502.jpg","text":"TemporaryFile(/tmp/multipartBody7684969611594213566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159280193,"filename":"image_18012025_00_59_03_019597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e9826c44437a751e65ddaebeb68d09d3.jpg","text":"TemporaryFile(/tmp/multipartBody3051955986334265420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159280193,"filename":"image_18012025_00_59_03_019597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9548dd8d94dc991b6c658e7eac85f298.jpg","text":"TemporaryFile(/tmp/multipartBody8811431695811278894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159280193,"filename":"image_18012025_00_58_02_873856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c9a135e1e6332e915033d30ebed2945e.jpg","text":"TemporaryFile(/tmp/multipartBody2605517924528499659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159280193,"filename":"image_18012025_00_59_03_019597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/145ccd2d3a214019355f130246d3d0b8.jpg","text":"TemporaryFile(/tmp/multipartBody5718943663896895828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159280193,"filename":"image_18012025_00_59_03_019597_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7383e341ebbe4e8644d6fb729a0a56f.jpg","text":"TemporaryFile(/tmp/multipartBody5210743637770886365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159280193,"filename":"image_18012025_01_00_02_220451_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329614572","file1":"1329614527","file0":"1329614516","file4":"1329614583","file5":"1329614586","file3":"1329614576"},"map_files_photo_id_array":[{"photo_id":"1329614586","filename":"file5"},{"photo_id":"1329614572","filename":"file2"},{"photo_id":"1329614583","filename":"file4"},{"photo_id":"1329614527","filename":"file1"},{"photo_id":"1329614516","filename":"file0"},{"photo_id":"1329614576","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329614583":["hashtag1","hashtag2"]},{"1329614576":["hashtag1","hashtag2"]},{"1329614516":["hashtag1","hashtag2"]},{"1329614572":["hashtag1","hashtag2"]},{"1329614527":["hashtag1","hashtag2"]},{"1329614586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329614583, 1329614576, 1329614516, 1329614572, 1329614527, 1329614586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.252872467041016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:15:03.004226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/00/image_18012025_01_00_02_220451_0001.jpg', '/home/pi/Desktop/images/18012025/01/00/image_18012025_01_00_02_220451_0002.jpg', '/home/pi/Desktop/images/18012025/01/01/image_18012025_01_01_02_843275_0001.jpg', '/home/pi/Desktop/images/18012025/01/01/image_18012025_01_01_02_843275_0003.jpg', '/home/pi/Desktop/images/18012025/01/02/image_18012025_01_02_02_389250_0000.jpg', '/home/pi/Desktop/images/18012025/01/02/image_18012025_01_02_02_389250_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/00/image_18012025_01_00_02_220451_0001.jpg
/home/pi/Desktop/images/18012025/01/00/image_18012025_01_00_02_220451_0002.jpg
/home/pi/Desktop/images/18012025/01/01/image_18012025_01_01_02_843275_0001.jpg
/home/pi/Desktop/images/18012025/01/01/image_18012025_01_01_02_843275_0003.jpg
/home/pi/Desktop/images/18012025/01/02/image_18012025_01_02_02_389250_0000.jpg
/home/pi/Desktop/images/18012025/01/02/image_18012025_01_02_02_389250_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329614678","1329614702","1329614686","1329614674","1329614671","1329614710"],"photo_ids_order":["1329614671","1329614674","1329614678","1329614686","1329614702","1329614710"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee7f5c9b4ff069e1eb829ff56e5b7ff1.jpg","text":"TemporaryFile(/tmp/multipartBody7774412576988897418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159381541,"filename":"image_18012025_01_01_02_843275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/19e6eb741fbdb99f1c2c59afdb3fd74a.jpg","text":"TemporaryFile(/tmp/multipartBody3920050235524655011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159381541,"filename":"image_18012025_01_02_02_389250_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e20fa7fc0a2d3a734d2736f46274aec2.jpg","text":"TemporaryFile(/tmp/multipartBody6076514949858933752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159381541,"filename":"image_18012025_01_01_02_843275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/634cbc166a50bbec836f980ee70bb1c0.jpg","text":"TemporaryFile(/tmp/multipartBody7903533541101737271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159381541,"filename":"image_18012025_01_00_02_220451_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/458cca2a0e211bca2b3867bfa2057dea.jpg","text":"TemporaryFile(/tmp/multipartBody2760721322705538448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159381541,"filename":"image_18012025_01_00_02_220451_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c26f6af926787fb7791422cb6f81aef6.jpg","text":"TemporaryFile(/tmp/multipartBody4261923451941651502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159381541,"filename":"image_18012025_01_02_02_389250_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329614678","file1":"1329614674","file0":"1329614671","file4":"1329614702","file5":"1329614710","file3":"1329614686"},"map_files_photo_id_array":[{"photo_id":"1329614710","filename":"file5"},{"photo_id":"1329614678","filename":"file2"},{"photo_id":"1329614702","filename":"file4"},{"photo_id":"1329614674","filename":"file1"},{"photo_id":"1329614671","filename":"file0"},{"photo_id":"1329614686","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329614678":["hashtag1","hashtag2"]},{"1329614702":["hashtag1","hashtag2"]},{"1329614686":["hashtag1","hashtag2"]},{"1329614674":["hashtag1","hashtag2"]},{"1329614671":["hashtag1","hashtag2"]},{"1329614710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329614678, 1329614702, 1329614686, 1329614674, 1329614671, 1329614710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.70083928108215 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-18 01:16:22.170144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0000.jpg', '/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0001.jpg', '/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0002.jpg', '/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0003.jpg', '/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0000.jpg', '/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0000.jpg
/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0001.jpg
/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0002.jpg
/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0003.jpg
/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0000.jpg
/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 18.06988787651062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:17:02.276113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0000.jpg', '/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0001.jpg', '/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0002.jpg', '/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0003.jpg', '/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0000.jpg', '/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0000.jpg
/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0001.jpg
/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0002.jpg
/home/pi/Desktop/images/18012025/01/03/image_18012025_01_03_02_935193_0003.jpg
/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0000.jpg
/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_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":["1329614820","1329614811","1329614805","1329614801","1329614824","1329614827"],"photo_ids_order":["1329614801","1329614805","1329614811","1329614820","1329614824","1329614827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53366729f6a0c5bbc660a74536eab6b2.jpg","text":"TemporaryFile(/tmp/multipartBody9051124596302866161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159500797,"filename":"image_18012025_01_03_02_935193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/436bb5f093ff5ea50eb6b1338b20096f.jpg","text":"TemporaryFile(/tmp/multipartBody8960509192935514242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159500797,"filename":"image_18012025_01_03_02_935193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b4e1ee7cd4811c96a28abb4c80fda10.jpg","text":"TemporaryFile(/tmp/multipartBody8133176143910843503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159500797,"filename":"image_18012025_01_03_02_935193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8349ac41570a859c24555bec18531aa5.jpg","text":"TemporaryFile(/tmp/multipartBody3116125270175589669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159500797,"filename":"image_18012025_01_03_02_935193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/db110c9442a4b302bfa7dfb81a60b7cf.jpg","text":"TemporaryFile(/tmp/multipartBody4916649769005321586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159500797,"filename":"image_18012025_01_04_02_447418_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cfac456bbd2f3941530c52839f6900e9.jpg","text":"TemporaryFile(/tmp/multipartBody4749405080831365359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159500797,"filename":"image_18012025_01_04_02_447418_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329614811","file1":"1329614805","file0":"1329614801","file4":"1329614824","file5":"1329614827","file3":"1329614820"},"map_files_photo_id_array":[{"photo_id":"1329614827","filename":"file5"},{"photo_id":"1329614811","filename":"file2"},{"photo_id":"1329614824","filename":"file4"},{"photo_id":"1329614805","filename":"file1"},{"photo_id":"1329614801","filename":"file0"},{"photo_id":"1329614820","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329614820":["hashtag1","hashtag2"]},{"1329614811":["hashtag1","hashtag2"]},{"1329614805":["hashtag1","hashtag2"]},{"1329614801":["hashtag1","hashtag2"]},{"1329614824":["hashtag1","hashtag2"]},{"1329614827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329614820, 1329614811, 1329614805, 1329614801, 1329614824, 1329614827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.10535287857056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:18:22.373913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0002.jpg', '/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0003.jpg', '/home/pi/Desktop/images/18012025/01/05/image_18012025_01_05_02_941476_0000.jpg', '/home/pi/Desktop/images/18012025/01/05/image_18012025_01_05_02_941476_0001.jpg', '/home/pi/Desktop/images/18012025/01/05/image_18012025_01_05_02_941476_0002.jpg', '/home/pi/Desktop/images/18012025/01/06/image_18012025_01_06_02_472496_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0002.jpg
/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0003.jpg
/home/pi/Desktop/images/18012025/01/05/image_18012025_01_05_02_941476_0000.jpg
/home/pi/Desktop/images/18012025/01/05/image_18012025_01_05_02_941476_0001.jpg
/home/pi/Desktop/images/18012025/01/05/image_18012025_01_05_02_941476_0002.jpg
/home/pi/Desktop/images/18012025/01/06/image_18012025_01_06_02_472496_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 18.071430444717407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:19:02.543854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0002.jpg', '/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0003.jpg', '/home/pi/Desktop/images/18012025/01/05/image_18012025_01_05_02_941476_0000.jpg', '/home/pi/Desktop/images/18012025/01/05/image_18012025_01_05_02_941476_0001.jpg', '/home/pi/Desktop/images/18012025/01/05/image_18012025_01_05_02_941476_0002.jpg', '/home/pi/Desktop/images/18012025/01/06/image_18012025_01_06_02_472496_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0002.jpg
/home/pi/Desktop/images/18012025/01/04/image_18012025_01_04_02_447418_0003.jpg
/home/pi/Desktop/images/18012025/01/05/image_18012025_01_05_02_941476_0000.jpg
/home/pi/Desktop/images/18012025/01/05/image_18012025_01_05_02_941476_0001.jpg
/home/pi/Desktop/images/18012025/01/05/image_18012025_01_05_02_941476_0002.jpg
/home/pi/Desktop/images/18012025/01/06/image_18012025_01_06_02_472496_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329615662","1329615632","1329615382","1329615583","1329615604","1329615429"],"photo_ids_order":["1329615382","1329615429","1329615583","1329615604","1329615632","1329615662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bdc1368db1ace1f36ee6f386b40d1b7e.jpg","text":"TemporaryFile(/tmp/multipartBody8024121311432434236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159621103,"filename":"image_18012025_01_06_02_472496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b2b9f78dde0fe2aee95d6ec1aece8ea.jpg","text":"TemporaryFile(/tmp/multipartBody5254593487173824430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159621103,"filename":"image_18012025_01_05_02_941476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d93da8ae723f49cc3308ae71229b9e03.jpg","text":"TemporaryFile(/tmp/multipartBody3877224028346672055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159621103,"filename":"image_18012025_01_04_02_447418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ced23dcd3c38d018339f27a396c3c52b.jpg","text":"TemporaryFile(/tmp/multipartBody704421969158535985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159621103,"filename":"image_18012025_01_05_02_941476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2660ce8c8b0a69530dca9e2f0842a9fc.jpg","text":"TemporaryFile(/tmp/multipartBody1268903412317920414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159621103,"filename":"image_18012025_01_05_02_941476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/398080e2ac0c058d04f91651c0395390.jpg","text":"TemporaryFile(/tmp/multipartBody7261719514410238410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159621103,"filename":"image_18012025_01_04_02_447418_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329615583","file1":"1329615429","file0":"1329615382","file4":"1329615632","file5":"1329615662","file3":"1329615604"},"map_files_photo_id_array":[{"photo_id":"1329615662","filename":"file5"},{"photo_id":"1329615583","filename":"file2"},{"photo_id":"1329615632","filename":"file4"},{"photo_id":"1329615429","filename":"file1"},{"photo_id":"1329615382","filename":"file0"},{"photo_id":"1329615604","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329615662":["hashtag1","hashtag2"]},{"1329615632":["hashtag1","hashtag2"]},{"1329615382":["hashtag1","hashtag2"]},{"1329615583":["hashtag1","hashtag2"]},{"1329615604":["hashtag1","hashtag2"]},{"1329615429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329615662, 1329615632, 1329615382, 1329615583, 1329615604, 1329615429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.495237588882446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:20:02.930613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/06/image_18012025_01_06_02_472496_0002.jpg', '/home/pi/Desktop/images/18012025/01/06/image_18012025_01_06_02_472496_0003.jpg', '/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0000.jpg', '/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0001.jpg', '/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0002.jpg', '/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/06/image_18012025_01_06_02_472496_0002.jpg
/home/pi/Desktop/images/18012025/01/06/image_18012025_01_06_02_472496_0003.jpg
/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0000.jpg
/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0001.jpg
/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0002.jpg
/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 18.127537727355957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:20:22.417054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/06/image_18012025_01_06_02_472496_0002.jpg', '/home/pi/Desktop/images/18012025/01/06/image_18012025_01_06_02_472496_0003.jpg', '/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0000.jpg', '/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0001.jpg', '/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0002.jpg', '/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/06/image_18012025_01_06_02_472496_0002.jpg
/home/pi/Desktop/images/18012025/01/06/image_18012025_01_06_02_472496_0003.jpg
/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0000.jpg
/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0001.jpg
/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0002.jpg
/home/pi/Desktop/images/18012025/01/07/image_18012025_01_07_02_955089_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329615741","1329615735","1329615737","1329615728","1329615733","1329615744"],"photo_ids_order":["1329615728","1329615733","1329615735","1329615737","1329615741","1329615744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/82322e38e4711e160d38f159343c3b7e.jpg","text":"TemporaryFile(/tmp/multipartBody8104073061704795284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159700899,"filename":"image_18012025_01_07_02_955089_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b0da9601a22791bad891f3287efd17c.jpg","text":"TemporaryFile(/tmp/multipartBody9187669601801240124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159700899,"filename":"image_18012025_01_07_02_955089_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf379a72a9b6555d9d55de0366d3c5c8.jpg","text":"TemporaryFile(/tmp/multipartBody7951419028498913243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159700899,"filename":"image_18012025_01_07_02_955089_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/103a108123b4e0faa35eaeafaea3a222.jpg","text":"TemporaryFile(/tmp/multipartBody74451829286373550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159700899,"filename":"image_18012025_01_06_02_472496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/866e98b5b79fdd45109d7d1a4d8eb924.jpg","text":"TemporaryFile(/tmp/multipartBody2251755126636928291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159700899,"filename":"image_18012025_01_06_02_472496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5476c81841079cc89c3858a67927963.jpg","text":"TemporaryFile(/tmp/multipartBody7735304294399151471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159700899,"filename":"image_18012025_01_07_02_955089_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329615735","file1":"1329615733","file0":"1329615728","file4":"1329615741","file5":"1329615744","file3":"1329615737"},"map_files_photo_id_array":[{"photo_id":"1329615744","filename":"file5"},{"photo_id":"1329615735","filename":"file2"},{"photo_id":"1329615741","filename":"file4"},{"photo_id":"1329615733","filename":"file1"},{"photo_id":"1329615728","filename":"file0"},{"photo_id":"1329615737","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329615741":["hashtag1","hashtag2"]},{"1329615735":["hashtag1","hashtag2"]},{"1329615737":["hashtag1","hashtag2"]},{"1329615728":["hashtag1","hashtag2"]},{"1329615733":["hashtag1","hashtag2"]},{"1329615744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329615741, 1329615735, 1329615737, 1329615728, 1329615733, 1329615744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.496310234069824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:21:21.875979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/08/image_18012025_01_08_02_472965_0000.jpg', '/home/pi/Desktop/images/18012025/01/08/image_18012025_01_08_02_472965_0001.jpg', '/home/pi/Desktop/images/18012025/01/08/image_18012025_01_08_02_472965_0002.jpg', '/home/pi/Desktop/images/18012025/01/09/image_18012025_01_09_02_128398_0000.jpg', '/home/pi/Desktop/images/18012025/01/09/image_18012025_01_09_02_128398_0001.jpg', '/home/pi/Desktop/images/18012025/01/09/image_18012025_01_09_02_128398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/08/image_18012025_01_08_02_472965_0000.jpg
/home/pi/Desktop/images/18012025/01/08/image_18012025_01_08_02_472965_0001.jpg
/home/pi/Desktop/images/18012025/01/08/image_18012025_01_08_02_472965_0002.jpg
/home/pi/Desktop/images/18012025/01/09/image_18012025_01_09_02_128398_0000.jpg
/home/pi/Desktop/images/18012025/01/09/image_18012025_01_09_02_128398_0001.jpg
/home/pi/Desktop/images/18012025/01/09/image_18012025_01_09_02_128398_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329615822","1329615824","1329615832","1329615808","1329615843","1329615810"],"photo_ids_order":["1329615808","1329615810","1329615822","1329615824","1329615832","1329615843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d2e9eaaf0bfb7dcecc708e6fa83c1ba9.jpg","text":"TemporaryFile(/tmp/multipartBody5748184405465946771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159760389,"filename":"image_18012025_01_08_02_472965_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cc0a8682e021c2795db5aa51a4719ede.jpg","text":"TemporaryFile(/tmp/multipartBody8712423304153220750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159760389,"filename":"image_18012025_01_09_02_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/18/dd534f3a27f8cdc45b5c82c2e255c283.jpg","text":"TemporaryFile(/tmp/multipartBody4435825949642499141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159760389,"filename":"image_18012025_01_09_02_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/18/8f304a087bd028c54eac8d14c9a9c2ab.jpg","text":"TemporaryFile(/tmp/multipartBody3246497148378262980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159760389,"filename":"image_18012025_01_08_02_472965_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6b3c064d49559b0bcbb0d4774a1fdbd.jpg","text":"TemporaryFile(/tmp/multipartBody1896834163258489853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159760389,"filename":"image_18012025_01_09_02_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/18/863894c7e22c079cca3f7376af136308.jpg","text":"TemporaryFile(/tmp/multipartBody1043783611908442634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159760389,"filename":"image_18012025_01_08_02_472965_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329615822","file1":"1329615810","file0":"1329615808","file4":"1329615832","file5":"1329615843","file3":"1329615824"},"map_files_photo_id_array":[{"photo_id":"1329615843","filename":"file5"},{"photo_id":"1329615822","filename":"file2"},{"photo_id":"1329615832","filename":"file4"},{"photo_id":"1329615810","filename":"file1"},{"photo_id":"1329615808","filename":"file0"},{"photo_id":"1329615824","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329615822":["hashtag1","hashtag2"]},{"1329615824":["hashtag1","hashtag2"]},{"1329615832":["hashtag1","hashtag2"]},{"1329615808":["hashtag1","hashtag2"]},{"1329615843":["hashtag1","hashtag2"]},{"1329615810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329615822, 1329615824, 1329615832, 1329615808, 1329615843, 1329615810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.26158094406128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:23:02.589781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/10/image_18012025_01_10_02_634352_0000.jpg', '/home/pi/Desktop/images/18012025/01/10/image_18012025_01_10_02_634352_0001.jpg', '/home/pi/Desktop/images/18012025/01/10/image_18012025_01_10_02_634352_0003.jpg', '/home/pi/Desktop/images/18012025/01/11/image_18012025_01_11_02_221471_0000.jpg', '/home/pi/Desktop/images/18012025/01/11/image_18012025_01_11_02_221471_0002.jpg', '/home/pi/Desktop/images/18012025/01/11/image_18012025_01_11_02_221471_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/10/image_18012025_01_10_02_634352_0000.jpg
/home/pi/Desktop/images/18012025/01/10/image_18012025_01_10_02_634352_0001.jpg
/home/pi/Desktop/images/18012025/01/10/image_18012025_01_10_02_634352_0003.jpg
/home/pi/Desktop/images/18012025/01/11/image_18012025_01_11_02_221471_0000.jpg
/home/pi/Desktop/images/18012025/01/11/image_18012025_01_11_02_221471_0002.jpg
/home/pi/Desktop/images/18012025/01/11/image_18012025_01_11_02_221471_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 18.243220329284668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:23:22.017317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/10/image_18012025_01_10_02_634352_0000.jpg', '/home/pi/Desktop/images/18012025/01/10/image_18012025_01_10_02_634352_0001.jpg', '/home/pi/Desktop/images/18012025/01/10/image_18012025_01_10_02_634352_0003.jpg', '/home/pi/Desktop/images/18012025/01/11/image_18012025_01_11_02_221471_0000.jpg', '/home/pi/Desktop/images/18012025/01/11/image_18012025_01_11_02_221471_0002.jpg', '/home/pi/Desktop/images/18012025/01/11/image_18012025_01_11_02_221471_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/10/image_18012025_01_10_02_634352_0000.jpg
/home/pi/Desktop/images/18012025/01/10/image_18012025_01_10_02_634352_0001.jpg
/home/pi/Desktop/images/18012025/01/10/image_18012025_01_10_02_634352_0003.jpg
/home/pi/Desktop/images/18012025/01/11/image_18012025_01_11_02_221471_0000.jpg
/home/pi/Desktop/images/18012025/01/11/image_18012025_01_11_02_221471_0002.jpg
/home/pi/Desktop/images/18012025/01/11/image_18012025_01_11_02_221471_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":["1329615948","1329615965","1329615953","1329615962","1329615967","1329615957"],"photo_ids_order":["1329615948","1329615953","1329615957","1329615962","1329615965","1329615967"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d7773ac9305a29e4e8be2ad0274234b.jpg","text":"TemporaryFile(/tmp/multipartBody1103591117182141688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159880522,"filename":"image_18012025_01_10_02_634352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5aeaeaed133ea62e7c08eac2c56ef9f2.jpg","text":"TemporaryFile(/tmp/multipartBody3331640684058280338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159880522,"filename":"image_18012025_01_11_02_221471_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08280c950a60fbad32b6f49b876a3ad0.jpg","text":"TemporaryFile(/tmp/multipartBody4421103655812795281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159880522,"filename":"image_18012025_01_10_02_634352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/597675e823ca7213b2df49a897d66c6e.jpg","text":"TemporaryFile(/tmp/multipartBody5324459492976510725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159880522,"filename":"image_18012025_01_11_02_221471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28b9afa3e95f215c99cfbd399525ba0c.jpg","text":"TemporaryFile(/tmp/multipartBody1214823786112734254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159880522,"filename":"image_18012025_01_11_02_221471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd92a724c186e618810e3d3a4ec4d71e.jpg","text":"TemporaryFile(/tmp/multipartBody6254903870516466603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737159880522,"filename":"image_18012025_01_10_02_634352_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329615957","file1":"1329615953","file0":"1329615948","file4":"1329615965","file5":"1329615967","file3":"1329615962"},"map_files_photo_id_array":[{"photo_id":"1329615967","filename":"file5"},{"photo_id":"1329615957","filename":"file2"},{"photo_id":"1329615965","filename":"file4"},{"photo_id":"1329615953","filename":"file1"},{"photo_id":"1329615948","filename":"file0"},{"photo_id":"1329615962","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329615948":["hashtag1","hashtag2"]},{"1329615965":["hashtag1","hashtag2"]},{"1329615953":["hashtag1","hashtag2"]},{"1329615962":["hashtag1","hashtag2"]},{"1329615967":["hashtag1","hashtag2"]},{"1329615957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329615948, 1329615965, 1329615953, 1329615962, 1329615967, 1329615957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.56425452232361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:25:02.800941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/12/image_18012025_01_12_02_708437_0000.jpg', '/home/pi/Desktop/images/18012025/01/12/image_18012025_01_12_02_708437_0001.jpg', '/home/pi/Desktop/images/18012025/01/12/image_18012025_01_12_02_708437_0003.jpg', '/home/pi/Desktop/images/18012025/01/13/image_18012025_01_13_02_174820_0001.jpg', '/home/pi/Desktop/images/18012025/01/13/image_18012025_01_13_02_174820_0003.jpg', '/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/12/image_18012025_01_12_02_708437_0000.jpg
/home/pi/Desktop/images/18012025/01/12/image_18012025_01_12_02_708437_0001.jpg
/home/pi/Desktop/images/18012025/01/12/image_18012025_01_12_02_708437_0003.jpg
/home/pi/Desktop/images/18012025/01/13/image_18012025_01_13_02_174820_0001.jpg
/home/pi/Desktop/images/18012025/01/13/image_18012025_01_13_02_174820_0003.jpg
/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_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: 18.179914474487305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:25:21.983314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/12/image_18012025_01_12_02_708437_0000.jpg', '/home/pi/Desktop/images/18012025/01/12/image_18012025_01_12_02_708437_0001.jpg', '/home/pi/Desktop/images/18012025/01/12/image_18012025_01_12_02_708437_0003.jpg', '/home/pi/Desktop/images/18012025/01/13/image_18012025_01_13_02_174820_0001.jpg', '/home/pi/Desktop/images/18012025/01/13/image_18012025_01_13_02_174820_0003.jpg', '/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/12/image_18012025_01_12_02_708437_0000.jpg
/home/pi/Desktop/images/18012025/01/12/image_18012025_01_12_02_708437_0001.jpg
/home/pi/Desktop/images/18012025/01/12/image_18012025_01_12_02_708437_0003.jpg
/home/pi/Desktop/images/18012025/01/13/image_18012025_01_13_02_174820_0001.jpg
/home/pi/Desktop/images/18012025/01/13/image_18012025_01_13_02_174820_0003.jpg
/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_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":["1329616101","1329616127","1329616071","1329616089","1329616140","1329616125"],"photo_ids_order":["1329616071","1329616089","1329616101","1329616125","1329616127","1329616140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/069fac43b24d25d1123acd68091966b5.jpg","text":"TemporaryFile(/tmp/multipartBody706959432307963983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160000492,"filename":"image_18012025_01_12_02_708437_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e7ddce85af81f2ebb0f88d302b65377.jpg","text":"TemporaryFile(/tmp/multipartBody3767754249752447486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160000492,"filename":"image_18012025_01_13_02_174820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca7dbf418661ed51fd6fb9c87e5324c9.jpg","text":"TemporaryFile(/tmp/multipartBody8512201885995253718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160000492,"filename":"image_18012025_01_12_02_708437_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1d652cff963b5b0f2e9e38ef043825cb.jpg","text":"TemporaryFile(/tmp/multipartBody2411401357086137690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160000492,"filename":"image_18012025_01_12_02_708437_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b01b35ddee4dabab3236173d72e3bb3.jpg","text":"TemporaryFile(/tmp/multipartBody5980404314323469707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160000492,"filename":"image_18012025_01_14_02_722830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16cf5f66faf15b12f556240ab14eb167.jpg","text":"TemporaryFile(/tmp/multipartBody2865203676946491412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160000492,"filename":"image_18012025_01_13_02_174820_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329616101","file1":"1329616089","file0":"1329616071","file4":"1329616127","file5":"1329616140","file3":"1329616125"},"map_files_photo_id_array":[{"photo_id":"1329616140","filename":"file5"},{"photo_id":"1329616101","filename":"file2"},{"photo_id":"1329616127","filename":"file4"},{"photo_id":"1329616089","filename":"file1"},{"photo_id":"1329616071","filename":"file0"},{"photo_id":"1329616125","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329616101":["hashtag1","hashtag2"]},{"1329616127":["hashtag1","hashtag2"]},{"1329616071":["hashtag1","hashtag2"]},{"1329616089":["hashtag1","hashtag2"]},{"1329616140":["hashtag1","hashtag2"]},{"1329616125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329616101, 1329616127, 1329616071, 1329616089, 1329616140, 1329616125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.83424091339111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:27:03.018192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0001.jpg', '/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0002.jpg', '/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0003.jpg', '/home/pi/Desktop/images/18012025/01/15/image_18012025_01_15_02_374827_0000.jpg', '/home/pi/Desktop/images/18012025/01/15/image_18012025_01_15_02_374827_0001.jpg', '/home/pi/Desktop/images/18012025/01/15/image_18012025_01_15_02_374827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0001.jpg
/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0002.jpg
/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0003.jpg
/home/pi/Desktop/images/18012025/01/15/image_18012025_01_15_02_374827_0000.jpg
/home/pi/Desktop/images/18012025/01/15/image_18012025_01_15_02_374827_0001.jpg
/home/pi/Desktop/images/18012025/01/15/image_18012025_01_15_02_374827_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 18.173500776290894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:27:22.327148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0001.jpg', '/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0002.jpg', '/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0003.jpg', '/home/pi/Desktop/images/18012025/01/15/image_18012025_01_15_02_374827_0000.jpg', '/home/pi/Desktop/images/18012025/01/15/image_18012025_01_15_02_374827_0001.jpg', '/home/pi/Desktop/images/18012025/01/15/image_18012025_01_15_02_374827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0001.jpg
/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0002.jpg
/home/pi/Desktop/images/18012025/01/14/image_18012025_01_14_02_722830_0003.jpg
/home/pi/Desktop/images/18012025/01/15/image_18012025_01_15_02_374827_0000.jpg
/home/pi/Desktop/images/18012025/01/15/image_18012025_01_15_02_374827_0001.jpg
/home/pi/Desktop/images/18012025/01/15/image_18012025_01_15_02_374827_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329616271","1329616291","1329616249","1329616258","1329616278","1329616295"],"photo_ids_order":["1329616249","1329616258","1329616271","1329616278","1329616291","1329616295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49ad9d8c954d9b97279ea1674032e53d.jpg","text":"TemporaryFile(/tmp/multipartBody8866235882899032095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160120801,"filename":"image_18012025_01_14_02_722830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ffdbc976fbe48e89cefd20a079cd9437.jpg","text":"TemporaryFile(/tmp/multipartBody1671320867903607254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160120801,"filename":"image_18012025_01_15_02_374827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c00354c9daf4d6b3883ac906f37435a6.jpg","text":"TemporaryFile(/tmp/multipartBody1662310122486733650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160120801,"filename":"image_18012025_01_14_02_722830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a5ccf3c30d45244f68875deb751698c.jpg","text":"TemporaryFile(/tmp/multipartBody4368843930651722019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160120801,"filename":"image_18012025_01_14_02_722830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84d1c4ce884e054f6c2e54d5caa61dde.jpg","text":"TemporaryFile(/tmp/multipartBody5197583856026637287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160120801,"filename":"image_18012025_01_15_02_374827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ed9fe88db04235f4e87cd1130fed105.jpg","text":"TemporaryFile(/tmp/multipartBody4460144261400688345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160120801,"filename":"image_18012025_01_15_02_374827_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329616271","file1":"1329616258","file0":"1329616249","file4":"1329616291","file5":"1329616295","file3":"1329616278"},"map_files_photo_id_array":[{"photo_id":"1329616295","filename":"file5"},{"photo_id":"1329616271","filename":"file2"},{"photo_id":"1329616291","filename":"file4"},{"photo_id":"1329616258","filename":"file1"},{"photo_id":"1329616249","filename":"file0"},{"photo_id":"1329616278","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329616271":["hashtag1","hashtag2"]},{"1329616291":["hashtag1","hashtag2"]},{"1329616249":["hashtag1","hashtag2"]},{"1329616258":["hashtag1","hashtag2"]},{"1329616278":["hashtag1","hashtag2"]},{"1329616295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329616271, 1329616291, 1329616249, 1329616258, 1329616278, 1329616295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.27863335609436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:29:03.027252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/16/image_18012025_01_16_02_925276_0000.jpg', '/home/pi/Desktop/images/18012025/01/16/image_18012025_01_16_02_925276_0001.jpg', '/home/pi/Desktop/images/18012025/01/16/image_18012025_01_16_02_925276_0002.jpg', '/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0000.jpg', '/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0001.jpg', '/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/16/image_18012025_01_16_02_925276_0000.jpg
/home/pi/Desktop/images/18012025/01/16/image_18012025_01_16_02_925276_0001.jpg
/home/pi/Desktop/images/18012025/01/16/image_18012025_01_16_02_925276_0002.jpg
/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0000.jpg
/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0001.jpg
/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 18.209033966064453 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:29:22.374653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/16/image_18012025_01_16_02_925276_0000.jpg', '/home/pi/Desktop/images/18012025/01/16/image_18012025_01_16_02_925276_0001.jpg', '/home/pi/Desktop/images/18012025/01/16/image_18012025_01_16_02_925276_0002.jpg', '/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0000.jpg', '/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0001.jpg', '/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/16/image_18012025_01_16_02_925276_0000.jpg
/home/pi/Desktop/images/18012025/01/16/image_18012025_01_16_02_925276_0001.jpg
/home/pi/Desktop/images/18012025/01/16/image_18012025_01_16_02_925276_0002.jpg
/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0000.jpg
/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0001.jpg
/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329616436","1329616445","1329616430","1329616441","1329616449","1329616440"],"photo_ids_order":["1329616430","1329616436","1329616440","1329616441","1329616445","1329616449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/47c0a902f84bcb3bede85602894cf857.jpg","text":"TemporaryFile(/tmp/multipartBody7671051679834972074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160240863,"filename":"image_18012025_01_16_02_925276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f383a0bba014853da3f31203c2d469af.jpg","text":"TemporaryFile(/tmp/multipartBody4230471671316430608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160240863,"filename":"image_18012025_01_17_02_635505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f8e3d821820f04b0629127d2f5af516.jpg","text":"TemporaryFile(/tmp/multipartBody5474277791439562259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160240863,"filename":"image_18012025_01_16_02_925276_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/43a1cb91966de636070eb5fba564fe8e.jpg","text":"TemporaryFile(/tmp/multipartBody3378842861721440110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160240863,"filename":"image_18012025_01_17_02_635505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c34ed91a6d813483f0718764f1609ec.jpg","text":"TemporaryFile(/tmp/multipartBody8985288276047961307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160240863,"filename":"image_18012025_01_17_02_635505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c0eca2a5984548207f23e7894d3bf08a.jpg","text":"TemporaryFile(/tmp/multipartBody5024918984701010710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160240863,"filename":"image_18012025_01_16_02_925276_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329616440","file1":"1329616436","file0":"1329616430","file4":"1329616445","file5":"1329616449","file3":"1329616441"},"map_files_photo_id_array":[{"photo_id":"1329616449","filename":"file5"},{"photo_id":"1329616440","filename":"file2"},{"photo_id":"1329616445","filename":"file4"},{"photo_id":"1329616436","filename":"file1"},{"photo_id":"1329616430","filename":"file0"},{"photo_id":"1329616441","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329616436":["hashtag1","hashtag2"]},{"1329616445":["hashtag1","hashtag2"]},{"1329616430":["hashtag1","hashtag2"]},{"1329616441":["hashtag1","hashtag2"]},{"1329616449":["hashtag1","hashtag2"]},{"1329616440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329616436, 1329616445, 1329616430, 1329616441, 1329616449, 1329616440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.22682785987854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:30:22.072616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0003.jpg', '/home/pi/Desktop/images/18012025/01/18/image_18012025_01_18_02_139839_0000.jpg', '/home/pi/Desktop/images/18012025/01/18/image_18012025_01_18_02_139839_0001.jpg', '/home/pi/Desktop/images/18012025/01/18/image_18012025_01_18_02_139839_0002.jpg', '/home/pi/Desktop/images/18012025/01/19/image_18012025_01_19_02_725809_0000.jpg', '/home/pi/Desktop/images/18012025/01/19/image_18012025_01_19_02_725809_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/17/image_18012025_01_17_02_635505_0003.jpg
/home/pi/Desktop/images/18012025/01/18/image_18012025_01_18_02_139839_0000.jpg
/home/pi/Desktop/images/18012025/01/18/image_18012025_01_18_02_139839_0001.jpg
/home/pi/Desktop/images/18012025/01/18/image_18012025_01_18_02_139839_0002.jpg
/home/pi/Desktop/images/18012025/01/19/image_18012025_01_19_02_725809_0000.jpg
/home/pi/Desktop/images/18012025/01/19/image_18012025_01_19_02_725809_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":["1329616481","1329616457","1329616466","1329616504","1329616461","1329616472"],"photo_ids_order":["1329616457","1329616461","1329616466","1329616472","1329616481","1329616504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/061fd9baa5bc0d50eab34b3eb0142d23.jpg","text":"TemporaryFile(/tmp/multipartBody1337889993925710399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160300567,"filename":"image_18012025_01_19_02_725809_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf3e50618a2bfb770eff7554ddda9495.jpg","text":"TemporaryFile(/tmp/multipartBody7487759645208675879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160300567,"filename":"image_18012025_01_17_02_635505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b07ff16aa93ee57c6c6e0918720c6ed0.jpg","text":"TemporaryFile(/tmp/multipartBody5523131767641202396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160300567,"filename":"image_18012025_01_18_02_139839_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/59cb77d2107270e94353600b4882f72f.jpg","text":"TemporaryFile(/tmp/multipartBody5252775399244913084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160300567,"filename":"image_18012025_01_19_02_725809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b402774b297b5404f1b871f92d8458d6.jpg","text":"TemporaryFile(/tmp/multipartBody2483877057947207493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160300567,"filename":"image_18012025_01_18_02_139839_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/44038f813ccc79396c74ca85ce09e153.jpg","text":"TemporaryFile(/tmp/multipartBody2966608193211876885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160300567,"filename":"image_18012025_01_18_02_139839_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329616466","file1":"1329616461","file0":"1329616457","file4":"1329616481","file5":"1329616504","file3":"1329616472"},"map_files_photo_id_array":[{"photo_id":"1329616504","filename":"file5"},{"photo_id":"1329616466","filename":"file2"},{"photo_id":"1329616481","filename":"file4"},{"photo_id":"1329616461","filename":"file1"},{"photo_id":"1329616457","filename":"file0"},{"photo_id":"1329616472","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329616481":["hashtag1","hashtag2"]},{"1329616457":["hashtag1","hashtag2"]},{"1329616466":["hashtag1","hashtag2"]},{"1329616504":["hashtag1","hashtag2"]},{"1329616461":["hashtag1","hashtag2"]},{"1329616472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329616481, 1329616457, 1329616466, 1329616504, 1329616461, 1329616472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.969382762908936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:32:02.485490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/19/image_18012025_01_19_02_725809_0002.jpg', '/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0000.jpg', '/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0001.jpg', '/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0002.jpg', '/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0003.jpg', '/home/pi/Desktop/images/18012025/01/21/image_18012025_01_21_02_837982_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/19/image_18012025_01_19_02_725809_0002.jpg
/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0000.jpg
/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0001.jpg
/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0002.jpg
/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0003.jpg
/home/pi/Desktop/images/18012025/01/21/image_18012025_01_21_02_837982_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 18.193767547607422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:32:22.105433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/19/image_18012025_01_19_02_725809_0002.jpg', '/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0000.jpg', '/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0001.jpg', '/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0002.jpg', '/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0003.jpg', '/home/pi/Desktop/images/18012025/01/21/image_18012025_01_21_02_837982_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/19/image_18012025_01_19_02_725809_0002.jpg
/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0000.jpg
/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0001.jpg
/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0002.jpg
/home/pi/Desktop/images/18012025/01/20/image_18012025_01_20_02_245541_0003.jpg
/home/pi/Desktop/images/18012025/01/21/image_18012025_01_21_02_837982_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329616613","1329616615","1329616609","1329616603","1329616593","1329616598"],"photo_ids_order":["1329616593","1329616598","1329616603","1329616609","1329616613","1329616615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2dd96183330a7f5b68da3de28b99854e.jpg","text":"TemporaryFile(/tmp/multipartBody2786872367080245715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160420612,"filename":"image_18012025_01_20_02_245541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e2f29af41d35ee6ca196a0153a2775e1.jpg","text":"TemporaryFile(/tmp/multipartBody6583221150564912522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160420612,"filename":"image_18012025_01_21_02_837982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f92dcc67d538a11b724062854034160.jpg","text":"TemporaryFile(/tmp/multipartBody94143930272906286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160420612,"filename":"image_18012025_01_20_02_245541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7eedf6c1354bbf92d1387fe00b1d39b8.jpg","text":"TemporaryFile(/tmp/multipartBody3661018933388576005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160420612,"filename":"image_18012025_01_20_02_245541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97be0975f9f14e556288b469318444bb.jpg","text":"TemporaryFile(/tmp/multipartBody340798102727607655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160420612,"filename":"image_18012025_01_19_02_725809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c26ec7a41d86e6c36fa7a710a138d58.jpg","text":"TemporaryFile(/tmp/multipartBody6814093068414506235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160420612,"filename":"image_18012025_01_20_02_245541_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329616603","file1":"1329616598","file0":"1329616593","file4":"1329616613","file5":"1329616615","file3":"1329616609"},"map_files_photo_id_array":[{"photo_id":"1329616615","filename":"file5"},{"photo_id":"1329616603","filename":"file2"},{"photo_id":"1329616613","filename":"file4"},{"photo_id":"1329616598","filename":"file1"},{"photo_id":"1329616593","filename":"file0"},{"photo_id":"1329616609","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329616613":["hashtag1","hashtag2"]},{"1329616615":["hashtag1","hashtag2"]},{"1329616609":["hashtag1","hashtag2"]},{"1329616603":["hashtag1","hashtag2"]},{"1329616593":["hashtag1","hashtag2"]},{"1329616598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329616613, 1329616615, 1329616609, 1329616603, 1329616593, 1329616598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.710134506225586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:33:22.536577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/21/image_18012025_01_21_02_837982_0002.jpg', '/home/pi/Desktop/images/18012025/01/21/image_18012025_01_21_02_837982_0003.jpg', '/home/pi/Desktop/images/18012025/01/22/image_18012025_01_22_02_338662_0000.jpg', '/home/pi/Desktop/images/18012025/01/22/image_18012025_01_22_02_338662_0002.jpg', '/home/pi/Desktop/images/18012025/01/23/image_18012025_01_23_02_818247_0001.jpg', '/home/pi/Desktop/images/18012025/01/23/image_18012025_01_23_02_818247_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/21/image_18012025_01_21_02_837982_0002.jpg
/home/pi/Desktop/images/18012025/01/21/image_18012025_01_21_02_837982_0003.jpg
/home/pi/Desktop/images/18012025/01/22/image_18012025_01_22_02_338662_0000.jpg
/home/pi/Desktop/images/18012025/01/22/image_18012025_01_22_02_338662_0002.jpg
/home/pi/Desktop/images/18012025/01/23/image_18012025_01_23_02_818247_0001.jpg
/home/pi/Desktop/images/18012025/01/23/image_18012025_01_23_02_818247_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329616667","1329616684","1329616674","1329616677","1329616671","1329616679"],"photo_ids_order":["1329616667","1329616671","1329616674","1329616677","1329616679","1329616684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6d409df7b89486f7edc88ed72417d7c.jpg","text":"TemporaryFile(/tmp/multipartBody2556910460193952578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160481027,"filename":"image_18012025_01_21_02_837982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ffd4e5105201ca5eb5bb7ffe9016f2e.jpg","text":"TemporaryFile(/tmp/multipartBody8188735445750610447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160481027,"filename":"image_18012025_01_23_02_818247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0811440f5dbb3389c4a59da23a374eaf.jpg","text":"TemporaryFile(/tmp/multipartBody9109561835558188443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160481027,"filename":"image_18012025_01_22_02_338662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5be3eeeaa93088c6ce8bb509a3fc93a8.jpg","text":"TemporaryFile(/tmp/multipartBody7185233713044805311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160481027,"filename":"image_18012025_01_22_02_338662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/45afc25873bad9065ad6b7290532eb2e.jpg","text":"TemporaryFile(/tmp/multipartBody3306424541235205191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160481027,"filename":"image_18012025_01_21_02_837982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc75229fdfbb986fd6d6ade36ea96114.jpg","text":"TemporaryFile(/tmp/multipartBody2657471291627150345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160481027,"filename":"image_18012025_01_23_02_818247_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329616674","file1":"1329616671","file0":"1329616667","file4":"1329616679","file5":"1329616684","file3":"1329616677"},"map_files_photo_id_array":[{"photo_id":"1329616684","filename":"file5"},{"photo_id":"1329616674","filename":"file2"},{"photo_id":"1329616679","filename":"file4"},{"photo_id":"1329616671","filename":"file1"},{"photo_id":"1329616667","filename":"file0"},{"photo_id":"1329616677","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329616667":["hashtag1","hashtag2"]},{"1329616684":["hashtag1","hashtag2"]},{"1329616674":["hashtag1","hashtag2"]},{"1329616677":["hashtag1","hashtag2"]},{"1329616671":["hashtag1","hashtag2"]},{"1329616679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329616667, 1329616684, 1329616674, 1329616677, 1329616671, 1329616679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.44310784339905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:34:22.129896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/23/image_18012025_01_23_02_818247_0003.jpg', '/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0000.jpg', '/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0001.jpg', '/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0002.jpg', '/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0003.jpg', '/home/pi/Desktop/images/18012025/01/25/image_18012025_01_25_02_952184_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/23/image_18012025_01_23_02_818247_0003.jpg
/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0000.jpg
/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0001.jpg
/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0002.jpg
/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0003.jpg
/home/pi/Desktop/images/18012025/01/25/image_18012025_01_25_02_952184_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.871119737625122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:35:03.271389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/23/image_18012025_01_23_02_818247_0003.jpg', '/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0000.jpg', '/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0001.jpg', '/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0002.jpg', '/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0003.jpg', '/home/pi/Desktop/images/18012025/01/25/image_18012025_01_25_02_952184_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/23/image_18012025_01_23_02_818247_0003.jpg
/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0000.jpg
/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0001.jpg
/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0002.jpg
/home/pi/Desktop/images/18012025/01/24/image_18012025_01_24_02_309168_0003.jpg
/home/pi/Desktop/images/18012025/01/25/image_18012025_01_25_02_952184_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":["1329617575","1329617479","1329617533","1329617862","1329617378","1329617762"],"photo_ids_order":["1329617378","1329617479","1329617533","1329617575","1329617762","1329617862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa57dc0132146d81e8c2a80513da4086.jpg","text":"TemporaryFile(/tmp/multipartBody2189993564518238646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160581629,"filename":"image_18012025_01_24_02_309168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b4fcbe6f1b7e71faa3e44eab2304c90.jpg","text":"TemporaryFile(/tmp/multipartBody7955417290455097891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160581629,"filename":"image_18012025_01_24_02_309168_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2ad60b21060aa5c69aa00a6aaaa8470c.jpg","text":"TemporaryFile(/tmp/multipartBody5707187210713986768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160581629,"filename":"image_18012025_01_24_02_309168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17a9bf6dec7622d2bbc82cce240a7bf9.jpg","text":"TemporaryFile(/tmp/multipartBody1494785791233082181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160581629,"filename":"image_18012025_01_25_02_952184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cafb0d6c0136afa5375a4b32d569e5db.jpg","text":"TemporaryFile(/tmp/multipartBody180159558875474424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160581629,"filename":"image_18012025_01_23_02_818247_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01a127d76743e9aab1eb027205f0e06b.jpg","text":"TemporaryFile(/tmp/multipartBody3395268215687307461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160581629,"filename":"image_18012025_01_24_02_309168_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329617533","file1":"1329617479","file0":"1329617378","file4":"1329617762","file5":"1329617862","file3":"1329617575"},"map_files_photo_id_array":[{"photo_id":"1329617862","filename":"file5"},{"photo_id":"1329617533","filename":"file2"},{"photo_id":"1329617762","filename":"file4"},{"photo_id":"1329617479","filename":"file1"},{"photo_id":"1329617378","filename":"file0"},{"photo_id":"1329617575","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329617575":["hashtag1","hashtag2"]},{"1329617479":["hashtag1","hashtag2"]},{"1329617533":["hashtag1","hashtag2"]},{"1329617862":["hashtag1","hashtag2"]},{"1329617378":["hashtag1","hashtag2"]},{"1329617762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329617575, 1329617479, 1329617533, 1329617862, 1329617378, 1329617762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.3399543762207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:36:22.332575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/25/image_18012025_01_25_02_952184_0002.jpg', '/home/pi/Desktop/images/18012025/01/25/image_18012025_01_25_02_952184_0003.jpg', '/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0000.jpg', '/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0001.jpg', '/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0002.jpg', '/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/25/image_18012025_01_25_02_952184_0002.jpg
/home/pi/Desktop/images/18012025/01/25/image_18012025_01_25_02_952184_0003.jpg
/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0000.jpg
/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0001.jpg
/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0002.jpg
/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_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.64300274848938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:37:02.499187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/25/image_18012025_01_25_02_952184_0002.jpg', '/home/pi/Desktop/images/18012025/01/25/image_18012025_01_25_02_952184_0003.jpg', '/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0000.jpg', '/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0001.jpg', '/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0002.jpg', '/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/25/image_18012025_01_25_02_952184_0002.jpg
/home/pi/Desktop/images/18012025/01/25/image_18012025_01_25_02_952184_0003.jpg
/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0000.jpg
/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0001.jpg
/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0002.jpg
/home/pi/Desktop/images/18012025/01/26/image_18012025_01_26_02_470120_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329618070","1329618057","1329618120","1329618102","1329618086","1329618110"],"photo_ids_order":["1329618057","1329618070","1329618086","1329618102","1329618110","1329618120"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53aeb24ba61da0dcfb33a717759cffcc.jpg","text":"TemporaryFile(/tmp/multipartBody3975061886414985592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160699552,"filename":"image_18012025_01_25_02_952184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4e114965b842fc67567c7cc95f38ed1.jpg","text":"TemporaryFile(/tmp/multipartBody3889608330725205189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160699552,"filename":"image_18012025_01_25_02_952184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5fc6585344140ac0fd13772deddace1.jpg","text":"TemporaryFile(/tmp/multipartBody6329675909263187122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160699552,"filename":"image_18012025_01_26_02_470120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16c451d0e429642f417a007e977a049c.jpg","text":"TemporaryFile(/tmp/multipartBody941165492199416838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160699552,"filename":"image_18012025_01_26_02_470120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b713ed9c933a797d56ade73491433208.jpg","text":"TemporaryFile(/tmp/multipartBody5571976610539668929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160699552,"filename":"image_18012025_01_26_02_470120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba96dbd2d4be6fa64269da95c9fe1431.jpg","text":"TemporaryFile(/tmp/multipartBody5768629403815225385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160699552,"filename":"image_18012025_01_26_02_470120_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329618086","file1":"1329618070","file0":"1329618057","file4":"1329618110","file5":"1329618120","file3":"1329618102"},"map_files_photo_id_array":[{"photo_id":"1329618120","filename":"file5"},{"photo_id":"1329618086","filename":"file2"},{"photo_id":"1329618110","filename":"file4"},{"photo_id":"1329618070","filename":"file1"},{"photo_id":"1329618057","filename":"file0"},{"photo_id":"1329618102","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329618070":["hashtag1","hashtag2"]},{"1329618057":["hashtag1","hashtag2"]},{"1329618120":["hashtag1","hashtag2"]},{"1329618102":["hashtag1","hashtag2"]},{"1329618086":["hashtag1","hashtag2"]},{"1329618110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329618070, 1329618057, 1329618120, 1329618102, 1329618086, 1329618110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.70097756385803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:38:02.933801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0000.jpg', '/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0001.jpg', '/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0002.jpg', '/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0003.jpg', '/home/pi/Desktop/images/18012025/01/28/image_18012025_01_28_02_754525_0000.jpg', '/home/pi/Desktop/images/18012025/01/28/image_18012025_01_28_02_754525_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0000.jpg
/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0001.jpg
/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0002.jpg
/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0003.jpg
/home/pi/Desktop/images/18012025/01/28/image_18012025_01_28_02_754525_0000.jpg
/home/pi/Desktop/images/18012025/01/28/image_18012025_01_28_02_754525_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.903608560562134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:38:22.443309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0000.jpg', '/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0001.jpg', '/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0002.jpg', '/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0003.jpg', '/home/pi/Desktop/images/18012025/01/28/image_18012025_01_28_02_754525_0000.jpg', '/home/pi/Desktop/images/18012025/01/28/image_18012025_01_28_02_754525_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0000.jpg
/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0001.jpg
/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0002.jpg
/home/pi/Desktop/images/18012025/01/27/image_18012025_01_27_02_195156_0003.jpg
/home/pi/Desktop/images/18012025/01/28/image_18012025_01_28_02_754525_0000.jpg
/home/pi/Desktop/images/18012025/01/28/image_18012025_01_28_02_754525_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":["1329618478","1329618421","1329618398","1329618458","1329618467","1329618425"],"photo_ids_order":["1329618398","1329618421","1329618425","1329618458","1329618467","1329618478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c981ca45a6e9ac0949b140a4028e63df.jpg","text":"TemporaryFile(/tmp/multipartBody1199435256725981912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160779704,"filename":"image_18012025_01_28_02_754525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3507a85609395f7a2bb094edc92a2c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7045746612122278336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160779704,"filename":"image_18012025_01_27_02_195156_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de5444ad10b1af6e9e51fadde92a09bf.jpg","text":"TemporaryFile(/tmp/multipartBody221840551386611693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160779704,"filename":"image_18012025_01_27_02_195156_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5516f5264472bfe8d5c9d5ae5a55d727.jpg","text":"TemporaryFile(/tmp/multipartBody8016055405944934063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160779704,"filename":"image_18012025_01_27_02_195156_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/acb0c75743807716a9b6ec9ed3eb6bc0.jpg","text":"TemporaryFile(/tmp/multipartBody4990164454988478612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160779704,"filename":"image_18012025_01_28_02_754525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/886b6c94e22cbb0cc8dbe16bd3e784c9.jpg","text":"TemporaryFile(/tmp/multipartBody7581010021056220903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160779704,"filename":"image_18012025_01_27_02_195156_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329618425","file1":"1329618421","file0":"1329618398","file4":"1329618467","file5":"1329618478","file3":"1329618458"},"map_files_photo_id_array":[{"photo_id":"1329618478","filename":"file5"},{"photo_id":"1329618425","filename":"file2"},{"photo_id":"1329618467","filename":"file4"},{"photo_id":"1329618421","filename":"file1"},{"photo_id":"1329618398","filename":"file0"},{"photo_id":"1329618458","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329618478":["hashtag1","hashtag2"]},{"1329618421":["hashtag1","hashtag2"]},{"1329618398":["hashtag1","hashtag2"]},{"1329618458":["hashtag1","hashtag2"]},{"1329618467":["hashtag1","hashtag2"]},{"1329618425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329618478, 1329618421, 1329618398, 1329618458, 1329618467, 1329618425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.371761083602905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:40:02.915304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/28/image_18012025_01_28_02_754525_0002.jpg', '/home/pi/Desktop/images/18012025/01/28/image_18012025_01_28_02_754525_0003.jpg', '/home/pi/Desktop/images/18012025/01/29/image_18012025_01_29_02_270823_0000.jpg', '/home/pi/Desktop/images/18012025/01/29/image_18012025_01_29_02_270823_0001.jpg', '/home/pi/Desktop/images/18012025/01/29/image_18012025_01_29_02_270823_0002.jpg', '/home/pi/Desktop/images/18012025/01/29/image_18012025_01_29_02_270823_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/28/image_18012025_01_28_02_754525_0002.jpg
/home/pi/Desktop/images/18012025/01/28/image_18012025_01_28_02_754525_0003.jpg
/home/pi/Desktop/images/18012025/01/29/image_18012025_01_29_02_270823_0000.jpg
/home/pi/Desktop/images/18012025/01/29/image_18012025_01_29_02_270823_0001.jpg
/home/pi/Desktop/images/18012025/01/29/image_18012025_01_29_02_270823_0002.jpg
/home/pi/Desktop/images/18012025/01/29/image_18012025_01_29_02_270823_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":["1329618667","1329618652","1329618687","1329618732","1329618720","1329618707"],"photo_ids_order":["1329618652","1329618667","1329618687","1329618707","1329618720","1329618732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e676210a13b4488cff5c361030042381.jpg","text":"TemporaryFile(/tmp/multipartBody3791924739908490280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160879549,"filename":"image_18012025_01_28_02_754525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63932964127104c2b04dffa2d06b5e98.jpg","text":"TemporaryFile(/tmp/multipartBody3322994818825458801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160879549,"filename":"image_18012025_01_28_02_754525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/11e4baeb0f2e2d295ff8b07b12f566f1.jpg","text":"TemporaryFile(/tmp/multipartBody5607527629674582434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160879549,"filename":"image_18012025_01_29_02_270823_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2caa206feefffd53d2130d14e21963e5.jpg","text":"TemporaryFile(/tmp/multipartBody8054481250867613112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160879549,"filename":"image_18012025_01_29_02_270823_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86c8cbbe47b4bab76570ca010c378898.jpg","text":"TemporaryFile(/tmp/multipartBody43733085680065634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160879549,"filename":"image_18012025_01_29_02_270823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4bece84efa9a125b505090e902026cc2.jpg","text":"TemporaryFile(/tmp/multipartBody4320057591315527902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160879549,"filename":"image_18012025_01_29_02_270823_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329618687","file1":"1329618667","file0":"1329618652","file4":"1329618720","file5":"1329618732","file3":"1329618707"},"map_files_photo_id_array":[{"photo_id":"1329618732","filename":"file5"},{"photo_id":"1329618687","filename":"file2"},{"photo_id":"1329618720","filename":"file4"},{"photo_id":"1329618667","filename":"file1"},{"photo_id":"1329618652","filename":"file0"},{"photo_id":"1329618707","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329618667":["hashtag1","hashtag2"]},{"1329618652":["hashtag1","hashtag2"]},{"1329618687":["hashtag1","hashtag2"]},{"1329618732":["hashtag1","hashtag2"]},{"1329618720":["hashtag1","hashtag2"]},{"1329618707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329618667, 1329618652, 1329618687, 1329618732, 1329618720, 1329618707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.818201541900635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:41:21.991265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/30/image_18012025_01_30_02_819626_0000.jpg', '/home/pi/Desktop/images/18012025/01/30/image_18012025_01_30_02_819626_0001.jpg', '/home/pi/Desktop/images/18012025/01/30/image_18012025_01_30_02_819626_0002.jpg', '/home/pi/Desktop/images/18012025/01/30/image_18012025_01_30_02_819626_0003.jpg', '/home/pi/Desktop/images/18012025/01/31/image_18012025_01_31_02_424004_0000.jpg', '/home/pi/Desktop/images/18012025/01/31/image_18012025_01_31_02_424004_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/30/image_18012025_01_30_02_819626_0000.jpg
/home/pi/Desktop/images/18012025/01/30/image_18012025_01_30_02_819626_0001.jpg
/home/pi/Desktop/images/18012025/01/30/image_18012025_01_30_02_819626_0002.jpg
/home/pi/Desktop/images/18012025/01/30/image_18012025_01_30_02_819626_0003.jpg
/home/pi/Desktop/images/18012025/01/31/image_18012025_01_31_02_424004_0000.jpg
/home/pi/Desktop/images/18012025/01/31/image_18012025_01_31_02_424004_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":["1329618823","1329618811","1329618771","1329618801","1329618806","1329618763"],"photo_ids_order":["1329618763","1329618771","1329618801","1329618806","1329618811","1329618823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/91e6a9e931d54204aee8fe5b88029faa.jpg","text":"TemporaryFile(/tmp/multipartBody2714871574095087680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160958479,"filename":"image_18012025_01_31_02_424004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ddc598c3c7edd44dcea635966acf0b7a.jpg","text":"TemporaryFile(/tmp/multipartBody81928099239336928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160958479,"filename":"image_18012025_01_31_02_424004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/77fa576a252d42a9aadaebaefcf91781.jpg","text":"TemporaryFile(/tmp/multipartBody857062938268084551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160958479,"filename":"image_18012025_01_30_02_819626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8733778e31e50a16f8d72978d9cce63f.jpg","text":"TemporaryFile(/tmp/multipartBody6131132002955746457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160958479,"filename":"image_18012025_01_30_02_819626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/52cb4c50088e131297765a231b5120f5.jpg","text":"TemporaryFile(/tmp/multipartBody5402873012036612469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160958479,"filename":"image_18012025_01_30_02_819626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a61b69b867db3fdade7029f34e98b204.jpg","text":"TemporaryFile(/tmp/multipartBody5312044173830884438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737160958479,"filename":"image_18012025_01_30_02_819626_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329618801","file1":"1329618771","file0":"1329618763","file4":"1329618811","file5":"1329618823","file3":"1329618806"},"map_files_photo_id_array":[{"photo_id":"1329618823","filename":"file5"},{"photo_id":"1329618801","filename":"file2"},{"photo_id":"1329618811","filename":"file4"},{"photo_id":"1329618771","filename":"file1"},{"photo_id":"1329618763","filename":"file0"},{"photo_id":"1329618806","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329618823":["hashtag1","hashtag2"]},{"1329618811":["hashtag1","hashtag2"]},{"1329618771":["hashtag1","hashtag2"]},{"1329618801":["hashtag1","hashtag2"]},{"1329618806":["hashtag1","hashtag2"]},{"1329618763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329618823, 1329618811, 1329618771, 1329618801, 1329618806, 1329618763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.46678709983826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:43:02.628861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/31/image_18012025_01_31_02_424004_0002.jpg', '/home/pi/Desktop/images/18012025/01/31/image_18012025_01_31_02_424004_0003.jpg', '/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0000.jpg', '/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0001.jpg', '/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0002.jpg', '/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/31/image_18012025_01_31_02_424004_0002.jpg
/home/pi/Desktop/images/18012025/01/31/image_18012025_01_31_02_424004_0003.jpg
/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0000.jpg
/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0001.jpg
/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0002.jpg
/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_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.081207036972046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:43:22.015963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/31/image_18012025_01_31_02_424004_0002.jpg', '/home/pi/Desktop/images/18012025/01/31/image_18012025_01_31_02_424004_0003.jpg', '/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0000.jpg', '/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0001.jpg', '/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0002.jpg', '/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/31/image_18012025_01_31_02_424004_0002.jpg
/home/pi/Desktop/images/18012025/01/31/image_18012025_01_31_02_424004_0003.jpg
/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0000.jpg
/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0001.jpg
/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0002.jpg
/home/pi/Desktop/images/18012025/01/32/image_18012025_01_32_02_943650_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329618946","1329618954","1329618963","1329618957","1329618951","1329618959"],"photo_ids_order":["1329618946","1329618951","1329618954","1329618957","1329618959","1329618963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f05d96eaaa9fee8c1c3b09a024479471.jpg","text":"TemporaryFile(/tmp/multipartBody7471292948562584543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161078362,"filename":"image_18012025_01_31_02_424004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/56682adc7986edb70472ca1f29eafed7.jpg","text":"TemporaryFile(/tmp/multipartBody7197493313819817451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161078362,"filename":"image_18012025_01_32_02_943650_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28341d0c1e9418ca19ec51ca1e739944.jpg","text":"TemporaryFile(/tmp/multipartBody2907829716745613342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161078362,"filename":"image_18012025_01_32_02_943650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01ed35307801d43af2a6b7c7eca76be3.jpg","text":"TemporaryFile(/tmp/multipartBody4538752986930547484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161078362,"filename":"image_18012025_01_32_02_943650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8282fb89cde988423100ea75c4229a75.jpg","text":"TemporaryFile(/tmp/multipartBody2672852976838978394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161078362,"filename":"image_18012025_01_31_02_424004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5696a59ed4849466dad9eb422e9d708d.jpg","text":"TemporaryFile(/tmp/multipartBody3795954660455576249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161078362,"filename":"image_18012025_01_32_02_943650_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329618954","file1":"1329618951","file0":"1329618946","file4":"1329618959","file5":"1329618963","file3":"1329618957"},"map_files_photo_id_array":[{"photo_id":"1329618963","filename":"file5"},{"photo_id":"1329618954","filename":"file2"},{"photo_id":"1329618959","filename":"file4"},{"photo_id":"1329618951","filename":"file1"},{"photo_id":"1329618946","filename":"file0"},{"photo_id":"1329618957","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329618946":["hashtag1","hashtag2"]},{"1329618954":["hashtag1","hashtag2"]},{"1329618963":["hashtag1","hashtag2"]},{"1329618957":["hashtag1","hashtag2"]},{"1329618951":["hashtag1","hashtag2"]},{"1329618959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329618946, 1329618954, 1329618963, 1329618957, 1329618951, 1329618959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.90253496170044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:44:22.751187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/33/image_18012025_01_33_02_473718_0000.jpg', '/home/pi/Desktop/images/18012025/01/33/image_18012025_01_33_02_473718_0001.jpg', '/home/pi/Desktop/images/18012025/01/33/image_18012025_01_33_02_473718_0002.jpg', '/home/pi/Desktop/images/18012025/01/33/image_18012025_01_33_02_473718_0003.jpg', '/home/pi/Desktop/images/18012025/01/34/image_18012025_01_34_02_999542_0000.jpg', '/home/pi/Desktop/images/18012025/01/34/image_18012025_01_34_02_999542_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/33/image_18012025_01_33_02_473718_0000.jpg
/home/pi/Desktop/images/18012025/01/33/image_18012025_01_33_02_473718_0001.jpg
/home/pi/Desktop/images/18012025/01/33/image_18012025_01_33_02_473718_0002.jpg
/home/pi/Desktop/images/18012025/01/33/image_18012025_01_33_02_473718_0003.jpg
/home/pi/Desktop/images/18012025/01/34/image_18012025_01_34_02_999542_0000.jpg
/home/pi/Desktop/images/18012025/01/34/image_18012025_01_34_02_999542_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":["1329619047","1329619032","1329619061","1329619022","1329619016","1329619057"],"photo_ids_order":["1329619016","1329619022","1329619032","1329619047","1329619057","1329619061"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60e6d02731616c1dda304c6292264569.jpg","text":"TemporaryFile(/tmp/multipartBody5197333249137009369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161139814,"filename":"image_18012025_01_33_02_473718_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c0ae592fe40e7df7d55942bd8ff439c8.jpg","text":"TemporaryFile(/tmp/multipartBody2806409234533912123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161139814,"filename":"image_18012025_01_33_02_473718_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/419910e57a282cbae73d5ed62cba6cbf.jpg","text":"TemporaryFile(/tmp/multipartBody1785853753049492556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161139814,"filename":"image_18012025_01_34_02_999542_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5b5e14a068fcf9b0c57f808a553e20e8.jpg","text":"TemporaryFile(/tmp/multipartBody5069587574250815785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161139814,"filename":"image_18012025_01_33_02_473718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f95aac465c62f724c4cbe389c2dc068.jpg","text":"TemporaryFile(/tmp/multipartBody1562933608084538303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161139814,"filename":"image_18012025_01_33_02_473718_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/831d6a61d5d58c7017e3729e581afa82.jpg","text":"TemporaryFile(/tmp/multipartBody8381004909916818178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161139814,"filename":"image_18012025_01_34_02_999542_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329619032","file1":"1329619022","file0":"1329619016","file4":"1329619057","file5":"1329619061","file3":"1329619047"},"map_files_photo_id_array":[{"photo_id":"1329619061","filename":"file5"},{"photo_id":"1329619032","filename":"file2"},{"photo_id":"1329619057","filename":"file4"},{"photo_id":"1329619022","filename":"file1"},{"photo_id":"1329619016","filename":"file0"},{"photo_id":"1329619047","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329619047":["hashtag1","hashtag2"]},{"1329619032":["hashtag1","hashtag2"]},{"1329619061":["hashtag1","hashtag2"]},{"1329619022":["hashtag1","hashtag2"]},{"1329619016":["hashtag1","hashtag2"]},{"1329619057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329619047, 1329619032, 1329619061, 1329619022, 1329619016, 1329619057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.8132381439209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:46:02.077992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/34/image_18012025_01_34_02_999542_0002.jpg', '/home/pi/Desktop/images/18012025/01/34/image_18012025_01_34_02_999542_0003.jpg', '/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0000.jpg', '/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0001.jpg', '/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0002.jpg', '/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/34/image_18012025_01_34_02_999542_0002.jpg
/home/pi/Desktop/images/18012025/01/34/image_18012025_01_34_02_999542_0003.jpg
/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0000.jpg
/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0001.jpg
/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0002.jpg
/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_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.42782950401306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:46:21.755149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/34/image_18012025_01_34_02_999542_0002.jpg', '/home/pi/Desktop/images/18012025/01/34/image_18012025_01_34_02_999542_0003.jpg', '/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0000.jpg', '/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0001.jpg', '/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0002.jpg', '/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/34/image_18012025_01_34_02_999542_0002.jpg
/home/pi/Desktop/images/18012025/01/34/image_18012025_01_34_02_999542_0003.jpg
/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0000.jpg
/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0001.jpg
/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0002.jpg
/home/pi/Desktop/images/18012025/01/35/image_18012025_01_35_02_531456_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329619426","1329619416","1329619421","1329619430","1329619433","1329619412"],"photo_ids_order":["1329619412","1329619416","1329619421","1329619426","1329619430","1329619433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c1e2e746ef3a1a9f0b109dfd4e36b9f6.jpg","text":"TemporaryFile(/tmp/multipartBody1455144759794401198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161258521,"filename":"image_18012025_01_35_02_531456_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a5e161f771ab59eaf9a9835cb57ccf0.jpg","text":"TemporaryFile(/tmp/multipartBody1467005995703233489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161258521,"filename":"image_18012025_01_34_02_999542_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef549b9b02607205e1e537bb9d246c28.jpg","text":"TemporaryFile(/tmp/multipartBody4718057183662988422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161258521,"filename":"image_18012025_01_35_02_531456_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/87f9d27f37bef0b8ce1b32fa8e96b384.jpg","text":"TemporaryFile(/tmp/multipartBody7945241639159032603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161258521,"filename":"image_18012025_01_35_02_531456_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/025e7fbe5112bbbcd6616a78ab654766.jpg","text":"TemporaryFile(/tmp/multipartBody9114001402452379309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161258521,"filename":"image_18012025_01_35_02_531456_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a5869f50c454741f32ed78001fae77f.jpg","text":"TemporaryFile(/tmp/multipartBody1231600949684785613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161258521,"filename":"image_18012025_01_34_02_999542_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329619421","file1":"1329619416","file0":"1329619412","file4":"1329619430","file5":"1329619433","file3":"1329619426"},"map_files_photo_id_array":[{"photo_id":"1329619433","filename":"file5"},{"photo_id":"1329619421","filename":"file2"},{"photo_id":"1329619430","filename":"file4"},{"photo_id":"1329619416","filename":"file1"},{"photo_id":"1329619412","filename":"file0"},{"photo_id":"1329619426","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329619426":["hashtag1","hashtag2"]},{"1329619416":["hashtag1","hashtag2"]},{"1329619421":["hashtag1","hashtag2"]},{"1329619430":["hashtag1","hashtag2"]},{"1329619433":["hashtag1","hashtag2"]},{"1329619412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329619426, 1329619416, 1329619421, 1329619430, 1329619433, 1329619412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.86936974525452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:47:22.196848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/36/image_18012025_01_36_03_020969_0000.jpg', '/home/pi/Desktop/images/18012025/01/36/image_18012025_01_36_03_020969_0001.jpg', '/home/pi/Desktop/images/18012025/01/36/image_18012025_01_36_03_020969_0002.jpg', '/home/pi/Desktop/images/18012025/01/36/image_18012025_01_36_03_020969_0003.jpg', '/home/pi/Desktop/images/18012025/01/37/image_18012025_01_37_02_672077_0000.jpg', '/home/pi/Desktop/images/18012025/01/37/image_18012025_01_37_02_672077_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/36/image_18012025_01_36_03_020969_0000.jpg
/home/pi/Desktop/images/18012025/01/36/image_18012025_01_36_03_020969_0001.jpg
/home/pi/Desktop/images/18012025/01/36/image_18012025_01_36_03_020969_0002.jpg
/home/pi/Desktop/images/18012025/01/36/image_18012025_01_36_03_020969_0003.jpg
/home/pi/Desktop/images/18012025/01/37/image_18012025_01_37_02_672077_0000.jpg
/home/pi/Desktop/images/18012025/01/37/image_18012025_01_37_02_672077_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":["1329619501","1329619488","1329619507","1329619517","1329619480","1329619468"],"photo_ids_order":["1329619468","1329619480","1329619488","1329619501","1329619507","1329619517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2910a5ec44589862a7a419f1be6e557.jpg","text":"TemporaryFile(/tmp/multipartBody9137551964198121957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161319188,"filename":"image_18012025_01_36_03_020969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b3a400b64971624ba9872007974e3816.jpg","text":"TemporaryFile(/tmp/multipartBody8243835890800002499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161319188,"filename":"image_18012025_01_36_03_020969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8ce0aff223cbd4c9b92531b31524f71.jpg","text":"TemporaryFile(/tmp/multipartBody3519563407854439137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161319188,"filename":"image_18012025_01_37_02_672077_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4f8245dacdabc6d1b6accdeb3d84c57.jpg","text":"TemporaryFile(/tmp/multipartBody6338067856702590421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161319188,"filename":"image_18012025_01_37_02_672077_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95a12c601f5be244632d4730af764081.jpg","text":"TemporaryFile(/tmp/multipartBody6744623331808795234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161319188,"filename":"image_18012025_01_36_03_020969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e4d96e517e707fbfa57a302315145143.jpg","text":"TemporaryFile(/tmp/multipartBody2694843183293594217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161319188,"filename":"image_18012025_01_36_03_020969_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329619488","file1":"1329619480","file0":"1329619468","file4":"1329619507","file5":"1329619517","file3":"1329619501"},"map_files_photo_id_array":[{"photo_id":"1329619517","filename":"file5"},{"photo_id":"1329619488","filename":"file2"},{"photo_id":"1329619507","filename":"file4"},{"photo_id":"1329619480","filename":"file1"},{"photo_id":"1329619468","filename":"file0"},{"photo_id":"1329619501","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329619501":["hashtag1","hashtag2"]},{"1329619488":["hashtag1","hashtag2"]},{"1329619507":["hashtag1","hashtag2"]},{"1329619517":["hashtag1","hashtag2"]},{"1329619480":["hashtag1","hashtag2"]},{"1329619468":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329619501, 1329619488, 1329619507, 1329619517, 1329619480, 1329619468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.30443477630615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:49:02.922691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/37/image_18012025_01_37_02_672077_0002.jpg', '/home/pi/Desktop/images/18012025/01/37/image_18012025_01_37_02_672077_0003.jpg', '/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0000.jpg', '/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0001.jpg', '/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0002.jpg', '/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/37/image_18012025_01_37_02_672077_0002.jpg
/home/pi/Desktop/images/18012025/01/37/image_18012025_01_37_02_672077_0003.jpg
/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0000.jpg
/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0001.jpg
/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0002.jpg
/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_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.993940830230713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:49:22.298772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/37/image_18012025_01_37_02_672077_0002.jpg', '/home/pi/Desktop/images/18012025/01/37/image_18012025_01_37_02_672077_0003.jpg', '/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0000.jpg', '/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0001.jpg', '/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0002.jpg', '/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/37/image_18012025_01_37_02_672077_0002.jpg
/home/pi/Desktop/images/18012025/01/37/image_18012025_01_37_02_672077_0003.jpg
/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0000.jpg
/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0001.jpg
/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_0002.jpg
/home/pi/Desktop/images/18012025/01/38/image_18012025_01_38_02_138312_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":["1329619708","1329619692","1329619674","1329619713","1329619700","1329619681"],"photo_ids_order":["1329619674","1329619681","1329619692","1329619700","1329619708","1329619713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6384230d986a069df331d427a7965234.jpg","text":"TemporaryFile(/tmp/multipartBody8004230125150407417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161439592,"filename":"image_18012025_01_38_02_138312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8004115a856394c8c37aeab178ed9989.jpg","text":"TemporaryFile(/tmp/multipartBody7989590173073027963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161439592,"filename":"image_18012025_01_38_02_138312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/781fa511174acc6b70048ee61015a366.jpg","text":"TemporaryFile(/tmp/multipartBody5957981600276558148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161439592,"filename":"image_18012025_01_37_02_672077_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/703f7d1d7fd9638178848a680fff97cc.jpg","text":"TemporaryFile(/tmp/multipartBody2646084531798825422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161439592,"filename":"image_18012025_01_38_02_138312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b1422325137fc1a194fc5f8cbeef93d9.jpg","text":"TemporaryFile(/tmp/multipartBody280568588124465197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161439592,"filename":"image_18012025_01_38_02_138312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c0297a81486f23c3cbb2de73e6254767.jpg","text":"TemporaryFile(/tmp/multipartBody5455120336049081645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161439592,"filename":"image_18012025_01_37_02_672077_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329619692","file1":"1329619681","file0":"1329619674","file4":"1329619708","file5":"1329619713","file3":"1329619700"},"map_files_photo_id_array":[{"photo_id":"1329619713","filename":"file5"},{"photo_id":"1329619692","filename":"file2"},{"photo_id":"1329619708","filename":"file4"},{"photo_id":"1329619681","filename":"file1"},{"photo_id":"1329619674","filename":"file0"},{"photo_id":"1329619700","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329619708":["hashtag1","hashtag2"]},{"1329619692":["hashtag1","hashtag2"]},{"1329619674":["hashtag1","hashtag2"]},{"1329619713":["hashtag1","hashtag2"]},{"1329619700":["hashtag1","hashtag2"]},{"1329619681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329619708, 1329619692, 1329619674, 1329619713, 1329619700, 1329619681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.11943173408508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:51:03.160794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0000.jpg', '/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0001.jpg', '/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0002.jpg', '/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0003.jpg', '/home/pi/Desktop/images/18012025/01/40/image_18012025_01_40_02_353571_0000.jpg', '/home/pi/Desktop/images/18012025/01/40/image_18012025_01_40_02_353571_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0000.jpg
/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0001.jpg
/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0002.jpg
/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0003.jpg
/home/pi/Desktop/images/18012025/01/40/image_18012025_01_40_02_353571_0000.jpg
/home/pi/Desktop/images/18012025/01/40/image_18012025_01_40_02_353571_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.41543960571289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:51:22.360836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0000.jpg', '/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0001.jpg', '/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0002.jpg', '/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0003.jpg', '/home/pi/Desktop/images/18012025/01/40/image_18012025_01_40_02_353571_0000.jpg', '/home/pi/Desktop/images/18012025/01/40/image_18012025_01_40_02_353571_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0000.jpg
/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0001.jpg
/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0002.jpg
/home/pi/Desktop/images/18012025/01/39/image_18012025_01_39_02_822894_0003.jpg
/home/pi/Desktop/images/18012025/01/40/image_18012025_01_40_02_353571_0000.jpg
/home/pi/Desktop/images/18012025/01/40/image_18012025_01_40_02_353571_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329619851","1329619842","1329619856","1329619790","1329619853","1329619847"],"photo_ids_order":["1329619790","1329619842","1329619847","1329619851","1329619853","1329619856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f6b41f80f43b7ee63b6d0893f152b69a.jpg","text":"TemporaryFile(/tmp/multipartBody5749448333089554725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161559143,"filename":"image_18012025_01_39_02_822894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2187f401bb77ac7abc06ad727f75a117.jpg","text":"TemporaryFile(/tmp/multipartBody1204293098921274104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161559143,"filename":"image_18012025_01_39_02_822894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e709796118dcca203757784ce552e12b.jpg","text":"TemporaryFile(/tmp/multipartBody3481258819179657333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161559143,"filename":"image_18012025_01_40_02_353571_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/41372d485992e8ba395e891297f35f6e.jpg","text":"TemporaryFile(/tmp/multipartBody5210578263928506994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161559143,"filename":"image_18012025_01_39_02_822894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6950a253543a87d01781e8f6c6430820.jpg","text":"TemporaryFile(/tmp/multipartBody476177125932764571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161559143,"filename":"image_18012025_01_40_02_353571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7fe91cf32c6e33435a4cf55dc20ff6b2.jpg","text":"TemporaryFile(/tmp/multipartBody6375802530721011296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161559143,"filename":"image_18012025_01_39_02_822894_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329619847","file1":"1329619842","file0":"1329619790","file4":"1329619853","file5":"1329619856","file3":"1329619851"},"map_files_photo_id_array":[{"photo_id":"1329619856","filename":"file5"},{"photo_id":"1329619847","filename":"file2"},{"photo_id":"1329619853","filename":"file4"},{"photo_id":"1329619842","filename":"file1"},{"photo_id":"1329619790","filename":"file0"},{"photo_id":"1329619851","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329619851":["hashtag1","hashtag2"]},{"1329619842":["hashtag1","hashtag2"]},{"1329619856":["hashtag1","hashtag2"]},{"1329619790":["hashtag1","hashtag2"]},{"1329619853":["hashtag1","hashtag2"]},{"1329619847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329619851, 1329619842, 1329619856, 1329619790, 1329619853, 1329619847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.39196181297302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:52:22.017280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/40/image_18012025_01_40_02_353571_0002.jpg', '/home/pi/Desktop/images/18012025/01/40/image_18012025_01_40_02_353571_0003.jpg', '/home/pi/Desktop/images/18012025/01/41/image_18012025_01_41_02_888431_0000.jpg', '/home/pi/Desktop/images/18012025/01/41/image_18012025_01_41_02_888431_0001.jpg', '/home/pi/Desktop/images/18012025/01/41/image_18012025_01_41_02_888431_0002.jpg', '/home/pi/Desktop/images/18012025/01/41/image_18012025_01_41_02_888431_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/40/image_18012025_01_40_02_353571_0002.jpg
/home/pi/Desktop/images/18012025/01/40/image_18012025_01_40_02_353571_0003.jpg
/home/pi/Desktop/images/18012025/01/41/image_18012025_01_41_02_888431_0000.jpg
/home/pi/Desktop/images/18012025/01/41/image_18012025_01_41_02_888431_0001.jpg
/home/pi/Desktop/images/18012025/01/41/image_18012025_01_41_02_888431_0002.jpg
/home/pi/Desktop/images/18012025/01/41/image_18012025_01_41_02_888431_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329619896","1329619914","1329619917","1329619891","1329619910","1329619903"],"photo_ids_order":["1329619891","1329619896","1329619903","1329619910","1329619914","1329619917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/169302069cf2b85f1e6505765ffe1c7b.jpg","text":"TemporaryFile(/tmp/multipartBody475054525941129803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161618613,"filename":"image_18012025_01_40_02_353571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aafcdc77f0a4b56ee69d007bfaa77f1c.jpg","text":"TemporaryFile(/tmp/multipartBody9168756046410370056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161618613,"filename":"image_18012025_01_41_02_888431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b8097ccc05afa13fb9abd4576f5467c3.jpg","text":"TemporaryFile(/tmp/multipartBody6117492338826061541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161618613,"filename":"image_18012025_01_41_02_888431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b909906b26857a63a0c28037ce3e590.jpg","text":"TemporaryFile(/tmp/multipartBody1796813579000689185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161618613,"filename":"image_18012025_01_40_02_353571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3931dfdce11f81aed8253b66c69e66dc.jpg","text":"TemporaryFile(/tmp/multipartBody3009060466495944612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161618613,"filename":"image_18012025_01_41_02_888431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/510dcce65152c40c784553e2393dadb1.jpg","text":"TemporaryFile(/tmp/multipartBody8068355664904923928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161618613,"filename":"image_18012025_01_41_02_888431_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329619903","file1":"1329619896","file0":"1329619891","file4":"1329619914","file5":"1329619917","file3":"1329619910"},"map_files_photo_id_array":[{"photo_id":"1329619917","filename":"file5"},{"photo_id":"1329619903","filename":"file2"},{"photo_id":"1329619914","filename":"file4"},{"photo_id":"1329619896","filename":"file1"},{"photo_id":"1329619891","filename":"file0"},{"photo_id":"1329619910","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329619896":["hashtag1","hashtag2"]},{"1329619914":["hashtag1","hashtag2"]},{"1329619917":["hashtag1","hashtag2"]},{"1329619891":["hashtag1","hashtag2"]},{"1329619910":["hashtag1","hashtag2"]},{"1329619903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329619896, 1329619914, 1329619917, 1329619891, 1329619910, 1329619903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.24381732940674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:53:22.481118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/42/image_18012025_01_42_02_418202_0000.jpg', '/home/pi/Desktop/images/18012025/01/42/image_18012025_01_42_02_418202_0001.jpg', '/home/pi/Desktop/images/18012025/01/42/image_18012025_01_42_02_418202_0002.jpg', '/home/pi/Desktop/images/18012025/01/42/image_18012025_01_42_02_418202_0003.jpg', '/home/pi/Desktop/images/18012025/01/43/image_18012025_01_43_02_920360_0000.jpg', '/home/pi/Desktop/images/18012025/01/43/image_18012025_01_43_02_920360_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/42/image_18012025_01_42_02_418202_0000.jpg
/home/pi/Desktop/images/18012025/01/42/image_18012025_01_42_02_418202_0001.jpg
/home/pi/Desktop/images/18012025/01/42/image_18012025_01_42_02_418202_0002.jpg
/home/pi/Desktop/images/18012025/01/42/image_18012025_01_42_02_418202_0003.jpg
/home/pi/Desktop/images/18012025/01/43/image_18012025_01_43_02_920360_0000.jpg
/home/pi/Desktop/images/18012025/01/43/image_18012025_01_43_02_920360_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329620734","1329620499","1329620401","1329620667","1329620591","1329620807"],"photo_ids_order":["1329620401","1329620499","1329620591","1329620667","1329620734","1329620807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dee949bc234e988f68d01842024c55e0.jpg","text":"TemporaryFile(/tmp/multipartBody4380913376110697528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161679031,"filename":"image_18012025_01_43_02_920360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/731d487e45a980cac6b73d6fa33e59f5.jpg","text":"TemporaryFile(/tmp/multipartBody6745266115474136781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161679031,"filename":"image_18012025_01_42_02_418202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c2d31fcc249a8e21469254918494042.jpg","text":"TemporaryFile(/tmp/multipartBody907975114245076561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161679031,"filename":"image_18012025_01_42_02_418202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d00794c448e1ed6de500c22485dab1d0.jpg","text":"TemporaryFile(/tmp/multipartBody8891614315087432785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161679031,"filename":"image_18012025_01_42_02_418202_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b6d69056c6ea1770af244ff460f42ab.jpg","text":"TemporaryFile(/tmp/multipartBody6735326149755591103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161679031,"filename":"image_18012025_01_42_02_418202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ef18be7962355f45666f31770d8d830.jpg","text":"TemporaryFile(/tmp/multipartBody5756802242779404117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161679031,"filename":"image_18012025_01_43_02_920360_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329620591","file1":"1329620499","file0":"1329620401","file4":"1329620734","file5":"1329620807","file3":"1329620667"},"map_files_photo_id_array":[{"photo_id":"1329620807","filename":"file5"},{"photo_id":"1329620591","filename":"file2"},{"photo_id":"1329620734","filename":"file4"},{"photo_id":"1329620499","filename":"file1"},{"photo_id":"1329620401","filename":"file0"},{"photo_id":"1329620667","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329620734":["hashtag1","hashtag2"]},{"1329620499":["hashtag1","hashtag2"]},{"1329620401":["hashtag1","hashtag2"]},{"1329620667":["hashtag1","hashtag2"]},{"1329620591":["hashtag1","hashtag2"]},{"1329620807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329620734, 1329620499, 1329620401, 1329620667, 1329620591, 1329620807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.042092084884644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:54:22.061545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/43/image_18012025_01_43_02_920360_0002.jpg', '/home/pi/Desktop/images/18012025/01/43/image_18012025_01_43_02_920360_0003.jpg', '/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0000.jpg', '/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0001.jpg', '/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0002.jpg', '/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/43/image_18012025_01_43_02_920360_0002.jpg
/home/pi/Desktop/images/18012025/01/43/image_18012025_01_43_02_920360_0003.jpg
/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0000.jpg
/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0001.jpg
/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0002.jpg
/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_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.1188907623291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:55:02.930777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/43/image_18012025_01_43_02_920360_0002.jpg', '/home/pi/Desktop/images/18012025/01/43/image_18012025_01_43_02_920360_0003.jpg', '/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0000.jpg', '/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0001.jpg', '/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0002.jpg', '/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/43/image_18012025_01_43_02_920360_0002.jpg
/home/pi/Desktop/images/18012025/01/43/image_18012025_01_43_02_920360_0003.jpg
/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0000.jpg
/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0001.jpg
/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_0002.jpg
/home/pi/Desktop/images/18012025/01/44/image_18012025_01_44_02_431270_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":["1329621328","1329621241","1329621219","1329621257","1329621215","1329621224"],"photo_ids_order":["1329621215","1329621219","1329621224","1329621241","1329621257","1329621328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7fb5cf15cfcc21ff693191294096eb65.jpg","text":"TemporaryFile(/tmp/multipartBody3362750381569067290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161779630,"filename":"image_18012025_01_44_02_431270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/83a618b7e863d6d4c8f49327da2d152a.jpg","text":"TemporaryFile(/tmp/multipartBody1760191571592169744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161779630,"filename":"image_18012025_01_44_02_431270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f6c6d941e1582bf01f034dc693425f3.jpg","text":"TemporaryFile(/tmp/multipartBody5348792125909150316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161779630,"filename":"image_18012025_01_43_02_920360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/87fd4ee15a54165ee490d7742c12854f.jpg","text":"TemporaryFile(/tmp/multipartBody5603956709275016389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161779630,"filename":"image_18012025_01_44_02_431270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c94dd7f4a923ea7e413a4b6ddb8d032.jpg","text":"TemporaryFile(/tmp/multipartBody7993717277750654981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161779630,"filename":"image_18012025_01_43_02_920360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f741b1a7c13acb3f847a89ca7c23d012.jpg","text":"TemporaryFile(/tmp/multipartBody1735860438960780921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737161779630,"filename":"image_18012025_01_44_02_431270_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329621224","file1":"1329621219","file0":"1329621215","file4":"1329621257","file5":"1329621328","file3":"1329621241"},"map_files_photo_id_array":[{"photo_id":"1329621328","filename":"file5"},{"photo_id":"1329621224","filename":"file2"},{"photo_id":"1329621257","filename":"file4"},{"photo_id":"1329621219","filename":"file1"},{"photo_id":"1329621215","filename":"file0"},{"photo_id":"1329621241","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329621328":["hashtag1","hashtag2"]},{"1329621241":["hashtag1","hashtag2"]},{"1329621219":["hashtag1","hashtag2"]},{"1329621257":["hashtag1","hashtag2"]},{"1329621215":["hashtag1","hashtag2"]},{"1329621224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329621328, 1329621241, 1329621219, 1329621257, 1329621215, 1329621224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.49741077423096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 01:56:22.116860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0000.jpg', '/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0001.jpg', '/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0002.jpg', '/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0003.jpg', '/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0000.jpg', '/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0000.jpg
/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0001.jpg
/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0002.jpg
/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0003.jpg
/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0000.jpg
/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.20645499229431 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 01:57:03.306026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0000.jpg', '/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0001.jpg', '/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0002.jpg', '/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0003.jpg', '/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0000.jpg', '/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0000.jpg
/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0001.jpg
/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0002.jpg
/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0003.jpg
/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0000.jpg
/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_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-18 01:59:03.096554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0000.jpg', '/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0001.jpg', '/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0002.jpg', '/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0003.jpg', '/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0000.jpg', '/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0000.jpg
/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0001.jpg
/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0002.jpg
/home/pi/Desktop/images/18012025/01/45/image_18012025_01_45_03_110710_0003.jpg
/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0000.jpg
/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_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":["1329622356","1329622338","1329622334","1329622328","1329622421","1329622321"],"photo_ids_order":["1329622321","1329622328","1329622334","1329622338","1329622356","1329622421"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/df9f8b09c1c832e1ef3248857297f76a.jpg","text":"TemporaryFile(/tmp/multipartBody7311174590039651016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162019800,"filename":"image_18012025_01_46_02_602003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0db9b41109e57e519492b7a6e8ca7820.jpg","text":"TemporaryFile(/tmp/multipartBody4168146962058801007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162019800,"filename":"image_18012025_01_45_03_110710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ae0b69561f03ec7f45951b9e7d0c356c.jpg","text":"TemporaryFile(/tmp/multipartBody6054182091752260393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162019800,"filename":"image_18012025_01_45_03_110710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ddfaed9f2ca4acb6cf1c65981ad132a.jpg","text":"TemporaryFile(/tmp/multipartBody2551917430616643099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162019800,"filename":"image_18012025_01_45_03_110710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9040be1141ca2ced806c5133ccd24f0d.jpg","text":"TemporaryFile(/tmp/multipartBody9100699846274091571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162019800,"filename":"image_18012025_01_46_02_602003_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3a91ad8edb8ea8abd54ef4b349d91b49.jpg","text":"TemporaryFile(/tmp/multipartBody526209537863564064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162019800,"filename":"image_18012025_01_45_03_110710_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329622334","file1":"1329622328","file0":"1329622321","file4":"1329622356","file5":"1329622421","file3":"1329622338"},"map_files_photo_id_array":[{"photo_id":"1329622421","filename":"file5"},{"photo_id":"1329622334","filename":"file2"},{"photo_id":"1329622356","filename":"file4"},{"photo_id":"1329622328","filename":"file1"},{"photo_id":"1329622321","filename":"file0"},{"photo_id":"1329622338","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329622356":["hashtag1","hashtag2"]},{"1329622338":["hashtag1","hashtag2"]},{"1329622334":["hashtag1","hashtag2"]},{"1329622328":["hashtag1","hashtag2"]},{"1329622421":["hashtag1","hashtag2"]},{"1329622321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329622356, 1329622338, 1329622334, 1329622328, 1329622421, 1329622321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.37480902671814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:00:22.012004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0002.jpg', '/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0003.jpg', '/home/pi/Desktop/images/18012025/01/47/image_18012025_01_47_02_086778_0000.jpg', '/home/pi/Desktop/images/18012025/01/47/image_18012025_01_47_02_086778_0001.jpg', '/home/pi/Desktop/images/18012025/01/47/image_18012025_01_47_02_086778_0002.jpg', '/home/pi/Desktop/images/18012025/01/47/image_18012025_01_47_02_086778_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0002.jpg
/home/pi/Desktop/images/18012025/01/46/image_18012025_01_46_02_602003_0003.jpg
/home/pi/Desktop/images/18012025/01/47/image_18012025_01_47_02_086778_0000.jpg
/home/pi/Desktop/images/18012025/01/47/image_18012025_01_47_02_086778_0001.jpg
/home/pi/Desktop/images/18012025/01/47/image_18012025_01_47_02_086778_0002.jpg
/home/pi/Desktop/images/18012025/01/47/image_18012025_01_47_02_086778_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329622935","1329622929","1329622938","1329622911","1329622916","1329622933"],"photo_ids_order":["1329622911","1329622916","1329622929","1329622933","1329622935","1329622938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca0e9a4dd0c0eea3478762212142bea6.jpg","text":"TemporaryFile(/tmp/multipartBody1105738318745862980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162098681,"filename":"image_18012025_01_47_02_086778_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c8622f945e8b940e49383048c3c4093.jpg","text":"TemporaryFile(/tmp/multipartBody6565759299338421125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162098681,"filename":"image_18012025_01_47_02_086778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7caf71a9a01771710511eec130aab077.jpg","text":"TemporaryFile(/tmp/multipartBody6570645479562985068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162098681,"filename":"image_18012025_01_47_02_086778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d66ce1327960f2c8904ec7c383ad12a2.jpg","text":"TemporaryFile(/tmp/multipartBody7819058854506625860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162098681,"filename":"image_18012025_01_46_02_602003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c040e6e152d7f002876a7b70a863a620.jpg","text":"TemporaryFile(/tmp/multipartBody7177249451134035629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162098681,"filename":"image_18012025_01_46_02_602003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2cb51eb91fb5b9be87c5cbb60aad69dc.jpg","text":"TemporaryFile(/tmp/multipartBody9018208336166305695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162098681,"filename":"image_18012025_01_47_02_086778_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329622929","file1":"1329622916","file0":"1329622911","file4":"1329622935","file5":"1329622938","file3":"1329622933"},"map_files_photo_id_array":[{"photo_id":"1329622938","filename":"file5"},{"photo_id":"1329622929","filename":"file2"},{"photo_id":"1329622935","filename":"file4"},{"photo_id":"1329622916","filename":"file1"},{"photo_id":"1329622911","filename":"file0"},{"photo_id":"1329622933","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329622935":["hashtag1","hashtag2"]},{"1329622929":["hashtag1","hashtag2"]},{"1329622938":["hashtag1","hashtag2"]},{"1329622911":["hashtag1","hashtag2"]},{"1329622916":["hashtag1","hashtag2"]},{"1329622933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329622935, 1329622929, 1329622938, 1329622911, 1329622916, 1329622933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.75744342803955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:01:22.517821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0000.jpg', '/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0001.jpg', '/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0002.jpg', '/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0003.jpg', '/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0000.jpg', '/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0000.jpg
/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0001.jpg
/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0002.jpg
/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0003.jpg
/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0000.jpg
/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.231761932373047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:02:02.430411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0000.jpg', '/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0001.jpg', '/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0002.jpg', '/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0003.jpg', '/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0000.jpg', '/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0000.jpg
/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0001.jpg
/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0002.jpg
/home/pi/Desktop/images/18012025/01/48/image_18012025_01_48_02_593185_0003.jpg
/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0000.jpg
/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329623240","1329623234","1329623315","1329623231","1329623317","1329623322"],"photo_ids_order":["1329623231","1329623234","1329623240","1329623315","1329623317","1329623322"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e717ad028797824206cdf42ed9dfb3bb.jpg","text":"TemporaryFile(/tmp/multipartBody2340010103258604831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162199086,"filename":"image_18012025_01_48_02_593185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6622f5a6211e40c3ada163f07122ea5.jpg","text":"TemporaryFile(/tmp/multipartBody927340680965884557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162199086,"filename":"image_18012025_01_48_02_593185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea801f12b6b6a0dcf6c72a8cfa0b2157.jpg","text":"TemporaryFile(/tmp/multipartBody7496230443952686238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162199086,"filename":"image_18012025_01_48_02_593185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c7907e6dcee8c63f11c0290ab7e7d8d.jpg","text":"TemporaryFile(/tmp/multipartBody6245549535238853022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162199086,"filename":"image_18012025_01_48_02_593185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f803aa46350f8416f071cff4fb266510.jpg","text":"TemporaryFile(/tmp/multipartBody4873028436310735118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162199086,"filename":"image_18012025_01_49_03_150958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/20bc525948846daf06aee1bfe99e8138.jpg","text":"TemporaryFile(/tmp/multipartBody6825236896865237404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162199086,"filename":"image_18012025_01_49_03_150958_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329623240","file1":"1329623234","file0":"1329623231","file4":"1329623317","file5":"1329623322","file3":"1329623315"},"map_files_photo_id_array":[{"photo_id":"1329623322","filename":"file5"},{"photo_id":"1329623240","filename":"file2"},{"photo_id":"1329623317","filename":"file4"},{"photo_id":"1329623234","filename":"file1"},{"photo_id":"1329623231","filename":"file0"},{"photo_id":"1329623315","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329623240":["hashtag1","hashtag2"]},{"1329623234":["hashtag1","hashtag2"]},{"1329623315":["hashtag1","hashtag2"]},{"1329623231":["hashtag1","hashtag2"]},{"1329623317":["hashtag1","hashtag2"]},{"1329623322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329623240, 1329623234, 1329623315, 1329623231, 1329623317, 1329623322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.640804052352905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:03:03.142839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0002.jpg', '/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0003.jpg', '/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0000.jpg', '/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0001.jpg', '/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0002.jpg', '/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0002.jpg
/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0003.jpg
/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0000.jpg
/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0001.jpg
/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0002.jpg
/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_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.54029154777527 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:03:22.401339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0002.jpg', '/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0003.jpg', '/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0000.jpg', '/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0001.jpg', '/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0002.jpg', '/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0002.jpg
/home/pi/Desktop/images/18012025/01/49/image_18012025_01_49_03_150958_0003.jpg
/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0000.jpg
/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0001.jpg
/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0002.jpg
/home/pi/Desktop/images/18012025/01/50/image_18012025_01_50_02_680556_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329623351","1329623383","1329623359","1329623382","1329623355","1329623364"],"photo_ids_order":["1329623351","1329623355","1329623359","1329623364","1329623382","1329623383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c0cab73626c234c08453533282ff539c.jpg","text":"TemporaryFile(/tmp/multipartBody2439529947731341102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162279265,"filename":"image_18012025_01_49_03_150958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2ace13669d07d40061e25ebbb1aa7306.jpg","text":"TemporaryFile(/tmp/multipartBody8729279089979548844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162279265,"filename":"image_18012025_01_50_02_680556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b3885a2e01d4b3c67732748208101ef.jpg","text":"TemporaryFile(/tmp/multipartBody1809224674488653209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162279265,"filename":"image_18012025_01_50_02_680556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/88556cbd2d52d52c33e6899e12db5abe.jpg","text":"TemporaryFile(/tmp/multipartBody9207272297443651552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162279265,"filename":"image_18012025_01_50_02_680556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a7c7627658c7e05ffd17014cbdbeeafa.jpg","text":"TemporaryFile(/tmp/multipartBody6771594245398824003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162279265,"filename":"image_18012025_01_49_03_150958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1801e3066ec41b0648f0108ea57d794b.jpg","text":"TemporaryFile(/tmp/multipartBody3180616601453925073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162279265,"filename":"image_18012025_01_50_02_680556_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329623359","file1":"1329623355","file0":"1329623351","file4":"1329623382","file5":"1329623383","file3":"1329623364"},"map_files_photo_id_array":[{"photo_id":"1329623383","filename":"file5"},{"photo_id":"1329623359","filename":"file2"},{"photo_id":"1329623382","filename":"file4"},{"photo_id":"1329623355","filename":"file1"},{"photo_id":"1329623351","filename":"file0"},{"photo_id":"1329623364","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329623351":["hashtag1","hashtag2"]},{"1329623383":["hashtag1","hashtag2"]},{"1329623359":["hashtag1","hashtag2"]},{"1329623382":["hashtag1","hashtag2"]},{"1329623355":["hashtag1","hashtag2"]},{"1329623364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329623351, 1329623383, 1329623359, 1329623382, 1329623355, 1329623364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.827810764312744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:04:22.139364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/51/image_18012025_01_51_02_278279_0000.jpg', '/home/pi/Desktop/images/18012025/01/51/image_18012025_01_51_02_278279_0001.jpg', '/home/pi/Desktop/images/18012025/01/51/image_18012025_01_51_02_278279_0002.jpg', '/home/pi/Desktop/images/18012025/01/51/image_18012025_01_51_02_278279_0003.jpg', '/home/pi/Desktop/images/18012025/01/52/image_18012025_01_52_02_887769_0000.jpg', '/home/pi/Desktop/images/18012025/01/52/image_18012025_01_52_02_887769_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/51/image_18012025_01_51_02_278279_0000.jpg
/home/pi/Desktop/images/18012025/01/51/image_18012025_01_51_02_278279_0001.jpg
/home/pi/Desktop/images/18012025/01/51/image_18012025_01_51_02_278279_0002.jpg
/home/pi/Desktop/images/18012025/01/51/image_18012025_01_51_02_278279_0003.jpg
/home/pi/Desktop/images/18012025/01/52/image_18012025_01_52_02_887769_0000.jpg
/home/pi/Desktop/images/18012025/01/52/image_18012025_01_52_02_887769_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329623532","1329623477","1329623491","1329623488","1329623469","1329623442"],"photo_ids_order":["1329623442","1329623469","1329623477","1329623488","1329623491","1329623532"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/61ee0f8fbefe40bdbbddf454762b9439.jpg","text":"TemporaryFile(/tmp/multipartBody1525436943049410971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162339110,"filename":"image_18012025_01_52_02_887769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac2174fd694bee7d61c9ebbd3f139c4c.jpg","text":"TemporaryFile(/tmp/multipartBody4095716340257424110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162339110,"filename":"image_18012025_01_51_02_278279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/027825195a3fbe7d4169327931d86334.jpg","text":"TemporaryFile(/tmp/multipartBody5246464390990487400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162339110,"filename":"image_18012025_01_52_02_887769_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f8a2898257623b467f39d085ff293d67.jpg","text":"TemporaryFile(/tmp/multipartBody2918881445289518841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162339110,"filename":"image_18012025_01_51_02_278279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ea49418b6a43686846b1a858b2f95e0.jpg","text":"TemporaryFile(/tmp/multipartBody4619412839747257960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162339110,"filename":"image_18012025_01_51_02_278279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2aca511015b841f5a8420cd939193ee.jpg","text":"TemporaryFile(/tmp/multipartBody3285648057756477669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162339110,"filename":"image_18012025_01_51_02_278279_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329623477","file1":"1329623469","file0":"1329623442","file4":"1329623491","file5":"1329623532","file3":"1329623488"},"map_files_photo_id_array":[{"photo_id":"1329623532","filename":"file5"},{"photo_id":"1329623477","filename":"file2"},{"photo_id":"1329623491","filename":"file4"},{"photo_id":"1329623469","filename":"file1"},{"photo_id":"1329623442","filename":"file0"},{"photo_id":"1329623488","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329623532":["hashtag1","hashtag2"]},{"1329623477":["hashtag1","hashtag2"]},{"1329623491":["hashtag1","hashtag2"]},{"1329623488":["hashtag1","hashtag2"]},{"1329623469":["hashtag1","hashtag2"]},{"1329623442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329623532, 1329623477, 1329623491, 1329623488, 1329623469, 1329623442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.88415598869324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:05:22.631504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/52/image_18012025_01_52_02_887769_0002.jpg', '/home/pi/Desktop/images/18012025/01/52/image_18012025_01_52_02_887769_0003.jpg', '/home/pi/Desktop/images/18012025/01/53/image_18012025_01_53_02_399844_0000.jpg', '/home/pi/Desktop/images/18012025/01/53/image_18012025_01_53_02_399844_0001.jpg', '/home/pi/Desktop/images/18012025/01/53/image_18012025_01_53_02_399844_0002.jpg', '/home/pi/Desktop/images/18012025/01/53/image_18012025_01_53_02_399844_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/52/image_18012025_01_52_02_887769_0002.jpg
/home/pi/Desktop/images/18012025/01/52/image_18012025_01_52_02_887769_0003.jpg
/home/pi/Desktop/images/18012025/01/53/image_18012025_01_53_02_399844_0000.jpg
/home/pi/Desktop/images/18012025/01/53/image_18012025_01_53_02_399844_0001.jpg
/home/pi/Desktop/images/18012025/01/53/image_18012025_01_53_02_399844_0002.jpg
/home/pi/Desktop/images/18012025/01/53/image_18012025_01_53_02_399844_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329624155","1329624187","1329624175","1329624184","1329624151","1329624182"],"photo_ids_order":["1329624151","1329624155","1329624175","1329624182","1329624184","1329624187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1cc4018a3f23f0bc1a54aadcb2567126.jpg","text":"TemporaryFile(/tmp/multipartBody4525583485843477567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162399309,"filename":"image_18012025_01_52_02_887769_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1bbf9157adf5ae5849592cee81cdf76b.jpg","text":"TemporaryFile(/tmp/multipartBody6847266784574170169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162399309,"filename":"image_18012025_01_53_02_399844_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17b9b5634b5235ce4d5316298561109e.jpg","text":"TemporaryFile(/tmp/multipartBody6226445550336860110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162399309,"filename":"image_18012025_01_53_02_399844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/636b418f6b17ef4003fe7ba4b34b9f24.jpg","text":"TemporaryFile(/tmp/multipartBody3169005782307420593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162399309,"filename":"image_18012025_01_53_02_399844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/79f60f93f0349de2d3806f14eff20040.jpg","text":"TemporaryFile(/tmp/multipartBody4892256057239788638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162399309,"filename":"image_18012025_01_52_02_887769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/909b28ae5ad9f9750316704ded9c84c7.jpg","text":"TemporaryFile(/tmp/multipartBody126008994963925528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162399309,"filename":"image_18012025_01_53_02_399844_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329624175","file1":"1329624155","file0":"1329624151","file4":"1329624184","file5":"1329624187","file3":"1329624182"},"map_files_photo_id_array":[{"photo_id":"1329624187","filename":"file5"},{"photo_id":"1329624175","filename":"file2"},{"photo_id":"1329624184","filename":"file4"},{"photo_id":"1329624155","filename":"file1"},{"photo_id":"1329624151","filename":"file0"},{"photo_id":"1329624182","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329624155":["hashtag1","hashtag2"]},{"1329624187":["hashtag1","hashtag2"]},{"1329624175":["hashtag1","hashtag2"]},{"1329624184":["hashtag1","hashtag2"]},{"1329624151":["hashtag1","hashtag2"]},{"1329624182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329624155, 1329624187, 1329624175, 1329624184, 1329624151, 1329624182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.63069438934326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:06:22.116531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0000.jpg', '/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0001.jpg', '/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0002.jpg', '/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0003.jpg', '/home/pi/Desktop/images/18012025/01/55/image_18012025_01_55_02_393572_0000.jpg', '/home/pi/Desktop/images/18012025/01/55/image_18012025_01_55_02_393572_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0000.jpg
/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0001.jpg
/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0002.jpg
/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0003.jpg
/home/pi/Desktop/images/18012025/01/55/image_18012025_01_55_02_393572_0000.jpg
/home/pi/Desktop/images/18012025/01/55/image_18012025_01_55_02_393572_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.098671913146973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:07:03.286279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0000.jpg', '/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0001.jpg', '/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0002.jpg', '/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0003.jpg', '/home/pi/Desktop/images/18012025/01/55/image_18012025_01_55_02_393572_0000.jpg', '/home/pi/Desktop/images/18012025/01/55/image_18012025_01_55_02_393572_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0000.jpg
/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0001.jpg
/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0002.jpg
/home/pi/Desktop/images/18012025/01/54/image_18012025_01_54_02_901422_0003.jpg
/home/pi/Desktop/images/18012025/01/55/image_18012025_01_55_02_393572_0000.jpg
/home/pi/Desktop/images/18012025/01/55/image_18012025_01_55_02_393572_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":["1329624509","1329624487","1329624496","1329624492","1329624513","1329624522"],"photo_ids_order":["1329624487","1329624492","1329624496","1329624509","1329624513","1329624522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/57426b80fc16a66d6fe2ccf00fa85f95.jpg","text":"TemporaryFile(/tmp/multipartBody4416662893125739404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162500947,"filename":"image_18012025_01_54_02_901422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f5f6c35b295301f396edc1a54ac022e.jpg","text":"TemporaryFile(/tmp/multipartBody6404168846245102466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162500947,"filename":"image_18012025_01_54_02_901422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6d88fb57bf9bafaf8f05ce2a7385647.jpg","text":"TemporaryFile(/tmp/multipartBody3950041779819678279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162500947,"filename":"image_18012025_01_54_02_901422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2921fb45dc25fefd35534031c4ae7691.jpg","text":"TemporaryFile(/tmp/multipartBody4031707510614843939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162500947,"filename":"image_18012025_01_54_02_901422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01661c9f82e55dfb3ae3fac653bf2bc4.jpg","text":"TemporaryFile(/tmp/multipartBody3924741097285329403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162500947,"filename":"image_18012025_01_55_02_393572_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e55bdabc55c8e1252f39f316db568faa.jpg","text":"TemporaryFile(/tmp/multipartBody4530670153947966180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162500947,"filename":"image_18012025_01_55_02_393572_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329624496","file1":"1329624492","file0":"1329624487","file4":"1329624513","file5":"1329624522","file3":"1329624509"},"map_files_photo_id_array":[{"photo_id":"1329624522","filename":"file5"},{"photo_id":"1329624496","filename":"file2"},{"photo_id":"1329624513","filename":"file4"},{"photo_id":"1329624492","filename":"file1"},{"photo_id":"1329624487","filename":"file0"},{"photo_id":"1329624509","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329624509":["hashtag1","hashtag2"]},{"1329624487":["hashtag1","hashtag2"]},{"1329624496":["hashtag1","hashtag2"]},{"1329624492":["hashtag1","hashtag2"]},{"1329624513":["hashtag1","hashtag2"]},{"1329624522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329624509, 1329624487, 1329624496, 1329624492, 1329624513, 1329624522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.70343327522278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:08:22.355491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/55/image_18012025_01_55_02_393572_0002.jpg', '/home/pi/Desktop/images/18012025/01/55/image_18012025_01_55_02_393572_0003.jpg', '/home/pi/Desktop/images/18012025/01/56/image_18012025_01_56_02_911300_0000.jpg', '/home/pi/Desktop/images/18012025/01/56/image_18012025_01_56_02_911300_0001.jpg', '/home/pi/Desktop/images/18012025/01/56/image_18012025_01_56_02_911300_0002.jpg', '/home/pi/Desktop/images/18012025/01/56/image_18012025_01_56_02_911300_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/55/image_18012025_01_55_02_393572_0002.jpg
/home/pi/Desktop/images/18012025/01/55/image_18012025_01_55_02_393572_0003.jpg
/home/pi/Desktop/images/18012025/01/56/image_18012025_01_56_02_911300_0000.jpg
/home/pi/Desktop/images/18012025/01/56/image_18012025_01_56_02_911300_0001.jpg
/home/pi/Desktop/images/18012025/01/56/image_18012025_01_56_02_911300_0002.jpg
/home/pi/Desktop/images/18012025/01/56/image_18012025_01_56_02_911300_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329624638","1329624623","1329624592","1329624625","1329624588","1329624618"],"photo_ids_order":["1329624588","1329624592","1329624618","1329624623","1329624625","1329624638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f85df7dfbaf1fc48a1623d19c47760ba.jpg","text":"TemporaryFile(/tmp/multipartBody248816629486610311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162579162,"filename":"image_18012025_01_56_02_911300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/596f0388aac317e11f622766ce8f8051.jpg","text":"TemporaryFile(/tmp/multipartBody8745993481066819686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162579162,"filename":"image_18012025_01_56_02_911300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ddf261b12428c4640bef622976b7ea1a.jpg","text":"TemporaryFile(/tmp/multipartBody6582237217541122254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162579162,"filename":"image_18012025_01_55_02_393572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/999a47977b3ee98c49a16834ab8277d5.jpg","text":"TemporaryFile(/tmp/multipartBody1065254345877205659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162579162,"filename":"image_18012025_01_56_02_911300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a87d98e56134d0043380d4fdb2cb4c4.jpg","text":"TemporaryFile(/tmp/multipartBody1221255994862770821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162579162,"filename":"image_18012025_01_55_02_393572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65556718419a4a7bf35f5ba3f4e14d04.jpg","text":"TemporaryFile(/tmp/multipartBody5527506537899373219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162579162,"filename":"image_18012025_01_56_02_911300_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329624618","file1":"1329624592","file0":"1329624588","file4":"1329624625","file5":"1329624638","file3":"1329624623"},"map_files_photo_id_array":[{"photo_id":"1329624638","filename":"file5"},{"photo_id":"1329624618","filename":"file2"},{"photo_id":"1329624625","filename":"file4"},{"photo_id":"1329624592","filename":"file1"},{"photo_id":"1329624588","filename":"file0"},{"photo_id":"1329624623","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329624638":["hashtag1","hashtag2"]},{"1329624623":["hashtag1","hashtag2"]},{"1329624592":["hashtag1","hashtag2"]},{"1329624625":["hashtag1","hashtag2"]},{"1329624588":["hashtag1","hashtag2"]},{"1329624618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329624638, 1329624623, 1329624592, 1329624625, 1329624588, 1329624618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.68034529685974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:09:21.839709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/57/image_18012025_01_57_02_508963_0000.jpg', '/home/pi/Desktop/images/18012025/01/57/image_18012025_01_57_02_508963_0001.jpg', '/home/pi/Desktop/images/18012025/01/57/image_18012025_01_57_02_508963_0002.jpg', '/home/pi/Desktop/images/18012025/01/57/image_18012025_01_57_02_508963_0003.jpg', '/home/pi/Desktop/images/18012025/01/58/image_18012025_01_58_03_005727_0000.jpg', '/home/pi/Desktop/images/18012025/01/58/image_18012025_01_58_03_005727_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/57/image_18012025_01_57_02_508963_0000.jpg
/home/pi/Desktop/images/18012025/01/57/image_18012025_01_57_02_508963_0001.jpg
/home/pi/Desktop/images/18012025/01/57/image_18012025_01_57_02_508963_0002.jpg
/home/pi/Desktop/images/18012025/01/57/image_18012025_01_57_02_508963_0003.jpg
/home/pi/Desktop/images/18012025/01/58/image_18012025_01_58_03_005727_0000.jpg
/home/pi/Desktop/images/18012025/01/58/image_18012025_01_58_03_005727_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":["1329624677","1329624682","1329624688","1329624646","1329624672","1329624686"],"photo_ids_order":["1329624646","1329624672","1329624677","1329624682","1329624686","1329624688"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b8011d22d2f3cf6138cdb0779c72dc15.jpg","text":"TemporaryFile(/tmp/multipartBody3739848405136421061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162639191,"filename":"image_18012025_01_57_02_508963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e41c57bc565c3260885c43c73083406.jpg","text":"TemporaryFile(/tmp/multipartBody4398515280796498699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162639191,"filename":"image_18012025_01_57_02_508963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea84e8fc401565e2efe84e4d9350ab91.jpg","text":"TemporaryFile(/tmp/multipartBody3570605756748280111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162639191,"filename":"image_18012025_01_58_03_005727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1651662b2b63feadecd5ee2632eacb57.jpg","text":"TemporaryFile(/tmp/multipartBody6161046026234334655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162639191,"filename":"image_18012025_01_57_02_508963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/377c7f4f3c0c3affb88cd794ee032943.jpg","text":"TemporaryFile(/tmp/multipartBody2714359162673013763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162639191,"filename":"image_18012025_01_57_02_508963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7f81e00d31e3e236886d3fea6deb5ec2.jpg","text":"TemporaryFile(/tmp/multipartBody8506338487070531454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162639191,"filename":"image_18012025_01_58_03_005727_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329624677","file1":"1329624672","file0":"1329624646","file4":"1329624686","file5":"1329624688","file3":"1329624682"},"map_files_photo_id_array":[{"photo_id":"1329624688","filename":"file5"},{"photo_id":"1329624677","filename":"file2"},{"photo_id":"1329624686","filename":"file4"},{"photo_id":"1329624672","filename":"file1"},{"photo_id":"1329624646","filename":"file0"},{"photo_id":"1329624682","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329624677":["hashtag1","hashtag2"]},{"1329624682":["hashtag1","hashtag2"]},{"1329624688":["hashtag1","hashtag2"]},{"1329624646":["hashtag1","hashtag2"]},{"1329624672":["hashtag1","hashtag2"]},{"1329624686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329624677, 1329624682, 1329624688, 1329624646, 1329624672, 1329624686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.369722843170166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:11:02.602012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/58/image_18012025_01_58_03_005727_0002.jpg', '/home/pi/Desktop/images/18012025/01/58/image_18012025_01_58_03_005727_0003.jpg', '/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0000.jpg', '/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0001.jpg', '/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0002.jpg', '/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/58/image_18012025_01_58_03_005727_0002.jpg
/home/pi/Desktop/images/18012025/01/58/image_18012025_01_58_03_005727_0003.jpg
/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0000.jpg
/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0001.jpg
/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0002.jpg
/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_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.19725203514099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:11:21.865973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/01/58/image_18012025_01_58_03_005727_0002.jpg', '/home/pi/Desktop/images/18012025/01/58/image_18012025_01_58_03_005727_0003.jpg', '/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0000.jpg', '/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0001.jpg', '/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0002.jpg', '/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/01/58/image_18012025_01_58_03_005727_0002.jpg
/home/pi/Desktop/images/18012025/01/58/image_18012025_01_58_03_005727_0003.jpg
/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0000.jpg
/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0001.jpg
/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0002.jpg
/home/pi/Desktop/images/18012025/01/59/image_18012025_01_59_02_606310_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329624859","1329624805","1329624840","1329624881","1329624828","1329624884"],"photo_ids_order":["1329624805","1329624828","1329624840","1329624859","1329624881","1329624884"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c3b794f3e54b4491c6046cb89dc636c.jpg","text":"TemporaryFile(/tmp/multipartBody4293496650925472935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162758450,"filename":"image_18012025_01_59_02_606310_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4518f2c89d216a2ff83a9111f2c31919.jpg","text":"TemporaryFile(/tmp/multipartBody362152764850636765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162758450,"filename":"image_18012025_01_58_03_005727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/599584c447931078b36f4c2f7856ba4f.jpg","text":"TemporaryFile(/tmp/multipartBody6193809288721350256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162758450,"filename":"image_18012025_01_59_02_606310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e075b5cc1d1e5088576cd40716205d8.jpg","text":"TemporaryFile(/tmp/multipartBody8240759488311382692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162758450,"filename":"image_18012025_01_59_02_606310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8be1eebae2908c0de3be217df37d78fa.jpg","text":"TemporaryFile(/tmp/multipartBody5010815811221124046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162758450,"filename":"image_18012025_01_58_03_005727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7673f58f8fe8020730ab4db9830fae19.jpg","text":"TemporaryFile(/tmp/multipartBody566372749773957061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162758450,"filename":"image_18012025_01_59_02_606310_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329624840","file1":"1329624828","file0":"1329624805","file4":"1329624881","file5":"1329624884","file3":"1329624859"},"map_files_photo_id_array":[{"photo_id":"1329624884","filename":"file5"},{"photo_id":"1329624840","filename":"file2"},{"photo_id":"1329624881","filename":"file4"},{"photo_id":"1329624828","filename":"file1"},{"photo_id":"1329624805","filename":"file0"},{"photo_id":"1329624859","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329624859":["hashtag1","hashtag2"]},{"1329624805":["hashtag1","hashtag2"]},{"1329624840":["hashtag1","hashtag2"]},{"1329624881":["hashtag1","hashtag2"]},{"1329624828":["hashtag1","hashtag2"]},{"1329624884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329624859, 1329624805, 1329624840, 1329624881, 1329624828, 1329624884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.13870406150818 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:12:22.639642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/00/image_18012025_02_00_02_724727_0000.jpg', '/home/pi/Desktop/images/18012025/02/00/image_18012025_02_00_02_724727_0001.jpg', '/home/pi/Desktop/images/18012025/02/00/image_18012025_02_00_02_724727_0002.jpg', '/home/pi/Desktop/images/18012025/02/00/image_18012025_02_00_02_724727_0003.jpg', '/home/pi/Desktop/images/18012025/02/01/image_18012025_02_01_02_387120_0000.jpg', '/home/pi/Desktop/images/18012025/02/01/image_18012025_02_01_02_387120_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/00/image_18012025_02_00_02_724727_0000.jpg
/home/pi/Desktop/images/18012025/02/00/image_18012025_02_00_02_724727_0001.jpg
/home/pi/Desktop/images/18012025/02/00/image_18012025_02_00_02_724727_0002.jpg
/home/pi/Desktop/images/18012025/02/00/image_18012025_02_00_02_724727_0003.jpg
/home/pi/Desktop/images/18012025/02/01/image_18012025_02_01_02_387120_0000.jpg
/home/pi/Desktop/images/18012025/02/01/image_18012025_02_01_02_387120_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329625023","1329625061","1329625085","1329625058","1329625046","1329625055"],"photo_ids_order":["1329625023","1329625046","1329625055","1329625058","1329625061","1329625085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8d551c1398a90b58e25d1a677f683056.jpg","text":"TemporaryFile(/tmp/multipartBody2710623612527157626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162819167,"filename":"image_18012025_02_00_02_724727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7ae5e2060f71a106eabe898afcf7dc2.jpg","text":"TemporaryFile(/tmp/multipartBody1852644612538632283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162819167,"filename":"image_18012025_02_01_02_387120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01751e99ee5cdfa1fbc70e989159fb55.jpg","text":"TemporaryFile(/tmp/multipartBody6070693562956632287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162819167,"filename":"image_18012025_02_01_02_387120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/62427b46b20ed48682c2adcac897ea9b.jpg","text":"TemporaryFile(/tmp/multipartBody5910335462343160765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162819167,"filename":"image_18012025_02_00_02_724727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f3ee9be3c631169dd81472313792233.jpg","text":"TemporaryFile(/tmp/multipartBody2608708878618134179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162819167,"filename":"image_18012025_02_00_02_724727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0383d5b2b6ec553d2f48fb5304dbcbdb.jpg","text":"TemporaryFile(/tmp/multipartBody7397690439549579439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162819167,"filename":"image_18012025_02_00_02_724727_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329625055","file1":"1329625046","file0":"1329625023","file4":"1329625061","file5":"1329625085","file3":"1329625058"},"map_files_photo_id_array":[{"photo_id":"1329625085","filename":"file5"},{"photo_id":"1329625055","filename":"file2"},{"photo_id":"1329625061","filename":"file4"},{"photo_id":"1329625046","filename":"file1"},{"photo_id":"1329625023","filename":"file0"},{"photo_id":"1329625058","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329625023":["hashtag1","hashtag2"]},{"1329625061":["hashtag1","hashtag2"]},{"1329625085":["hashtag1","hashtag2"]},{"1329625058":["hashtag1","hashtag2"]},{"1329625046":["hashtag1","hashtag2"]},{"1329625055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329625023, 1329625061, 1329625085, 1329625058, 1329625046, 1329625055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.52003717422485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:13:22.121233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/01/image_18012025_02_01_02_387120_0002.jpg', '/home/pi/Desktop/images/18012025/02/01/image_18012025_02_01_02_387120_0003.jpg', '/home/pi/Desktop/images/18012025/02/02/image_18012025_02_02_02_886827_0000.jpg', '/home/pi/Desktop/images/18012025/02/02/image_18012025_02_02_02_886827_0001.jpg', '/home/pi/Desktop/images/18012025/02/02/image_18012025_02_02_02_886827_0002.jpg', '/home/pi/Desktop/images/18012025/02/02/image_18012025_02_02_02_886827_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/01/image_18012025_02_01_02_387120_0002.jpg
/home/pi/Desktop/images/18012025/02/01/image_18012025_02_01_02_387120_0003.jpg
/home/pi/Desktop/images/18012025/02/02/image_18012025_02_02_02_886827_0000.jpg
/home/pi/Desktop/images/18012025/02/02/image_18012025_02_02_02_886827_0001.jpg
/home/pi/Desktop/images/18012025/02/02/image_18012025_02_02_02_886827_0002.jpg
/home/pi/Desktop/images/18012025/02/02/image_18012025_02_02_02_886827_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329625121","1329625123","1329625126","1329625116","1329625107","1329625112"],"photo_ids_order":["1329625107","1329625112","1329625116","1329625121","1329625123","1329625126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ab25bfeab0387c93f55ec481a520be6c.jpg","text":"TemporaryFile(/tmp/multipartBody4990430117596790866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162878835,"filename":"image_18012025_02_02_02_886827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6e9abb018604b45cd61ca3ffe7d389c.jpg","text":"TemporaryFile(/tmp/multipartBody2379320462507412671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162878835,"filename":"image_18012025_02_02_02_886827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d762cdabc14b70dc5d7bb77755db6725.jpg","text":"TemporaryFile(/tmp/multipartBody3116950990477329560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162878835,"filename":"image_18012025_02_02_02_886827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e9e2cbec087dcfaa89af986a549eaba3.jpg","text":"TemporaryFile(/tmp/multipartBody9216531230518128584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162878835,"filename":"image_18012025_02_02_02_886827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f341504c8ea70134b5690011a183b2d5.jpg","text":"TemporaryFile(/tmp/multipartBody4908948528169076589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162878835,"filename":"image_18012025_02_01_02_387120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9219d40a0634bdf2399d93111e8fa032.jpg","text":"TemporaryFile(/tmp/multipartBody51520369387754884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162878835,"filename":"image_18012025_02_01_02_387120_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329625116","file1":"1329625112","file0":"1329625107","file4":"1329625123","file5":"1329625126","file3":"1329625121"},"map_files_photo_id_array":[{"photo_id":"1329625126","filename":"file5"},{"photo_id":"1329625116","filename":"file2"},{"photo_id":"1329625123","filename":"file4"},{"photo_id":"1329625112","filename":"file1"},{"photo_id":"1329625107","filename":"file0"},{"photo_id":"1329625121","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329625121":["hashtag1","hashtag2"]},{"1329625123":["hashtag1","hashtag2"]},{"1329625126":["hashtag1","hashtag2"]},{"1329625116":["hashtag1","hashtag2"]},{"1329625107":["hashtag1","hashtag2"]},{"1329625112":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329625121, 1329625123, 1329625126, 1329625116, 1329625107, 1329625112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.20493221282959 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:14:22.683103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/03/image_18012025_02_03_02_377445_0000.jpg', '/home/pi/Desktop/images/18012025/02/03/image_18012025_02_03_02_377445_0001.jpg', '/home/pi/Desktop/images/18012025/02/03/image_18012025_02_03_02_377445_0002.jpg', '/home/pi/Desktop/images/18012025/02/03/image_18012025_02_03_02_377445_0003.jpg', '/home/pi/Desktop/images/18012025/02/04/image_18012025_02_04_02_860030_0000.jpg', '/home/pi/Desktop/images/18012025/02/04/image_18012025_02_04_02_860030_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/03/image_18012025_02_03_02_377445_0000.jpg
/home/pi/Desktop/images/18012025/02/03/image_18012025_02_03_02_377445_0001.jpg
/home/pi/Desktop/images/18012025/02/03/image_18012025_02_03_02_377445_0002.jpg
/home/pi/Desktop/images/18012025/02/03/image_18012025_02_03_02_377445_0003.jpg
/home/pi/Desktop/images/18012025/02/04/image_18012025_02_04_02_860030_0000.jpg
/home/pi/Desktop/images/18012025/02/04/image_18012025_02_04_02_860030_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329625156","1329625150","1329625144","1329625147","1329625152","1329625140"],"photo_ids_order":["1329625140","1329625144","1329625147","1329625150","1329625152","1329625156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b938b36833e130d00c77faaf046c4beb.jpg","text":"TemporaryFile(/tmp/multipartBody6213061998663913514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162939275,"filename":"image_18012025_02_04_02_860030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f78e030fd1b8450dd354ca4526351078.jpg","text":"TemporaryFile(/tmp/multipartBody1587822481118204319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162939275,"filename":"image_18012025_02_03_02_377445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d67a44c71644a02425cfecddbfc7b839.jpg","text":"TemporaryFile(/tmp/multipartBody8840123630653333752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162939275,"filename":"image_18012025_02_03_02_377445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/11f0150f0f979a8370dd56cdc562afc1.jpg","text":"TemporaryFile(/tmp/multipartBody6364795035178353953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162939275,"filename":"image_18012025_02_03_02_377445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15162dcc0295a236acd4840e91c55faa.jpg","text":"TemporaryFile(/tmp/multipartBody6046531125797601771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162939275,"filename":"image_18012025_02_04_02_860030_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/487db7e6cd693eab75bc0709f474baa2.jpg","text":"TemporaryFile(/tmp/multipartBody8132650108809941608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162939275,"filename":"image_18012025_02_03_02_377445_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329625147","file1":"1329625144","file0":"1329625140","file4":"1329625152","file5":"1329625156","file3":"1329625150"},"map_files_photo_id_array":[{"photo_id":"1329625156","filename":"file5"},{"photo_id":"1329625147","filename":"file2"},{"photo_id":"1329625152","filename":"file4"},{"photo_id":"1329625144","filename":"file1"},{"photo_id":"1329625140","filename":"file0"},{"photo_id":"1329625150","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329625156":["hashtag1","hashtag2"]},{"1329625150":["hashtag1","hashtag2"]},{"1329625144":["hashtag1","hashtag2"]},{"1329625147":["hashtag1","hashtag2"]},{"1329625152":["hashtag1","hashtag2"]},{"1329625140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329625156, 1329625150, 1329625144, 1329625147, 1329625152, 1329625140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.54179906845093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:15:22.225769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/04/image_18012025_02_04_02_860030_0002.jpg', '/home/pi/Desktop/images/18012025/02/04/image_18012025_02_04_02_860030_0003.jpg', '/home/pi/Desktop/images/18012025/02/05/image_18012025_02_05_02_525240_0000.jpg', '/home/pi/Desktop/images/18012025/02/05/image_18012025_02_05_02_525240_0001.jpg', '/home/pi/Desktop/images/18012025/02/05/image_18012025_02_05_02_525240_0002.jpg', '/home/pi/Desktop/images/18012025/02/05/image_18012025_02_05_02_525240_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/04/image_18012025_02_04_02_860030_0002.jpg
/home/pi/Desktop/images/18012025/02/04/image_18012025_02_04_02_860030_0003.jpg
/home/pi/Desktop/images/18012025/02/05/image_18012025_02_05_02_525240_0000.jpg
/home/pi/Desktop/images/18012025/02/05/image_18012025_02_05_02_525240_0001.jpg
/home/pi/Desktop/images/18012025/02/05/image_18012025_02_05_02_525240_0002.jpg
/home/pi/Desktop/images/18012025/02/05/image_18012025_02_05_02_525240_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329625198","1329625192","1329625186","1329625176","1329625196","1329625181"],"photo_ids_order":["1329625176","1329625181","1329625186","1329625192","1329625196","1329625198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4599ca5e4dc6286dff0260518d523ae.jpg","text":"TemporaryFile(/tmp/multipartBody619928041882211097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162999048,"filename":"image_18012025_02_05_02_525240_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af577b959dd2f93401ff6779fd840fd4.jpg","text":"TemporaryFile(/tmp/multipartBody5470672932013525853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162999048,"filename":"image_18012025_02_05_02_525240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a9201a90d6c3338d9ed4900bda03633.jpg","text":"TemporaryFile(/tmp/multipartBody4926753856512751206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162999048,"filename":"image_18012025_02_05_02_525240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ca834dfd1fdebdfafdeb8e2bdffba3d.jpg","text":"TemporaryFile(/tmp/multipartBody393825262089604538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162999048,"filename":"image_18012025_02_04_02_860030_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e820b5fbb084f4c55c9ec54157526ca.jpg","text":"TemporaryFile(/tmp/multipartBody1026448881569174593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162999048,"filename":"image_18012025_02_05_02_525240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/76d818dd3cf901a61b385bce237eefba.jpg","text":"TemporaryFile(/tmp/multipartBody976956187516302435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737162999048,"filename":"image_18012025_02_04_02_860030_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329625186","file1":"1329625181","file0":"1329625176","file4":"1329625196","file5":"1329625198","file3":"1329625192"},"map_files_photo_id_array":[{"photo_id":"1329625198","filename":"file5"},{"photo_id":"1329625186","filename":"file2"},{"photo_id":"1329625196","filename":"file4"},{"photo_id":"1329625181","filename":"file1"},{"photo_id":"1329625176","filename":"file0"},{"photo_id":"1329625192","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329625198":["hashtag1","hashtag2"]},{"1329625192":["hashtag1","hashtag2"]},{"1329625186":["hashtag1","hashtag2"]},{"1329625176":["hashtag1","hashtag2"]},{"1329625196":["hashtag1","hashtag2"]},{"1329625181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329625198, 1329625192, 1329625186, 1329625176, 1329625196, 1329625181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.80501627922058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:16:22.675299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/06/image_18012025_02_06_03_048691_0000.jpg', '/home/pi/Desktop/images/18012025/02/06/image_18012025_02_06_03_048691_0001.jpg', '/home/pi/Desktop/images/18012025/02/06/image_18012025_02_06_03_048691_0002.jpg', '/home/pi/Desktop/images/18012025/02/06/image_18012025_02_06_03_048691_0003.jpg', '/home/pi/Desktop/images/18012025/02/07/image_18012025_02_07_02_568633_0000.jpg', '/home/pi/Desktop/images/18012025/02/07/image_18012025_02_07_02_568633_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/06/image_18012025_02_06_03_048691_0000.jpg
/home/pi/Desktop/images/18012025/02/06/image_18012025_02_06_03_048691_0001.jpg
/home/pi/Desktop/images/18012025/02/06/image_18012025_02_06_03_048691_0002.jpg
/home/pi/Desktop/images/18012025/02/06/image_18012025_02_06_03_048691_0003.jpg
/home/pi/Desktop/images/18012025/02/07/image_18012025_02_07_02_568633_0000.jpg
/home/pi/Desktop/images/18012025/02/07/image_18012025_02_07_02_568633_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":["1329625267","1329625276","1329625261","1329625255","1329625272","1329625266"],"photo_ids_order":["1329625255","1329625261","1329625266","1329625267","1329625272","1329625276"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b5ae2cbcc9ca71db273153c4f193a1b1.jpg","text":"TemporaryFile(/tmp/multipartBody8553882095121440392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163058961,"filename":"image_18012025_02_06_03_048691_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74c8b281c620c99e1f82f4382cfb4bf2.jpg","text":"TemporaryFile(/tmp/multipartBody483554681208193695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163058961,"filename":"image_18012025_02_07_02_568633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac5d6078bc54d4ae8c8fc79fc0872536.jpg","text":"TemporaryFile(/tmp/multipartBody3471090280374680284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163058961,"filename":"image_18012025_02_06_03_048691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de29f06b967ebb35a97c1fea99fc2f18.jpg","text":"TemporaryFile(/tmp/multipartBody7004311987204134084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163058961,"filename":"image_18012025_02_06_03_048691_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2ecc3fdf56bb582c772ee5167ab0299.jpg","text":"TemporaryFile(/tmp/multipartBody505329316027135678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163058961,"filename":"image_18012025_02_07_02_568633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f8b39ef53bc0f99ce4834557ff9af0b4.jpg","text":"TemporaryFile(/tmp/multipartBody775923207071886441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163058961,"filename":"image_18012025_02_06_03_048691_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329625266","file1":"1329625261","file0":"1329625255","file4":"1329625272","file5":"1329625276","file3":"1329625267"},"map_files_photo_id_array":[{"photo_id":"1329625276","filename":"file5"},{"photo_id":"1329625266","filename":"file2"},{"photo_id":"1329625272","filename":"file4"},{"photo_id":"1329625261","filename":"file1"},{"photo_id":"1329625255","filename":"file0"},{"photo_id":"1329625267","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329625267":["hashtag1","hashtag2"]},{"1329625276":["hashtag1","hashtag2"]},{"1329625261":["hashtag1","hashtag2"]},{"1329625255":["hashtag1","hashtag2"]},{"1329625272":["hashtag1","hashtag2"]},{"1329625266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329625267, 1329625276, 1329625261, 1329625255, 1329625272, 1329625266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.3254611492157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:18:03.283200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/07/image_18012025_02_07_02_568633_0002.jpg', '/home/pi/Desktop/images/18012025/02/07/image_18012025_02_07_02_568633_0003.jpg', '/home/pi/Desktop/images/18012025/02/08/image_18012025_02_08_03_052968_0000.jpg', '/home/pi/Desktop/images/18012025/02/08/image_18012025_02_08_03_052968_0001.jpg', '/home/pi/Desktop/images/18012025/02/08/image_18012025_02_08_03_052968_0002.jpg', '/home/pi/Desktop/images/18012025/02/08/image_18012025_02_08_03_052968_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/07/image_18012025_02_07_02_568633_0002.jpg
/home/pi/Desktop/images/18012025/02/07/image_18012025_02_07_02_568633_0003.jpg
/home/pi/Desktop/images/18012025/02/08/image_18012025_02_08_03_052968_0000.jpg
/home/pi/Desktop/images/18012025/02/08/image_18012025_02_08_03_052968_0001.jpg
/home/pi/Desktop/images/18012025/02/08/image_18012025_02_08_03_052968_0002.jpg
/home/pi/Desktop/images/18012025/02/08/image_18012025_02_08_03_052968_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":["1329625486","1329625471","1329625459","1329625507","1329625500","1329625439"],"photo_ids_order":["1329625439","1329625459","1329625471","1329625486","1329625500","1329625507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/23e3cec1583ee3068198f6a745735ed5.jpg","text":"TemporaryFile(/tmp/multipartBody1618394858165949050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163159421,"filename":"image_18012025_02_08_03_052968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04d1b1cff6d5ee3b9e7690d3f83d02ee.jpg","text":"TemporaryFile(/tmp/multipartBody4963939395544768888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163159421,"filename":"image_18012025_02_08_03_052968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aff02115fd7181c6590d0919e9ae61d4.jpg","text":"TemporaryFile(/tmp/multipartBody8013592626629070054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163159421,"filename":"image_18012025_02_07_02_568633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/db2a0d36a968693ac2e3a2ef92bd7de0.jpg","text":"TemporaryFile(/tmp/multipartBody3992357453006319384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163159421,"filename":"image_18012025_02_08_03_052968_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/24a926a095bbcc4f3d5065b186b74e35.jpg","text":"TemporaryFile(/tmp/multipartBody157996163766634263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163159421,"filename":"image_18012025_02_08_03_052968_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b999f010cef01a483bb524a642a0464.jpg","text":"TemporaryFile(/tmp/multipartBody5434937632871745239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163159421,"filename":"image_18012025_02_07_02_568633_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329625471","file1":"1329625459","file0":"1329625439","file4":"1329625500","file5":"1329625507","file3":"1329625486"},"map_files_photo_id_array":[{"photo_id":"1329625507","filename":"file5"},{"photo_id":"1329625471","filename":"file2"},{"photo_id":"1329625500","filename":"file4"},{"photo_id":"1329625459","filename":"file1"},{"photo_id":"1329625439","filename":"file0"},{"photo_id":"1329625486","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329625486":["hashtag1","hashtag2"]},{"1329625471":["hashtag1","hashtag2"]},{"1329625459":["hashtag1","hashtag2"]},{"1329625507":["hashtag1","hashtag2"]},{"1329625500":["hashtag1","hashtag2"]},{"1329625439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329625486, 1329625471, 1329625459, 1329625507, 1329625500, 1329625439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.25766324996948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:19:22.239448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/09/image_18012025_02_09_02_754401_0000.jpg', '/home/pi/Desktop/images/18012025/02/09/image_18012025_02_09_02_754401_0001.jpg', '/home/pi/Desktop/images/18012025/02/09/image_18012025_02_09_02_754401_0002.jpg', '/home/pi/Desktop/images/18012025/02/09/image_18012025_02_09_02_754401_0003.jpg', '/home/pi/Desktop/images/18012025/02/10/image_18012025_02_10_02_231975_0000.jpg', '/home/pi/Desktop/images/18012025/02/10/image_18012025_02_10_02_231975_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/09/image_18012025_02_09_02_754401_0000.jpg
/home/pi/Desktop/images/18012025/02/09/image_18012025_02_09_02_754401_0001.jpg
/home/pi/Desktop/images/18012025/02/09/image_18012025_02_09_02_754401_0002.jpg
/home/pi/Desktop/images/18012025/02/09/image_18012025_02_09_02_754401_0003.jpg
/home/pi/Desktop/images/18012025/02/10/image_18012025_02_10_02_231975_0000.jpg
/home/pi/Desktop/images/18012025/02/10/image_18012025_02_10_02_231975_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":["1329625984","1329626175","1329625819","1329625895","1329626105","1329625766"],"photo_ids_order":["1329625766","1329625819","1329625895","1329625984","1329626105","1329626175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9fad5f9112ee6c4fe27e95e3f8b77c32.jpg","text":"TemporaryFile(/tmp/multipartBody4067455075137499444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163238506,"filename":"image_18012025_02_09_02_754401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f0411f25639bb0f1eacd1890acd1a97.jpg","text":"TemporaryFile(/tmp/multipartBody7196778907205188161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163238506,"filename":"image_18012025_02_10_02_231975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff88e9268d4edf2f3d23bdbaa0ce6d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6015996603847224407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163238506,"filename":"image_18012025_02_09_02_754401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aac156cc6d71325721f585fe5bd89927.jpg","text":"TemporaryFile(/tmp/multipartBody8379936830506165299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163238506,"filename":"image_18012025_02_09_02_754401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6963733bbcd716552c175af0d5e4774f.jpg","text":"TemporaryFile(/tmp/multipartBody4420131084171286789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163238506,"filename":"image_18012025_02_10_02_231975_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e39b20dbad377016ac47c5af894d54d.jpg","text":"TemporaryFile(/tmp/multipartBody872401402546338069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163238506,"filename":"image_18012025_02_09_02_754401_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329625895","file1":"1329625819","file0":"1329625766","file4":"1329626105","file5":"1329626175","file3":"1329625984"},"map_files_photo_id_array":[{"photo_id":"1329626175","filename":"file5"},{"photo_id":"1329625895","filename":"file2"},{"photo_id":"1329626105","filename":"file4"},{"photo_id":"1329625819","filename":"file1"},{"photo_id":"1329625766","filename":"file0"},{"photo_id":"1329625984","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329625984":["hashtag1","hashtag2"]},{"1329626175":["hashtag1","hashtag2"]},{"1329625819":["hashtag1","hashtag2"]},{"1329625895":["hashtag1","hashtag2"]},{"1329626105":["hashtag1","hashtag2"]},{"1329625766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329625984, 1329626175, 1329625819, 1329625895, 1329626105, 1329625766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.71509575843811 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:21:02.793004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/10/image_18012025_02_10_02_231975_0002.jpg', '/home/pi/Desktop/images/18012025/02/10/image_18012025_02_10_02_231975_0003.jpg', '/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0000.jpg', '/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0001.jpg', '/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0002.jpg', '/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/10/image_18012025_02_10_02_231975_0002.jpg
/home/pi/Desktop/images/18012025/02/10/image_18012025_02_10_02_231975_0003.jpg
/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0000.jpg
/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0001.jpg
/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0002.jpg
/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_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.737886190414429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:21:22.272232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/10/image_18012025_02_10_02_231975_0002.jpg', '/home/pi/Desktop/images/18012025/02/10/image_18012025_02_10_02_231975_0003.jpg', '/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0000.jpg', '/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0001.jpg', '/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0002.jpg', '/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/10/image_18012025_02_10_02_231975_0002.jpg
/home/pi/Desktop/images/18012025/02/10/image_18012025_02_10_02_231975_0003.jpg
/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0000.jpg
/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0001.jpg
/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0002.jpg
/home/pi/Desktop/images/18012025/02/11/image_18012025_02_11_02_738590_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329627229","1329627048","1329627474","1329627509","1329626851","1329626746"],"photo_ids_order":["1329626746","1329626851","1329627048","1329627229","1329627474","1329627509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/268148975f68ebe4d39ea605ae81a0b4.jpg","text":"TemporaryFile(/tmp/multipartBody411345565734139798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163358315,"filename":"image_18012025_02_11_02_738590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/24ad623fd4f84ee3ac76621bed48b212.jpg","text":"TemporaryFile(/tmp/multipartBody686293646078931098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163358315,"filename":"image_18012025_02_11_02_738590_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/776226d6f16c87d77855a2de60e2e039.jpg","text":"TemporaryFile(/tmp/multipartBody1524419705409218219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163358315,"filename":"image_18012025_02_11_02_738590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f959766c145925e18e4f59546c63568d.jpg","text":"TemporaryFile(/tmp/multipartBody442380458376774643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163358315,"filename":"image_18012025_02_11_02_738590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5b305767e22257cd1fd552afb70847c.jpg","text":"TemporaryFile(/tmp/multipartBody7616445675244001567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163358315,"filename":"image_18012025_02_10_02_231975_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/542460e36db561a60b1e77c8de9ac90b.jpg","text":"TemporaryFile(/tmp/multipartBody9005627969043078912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163358315,"filename":"image_18012025_02_10_02_231975_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329627048","file1":"1329626851","file0":"1329626746","file4":"1329627474","file5":"1329627509","file3":"1329627229"},"map_files_photo_id_array":[{"photo_id":"1329627509","filename":"file5"},{"photo_id":"1329627048","filename":"file2"},{"photo_id":"1329627474","filename":"file4"},{"photo_id":"1329626851","filename":"file1"},{"photo_id":"1329626746","filename":"file0"},{"photo_id":"1329627229","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329627229":["hashtag1","hashtag2"]},{"1329627048":["hashtag1","hashtag2"]},{"1329627474":["hashtag1","hashtag2"]},{"1329627509":["hashtag1","hashtag2"]},{"1329626851":["hashtag1","hashtag2"]},{"1329626746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329627229, 1329627048, 1329627474, 1329627509, 1329626851, 1329626746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.51820111274719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:22:21.978080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/12/image_18012025_02_12_02_340656_0000.jpg', '/home/pi/Desktop/images/18012025/02/12/image_18012025_02_12_02_340656_0001.jpg', '/home/pi/Desktop/images/18012025/02/12/image_18012025_02_12_02_340656_0002.jpg', '/home/pi/Desktop/images/18012025/02/12/image_18012025_02_12_02_340656_0003.jpg', '/home/pi/Desktop/images/18012025/02/13/image_18012025_02_13_03_037583_0000.jpg', '/home/pi/Desktop/images/18012025/02/13/image_18012025_02_13_03_037583_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/12/image_18012025_02_12_02_340656_0000.jpg
/home/pi/Desktop/images/18012025/02/12/image_18012025_02_12_02_340656_0001.jpg
/home/pi/Desktop/images/18012025/02/12/image_18012025_02_12_02_340656_0002.jpg
/home/pi/Desktop/images/18012025/02/12/image_18012025_02_12_02_340656_0003.jpg
/home/pi/Desktop/images/18012025/02/13/image_18012025_02_13_03_037583_0000.jpg
/home/pi/Desktop/images/18012025/02/13/image_18012025_02_13_03_037583_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329627879","1329627657","1329627804","1329627680","1329627895","1329627661"],"photo_ids_order":["1329627657","1329627661","1329627680","1329627804","1329627879","1329627895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15f84d378aa633ba2005efb3dd12af06.jpg","text":"TemporaryFile(/tmp/multipartBody897583576743714648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163418338,"filename":"image_18012025_02_13_03_037583_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/766f9baeb80676a4726d77bc6f2e6fe3.jpg","text":"TemporaryFile(/tmp/multipartBody924085374923832629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163418338,"filename":"image_18012025_02_12_02_340656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb7a8672d96259acac03e849978631a6.jpg","text":"TemporaryFile(/tmp/multipartBody96785280420867818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163418338,"filename":"image_18012025_02_12_02_340656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1c4c8b8a5792803dd95ad10fe2f5a30d.jpg","text":"TemporaryFile(/tmp/multipartBody7666951320785897265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163418338,"filename":"image_18012025_02_12_02_340656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4bfa88b6aea5c2727a89aa3dd5d47854.jpg","text":"TemporaryFile(/tmp/multipartBody7233281218057218078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163418338,"filename":"image_18012025_02_13_03_037583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16343bb2f3c97c4e038bd0e7e7128641.jpg","text":"TemporaryFile(/tmp/multipartBody3660149220696500315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163418338,"filename":"image_18012025_02_12_02_340656_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329627680","file1":"1329627661","file0":"1329627657","file4":"1329627879","file5":"1329627895","file3":"1329627804"},"map_files_photo_id_array":[{"photo_id":"1329627895","filename":"file5"},{"photo_id":"1329627680","filename":"file2"},{"photo_id":"1329627879","filename":"file4"},{"photo_id":"1329627661","filename":"file1"},{"photo_id":"1329627657","filename":"file0"},{"photo_id":"1329627804","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329627879":["hashtag1","hashtag2"]},{"1329627657":["hashtag1","hashtag2"]},{"1329627804":["hashtag1","hashtag2"]},{"1329627680":["hashtag1","hashtag2"]},{"1329627895":["hashtag1","hashtag2"]},{"1329627661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329627879, 1329627657, 1329627804, 1329627680, 1329627895, 1329627661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.111114263534546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:23:22.533579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/13/image_18012025_02_13_03_037583_0002.jpg', '/home/pi/Desktop/images/18012025/02/13/image_18012025_02_13_03_037583_0003.jpg', '/home/pi/Desktop/images/18012025/02/14/image_18012025_02_14_02_555935_0000.jpg', '/home/pi/Desktop/images/18012025/02/14/image_18012025_02_14_02_555935_0001.jpg', '/home/pi/Desktop/images/18012025/02/14/image_18012025_02_14_02_555935_0002.jpg', '/home/pi/Desktop/images/18012025/02/14/image_18012025_02_14_02_555935_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/13/image_18012025_02_13_03_037583_0002.jpg
/home/pi/Desktop/images/18012025/02/13/image_18012025_02_13_03_037583_0003.jpg
/home/pi/Desktop/images/18012025/02/14/image_18012025_02_14_02_555935_0000.jpg
/home/pi/Desktop/images/18012025/02/14/image_18012025_02_14_02_555935_0001.jpg
/home/pi/Desktop/images/18012025/02/14/image_18012025_02_14_02_555935_0002.jpg
/home/pi/Desktop/images/18012025/02/14/image_18012025_02_14_02_555935_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":["1329627966","1329627963","1329627989","1329627977","1329627974","1329627970"],"photo_ids_order":["1329627963","1329627966","1329627970","1329627974","1329627977","1329627989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec65d834473969056425c0d0d7ff1b80.jpg","text":"TemporaryFile(/tmp/multipartBody5596793399971393562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163478763,"filename":"image_18012025_02_13_03_037583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/198cde7c91e7046752ee1cd8be7a6073.jpg","text":"TemporaryFile(/tmp/multipartBody3322133284078437061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163478763,"filename":"image_18012025_02_13_03_037583_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0fb9b0c40282eb5056c6bcb42d27b456.jpg","text":"TemporaryFile(/tmp/multipartBody5988569274043042384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163478763,"filename":"image_18012025_02_14_02_555935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/11cda84677b87a3f57f0809a811e8824.jpg","text":"TemporaryFile(/tmp/multipartBody5874280334457433783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163478763,"filename":"image_18012025_02_14_02_555935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2ab48b678020391c3be1bdb3b2178cd9.jpg","text":"TemporaryFile(/tmp/multipartBody3850965099573329494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163478763,"filename":"image_18012025_02_14_02_555935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fdd7e9879d474922d554bf85fde5d740.jpg","text":"TemporaryFile(/tmp/multipartBody3372248204804426127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163478763,"filename":"image_18012025_02_14_02_555935_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329627970","file1":"1329627966","file0":"1329627963","file4":"1329627977","file5":"1329627989","file3":"1329627974"},"map_files_photo_id_array":[{"photo_id":"1329627989","filename":"file5"},{"photo_id":"1329627970","filename":"file2"},{"photo_id":"1329627977","filename":"file4"},{"photo_id":"1329627966","filename":"file1"},{"photo_id":"1329627963","filename":"file0"},{"photo_id":"1329627974","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329627966":["hashtag1","hashtag2"]},{"1329627963":["hashtag1","hashtag2"]},{"1329627989":["hashtag1","hashtag2"]},{"1329627977":["hashtag1","hashtag2"]},{"1329627974":["hashtag1","hashtag2"]},{"1329627970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329627966, 1329627963, 1329627989, 1329627977, 1329627974, 1329627970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.27479004859924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:25:03.211293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0000.jpg', '/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0001.jpg', '/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0002.jpg', '/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0003.jpg', '/home/pi/Desktop/images/18012025/02/16/image_18012025_02_16_02_581968_0000.jpg', '/home/pi/Desktop/images/18012025/02/16/image_18012025_02_16_02_581968_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0000.jpg
/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0001.jpg
/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0002.jpg
/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0003.jpg
/home/pi/Desktop/images/18012025/02/16/image_18012025_02_16_02_581968_0000.jpg
/home/pi/Desktop/images/18012025/02/16/image_18012025_02_16_02_581968_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.07586669921875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:25:22.597164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0000.jpg', '/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0001.jpg', '/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0002.jpg', '/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0003.jpg', '/home/pi/Desktop/images/18012025/02/16/image_18012025_02_16_02_581968_0000.jpg', '/home/pi/Desktop/images/18012025/02/16/image_18012025_02_16_02_581968_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0000.jpg
/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0001.jpg
/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0002.jpg
/home/pi/Desktop/images/18012025/02/15/image_18012025_02_15_03_048666_0003.jpg
/home/pi/Desktop/images/18012025/02/16/image_18012025_02_16_02_581968_0000.jpg
/home/pi/Desktop/images/18012025/02/16/image_18012025_02_16_02_581968_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329628320","1329628314","1329628308","1329628298","1329628316","1329628303"],"photo_ids_order":["1329628298","1329628303","1329628308","1329628314","1329628316","1329628320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6ac3457b646b1a725eb6c13a3acb473.jpg","text":"TemporaryFile(/tmp/multipartBody701944992216260118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163598961,"filename":"image_18012025_02_16_02_581968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1bd97769bf02e3a96faed59fa5a8e8b6.jpg","text":"TemporaryFile(/tmp/multipartBody7056962229052627469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163598961,"filename":"image_18012025_02_15_03_048666_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a301c26883826e595775c5eef600f15.jpg","text":"TemporaryFile(/tmp/multipartBody8049265616472557422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163598961,"filename":"image_18012025_02_15_03_048666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d97ab57305625bb4d7987ffb3fc18a2f.jpg","text":"TemporaryFile(/tmp/multipartBody4106054874748097660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163598961,"filename":"image_18012025_02_15_03_048666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e14430c1b762ada14a0b8f1c702e01dc.jpg","text":"TemporaryFile(/tmp/multipartBody5918371863058351123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163598961,"filename":"image_18012025_02_16_02_581968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6bffc00a7bae53f6020c3533cdd80869.jpg","text":"TemporaryFile(/tmp/multipartBody8380320929322119296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163598961,"filename":"image_18012025_02_15_03_048666_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329628308","file1":"1329628303","file0":"1329628298","file4":"1329628316","file5":"1329628320","file3":"1329628314"},"map_files_photo_id_array":[{"photo_id":"1329628320","filename":"file5"},{"photo_id":"1329628308","filename":"file2"},{"photo_id":"1329628316","filename":"file4"},{"photo_id":"1329628303","filename":"file1"},{"photo_id":"1329628298","filename":"file0"},{"photo_id":"1329628314","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329628320":["hashtag1","hashtag2"]},{"1329628314":["hashtag1","hashtag2"]},{"1329628308":["hashtag1","hashtag2"]},{"1329628298":["hashtag1","hashtag2"]},{"1329628316":["hashtag1","hashtag2"]},{"1329628303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329628320, 1329628314, 1329628308, 1329628298, 1329628316, 1329628303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.675514936447144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:26:22.154905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/16/image_18012025_02_16_02_581968_0002.jpg', '/home/pi/Desktop/images/18012025/02/16/image_18012025_02_16_02_581968_0003.jpg', '/home/pi/Desktop/images/18012025/02/17/image_18012025_02_17_03_055629_0000.jpg', '/home/pi/Desktop/images/18012025/02/17/image_18012025_02_17_03_055629_0001.jpg', '/home/pi/Desktop/images/18012025/02/17/image_18012025_02_17_03_055629_0002.jpg', '/home/pi/Desktop/images/18012025/02/17/image_18012025_02_17_03_055629_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/16/image_18012025_02_16_02_581968_0002.jpg
/home/pi/Desktop/images/18012025/02/16/image_18012025_02_16_02_581968_0003.jpg
/home/pi/Desktop/images/18012025/02/17/image_18012025_02_17_03_055629_0000.jpg
/home/pi/Desktop/images/18012025/02/17/image_18012025_02_17_03_055629_0001.jpg
/home/pi/Desktop/images/18012025/02/17/image_18012025_02_17_03_055629_0002.jpg
/home/pi/Desktop/images/18012025/02/17/image_18012025_02_17_03_055629_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329628367","1329628382","1329628386","1329628389","1329628362","1329628356"],"photo_ids_order":["1329628356","1329628362","1329628367","1329628382","1329628386","1329628389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/14ab6215b901231c77e5c09556d398c3.jpg","text":"TemporaryFile(/tmp/multipartBody6498899063516565813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163658870,"filename":"image_18012025_02_17_03_055629_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bad0d588392f8c5a6f983dabd5703832.jpg","text":"TemporaryFile(/tmp/multipartBody2818364788099027985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163658870,"filename":"image_18012025_02_17_03_055629_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c71b17662316f25df9f9bcf992813653.jpg","text":"TemporaryFile(/tmp/multipartBody7197539707536232540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163658870,"filename":"image_18012025_02_17_03_055629_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac86d4292563de88a3818655f8cb3d4e.jpg","text":"TemporaryFile(/tmp/multipartBody8564564951947217963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163658870,"filename":"image_18012025_02_17_03_055629_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a80538c8eb960057149596f577269ccd.jpg","text":"TemporaryFile(/tmp/multipartBody586421016932810930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163658870,"filename":"image_18012025_02_16_02_581968_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bba20f922fb9b840e1ec3ef0477927d9.jpg","text":"TemporaryFile(/tmp/multipartBody6527952710536306941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163658870,"filename":"image_18012025_02_16_02_581968_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329628367","file1":"1329628362","file0":"1329628356","file4":"1329628386","file5":"1329628389","file3":"1329628382"},"map_files_photo_id_array":[{"photo_id":"1329628389","filename":"file5"},{"photo_id":"1329628367","filename":"file2"},{"photo_id":"1329628386","filename":"file4"},{"photo_id":"1329628362","filename":"file1"},{"photo_id":"1329628356","filename":"file0"},{"photo_id":"1329628382","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329628367":["hashtag1","hashtag2"]},{"1329628382":["hashtag1","hashtag2"]},{"1329628386":["hashtag1","hashtag2"]},{"1329628389":["hashtag1","hashtag2"]},{"1329628362":["hashtag1","hashtag2"]},{"1329628356":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329628367, 1329628382, 1329628386, 1329628389, 1329628362, 1329628356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.7421350479126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:27:22.635042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/18/image_18012025_02_18_02_586172_0000.jpg', '/home/pi/Desktop/images/18012025/02/18/image_18012025_02_18_02_586172_0001.jpg', '/home/pi/Desktop/images/18012025/02/18/image_18012025_02_18_02_586172_0002.jpg', '/home/pi/Desktop/images/18012025/02/18/image_18012025_02_18_02_586172_0003.jpg', '/home/pi/Desktop/images/18012025/02/19/image_18012025_02_19_03_128764_0000.jpg', '/home/pi/Desktop/images/18012025/02/19/image_18012025_02_19_03_128764_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/18/image_18012025_02_18_02_586172_0000.jpg
/home/pi/Desktop/images/18012025/02/18/image_18012025_02_18_02_586172_0001.jpg
/home/pi/Desktop/images/18012025/02/18/image_18012025_02_18_02_586172_0002.jpg
/home/pi/Desktop/images/18012025/02/18/image_18012025_02_18_02_586172_0003.jpg
/home/pi/Desktop/images/18012025/02/19/image_18012025_02_19_03_128764_0000.jpg
/home/pi/Desktop/images/18012025/02/19/image_18012025_02_19_03_128764_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":["1329628524","1329628512","1329628565","1329628541","1329628462","1329628531"],"photo_ids_order":["1329628462","1329628512","1329628524","1329628531","1329628541","1329628565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fa5f88c5cf07bc1fdf9dce8029b3060e.jpg","text":"TemporaryFile(/tmp/multipartBody156892647843717241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163719395,"filename":"image_18012025_02_18_02_586172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb9499b1631120d5c33155d43248b08c.jpg","text":"TemporaryFile(/tmp/multipartBody2399853978618876698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163719395,"filename":"image_18012025_02_18_02_586172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/066dc0f2eda06c9928cbab1655643cdb.jpg","text":"TemporaryFile(/tmp/multipartBody8092527896379854610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163719395,"filename":"image_18012025_02_19_03_128764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f86f51401e8a9fb88e0cf244c463fbb.jpg","text":"TemporaryFile(/tmp/multipartBody4480616554925712297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163719395,"filename":"image_18012025_02_19_03_128764_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/714651677b399921ff921cc302f47846.jpg","text":"TemporaryFile(/tmp/multipartBody2368874935116504655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163719395,"filename":"image_18012025_02_18_02_586172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a288ef0a11210ef1501cd6ea8c973204.jpg","text":"TemporaryFile(/tmp/multipartBody5868044905439236708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163719395,"filename":"image_18012025_02_18_02_586172_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329628524","file1":"1329628512","file0":"1329628462","file4":"1329628541","file5":"1329628565","file3":"1329628531"},"map_files_photo_id_array":[{"photo_id":"1329628565","filename":"file5"},{"photo_id":"1329628524","filename":"file2"},{"photo_id":"1329628541","filename":"file4"},{"photo_id":"1329628512","filename":"file1"},{"photo_id":"1329628462","filename":"file0"},{"photo_id":"1329628531","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329628524":["hashtag1","hashtag2"]},{"1329628512":["hashtag1","hashtag2"]},{"1329628565":["hashtag1","hashtag2"]},{"1329628541":["hashtag1","hashtag2"]},{"1329628462":["hashtag1","hashtag2"]},{"1329628531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329628524, 1329628512, 1329628565, 1329628541, 1329628462, 1329628531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.61538004875183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:29:03.420774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/19/image_18012025_02_19_03_128764_0002.jpg', '/home/pi/Desktop/images/18012025/02/19/image_18012025_02_19_03_128764_0003.jpg', '/home/pi/Desktop/images/18012025/02/20/image_18012025_02_20_02_642640_0000.jpg', '/home/pi/Desktop/images/18012025/02/20/image_18012025_02_20_02_642640_0001.jpg', '/home/pi/Desktop/images/18012025/02/20/image_18012025_02_20_02_642640_0002.jpg', '/home/pi/Desktop/images/18012025/02/20/image_18012025_02_20_02_642640_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/19/image_18012025_02_19_03_128764_0002.jpg
/home/pi/Desktop/images/18012025/02/19/image_18012025_02_19_03_128764_0003.jpg
/home/pi/Desktop/images/18012025/02/20/image_18012025_02_20_02_642640_0000.jpg
/home/pi/Desktop/images/18012025/02/20/image_18012025_02_20_02_642640_0001.jpg
/home/pi/Desktop/images/18012025/02/20/image_18012025_02_20_02_642640_0002.jpg
/home/pi/Desktop/images/18012025/02/20/image_18012025_02_20_02_642640_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329628968","1329628895","1329628987","1329628989","1329628977","1329628900"],"photo_ids_order":["1329628895","1329628900","1329628968","1329628977","1329628987","1329628989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50f93aea6625069a42e3501b48ca4c8c.jpg","text":"TemporaryFile(/tmp/multipartBody377093823952473781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163820851,"filename":"image_18012025_02_20_02_642640_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f8f6ad5ec6f822d99e2422ae72f4199.jpg","text":"TemporaryFile(/tmp/multipartBody2908014494979341955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163820851,"filename":"image_18012025_02_19_03_128764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7572878d93bbf728c0777f311f77243.jpg","text":"TemporaryFile(/tmp/multipartBody9104046367570707317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163820851,"filename":"image_18012025_02_20_02_642640_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ad1a2a76ca89353f40f87a853a64ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3933202547269425785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163820851,"filename":"image_18012025_02_20_02_642640_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/554e458fcb3ef2044f60f41d947b94cc.jpg","text":"TemporaryFile(/tmp/multipartBody1731894597210309820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163820851,"filename":"image_18012025_02_20_02_642640_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e5a13b4e2e65cee1440fec5014dbd1a.jpg","text":"TemporaryFile(/tmp/multipartBody9116806163289672584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163820851,"filename":"image_18012025_02_19_03_128764_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329628968","file1":"1329628900","file0":"1329628895","file4":"1329628987","file5":"1329628989","file3":"1329628977"},"map_files_photo_id_array":[{"photo_id":"1329628989","filename":"file5"},{"photo_id":"1329628968","filename":"file2"},{"photo_id":"1329628987","filename":"file4"},{"photo_id":"1329628900","filename":"file1"},{"photo_id":"1329628895","filename":"file0"},{"photo_id":"1329628977","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329628968":["hashtag1","hashtag2"]},{"1329628895":["hashtag1","hashtag2"]},{"1329628987":["hashtag1","hashtag2"]},{"1329628989":["hashtag1","hashtag2"]},{"1329628977":["hashtag1","hashtag2"]},{"1329628900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329628968, 1329628895, 1329628987, 1329628989, 1329628977, 1329628900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.88703155517578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:30:02.931754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/21/image_18012025_02_21_02_132257_0000.jpg', '/home/pi/Desktop/images/18012025/02/21/image_18012025_02_21_02_132257_0001.jpg', '/home/pi/Desktop/images/18012025/02/21/image_18012025_02_21_02_132257_0002.jpg', '/home/pi/Desktop/images/18012025/02/21/image_18012025_02_21_02_132257_0003.jpg', '/home/pi/Desktop/images/18012025/02/22/image_18012025_02_22_02_689088_0000.jpg', '/home/pi/Desktop/images/18012025/02/22/image_18012025_02_22_02_689088_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/21/image_18012025_02_21_02_132257_0000.jpg
/home/pi/Desktop/images/18012025/02/21/image_18012025_02_21_02_132257_0001.jpg
/home/pi/Desktop/images/18012025/02/21/image_18012025_02_21_02_132257_0002.jpg
/home/pi/Desktop/images/18012025/02/21/image_18012025_02_21_02_132257_0003.jpg
/home/pi/Desktop/images/18012025/02/22/image_18012025_02_22_02_689088_0000.jpg
/home/pi/Desktop/images/18012025/02/22/image_18012025_02_22_02_689088_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":["1329629024","1329629033","1329629062","1329629020","1329629067","1329629049"],"photo_ids_order":["1329629020","1329629024","1329629033","1329629049","1329629062","1329629067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d059c1c1ba85fd4a9a5dfdb3fb91b0d4.jpg","text":"TemporaryFile(/tmp/multipartBody6589905945683693825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163879997,"filename":"image_18012025_02_21_02_132257_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/30b836e5d097bb2b9e970e94dc1b58c2.jpg","text":"TemporaryFile(/tmp/multipartBody3546517990813460869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163879997,"filename":"image_18012025_02_21_02_132257_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cfa7d5917328281f72904dbf9316d070.jpg","text":"TemporaryFile(/tmp/multipartBody4785716086727673845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163879997,"filename":"image_18012025_02_22_02_689088_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5de9c4876157d5e1eec82ef1760bb926.jpg","text":"TemporaryFile(/tmp/multipartBody6815815233373292142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163879997,"filename":"image_18012025_02_21_02_132257_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ed0d7f83babeecc1503f4439f3057a9.jpg","text":"TemporaryFile(/tmp/multipartBody1538214158908471438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163879997,"filename":"image_18012025_02_22_02_689088_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c70e20ba0de6bf66ef243f0a00bd608.jpg","text":"TemporaryFile(/tmp/multipartBody7442885754227019764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163879997,"filename":"image_18012025_02_21_02_132257_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329629033","file1":"1329629024","file0":"1329629020","file4":"1329629062","file5":"1329629067","file3":"1329629049"},"map_files_photo_id_array":[{"photo_id":"1329629067","filename":"file5"},{"photo_id":"1329629033","filename":"file2"},{"photo_id":"1329629062","filename":"file4"},{"photo_id":"1329629024","filename":"file1"},{"photo_id":"1329629020","filename":"file0"},{"photo_id":"1329629049","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329629024":["hashtag1","hashtag2"]},{"1329629033":["hashtag1","hashtag2"]},{"1329629062":["hashtag1","hashtag2"]},{"1329629020":["hashtag1","hashtag2"]},{"1329629067":["hashtag1","hashtag2"]},{"1329629049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329629024, 1329629033, 1329629062, 1329629020, 1329629067, 1329629049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.52331829071045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:31:21.874418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/22/image_18012025_02_22_02_689088_0002.jpg', '/home/pi/Desktop/images/18012025/02/22/image_18012025_02_22_02_689088_0003.jpg', '/home/pi/Desktop/images/18012025/02/23/image_18012025_02_23_02_342914_0000.jpg', '/home/pi/Desktop/images/18012025/02/23/image_18012025_02_23_02_342914_0001.jpg', '/home/pi/Desktop/images/18012025/02/23/image_18012025_02_23_02_342914_0002.jpg', '/home/pi/Desktop/images/18012025/02/23/image_18012025_02_23_02_342914_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/22/image_18012025_02_22_02_689088_0002.jpg
/home/pi/Desktop/images/18012025/02/22/image_18012025_02_22_02_689088_0003.jpg
/home/pi/Desktop/images/18012025/02/23/image_18012025_02_23_02_342914_0000.jpg
/home/pi/Desktop/images/18012025/02/23/image_18012025_02_23_02_342914_0001.jpg
/home/pi/Desktop/images/18012025/02/23/image_18012025_02_23_02_342914_0002.jpg
/home/pi/Desktop/images/18012025/02/23/image_18012025_02_23_02_342914_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329629153","1329629150","1329629132","1329629136","1329629148","1329629127"],"photo_ids_order":["1329629127","1329629132","1329629136","1329629148","1329629150","1329629153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1bdda38ef9014bf86aedf41cd17fbe83.jpg","text":"TemporaryFile(/tmp/multipartBody1163613543456005403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163958538,"filename":"image_18012025_02_23_02_342914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9045dfffb34645366b3b540e637b835d.jpg","text":"TemporaryFile(/tmp/multipartBody2054945215601870380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163958538,"filename":"image_18012025_02_23_02_342914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/854a0323db1ceb29acccfb1fb9b0df61.jpg","text":"TemporaryFile(/tmp/multipartBody5280783607589626241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163958538,"filename":"image_18012025_02_22_02_689088_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af1307a47b21019d61560fd79b5ec5a6.jpg","text":"TemporaryFile(/tmp/multipartBody6018220154362107275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163958538,"filename":"image_18012025_02_23_02_342914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/327d02c13246202c6b79234af1581c06.jpg","text":"TemporaryFile(/tmp/multipartBody3376649503396556028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163958538,"filename":"image_18012025_02_23_02_342914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/59272fcf4bf911bc2523dcf1b75a2a86.jpg","text":"TemporaryFile(/tmp/multipartBody1222101661652817496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737163958538,"filename":"image_18012025_02_22_02_689088_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329629136","file1":"1329629132","file0":"1329629127","file4":"1329629150","file5":"1329629153","file3":"1329629148"},"map_files_photo_id_array":[{"photo_id":"1329629153","filename":"file5"},{"photo_id":"1329629136","filename":"file2"},{"photo_id":"1329629150","filename":"file4"},{"photo_id":"1329629132","filename":"file1"},{"photo_id":"1329629127","filename":"file0"},{"photo_id":"1329629148","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329629153":["hashtag1","hashtag2"]},{"1329629150":["hashtag1","hashtag2"]},{"1329629132":["hashtag1","hashtag2"]},{"1329629136":["hashtag1","hashtag2"]},{"1329629148":["hashtag1","hashtag2"]},{"1329629127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329629153, 1329629150, 1329629132, 1329629136, 1329629148, 1329629127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.67837572097778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:32:22.383922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0000.jpg', '/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0001.jpg', '/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0002.jpg', '/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0003.jpg', '/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0000.jpg', '/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0000.jpg
/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0001.jpg
/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0002.jpg
/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0003.jpg
/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0000.jpg
/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_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.657600402832031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:33:02.497759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0000.jpg', '/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0001.jpg', '/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0002.jpg', '/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0003.jpg', '/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0000.jpg', '/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0000.jpg
/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0001.jpg
/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0002.jpg
/home/pi/Desktop/images/18012025/02/24/image_18012025_02_24_02_927790_0003.jpg
/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0000.jpg
/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_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":["1329629208","1329629204","1329629230","1329629224","1329629199","1329629232"],"photo_ids_order":["1329629199","1329629204","1329629208","1329629224","1329629230","1329629232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/df6be27183981343a0ca91c9ec5a9f74.jpg","text":"TemporaryFile(/tmp/multipartBody4852090128104721508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164058664,"filename":"image_18012025_02_24_02_927790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd91d972ff4457b65841da631405215d.jpg","text":"TemporaryFile(/tmp/multipartBody677338877196578418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164058664,"filename":"image_18012025_02_24_02_927790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef14ddf19dd2408bdf1489eb4293e0e4.jpg","text":"TemporaryFile(/tmp/multipartBody5871393074527870782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164058664,"filename":"image_18012025_02_25_02_437872_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1fe00212fe044fbaafee63900da57b4e.jpg","text":"TemporaryFile(/tmp/multipartBody826679872592989319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164058664,"filename":"image_18012025_02_24_02_927790_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d4f62a14f37da7bd6f0ef522fb557b37.jpg","text":"TemporaryFile(/tmp/multipartBody1060466251529881627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164058664,"filename":"image_18012025_02_24_02_927790_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3818ea1064c89e140816e3bbc123c123.jpg","text":"TemporaryFile(/tmp/multipartBody6220438123965085448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164058664,"filename":"image_18012025_02_25_02_437872_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329629208","file1":"1329629204","file0":"1329629199","file4":"1329629230","file5":"1329629232","file3":"1329629224"},"map_files_photo_id_array":[{"photo_id":"1329629232","filename":"file5"},{"photo_id":"1329629208","filename":"file2"},{"photo_id":"1329629230","filename":"file4"},{"photo_id":"1329629204","filename":"file1"},{"photo_id":"1329629199","filename":"file0"},{"photo_id":"1329629224","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329629208":["hashtag1","hashtag2"]},{"1329629204":["hashtag1","hashtag2"]},{"1329629230":["hashtag1","hashtag2"]},{"1329629224":["hashtag1","hashtag2"]},{"1329629199":["hashtag1","hashtag2"]},{"1329629232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329629208, 1329629204, 1329629230, 1329629224, 1329629199, 1329629232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.01947379112244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:34:22.590490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0002.jpg', '/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0003.jpg', '/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0000.jpg', '/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0001.jpg', '/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0002.jpg', '/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0002.jpg
/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0003.jpg
/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0000.jpg
/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0001.jpg
/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0002.jpg
/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_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.891870260238647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:35:02.786940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0002.jpg', '/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0003.jpg', '/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0000.jpg', '/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0001.jpg', '/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0002.jpg', '/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0002.jpg
/home/pi/Desktop/images/18012025/02/25/image_18012025_02_25_02_437872_0003.jpg
/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0000.jpg
/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0001.jpg
/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0002.jpg
/home/pi/Desktop/images/18012025/02/26/image_18012025_02_26_02_953256_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329629546","1329629531","1329629536","1329629530","1329629533","1329629520"],"photo_ids_order":["1329629520","1329629530","1329629531","1329629533","1329629536","1329629546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/016706ae4f984d53742fa582f2fe078f.jpg","text":"TemporaryFile(/tmp/multipartBody1790099962973485374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164179116,"filename":"image_18012025_02_26_02_953256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/22445a0b9a2f803857ba011cb82f9893.jpg","text":"TemporaryFile(/tmp/multipartBody1853406076049044653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164179116,"filename":"image_18012025_02_26_02_953256_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c68b8ce3e542e9ac083954928f3986c9.jpg","text":"TemporaryFile(/tmp/multipartBody4796567717095730683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164179116,"filename":"image_18012025_02_26_02_953256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8fdcfc8f702eefc57870dc92d59d3d64.jpg","text":"TemporaryFile(/tmp/multipartBody4608954123594268559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164179116,"filename":"image_18012025_02_25_02_437872_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1153aea6d24982faff64061bebb1632f.jpg","text":"TemporaryFile(/tmp/multipartBody7083873615550786402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164179116,"filename":"image_18012025_02_26_02_953256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4600ae2de3efebd68dbb240182f33ea6.jpg","text":"TemporaryFile(/tmp/multipartBody4949345481382919746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164179116,"filename":"image_18012025_02_25_02_437872_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329629531","file1":"1329629530","file0":"1329629520","file4":"1329629536","file5":"1329629546","file3":"1329629533"},"map_files_photo_id_array":[{"photo_id":"1329629546","filename":"file5"},{"photo_id":"1329629531","filename":"file2"},{"photo_id":"1329629536","filename":"file4"},{"photo_id":"1329629530","filename":"file1"},{"photo_id":"1329629520","filename":"file0"},{"photo_id":"1329629533","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329629546":["hashtag1","hashtag2"]},{"1329629531":["hashtag1","hashtag2"]},{"1329629536":["hashtag1","hashtag2"]},{"1329629530":["hashtag1","hashtag2"]},{"1329629533":["hashtag1","hashtag2"]},{"1329629520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329629546, 1329629531, 1329629536, 1329629530, 1329629533, 1329629520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.37992882728577 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-18 02:36:21.753926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0000.jpg', '/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0001.jpg', '/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0002.jpg', '/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0003.jpg', '/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0000.jpg', '/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0000.jpg
/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0001.jpg
/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0002.jpg
/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0003.jpg
/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0000.jpg
/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_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.93304443359375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:37:02.851029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0000.jpg', '/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0001.jpg', '/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0002.jpg', '/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0003.jpg', '/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0000.jpg', '/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0000.jpg
/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0001.jpg
/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0002.jpg
/home/pi/Desktop/images/18012025/02/27/image_18012025_02_27_02_528840_0003.jpg
/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0000.jpg
/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329630903","1329630899","1329630974","1329630892","1329630766","1329630948"],"photo_ids_order":["1329630766","1329630892","1329630899","1329630903","1329630948","1329630974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/143358fb628d240aee74a260a95fa162.jpg","text":"TemporaryFile(/tmp/multipartBody542904080881045767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164299254,"filename":"image_18012025_02_27_02_528840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1822915d91931c9d6bbdcc8a806d8bb2.jpg","text":"TemporaryFile(/tmp/multipartBody6290852190228472149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164299254,"filename":"image_18012025_02_27_02_528840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e969750877e4b361170eedfc040ad1e1.jpg","text":"TemporaryFile(/tmp/multipartBody8911844990283677876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164299254,"filename":"image_18012025_02_28_03_055684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b64bfb64a043db4a938a6cd46b8f67f5.jpg","text":"TemporaryFile(/tmp/multipartBody543377713421293209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164299254,"filename":"image_18012025_02_27_02_528840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b335efde157fe67628bbccdb7ddcdae.jpg","text":"TemporaryFile(/tmp/multipartBody8946250903785078698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164299254,"filename":"image_18012025_02_27_02_528840_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97654975b1ba3f390ad0724d86ac442b.jpg","text":"TemporaryFile(/tmp/multipartBody7569763966584989608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164299254,"filename":"image_18012025_02_28_03_055684_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329630899","file1":"1329630892","file0":"1329630766","file4":"1329630948","file5":"1329630974","file3":"1329630903"},"map_files_photo_id_array":[{"photo_id":"1329630974","filename":"file5"},{"photo_id":"1329630899","filename":"file2"},{"photo_id":"1329630948","filename":"file4"},{"photo_id":"1329630892","filename":"file1"},{"photo_id":"1329630766","filename":"file0"},{"photo_id":"1329630903","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329630903":["hashtag1","hashtag2"]},{"1329630899":["hashtag1","hashtag2"]},{"1329630974":["hashtag1","hashtag2"]},{"1329630892":["hashtag1","hashtag2"]},{"1329630766":["hashtag1","hashtag2"]},{"1329630948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329630903, 1329630899, 1329630974, 1329630892, 1329630766, 1329630948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.503570318222046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:38:02.349025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0002.jpg', '/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0003.jpg', '/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0000.jpg', '/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0001.jpg', '/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0002.jpg', '/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0002.jpg
/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0003.jpg
/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0000.jpg
/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0001.jpg
/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0002.jpg
/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_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.644708156585693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:38:21.943998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0002.jpg', '/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0003.jpg', '/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0000.jpg', '/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0001.jpg', '/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0002.jpg', '/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0002.jpg
/home/pi/Desktop/images/18012025/02/28/image_18012025_02_28_03_055684_0003.jpg
/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0000.jpg
/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0001.jpg
/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0002.jpg
/home/pi/Desktop/images/18012025/02/29/image_18012025_02_29_02_593130_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329631061","1329631046","1329631025","1329631066","1329631020","1329631044"],"photo_ids_order":["1329631020","1329631025","1329631044","1329631046","1329631061","1329631066"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf760b3f4c69387b1a4ea2657dad7bd0.jpg","text":"TemporaryFile(/tmp/multipartBody3589348798805967462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164378958,"filename":"image_18012025_02_29_02_593130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/19529cfb93ba60b839ae100da62ed3f9.jpg","text":"TemporaryFile(/tmp/multipartBody7493296192131510153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164378958,"filename":"image_18012025_02_29_02_593130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16cb7c02f0e31b1fbc9b262c037443f1.jpg","text":"TemporaryFile(/tmp/multipartBody4098176589909090772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164378958,"filename":"image_18012025_02_28_03_055684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cc6cda2eb8ba06a2e45187ded40ca5e2.jpg","text":"TemporaryFile(/tmp/multipartBody2970963385195513492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164378958,"filename":"image_18012025_02_29_02_593130_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e752a678bd6c5e3fd258c5a67064c04.jpg","text":"TemporaryFile(/tmp/multipartBody2001109156786179074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164378958,"filename":"image_18012025_02_28_03_055684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70457eb1701efc548f3f6941b51fe2a1.jpg","text":"TemporaryFile(/tmp/multipartBody7341074962566633016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164378958,"filename":"image_18012025_02_29_02_593130_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329631044","file1":"1329631025","file0":"1329631020","file4":"1329631061","file5":"1329631066","file3":"1329631046"},"map_files_photo_id_array":[{"photo_id":"1329631066","filename":"file5"},{"photo_id":"1329631044","filename":"file2"},{"photo_id":"1329631061","filename":"file4"},{"photo_id":"1329631025","filename":"file1"},{"photo_id":"1329631020","filename":"file0"},{"photo_id":"1329631046","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329631061":["hashtag1","hashtag2"]},{"1329631046":["hashtag1","hashtag2"]},{"1329631025":["hashtag1","hashtag2"]},{"1329631066":["hashtag1","hashtag2"]},{"1329631020":["hashtag1","hashtag2"]},{"1329631044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329631061, 1329631046, 1329631025, 1329631066, 1329631020, 1329631044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.73504042625427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:39:22.426331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/30/image_18012025_02_30_03_158285_0000.jpg', '/home/pi/Desktop/images/18012025/02/30/image_18012025_02_30_03_158285_0001.jpg', '/home/pi/Desktop/images/18012025/02/30/image_18012025_02_30_03_158285_0002.jpg', '/home/pi/Desktop/images/18012025/02/30/image_18012025_02_30_03_158285_0003.jpg', '/home/pi/Desktop/images/18012025/02/31/image_18012025_02_31_02_740096_0000.jpg', '/home/pi/Desktop/images/18012025/02/31/image_18012025_02_31_02_740096_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/30/image_18012025_02_30_03_158285_0000.jpg
/home/pi/Desktop/images/18012025/02/30/image_18012025_02_30_03_158285_0001.jpg
/home/pi/Desktop/images/18012025/02/30/image_18012025_02_30_03_158285_0002.jpg
/home/pi/Desktop/images/18012025/02/30/image_18012025_02_30_03_158285_0003.jpg
/home/pi/Desktop/images/18012025/02/31/image_18012025_02_31_02_740096_0000.jpg
/home/pi/Desktop/images/18012025/02/31/image_18012025_02_31_02_740096_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329631107","1329631130","1329631127","1329631112","1329631123","1329631116"],"photo_ids_order":["1329631107","1329631112","1329631116","1329631123","1329631127","1329631130"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3fb3e622ad24e56e85a3b05678ea9e46.jpg","text":"TemporaryFile(/tmp/multipartBody6460637547322573829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164439155,"filename":"image_18012025_02_30_03_158285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/137f1571f9be33874fd67c92070697a2.jpg","text":"TemporaryFile(/tmp/multipartBody248381256005118163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164439155,"filename":"image_18012025_02_31_02_740096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c16fd98d9efb8242c5bda4c1a1537f5.jpg","text":"TemporaryFile(/tmp/multipartBody2423898481257168424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164439155,"filename":"image_18012025_02_31_02_740096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ee4bbb2e8fee0a3a8d61327ebe31a47.jpg","text":"TemporaryFile(/tmp/multipartBody7328600062962530701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164439155,"filename":"image_18012025_02_30_03_158285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b211b26a88c2293c48f1256a3cd9225.jpg","text":"TemporaryFile(/tmp/multipartBody8506729238531202506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164439155,"filename":"image_18012025_02_30_03_158285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4bacad19bf015e90b661b868d4f15a1b.jpg","text":"TemporaryFile(/tmp/multipartBody7989652399511793678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164439155,"filename":"image_18012025_02_30_03_158285_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329631116","file1":"1329631112","file0":"1329631107","file4":"1329631127","file5":"1329631130","file3":"1329631123"},"map_files_photo_id_array":[{"photo_id":"1329631130","filename":"file5"},{"photo_id":"1329631116","filename":"file2"},{"photo_id":"1329631127","filename":"file4"},{"photo_id":"1329631112","filename":"file1"},{"photo_id":"1329631107","filename":"file0"},{"photo_id":"1329631123","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329631107":["hashtag1","hashtag2"]},{"1329631130":["hashtag1","hashtag2"]},{"1329631127":["hashtag1","hashtag2"]},{"1329631112":["hashtag1","hashtag2"]},{"1329631123":["hashtag1","hashtag2"]},{"1329631116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329631107, 1329631130, 1329631127, 1329631112, 1329631123, 1329631116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.214484453201294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:40:21.899970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/31/image_18012025_02_31_02_740096_0002.jpg', '/home/pi/Desktop/images/18012025/02/31/image_18012025_02_31_02_740096_0003.jpg', '/home/pi/Desktop/images/18012025/02/32/image_18012025_02_32_02_282808_0000.jpg', '/home/pi/Desktop/images/18012025/02/32/image_18012025_02_32_02_282808_0001.jpg', '/home/pi/Desktop/images/18012025/02/32/image_18012025_02_32_02_282808_0002.jpg', '/home/pi/Desktop/images/18012025/02/32/image_18012025_02_32_02_282808_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/31/image_18012025_02_31_02_740096_0002.jpg
/home/pi/Desktop/images/18012025/02/31/image_18012025_02_31_02_740096_0003.jpg
/home/pi/Desktop/images/18012025/02/32/image_18012025_02_32_02_282808_0000.jpg
/home/pi/Desktop/images/18012025/02/32/image_18012025_02_32_02_282808_0001.jpg
/home/pi/Desktop/images/18012025/02/32/image_18012025_02_32_02_282808_0002.jpg
/home/pi/Desktop/images/18012025/02/32/image_18012025_02_32_02_282808_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329631145","1329631174","1329631177","1329631170","1329631152","1329631140"],"photo_ids_order":["1329631140","1329631145","1329631152","1329631170","1329631174","1329631177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/881e0b049bf2844776a17c97d771966a.jpg","text":"TemporaryFile(/tmp/multipartBody2486828371077675108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164498208,"filename":"image_18012025_02_31_02_740096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b095975cd42206a3da082ca74f10b3a4.jpg","text":"TemporaryFile(/tmp/multipartBody2864365729034755511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164498208,"filename":"image_18012025_02_32_02_282808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7cefea61f27b0afc99ecb6ced45ab60d.jpg","text":"TemporaryFile(/tmp/multipartBody2342822341239590360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164498208,"filename":"image_18012025_02_32_02_282808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/44f2ce3f18da2fccd47e2246ad403b61.jpg","text":"TemporaryFile(/tmp/multipartBody4465902452270914645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164498208,"filename":"image_18012025_02_32_02_282808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2b459e61dba6be4e99af9aec6ea978c.jpg","text":"TemporaryFile(/tmp/multipartBody5402519478385562891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164498208,"filename":"image_18012025_02_32_02_282808_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/393618e537027525e7af89dd719302ba.jpg","text":"TemporaryFile(/tmp/multipartBody601622462920989643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164498208,"filename":"image_18012025_02_31_02_740096_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329631152","file1":"1329631145","file0":"1329631140","file4":"1329631174","file5":"1329631177","file3":"1329631170"},"map_files_photo_id_array":[{"photo_id":"1329631177","filename":"file5"},{"photo_id":"1329631152","filename":"file2"},{"photo_id":"1329631174","filename":"file4"},{"photo_id":"1329631145","filename":"file1"},{"photo_id":"1329631140","filename":"file0"},{"photo_id":"1329631170","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329631145":["hashtag1","hashtag2"]},{"1329631174":["hashtag1","hashtag2"]},{"1329631177":["hashtag1","hashtag2"]},{"1329631170":["hashtag1","hashtag2"]},{"1329631152":["hashtag1","hashtag2"]},{"1329631140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329631145, 1329631174, 1329631177, 1329631170, 1329631152, 1329631140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.177955865859985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:41:22.448630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/33/image_18012025_02_33_02_728964_0000.jpg', '/home/pi/Desktop/images/18012025/02/33/image_18012025_02_33_02_728964_0001.jpg', '/home/pi/Desktop/images/18012025/02/33/image_18012025_02_33_02_728964_0002.jpg', '/home/pi/Desktop/images/18012025/02/33/image_18012025_02_33_02_728964_0003.jpg', '/home/pi/Desktop/images/18012025/02/34/image_18012025_02_34_02_328374_0000.jpg', '/home/pi/Desktop/images/18012025/02/34/image_18012025_02_34_02_328374_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/33/image_18012025_02_33_02_728964_0000.jpg
/home/pi/Desktop/images/18012025/02/33/image_18012025_02_33_02_728964_0001.jpg
/home/pi/Desktop/images/18012025/02/33/image_18012025_02_33_02_728964_0002.jpg
/home/pi/Desktop/images/18012025/02/33/image_18012025_02_33_02_728964_0003.jpg
/home/pi/Desktop/images/18012025/02/34/image_18012025_02_34_02_328374_0000.jpg
/home/pi/Desktop/images/18012025/02/34/image_18012025_02_34_02_328374_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":["1329631247","1329631226","1329631249","1329631257","1329631245","1329631254"],"photo_ids_order":["1329631226","1329631245","1329631247","1329631249","1329631254","1329631257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ae38ae81b0eebc551e007151053bf75.jpg","text":"TemporaryFile(/tmp/multipartBody5351729635891191918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164559130,"filename":"image_18012025_02_33_02_728964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d29d4e9164cafb3a329fe6a3b33704c9.jpg","text":"TemporaryFile(/tmp/multipartBody5801677358554014199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164559130,"filename":"image_18012025_02_33_02_728964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/07d5254d51c27a0419695796e59fc555.jpg","text":"TemporaryFile(/tmp/multipartBody529207710295078839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164559130,"filename":"image_18012025_02_33_02_728964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/919a15ded1caea0499bb6aa0b06318e8.jpg","text":"TemporaryFile(/tmp/multipartBody8685916687834376236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164559130,"filename":"image_18012025_02_34_02_328374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d3e1c30620b2cdbace60f26a6ecdddd3.jpg","text":"TemporaryFile(/tmp/multipartBody3780969613598676799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164559130,"filename":"image_18012025_02_33_02_728964_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fabe0f4eb33edf886ec879cc6feb2c1a.jpg","text":"TemporaryFile(/tmp/multipartBody1672704974782399484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164559130,"filename":"image_18012025_02_34_02_328374_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329631247","file1":"1329631245","file0":"1329631226","file4":"1329631254","file5":"1329631257","file3":"1329631249"},"map_files_photo_id_array":[{"photo_id":"1329631257","filename":"file5"},{"photo_id":"1329631247","filename":"file2"},{"photo_id":"1329631254","filename":"file4"},{"photo_id":"1329631245","filename":"file1"},{"photo_id":"1329631226","filename":"file0"},{"photo_id":"1329631249","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329631247":["hashtag1","hashtag2"]},{"1329631226":["hashtag1","hashtag2"]},{"1329631249":["hashtag1","hashtag2"]},{"1329631257":["hashtag1","hashtag2"]},{"1329631245":["hashtag1","hashtag2"]},{"1329631254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329631247, 1329631226, 1329631249, 1329631257, 1329631245, 1329631254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.60116243362427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:43:03.147295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/34/image_18012025_02_34_02_328374_0002.jpg', '/home/pi/Desktop/images/18012025/02/34/image_18012025_02_34_02_328374_0003.jpg', '/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0000.jpg', '/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0001.jpg', '/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0002.jpg', '/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/34/image_18012025_02_34_02_328374_0002.jpg
/home/pi/Desktop/images/18012025/02/34/image_18012025_02_34_02_328374_0003.jpg
/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0000.jpg
/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0001.jpg
/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0002.jpg
/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_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.823826551437378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:43:22.444866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/34/image_18012025_02_34_02_328374_0002.jpg', '/home/pi/Desktop/images/18012025/02/34/image_18012025_02_34_02_328374_0003.jpg', '/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0000.jpg', '/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0001.jpg', '/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0002.jpg', '/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/34/image_18012025_02_34_02_328374_0002.jpg
/home/pi/Desktop/images/18012025/02/34/image_18012025_02_34_02_328374_0003.jpg
/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0000.jpg
/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0001.jpg
/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0002.jpg
/home/pi/Desktop/images/18012025/02/35/image_18012025_02_35_02_937589_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329631373","1329631387","1329631336","1329631330","1329631356","1329631326"],"photo_ids_order":["1329631326","1329631330","1329631336","1329631356","1329631373","1329631387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/64ca4b7e396cd0273abbad2075ac8fe6.jpg","text":"TemporaryFile(/tmp/multipartBody3107252835625063611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164679600,"filename":"image_18012025_02_35_02_937589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d3673c74c27eb5da3bc6e76845ba0e55.jpg","text":"TemporaryFile(/tmp/multipartBody5913046275296030621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164679600,"filename":"image_18012025_02_35_02_937589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/29aca731d08a6a457b4b0fe948ff9971.jpg","text":"TemporaryFile(/tmp/multipartBody7190598871485302350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164679600,"filename":"image_18012025_02_35_02_937589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a1d7d424daef622ce42e59f8b2d26aca.jpg","text":"TemporaryFile(/tmp/multipartBody4864160445693416507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164679600,"filename":"image_18012025_02_34_02_328374_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca5dc218ce497747d75bd0ff95013bbf.jpg","text":"TemporaryFile(/tmp/multipartBody8335686347879481580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164679600,"filename":"image_18012025_02_35_02_937589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e102f5e7c098a00983b3e86b628fd36.jpg","text":"TemporaryFile(/tmp/multipartBody5876246369852388332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164679600,"filename":"image_18012025_02_34_02_328374_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329631336","file1":"1329631330","file0":"1329631326","file4":"1329631373","file5":"1329631387","file3":"1329631356"},"map_files_photo_id_array":[{"photo_id":"1329631387","filename":"file5"},{"photo_id":"1329631336","filename":"file2"},{"photo_id":"1329631373","filename":"file4"},{"photo_id":"1329631330","filename":"file1"},{"photo_id":"1329631326","filename":"file0"},{"photo_id":"1329631356","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329631373":["hashtag1","hashtag2"]},{"1329631387":["hashtag1","hashtag2"]},{"1329631336":["hashtag1","hashtag2"]},{"1329631330":["hashtag1","hashtag2"]},{"1329631356":["hashtag1","hashtag2"]},{"1329631326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329631373, 1329631387, 1329631336, 1329631330, 1329631356, 1329631326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.92125058174133 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-18 02:45:03.343904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/36/image_18012025_02_36_02_561123_0000.jpg', '/home/pi/Desktop/images/18012025/02/36/image_18012025_02_36_02_561123_0001.jpg', '/home/pi/Desktop/images/18012025/02/36/image_18012025_02_36_02_561123_0002.jpg', '/home/pi/Desktop/images/18012025/02/36/image_18012025_02_36_02_561123_0003.jpg', '/home/pi/Desktop/images/18012025/02/37/image_18012025_02_37_02_168363_0000.jpg', '/home/pi/Desktop/images/18012025/02/37/image_18012025_02_37_02_168363_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/36/image_18012025_02_36_02_561123_0000.jpg
/home/pi/Desktop/images/18012025/02/36/image_18012025_02_36_02_561123_0001.jpg
/home/pi/Desktop/images/18012025/02/36/image_18012025_02_36_02_561123_0002.jpg
/home/pi/Desktop/images/18012025/02/36/image_18012025_02_36_02_561123_0003.jpg
/home/pi/Desktop/images/18012025/02/37/image_18012025_02_37_02_168363_0000.jpg
/home/pi/Desktop/images/18012025/02/37/image_18012025_02_37_02_168363_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":["1329631500","1329631487","1329631508","1329631482","1329631449","1329631512"],"photo_ids_order":["1329631449","1329631482","1329631487","1329631500","1329631508","1329631512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18677aee905fa9206f3b82d2fbbbe09c.jpg","text":"TemporaryFile(/tmp/multipartBody8956858694494721658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164780003,"filename":"image_18012025_02_36_02_561123_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8c7363daad4dc818f369de0db0af9dd.jpg","text":"TemporaryFile(/tmp/multipartBody9203985478388274480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164780003,"filename":"image_18012025_02_36_02_561123_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4a677901a96749488777047adec84bfb.jpg","text":"TemporaryFile(/tmp/multipartBody7858828574852057951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164780003,"filename":"image_18012025_02_37_02_168363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/56a63e0aea2fad50969dff5adced88de.jpg","text":"TemporaryFile(/tmp/multipartBody995442324762404932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164780003,"filename":"image_18012025_02_36_02_561123_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba343f24d83f7fb2cdea09ef7dc8442f.jpg","text":"TemporaryFile(/tmp/multipartBody140020863936473500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164780003,"filename":"image_18012025_02_36_02_561123_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/553bde7ffcfebd23d47380158bd954ca.jpg","text":"TemporaryFile(/tmp/multipartBody816492597131684618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164780003,"filename":"image_18012025_02_37_02_168363_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329631487","file1":"1329631482","file0":"1329631449","file4":"1329631508","file5":"1329631512","file3":"1329631500"},"map_files_photo_id_array":[{"photo_id":"1329631512","filename":"file5"},{"photo_id":"1329631487","filename":"file2"},{"photo_id":"1329631508","filename":"file4"},{"photo_id":"1329631482","filename":"file1"},{"photo_id":"1329631449","filename":"file0"},{"photo_id":"1329631500","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329631500":["hashtag1","hashtag2"]},{"1329631487":["hashtag1","hashtag2"]},{"1329631508":["hashtag1","hashtag2"]},{"1329631482":["hashtag1","hashtag2"]},{"1329631449":["hashtag1","hashtag2"]},{"1329631512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329631500, 1329631487, 1329631508, 1329631482, 1329631449, 1329631512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.45898723602295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:46:22.264366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/37/image_18012025_02_37_02_168363_0002.jpg', '/home/pi/Desktop/images/18012025/02/37/image_18012025_02_37_02_168363_0003.jpg', '/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0000.jpg', '/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0001.jpg', '/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0002.jpg', '/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/37/image_18012025_02_37_02_168363_0002.jpg
/home/pi/Desktop/images/18012025/02/37/image_18012025_02_37_02_168363_0003.jpg
/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0000.jpg
/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0001.jpg
/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0002.jpg
/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_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.33849000930786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:47:02.475928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/37/image_18012025_02_37_02_168363_0002.jpg', '/home/pi/Desktop/images/18012025/02/37/image_18012025_02_37_02_168363_0003.jpg', '/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0000.jpg', '/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0001.jpg', '/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0002.jpg', '/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/37/image_18012025_02_37_02_168363_0002.jpg
/home/pi/Desktop/images/18012025/02/37/image_18012025_02_37_02_168363_0003.jpg
/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0000.jpg
/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0001.jpg
/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0002.jpg
/home/pi/Desktop/images/18012025/02/38/image_18012025_02_38_02_664100_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329631691","1329631679","1329631696","1329631681","1329631684","1329631677"],"photo_ids_order":["1329631677","1329631679","1329631681","1329631684","1329631691","1329631696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a8e068e44a3e5ffab59ac9e8ba9558ac.jpg","text":"TemporaryFile(/tmp/multipartBody4835959085385132453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164899262,"filename":"image_18012025_02_38_02_664100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b46b6e8844956f913425a30b7140b218.jpg","text":"TemporaryFile(/tmp/multipartBody4254930138028959010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164899262,"filename":"image_18012025_02_37_02_168363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8da2df6e02144a18eb59ac281792b7fc.jpg","text":"TemporaryFile(/tmp/multipartBody5924707283074570922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164899262,"filename":"image_18012025_02_38_02_664100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/741c5156fe33483a922b0435cdad850c.jpg","text":"TemporaryFile(/tmp/multipartBody6108745128949529788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164899262,"filename":"image_18012025_02_38_02_664100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b1c615d4ac2330389cb08b2a4cff0c53.jpg","text":"TemporaryFile(/tmp/multipartBody2711213265811277182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164899262,"filename":"image_18012025_02_38_02_664100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf4d91179d62e0a2f1bf585f10195aa5.jpg","text":"TemporaryFile(/tmp/multipartBody7994258566039627467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164899262,"filename":"image_18012025_02_37_02_168363_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329631681","file1":"1329631679","file0":"1329631677","file4":"1329631691","file5":"1329631696","file3":"1329631684"},"map_files_photo_id_array":[{"photo_id":"1329631696","filename":"file5"},{"photo_id":"1329631681","filename":"file2"},{"photo_id":"1329631691","filename":"file4"},{"photo_id":"1329631679","filename":"file1"},{"photo_id":"1329631677","filename":"file0"},{"photo_id":"1329631684","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329631691":["hashtag1","hashtag2"]},{"1329631679":["hashtag1","hashtag2"]},{"1329631696":["hashtag1","hashtag2"]},{"1329631681":["hashtag1","hashtag2"]},{"1329631684":["hashtag1","hashtag2"]},{"1329631677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329631691, 1329631679, 1329631696, 1329631681, 1329631684, 1329631677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.46547555923462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:48:02.787597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/39/image_18012025_02_39_02_320269_0000.jpg', '/home/pi/Desktop/images/18012025/02/39/image_18012025_02_39_02_320269_0001.jpg', '/home/pi/Desktop/images/18012025/02/39/image_18012025_02_39_02_320269_0002.jpg', '/home/pi/Desktop/images/18012025/02/39/image_18012025_02_39_02_320269_0003.jpg', '/home/pi/Desktop/images/18012025/02/40/image_18012025_02_40_02_787217_0000.jpg', '/home/pi/Desktop/images/18012025/02/40/image_18012025_02_40_02_787217_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/39/image_18012025_02_39_02_320269_0000.jpg
/home/pi/Desktop/images/18012025/02/39/image_18012025_02_39_02_320269_0001.jpg
/home/pi/Desktop/images/18012025/02/39/image_18012025_02_39_02_320269_0002.jpg
/home/pi/Desktop/images/18012025/02/39/image_18012025_02_39_02_320269_0003.jpg
/home/pi/Desktop/images/18012025/02/40/image_18012025_02_40_02_787217_0000.jpg
/home/pi/Desktop/images/18012025/02/40/image_18012025_02_40_02_787217_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329631775","1329631739","1329631771","1329631780","1329631735","1329631752"],"photo_ids_order":["1329631735","1329631739","1329631752","1329631771","1329631775","1329631780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18257658682b62b93ac7778bfdc0f33f.jpg","text":"TemporaryFile(/tmp/multipartBody270228756228821351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164959365,"filename":"image_18012025_02_40_02_787217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f6515ff0b84b3243544d7e16eb30ad1b.jpg","text":"TemporaryFile(/tmp/multipartBody8886395569535923800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164959365,"filename":"image_18012025_02_39_02_320269_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/df0c73f1961dc0aabc06ee8ffa1df46f.jpg","text":"TemporaryFile(/tmp/multipartBody4435488110735575763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164959365,"filename":"image_18012025_02_39_02_320269_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86706351cfb70952c158432ad21dc948.jpg","text":"TemporaryFile(/tmp/multipartBody8604459380188468008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164959365,"filename":"image_18012025_02_40_02_787217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6da9af57d9e0b5bad18e5e8ea6e7cb14.jpg","text":"TemporaryFile(/tmp/multipartBody8014115572781846733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164959365,"filename":"image_18012025_02_39_02_320269_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16ecdf12c70b4947af5f4c9ba44dba33.jpg","text":"TemporaryFile(/tmp/multipartBody7996322746641977552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737164959365,"filename":"image_18012025_02_39_02_320269_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329631752","file1":"1329631739","file0":"1329631735","file4":"1329631775","file5":"1329631780","file3":"1329631771"},"map_files_photo_id_array":[{"photo_id":"1329631780","filename":"file5"},{"photo_id":"1329631752","filename":"file2"},{"photo_id":"1329631775","filename":"file4"},{"photo_id":"1329631739","filename":"file1"},{"photo_id":"1329631735","filename":"file0"},{"photo_id":"1329631771","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329631775":["hashtag1","hashtag2"]},{"1329631739":["hashtag1","hashtag2"]},{"1329631771":["hashtag1","hashtag2"]},{"1329631780":["hashtag1","hashtag2"]},{"1329631735":["hashtag1","hashtag2"]},{"1329631752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329631775, 1329631739, 1329631771, 1329631780, 1329631735, 1329631752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.57010626792908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:49:02.544418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/40/image_18012025_02_40_02_787217_0002.jpg', '/home/pi/Desktop/images/18012025/02/40/image_18012025_02_40_02_787217_0003.jpg', '/home/pi/Desktop/images/18012025/02/41/image_18012025_02_41_02_332322_0000.jpg', '/home/pi/Desktop/images/18012025/02/41/image_18012025_02_41_02_332322_0001.jpg', '/home/pi/Desktop/images/18012025/02/41/image_18012025_02_41_02_332322_0002.jpg', '/home/pi/Desktop/images/18012025/02/41/image_18012025_02_41_02_332322_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/40/image_18012025_02_40_02_787217_0002.jpg
/home/pi/Desktop/images/18012025/02/40/image_18012025_02_40_02_787217_0003.jpg
/home/pi/Desktop/images/18012025/02/41/image_18012025_02_41_02_332322_0000.jpg
/home/pi/Desktop/images/18012025/02/41/image_18012025_02_41_02_332322_0001.jpg
/home/pi/Desktop/images/18012025/02/41/image_18012025_02_41_02_332322_0002.jpg
/home/pi/Desktop/images/18012025/02/41/image_18012025_02_41_02_332322_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329631796","1329631829","1329631817","1329631825","1329631800","1329631793"],"photo_ids_order":["1329631793","1329631796","1329631800","1329631817","1329631825","1329631829"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/052e425d78c6a72928faa8279f7f24f1.jpg","text":"TemporaryFile(/tmp/multipartBody7500251036042410739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165019194,"filename":"image_18012025_02_40_02_787217_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/155fe1dfb31a65d9b0588e4becef7b79.jpg","text":"TemporaryFile(/tmp/multipartBody2085661798198313357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165019194,"filename":"image_18012025_02_41_02_332322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2cb4f72746782aadcb85f8a27f1e66bb.jpg","text":"TemporaryFile(/tmp/multipartBody6038881947032385532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165019194,"filename":"image_18012025_02_41_02_332322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6591f228c54a10bbb9257076d07bf489.jpg","text":"TemporaryFile(/tmp/multipartBody3315297791574201602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165019194,"filename":"image_18012025_02_41_02_332322_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fdb91f64f8a59bbde5e4302c18e888d6.jpg","text":"TemporaryFile(/tmp/multipartBody4867569841101401988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165019194,"filename":"image_18012025_02_41_02_332322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/45540b8b7a9cbef269a1d76ec904a0b0.jpg","text":"TemporaryFile(/tmp/multipartBody3693029758419491406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165019194,"filename":"image_18012025_02_40_02_787217_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329631800","file1":"1329631796","file0":"1329631793","file4":"1329631825","file5":"1329631829","file3":"1329631817"},"map_files_photo_id_array":[{"photo_id":"1329631829","filename":"file5"},{"photo_id":"1329631800","filename":"file2"},{"photo_id":"1329631825","filename":"file4"},{"photo_id":"1329631796","filename":"file1"},{"photo_id":"1329631793","filename":"file0"},{"photo_id":"1329631817","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329631796":["hashtag1","hashtag2"]},{"1329631829":["hashtag1","hashtag2"]},{"1329631817":["hashtag1","hashtag2"]},{"1329631825":["hashtag1","hashtag2"]},{"1329631800":["hashtag1","hashtag2"]},{"1329631793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329631796, 1329631829, 1329631817, 1329631825, 1329631800, 1329631793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.81859302520752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:50:02.745810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/42/image_18012025_02_42_02_796276_0000.jpg', '/home/pi/Desktop/images/18012025/02/42/image_18012025_02_42_02_796276_0001.jpg', '/home/pi/Desktop/images/18012025/02/42/image_18012025_02_42_02_796276_0002.jpg', '/home/pi/Desktop/images/18012025/02/42/image_18012025_02_42_02_796276_0003.jpg', '/home/pi/Desktop/images/18012025/02/43/image_18012025_02_43_02_289616_0000.jpg', '/home/pi/Desktop/images/18012025/02/43/image_18012025_02_43_02_289616_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/42/image_18012025_02_42_02_796276_0000.jpg
/home/pi/Desktop/images/18012025/02/42/image_18012025_02_42_02_796276_0001.jpg
/home/pi/Desktop/images/18012025/02/42/image_18012025_02_42_02_796276_0002.jpg
/home/pi/Desktop/images/18012025/02/42/image_18012025_02_42_02_796276_0003.jpg
/home/pi/Desktop/images/18012025/02/43/image_18012025_02_43_02_289616_0000.jpg
/home/pi/Desktop/images/18012025/02/43/image_18012025_02_43_02_289616_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329631898","1329631853","1329631849","1329631903","1329631846","1329631842"],"photo_ids_order":["1329631842","1329631846","1329631849","1329631853","1329631898","1329631903"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e04eae7014c3ef68c7ce395166d9743c.jpg","text":"TemporaryFile(/tmp/multipartBody2167271011823574042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165079662,"filename":"image_18012025_02_43_02_289616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b33fe9a0c5aaef93deaf093f637baf92.jpg","text":"TemporaryFile(/tmp/multipartBody1478819818705723641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165079662,"filename":"image_18012025_02_42_02_796276_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b83dd5a4fd47c26f9fafec9852927340.jpg","text":"TemporaryFile(/tmp/multipartBody8874564247178717473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165079662,"filename":"image_18012025_02_42_02_796276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed0631044691ff67ce67128f47778bf3.jpg","text":"TemporaryFile(/tmp/multipartBody1897259751547415789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165079662,"filename":"image_18012025_02_43_02_289616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d7d483709a8c026fb2eb8916537b4c69.jpg","text":"TemporaryFile(/tmp/multipartBody6867435810658130216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165079662,"filename":"image_18012025_02_42_02_796276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2be7d8173364a933fcb1bbad8771e9ec.jpg","text":"TemporaryFile(/tmp/multipartBody8367245619385211045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165079662,"filename":"image_18012025_02_42_02_796276_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329631849","file1":"1329631846","file0":"1329631842","file4":"1329631898","file5":"1329631903","file3":"1329631853"},"map_files_photo_id_array":[{"photo_id":"1329631903","filename":"file5"},{"photo_id":"1329631849","filename":"file2"},{"photo_id":"1329631898","filename":"file4"},{"photo_id":"1329631846","filename":"file1"},{"photo_id":"1329631842","filename":"file0"},{"photo_id":"1329631853","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329631898":["hashtag1","hashtag2"]},{"1329631853":["hashtag1","hashtag2"]},{"1329631849":["hashtag1","hashtag2"]},{"1329631903":["hashtag1","hashtag2"]},{"1329631846":["hashtag1","hashtag2"]},{"1329631842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329631898, 1329631853, 1329631849, 1329631903, 1329631846, 1329631842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.504408836364746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:51:02.537748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/43/image_18012025_02_43_02_289616_0002.jpg', '/home/pi/Desktop/images/18012025/02/43/image_18012025_02_43_02_289616_0003.jpg', '/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0000.jpg', '/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0001.jpg', '/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0002.jpg', '/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/43/image_18012025_02_43_02_289616_0002.jpg
/home/pi/Desktop/images/18012025/02/43/image_18012025_02_43_02_289616_0003.jpg
/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0000.jpg
/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0001.jpg
/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0002.jpg
/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_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.227958917617798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:51:21.896033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/43/image_18012025_02_43_02_289616_0002.jpg', '/home/pi/Desktop/images/18012025/02/43/image_18012025_02_43_02_289616_0003.jpg', '/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0000.jpg', '/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0001.jpg', '/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0002.jpg', '/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/43/image_18012025_02_43_02_289616_0002.jpg
/home/pi/Desktop/images/18012025/02/43/image_18012025_02_43_02_289616_0003.jpg
/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0000.jpg
/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0001.jpg
/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0002.jpg
/home/pi/Desktop/images/18012025/02/44/image_18012025_02_44_02_791867_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329631973","1329631967","1329631948","1329631963","1329631956","1329631971"],"photo_ids_order":["1329631948","1329631956","1329631963","1329631967","1329631971","1329631973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/add98df5ead53970d26fa446e1026036.jpg","text":"TemporaryFile(/tmp/multipartBody9034159280668339098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165158420,"filename":"image_18012025_02_44_02_791867_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd4cb78d44a8d0dcb24d92b385c6afa6.jpg","text":"TemporaryFile(/tmp/multipartBody3277365628859651611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165158420,"filename":"image_18012025_02_44_02_791867_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03b873d8c593e0fdcab811c412f506a4.jpg","text":"TemporaryFile(/tmp/multipartBody3926071599356764551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165158420,"filename":"image_18012025_02_43_02_289616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/57f30bee4b579a88c66826d9bbef4fe3.jpg","text":"TemporaryFile(/tmp/multipartBody8676632770044357973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165158420,"filename":"image_18012025_02_44_02_791867_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e3dcc22efb1edd1b1079ad98b6ebb33.jpg","text":"TemporaryFile(/tmp/multipartBody8145048693072032647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165158420,"filename":"image_18012025_02_43_02_289616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/523ac7695d285d71e96f3d1fd812fa5f.jpg","text":"TemporaryFile(/tmp/multipartBody4831882933522274450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165158420,"filename":"image_18012025_02_44_02_791867_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329631963","file1":"1329631956","file0":"1329631948","file4":"1329631971","file5":"1329631973","file3":"1329631967"},"map_files_photo_id_array":[{"photo_id":"1329631973","filename":"file5"},{"photo_id":"1329631963","filename":"file2"},{"photo_id":"1329631971","filename":"file4"},{"photo_id":"1329631956","filename":"file1"},{"photo_id":"1329631948","filename":"file0"},{"photo_id":"1329631967","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329631973":["hashtag1","hashtag2"]},{"1329631967":["hashtag1","hashtag2"]},{"1329631948":["hashtag1","hashtag2"]},{"1329631963":["hashtag1","hashtag2"]},{"1329631956":["hashtag1","hashtag2"]},{"1329631971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329631973, 1329631967, 1329631948, 1329631963, 1329631956, 1329631971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.538907051086426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:52:22.551521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/45/image_18012025_02_45_02_426651_0000.jpg', '/home/pi/Desktop/images/18012025/02/45/image_18012025_02_45_02_426651_0001.jpg', '/home/pi/Desktop/images/18012025/02/45/image_18012025_02_45_02_426651_0002.jpg', '/home/pi/Desktop/images/18012025/02/45/image_18012025_02_45_02_426651_0003.jpg', '/home/pi/Desktop/images/18012025/02/46/image_18012025_02_46_02_947667_0000.jpg', '/home/pi/Desktop/images/18012025/02/46/image_18012025_02_46_02_947667_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/45/image_18012025_02_45_02_426651_0000.jpg
/home/pi/Desktop/images/18012025/02/45/image_18012025_02_45_02_426651_0001.jpg
/home/pi/Desktop/images/18012025/02/45/image_18012025_02_45_02_426651_0002.jpg
/home/pi/Desktop/images/18012025/02/45/image_18012025_02_45_02_426651_0003.jpg
/home/pi/Desktop/images/18012025/02/46/image_18012025_02_46_02_947667_0000.jpg
/home/pi/Desktop/images/18012025/02/46/image_18012025_02_46_02_947667_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329632003","1329632025","1329631998","1329632007","1329632010","1329631991"],"photo_ids_order":["1329631991","1329631998","1329632003","1329632007","1329632010","1329632025"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f1eac905dc0fa17ce1ee879a7aeedf1.jpg","text":"TemporaryFile(/tmp/multipartBody9075643094586800469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165219459,"filename":"image_18012025_02_45_02_426651_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eb1d575405df9204a552da7028559b19.jpg","text":"TemporaryFile(/tmp/multipartBody1302670628268058110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165219459,"filename":"image_18012025_02_46_02_947667_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/826a43361b0335948a099c847a8ba66d.jpg","text":"TemporaryFile(/tmp/multipartBody4017835856218268824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165219459,"filename":"image_18012025_02_45_02_426651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca6ad2e74c77d21291690fb5d397e702.jpg","text":"TemporaryFile(/tmp/multipartBody5319805544748145513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165219459,"filename":"image_18012025_02_45_02_426651_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fedf55a22d8f8d24a58ef847222e47fc.jpg","text":"TemporaryFile(/tmp/multipartBody8695323660263370401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165219459,"filename":"image_18012025_02_46_02_947667_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/392d2a927586bf16a6f4bf3bb6c11f36.jpg","text":"TemporaryFile(/tmp/multipartBody5358575023145827610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165219459,"filename":"image_18012025_02_45_02_426651_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329632003","file1":"1329631998","file0":"1329631991","file4":"1329632010","file5":"1329632025","file3":"1329632007"},"map_files_photo_id_array":[{"photo_id":"1329632025","filename":"file5"},{"photo_id":"1329632003","filename":"file2"},{"photo_id":"1329632010","filename":"file4"},{"photo_id":"1329631998","filename":"file1"},{"photo_id":"1329631991","filename":"file0"},{"photo_id":"1329632007","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329632003":["hashtag1","hashtag2"]},{"1329632025":["hashtag1","hashtag2"]},{"1329631998":["hashtag1","hashtag2"]},{"1329632007":["hashtag1","hashtag2"]},{"1329632010":["hashtag1","hashtag2"]},{"1329631991":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329632003, 1329632025, 1329631998, 1329632007, 1329632010, 1329631991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.47461485862732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:53:22.018102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/46/image_18012025_02_46_02_947667_0002.jpg', '/home/pi/Desktop/images/18012025/02/46/image_18012025_02_46_02_947667_0003.jpg', '/home/pi/Desktop/images/18012025/02/47/image_18012025_02_47_02_626256_0000.jpg', '/home/pi/Desktop/images/18012025/02/47/image_18012025_02_47_02_626256_0001.jpg', '/home/pi/Desktop/images/18012025/02/47/image_18012025_02_47_02_626256_0002.jpg', '/home/pi/Desktop/images/18012025/02/47/image_18012025_02_47_02_626256_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/46/image_18012025_02_46_02_947667_0002.jpg
/home/pi/Desktop/images/18012025/02/46/image_18012025_02_46_02_947667_0003.jpg
/home/pi/Desktop/images/18012025/02/47/image_18012025_02_47_02_626256_0000.jpg
/home/pi/Desktop/images/18012025/02/47/image_18012025_02_47_02_626256_0001.jpg
/home/pi/Desktop/images/18012025/02/47/image_18012025_02_47_02_626256_0002.jpg
/home/pi/Desktop/images/18012025/02/47/image_18012025_02_47_02_626256_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329632210","1329632197","1329632215","1329632203","1329632208","1329632192"],"photo_ids_order":["1329632192","1329632197","1329632203","1329632208","1329632210","1329632215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2d67e102a2ea198a6a927bc06b17f1e5.jpg","text":"TemporaryFile(/tmp/multipartBody4261643911291560838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165278510,"filename":"image_18012025_02_47_02_626256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9f0a83f8c467c0819f6320f4d60328de.jpg","text":"TemporaryFile(/tmp/multipartBody5682476472437562131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165278510,"filename":"image_18012025_02_46_02_947667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fca1060c7c916e98cb0928ceda488c2b.jpg","text":"TemporaryFile(/tmp/multipartBody7842673609557035447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165278510,"filename":"image_18012025_02_47_02_626256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15ac0509449781e98bbfb16c08b90bc3.jpg","text":"TemporaryFile(/tmp/multipartBody1821679461397917603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165278510,"filename":"image_18012025_02_47_02_626256_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/75979ba2f7e290096b18880267cd455e.jpg","text":"TemporaryFile(/tmp/multipartBody4981696311943940070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165278510,"filename":"image_18012025_02_47_02_626256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eb8f682cf8ec3baec69df0243871a031.jpg","text":"TemporaryFile(/tmp/multipartBody2414867499019940929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165278510,"filename":"image_18012025_02_46_02_947667_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329632203","file1":"1329632197","file0":"1329632192","file4":"1329632210","file5":"1329632215","file3":"1329632208"},"map_files_photo_id_array":[{"photo_id":"1329632215","filename":"file5"},{"photo_id":"1329632203","filename":"file2"},{"photo_id":"1329632210","filename":"file4"},{"photo_id":"1329632197","filename":"file1"},{"photo_id":"1329632192","filename":"file0"},{"photo_id":"1329632208","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329632210":["hashtag1","hashtag2"]},{"1329632197":["hashtag1","hashtag2"]},{"1329632215":["hashtag1","hashtag2"]},{"1329632203":["hashtag1","hashtag2"]},{"1329632208":["hashtag1","hashtag2"]},{"1329632192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329632210, 1329632197, 1329632215, 1329632203, 1329632208, 1329632192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.66568398475647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:54:22.505196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0000.jpg', '/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0001.jpg', '/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0002.jpg', '/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0003.jpg', '/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0000.jpg', '/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0000.jpg
/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0001.jpg
/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0002.jpg
/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0003.jpg
/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0000.jpg
/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_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.925724267959595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:55:02.684791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0000.jpg', '/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0001.jpg', '/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0002.jpg', '/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0003.jpg', '/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0000.jpg', '/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0000.jpg
/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0001.jpg
/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0002.jpg
/home/pi/Desktop/images/18012025/02/48/image_18012025_02_48_02_130131_0003.jpg
/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0000.jpg
/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329633154","1329633166","1329633103","1329633159","1329633105","1329633108"],"photo_ids_order":["1329633103","1329633105","1329633108","1329633154","1329633159","1329633166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d399cb259cda1f7447fc6d9edbc7ba65.jpg","text":"TemporaryFile(/tmp/multipartBody6708708940973150287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165379089,"filename":"image_18012025_02_48_02_130131_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/71e739885372434fc6307794a3891b43.jpg","text":"TemporaryFile(/tmp/multipartBody8550274379327399654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165379089,"filename":"image_18012025_02_49_02_686885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f0d2d323950bd04d55df5fd71fbccfc3.jpg","text":"TemporaryFile(/tmp/multipartBody248505026441721255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165379089,"filename":"image_18012025_02_48_02_130131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3834449b51ae97a0adc07cc470953385.jpg","text":"TemporaryFile(/tmp/multipartBody5406682933384088748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165379089,"filename":"image_18012025_02_49_02_686885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1610724eea2f5547d474b6ce612f9198.jpg","text":"TemporaryFile(/tmp/multipartBody936499070400888120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165379089,"filename":"image_18012025_02_48_02_130131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce8d2924571c89c289a7bb8b88c03f63.jpg","text":"TemporaryFile(/tmp/multipartBody2994528189103533311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165379089,"filename":"image_18012025_02_48_02_130131_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329633108","file1":"1329633105","file0":"1329633103","file4":"1329633159","file5":"1329633166","file3":"1329633154"},"map_files_photo_id_array":[{"photo_id":"1329633166","filename":"file5"},{"photo_id":"1329633108","filename":"file2"},{"photo_id":"1329633159","filename":"file4"},{"photo_id":"1329633105","filename":"file1"},{"photo_id":"1329633103","filename":"file0"},{"photo_id":"1329633154","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329633154":["hashtag1","hashtag2"]},{"1329633166":["hashtag1","hashtag2"]},{"1329633103":["hashtag1","hashtag2"]},{"1329633159":["hashtag1","hashtag2"]},{"1329633105":["hashtag1","hashtag2"]},{"1329633108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329633154, 1329633166, 1329633103, 1329633159, 1329633105, 1329633108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.28588509559631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:56:02.352124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0002.jpg', '/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0003.jpg', '/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0000.jpg', '/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0001.jpg', '/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0002.jpg', '/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0002.jpg
/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0003.jpg
/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0000.jpg
/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0001.jpg
/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0002.jpg
/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_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.089470148086548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:56:21.842685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0002.jpg', '/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0003.jpg', '/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0000.jpg', '/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0001.jpg', '/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0002.jpg', '/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0002.jpg
/home/pi/Desktop/images/18012025/02/49/image_18012025_02_49_02_686885_0003.jpg
/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0000.jpg
/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0001.jpg
/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0002.jpg
/home/pi/Desktop/images/18012025/02/50/image_18012025_02_50_02_184930_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329633574","1329633591","1329633582","1329633585","1329633579","1329633552"],"photo_ids_order":["1329633552","1329633574","1329633579","1329633582","1329633585","1329633591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53cc140fb0c4b3af7fd71ff21c75e5cb.jpg","text":"TemporaryFile(/tmp/multipartBody8771694673592036765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165458315,"filename":"image_18012025_02_49_02_686885_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a156b592253f8305d3d5eb1bbcd3e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1153439425595466388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165458315,"filename":"image_18012025_02_50_02_184930_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e2a0b2302a934c2025d346b88659f522.jpg","text":"TemporaryFile(/tmp/multipartBody3908234957734011239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165458315,"filename":"image_18012025_02_50_02_184930_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f3ebb6d671b89c7935636053b3312509.jpg","text":"TemporaryFile(/tmp/multipartBody6697898437621687723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165458315,"filename":"image_18012025_02_50_02_184930_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c89aa53264fe2e10f004a5dbd461188.jpg","text":"TemporaryFile(/tmp/multipartBody549970367059131530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165458315,"filename":"image_18012025_02_50_02_184930_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/45e278bbc339f5ce326096e6d0d10e54.jpg","text":"TemporaryFile(/tmp/multipartBody6403901085280014109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165458315,"filename":"image_18012025_02_49_02_686885_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329633579","file1":"1329633574","file0":"1329633552","file4":"1329633585","file5":"1329633591","file3":"1329633582"},"map_files_photo_id_array":[{"photo_id":"1329633591","filename":"file5"},{"photo_id":"1329633579","filename":"file2"},{"photo_id":"1329633585","filename":"file4"},{"photo_id":"1329633574","filename":"file1"},{"photo_id":"1329633552","filename":"file0"},{"photo_id":"1329633582","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329633574":["hashtag1","hashtag2"]},{"1329633591":["hashtag1","hashtag2"]},{"1329633582":["hashtag1","hashtag2"]},{"1329633585":["hashtag1","hashtag2"]},{"1329633579":["hashtag1","hashtag2"]},{"1329633552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329633574, 1329633591, 1329633582, 1329633585, 1329633579, 1329633552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.128321409225464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:57:22.279792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0000.jpg', '/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0001.jpg', '/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0002.jpg', '/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0003.jpg', '/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0000.jpg', '/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0000.jpg
/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0001.jpg
/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0002.jpg
/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0003.jpg
/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0000.jpg
/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0001.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 02:59:02.677224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0000.jpg', '/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0001.jpg', '/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0002.jpg', '/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0003.jpg', '/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0000.jpg', '/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0000.jpg
/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0001.jpg
/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0002.jpg
/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0003.jpg
/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0000.jpg
/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.045607089996338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 02:59:21.944435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0000.jpg', '/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0001.jpg', '/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0002.jpg', '/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0003.jpg', '/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0000.jpg', '/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0000.jpg
/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0001.jpg
/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0002.jpg
/home/pi/Desktop/images/18012025/02/51/image_18012025_02_51_02_765901_0003.jpg
/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0000.jpg
/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329633841","1329633844","1329633849","1329633834","1329633837","1329633839"],"photo_ids_order":["1329633834","1329633837","1329633839","1329633841","1329633844","1329633849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a3807252baea443304cef082805410ad.jpg","text":"TemporaryFile(/tmp/multipartBody4136128034174993341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165638270,"filename":"image_18012025_02_51_02_765901_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f85c8bfc520fc197fd78caecc42e8ac6.jpg","text":"TemporaryFile(/tmp/multipartBody1199237642413272290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165638270,"filename":"image_18012025_02_52_02_275110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d18129f7d882c8094561cb20c0b26eb2.jpg","text":"TemporaryFile(/tmp/multipartBody1800952742777447461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165638270,"filename":"image_18012025_02_52_02_275110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/82b87dfd10bac1b46c8bd7e8b8d480fe.jpg","text":"TemporaryFile(/tmp/multipartBody5413313648402793996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165638270,"filename":"image_18012025_02_51_02_765901_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ad4dc751b4ea9878d8cb32d172f23cf.jpg","text":"TemporaryFile(/tmp/multipartBody7423671318485360490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165638270,"filename":"image_18012025_02_51_02_765901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e96c28a4e5360dc5cbb4cba54003a80.jpg","text":"TemporaryFile(/tmp/multipartBody8774430972927176005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165638270,"filename":"image_18012025_02_51_02_765901_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329633839","file1":"1329633837","file0":"1329633834","file4":"1329633844","file5":"1329633849","file3":"1329633841"},"map_files_photo_id_array":[{"photo_id":"1329633849","filename":"file5"},{"photo_id":"1329633839","filename":"file2"},{"photo_id":"1329633844","filename":"file4"},{"photo_id":"1329633837","filename":"file1"},{"photo_id":"1329633834","filename":"file0"},{"photo_id":"1329633841","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329633841":["hashtag1","hashtag2"]},{"1329633844":["hashtag1","hashtag2"]},{"1329633849":["hashtag1","hashtag2"]},{"1329633834":["hashtag1","hashtag2"]},{"1329633837":["hashtag1","hashtag2"]},{"1329633839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329633841, 1329633844, 1329633849, 1329633834, 1329633837, 1329633839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.80503702163696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:00:22.699876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0002.jpg', '/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0003.jpg', '/home/pi/Desktop/images/18012025/02/53/image_18012025_02_53_02_889949_0000.jpg', '/home/pi/Desktop/images/18012025/02/53/image_18012025_02_53_02_889949_0001.jpg', '/home/pi/Desktop/images/18012025/02/53/image_18012025_02_53_02_889949_0002.jpg', '/home/pi/Desktop/images/18012025/02/53/image_18012025_02_53_02_889949_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0002.jpg
/home/pi/Desktop/images/18012025/02/52/image_18012025_02_52_02_275110_0003.jpg
/home/pi/Desktop/images/18012025/02/53/image_18012025_02_53_02_889949_0000.jpg
/home/pi/Desktop/images/18012025/02/53/image_18012025_02_53_02_889949_0001.jpg
/home/pi/Desktop/images/18012025/02/53/image_18012025_02_53_02_889949_0002.jpg
/home/pi/Desktop/images/18012025/02/53/image_18012025_02_53_02_889949_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":["1329633898","1329633931","1329633928","1329633888","1329633906","1329633872"],"photo_ids_order":["1329633872","1329633888","1329633898","1329633906","1329633928","1329633931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/985fff4fda39b9e1d21f859ac8d230ca.jpg","text":"TemporaryFile(/tmp/multipartBody2291499021763422010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165699055,"filename":"image_18012025_02_53_02_889949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9e4fc68188d1ef28cb0b5b488b4cc30e.jpg","text":"TemporaryFile(/tmp/multipartBody5280775170117589709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165699055,"filename":"image_18012025_02_53_02_889949_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/342f8da415c51291fcb72204a80d0b6e.jpg","text":"TemporaryFile(/tmp/multipartBody6790045483968589184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165699055,"filename":"image_18012025_02_53_02_889949_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/afa7a003b9f6743faed65a16cf3adae8.jpg","text":"TemporaryFile(/tmp/multipartBody6307139747479596787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165699055,"filename":"image_18012025_02_52_02_275110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d223edfb8f63b6722ffe15d21361b055.jpg","text":"TemporaryFile(/tmp/multipartBody9139490467826612060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165699055,"filename":"image_18012025_02_53_02_889949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/df63d6e34b4779cd5446ad8b24695073.jpg","text":"TemporaryFile(/tmp/multipartBody725751268081840837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165699055,"filename":"image_18012025_02_52_02_275110_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329633898","file1":"1329633888","file0":"1329633872","file4":"1329633928","file5":"1329633931","file3":"1329633906"},"map_files_photo_id_array":[{"photo_id":"1329633931","filename":"file5"},{"photo_id":"1329633898","filename":"file2"},{"photo_id":"1329633928","filename":"file4"},{"photo_id":"1329633888","filename":"file1"},{"photo_id":"1329633872","filename":"file0"},{"photo_id":"1329633906","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329633898":["hashtag1","hashtag2"]},{"1329633931":["hashtag1","hashtag2"]},{"1329633928":["hashtag1","hashtag2"]},{"1329633888":["hashtag1","hashtag2"]},{"1329633906":["hashtag1","hashtag2"]},{"1329633872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329633898, 1329633931, 1329633928, 1329633888, 1329633906, 1329633872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.56734848022461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:02:02.302539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/54/image_18012025_02_54_02_381963_0000.jpg', '/home/pi/Desktop/images/18012025/02/54/image_18012025_02_54_02_381963_0001.jpg', '/home/pi/Desktop/images/18012025/02/54/image_18012025_02_54_02_381963_0002.jpg', '/home/pi/Desktop/images/18012025/02/54/image_18012025_02_54_02_381963_0003.jpg', '/home/pi/Desktop/images/18012025/02/55/image_18012025_02_55_02_978412_0000.jpg', '/home/pi/Desktop/images/18012025/02/55/image_18012025_02_55_02_978412_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/54/image_18012025_02_54_02_381963_0000.jpg
/home/pi/Desktop/images/18012025/02/54/image_18012025_02_54_02_381963_0001.jpg
/home/pi/Desktop/images/18012025/02/54/image_18012025_02_54_02_381963_0002.jpg
/home/pi/Desktop/images/18012025/02/54/image_18012025_02_54_02_381963_0003.jpg
/home/pi/Desktop/images/18012025/02/55/image_18012025_02_55_02_978412_0000.jpg
/home/pi/Desktop/images/18012025/02/55/image_18012025_02_55_02_978412_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329633994","1329633990","1329634013","1329634001","1329634004","1329633997"],"photo_ids_order":["1329633990","1329633994","1329633997","1329634001","1329634004","1329634013"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2094f512488e693fa3704480ca57f7f5.jpg","text":"TemporaryFile(/tmp/multipartBody2789366812271346099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165798792,"filename":"image_18012025_02_54_02_381963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21791c99c0a6a584db4c9e512a28d8a1.jpg","text":"TemporaryFile(/tmp/multipartBody2914080711015269712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165798792,"filename":"image_18012025_02_54_02_381963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04c05fddf7a60dc1816b631d1b8d3a6b.jpg","text":"TemporaryFile(/tmp/multipartBody5893372236722961252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165798792,"filename":"image_18012025_02_55_02_978412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ede6f7db3b18553d6dade4161e90a30.jpg","text":"TemporaryFile(/tmp/multipartBody1067817166676087899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165798792,"filename":"image_18012025_02_54_02_381963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d4f95208d277399f2d240b87eece633.jpg","text":"TemporaryFile(/tmp/multipartBody8747639664777754583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165798792,"filename":"image_18012025_02_55_02_978412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8517a1cf9191e72f7ae96743844ceecf.jpg","text":"TemporaryFile(/tmp/multipartBody5068778224107406259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165798792,"filename":"image_18012025_02_54_02_381963_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329633997","file1":"1329633994","file0":"1329633990","file4":"1329634004","file5":"1329634013","file3":"1329634001"},"map_files_photo_id_array":[{"photo_id":"1329634013","filename":"file5"},{"photo_id":"1329633997","filename":"file2"},{"photo_id":"1329634004","filename":"file4"},{"photo_id":"1329633994","filename":"file1"},{"photo_id":"1329633990","filename":"file0"},{"photo_id":"1329634001","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329633994":["hashtag1","hashtag2"]},{"1329633990":["hashtag1","hashtag2"]},{"1329634013":["hashtag1","hashtag2"]},{"1329634001":["hashtag1","hashtag2"]},{"1329634004":["hashtag1","hashtag2"]},{"1329633997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329633994, 1329633990, 1329634013, 1329634001, 1329634004, 1329633997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.190048933029175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:03:02.850177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/55/image_18012025_02_55_02_978412_0002.jpg', '/home/pi/Desktop/images/18012025/02/55/image_18012025_02_55_02_978412_0003.jpg', '/home/pi/Desktop/images/18012025/02/56/image_18012025_02_56_02_502126_0000.jpg', '/home/pi/Desktop/images/18012025/02/56/image_18012025_02_56_02_502126_0001.jpg', '/home/pi/Desktop/images/18012025/02/56/image_18012025_02_56_02_502126_0002.jpg', '/home/pi/Desktop/images/18012025/02/56/image_18012025_02_56_02_502126_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/55/image_18012025_02_55_02_978412_0002.jpg
/home/pi/Desktop/images/18012025/02/55/image_18012025_02_55_02_978412_0003.jpg
/home/pi/Desktop/images/18012025/02/56/image_18012025_02_56_02_502126_0000.jpg
/home/pi/Desktop/images/18012025/02/56/image_18012025_02_56_02_502126_0001.jpg
/home/pi/Desktop/images/18012025/02/56/image_18012025_02_56_02_502126_0002.jpg
/home/pi/Desktop/images/18012025/02/56/image_18012025_02_56_02_502126_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":["1329634078","1329634045","1329634030","1329634089","1329634085","1329634081"],"photo_ids_order":["1329634030","1329634045","1329634078","1329634081","1329634085","1329634089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f351943dbbf148cd9b16f61362d613b.jpg","text":"TemporaryFile(/tmp/multipartBody2473198738970762632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165859785,"filename":"image_18012025_02_56_02_502126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a8062b38efc9f4dc2a946836e14ce9a.jpg","text":"TemporaryFile(/tmp/multipartBody7659237829203784282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165859785,"filename":"image_18012025_02_55_02_978412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/497948567826035314f57d263cc123da.jpg","text":"TemporaryFile(/tmp/multipartBody5280837350184896035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165859785,"filename":"image_18012025_02_55_02_978412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/798b3eeaff303ffc691f737ff36fbe8b.jpg","text":"TemporaryFile(/tmp/multipartBody880367848533001838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165859785,"filename":"image_18012025_02_56_02_502126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74971f13f8e603c0d3225d5f3ea5a73e.jpg","text":"TemporaryFile(/tmp/multipartBody2370155991335700045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165859785,"filename":"image_18012025_02_56_02_502126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d659012addcd7e4bcd5e5fca3b0f8cc.jpg","text":"TemporaryFile(/tmp/multipartBody2578285960902149910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165859785,"filename":"image_18012025_02_56_02_502126_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329634078","file1":"1329634045","file0":"1329634030","file4":"1329634085","file5":"1329634089","file3":"1329634081"},"map_files_photo_id_array":[{"photo_id":"1329634089","filename":"file5"},{"photo_id":"1329634078","filename":"file2"},{"photo_id":"1329634085","filename":"file4"},{"photo_id":"1329634045","filename":"file1"},{"photo_id":"1329634030","filename":"file0"},{"photo_id":"1329634081","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329634078":["hashtag1","hashtag2"]},{"1329634045":["hashtag1","hashtag2"]},{"1329634030":["hashtag1","hashtag2"]},{"1329634089":["hashtag1","hashtag2"]},{"1329634085":["hashtag1","hashtag2"]},{"1329634081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329634078, 1329634045, 1329634030, 1329634089, 1329634085, 1329634081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.33969759941101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:04:21.921817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0000.jpg', '/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0001.jpg', '/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0002.jpg', '/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0003.jpg', '/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0000.jpg', '/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0000.jpg
/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0001.jpg
/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0002.jpg
/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0003.jpg
/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0000.jpg
/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_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.809189558029175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:05:03.176246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0000.jpg', '/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0001.jpg', '/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0002.jpg', '/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0003.jpg', '/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0000.jpg', '/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0000.jpg
/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0001.jpg
/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0002.jpg
/home/pi/Desktop/images/18012025/02/57/image_18012025_02_57_02_185499_0003.jpg
/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0000.jpg
/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329634176","1329634158","1329634167","1329634172","1329634175","1329634163"],"photo_ids_order":["1329634158","1329634163","1329634167","1329634172","1329634175","1329634176"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95e47482e3f31ce769f29f58fab92164.jpg","text":"TemporaryFile(/tmp/multipartBody5462203678909088518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165979458,"filename":"image_18012025_02_58_02_706859_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4df590885568953405cc9f1fe013478b.jpg","text":"TemporaryFile(/tmp/multipartBody7519778693234901181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165979458,"filename":"image_18012025_02_57_02_185499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/db967a80c96d6c9ace2b1acdd0bd697f.jpg","text":"TemporaryFile(/tmp/multipartBody1547778739325699708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165979458,"filename":"image_18012025_02_57_02_185499_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe7ad48a58043989850de0216dbccba8.jpg","text":"TemporaryFile(/tmp/multipartBody7674947952717249417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165979458,"filename":"image_18012025_02_57_02_185499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ff4a22cb07e86ba559d961dae3110d6.jpg","text":"TemporaryFile(/tmp/multipartBody4231897801488746145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165979458,"filename":"image_18012025_02_58_02_706859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48360f6d64b05b8f52fe62b5754298e2.jpg","text":"TemporaryFile(/tmp/multipartBody7018467383778427046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737165979458,"filename":"image_18012025_02_57_02_185499_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329634167","file1":"1329634163","file0":"1329634158","file4":"1329634175","file5":"1329634176","file3":"1329634172"},"map_files_photo_id_array":[{"photo_id":"1329634176","filename":"file5"},{"photo_id":"1329634167","filename":"file2"},{"photo_id":"1329634175","filename":"file4"},{"photo_id":"1329634163","filename":"file1"},{"photo_id":"1329634158","filename":"file0"},{"photo_id":"1329634172","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329634176":["hashtag1","hashtag2"]},{"1329634158":["hashtag1","hashtag2"]},{"1329634167":["hashtag1","hashtag2"]},{"1329634172":["hashtag1","hashtag2"]},{"1329634175":["hashtag1","hashtag2"]},{"1329634163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329634176, 1329634158, 1329634167, 1329634172, 1329634175, 1329634163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.343026638031006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:06:02.543859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0002.jpg', '/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0003.jpg', '/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0000.jpg', '/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0001.jpg', '/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0002.jpg', '/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0002.jpg
/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0003.jpg
/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0000.jpg
/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0001.jpg
/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0002.jpg
/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_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.468341588973999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:06:22.180181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0002.jpg', '/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0003.jpg', '/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0000.jpg', '/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0001.jpg', '/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0002.jpg', '/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0002.jpg
/home/pi/Desktop/images/18012025/02/58/image_18012025_02_58_02_706859_0003.jpg
/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0000.jpg
/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0001.jpg
/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0002.jpg
/home/pi/Desktop/images/18012025/02/59/image_18012025_02_59_02_286582_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329634342","1329634336","1329634347","1329634332","1329634320","1329634339"],"photo_ids_order":["1329634320","1329634332","1329634336","1329634339","1329634342","1329634347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/340243bdeb41a268f7b516a139186fd2.jpg","text":"TemporaryFile(/tmp/multipartBody6309986022435569614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166058009,"filename":"image_18012025_02_59_02_286582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff10e9d6c6aabe5fb4702956840cf3de.jpg","text":"TemporaryFile(/tmp/multipartBody3786579509761498406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166058009,"filename":"image_18012025_02_59_02_286582_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3819c3192f5c74d18e8fb5ac0f17a3c4.jpg","text":"TemporaryFile(/tmp/multipartBody7052792507396092734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166058009,"filename":"image_18012025_02_59_02_286582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1fbfdd6adf7e6d867667e2dd26bf099c.jpg","text":"TemporaryFile(/tmp/multipartBody5483754673521008657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166058009,"filename":"image_18012025_02_58_02_706859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eb198447117ab1564d02d030d3f0cd69.jpg","text":"TemporaryFile(/tmp/multipartBody6085226213703769057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166058009,"filename":"image_18012025_02_58_02_706859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf7aa46eec2828987c7038373f79ecdc.jpg","text":"TemporaryFile(/tmp/multipartBody666820643299477038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166058009,"filename":"image_18012025_02_59_02_286582_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329634336","file1":"1329634332","file0":"1329634320","file4":"1329634342","file5":"1329634347","file3":"1329634339"},"map_files_photo_id_array":[{"photo_id":"1329634347","filename":"file5"},{"photo_id":"1329634336","filename":"file2"},{"photo_id":"1329634342","filename":"file4"},{"photo_id":"1329634332","filename":"file1"},{"photo_id":"1329634320","filename":"file0"},{"photo_id":"1329634339","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329634342":["hashtag1","hashtag2"]},{"1329634336":["hashtag1","hashtag2"]},{"1329634347":["hashtag1","hashtag2"]},{"1329634332":["hashtag1","hashtag2"]},{"1329634320":["hashtag1","hashtag2"]},{"1329634339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329634342, 1329634336, 1329634347, 1329634332, 1329634320, 1329634339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.48629307746887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:07:21.744930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/00/image_18012025_03_00_02_541918_0000.jpg', '/home/pi/Desktop/images/18012025/03/00/image_18012025_03_00_02_541918_0001.jpg', '/home/pi/Desktop/images/18012025/03/00/image_18012025_03_00_02_541918_0002.jpg', '/home/pi/Desktop/images/18012025/03/00/image_18012025_03_00_02_541918_0003.jpg', '/home/pi/Desktop/images/18012025/03/01/image_18012025_03_01_03_132842_0000.jpg', '/home/pi/Desktop/images/18012025/03/01/image_18012025_03_01_03_132842_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/00/image_18012025_03_00_02_541918_0000.jpg
/home/pi/Desktop/images/18012025/03/00/image_18012025_03_00_02_541918_0001.jpg
/home/pi/Desktop/images/18012025/03/00/image_18012025_03_00_02_541918_0002.jpg
/home/pi/Desktop/images/18012025/03/00/image_18012025_03_00_02_541918_0003.jpg
/home/pi/Desktop/images/18012025/03/01/image_18012025_03_01_03_132842_0000.jpg
/home/pi/Desktop/images/18012025/03/01/image_18012025_03_01_03_132842_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329634374","1329634370","1329634367","1329634376","1329634381","1329634372"],"photo_ids_order":["1329634367","1329634370","1329634372","1329634374","1329634376","1329634381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5f1aabd7c3146f8d4c2b652dcb03fe79.jpg","text":"TemporaryFile(/tmp/multipartBody2562445379477305740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166118229,"filename":"image_18012025_03_00_02_541918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b5a8483ec8e3b3f070ebbb7566a7abb4.jpg","text":"TemporaryFile(/tmp/multipartBody8439082944561793857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166118229,"filename":"image_18012025_03_00_02_541918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/56723f509de61e614300aacf4fd75367.jpg","text":"TemporaryFile(/tmp/multipartBody2857859270628343695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166118229,"filename":"image_18012025_03_00_02_541918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dfd0c7d8d96c99a9f3266f91d4b53f60.jpg","text":"TemporaryFile(/tmp/multipartBody7802300026201385017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166118229,"filename":"image_18012025_03_01_03_132842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70b3609d733ca3d0fe96910c9c38d71a.jpg","text":"TemporaryFile(/tmp/multipartBody6295905136275613576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166118229,"filename":"image_18012025_03_01_03_132842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0fd46cb180a998030b51cef06b7e1bf6.jpg","text":"TemporaryFile(/tmp/multipartBody555208665338194708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166118229,"filename":"image_18012025_03_00_02_541918_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329634372","file1":"1329634370","file0":"1329634367","file4":"1329634376","file5":"1329634381","file3":"1329634374"},"map_files_photo_id_array":[{"photo_id":"1329634381","filename":"file5"},{"photo_id":"1329634372","filename":"file2"},{"photo_id":"1329634376","filename":"file4"},{"photo_id":"1329634370","filename":"file1"},{"photo_id":"1329634367","filename":"file0"},{"photo_id":"1329634374","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329634374":["hashtag1","hashtag2"]},{"1329634370":["hashtag1","hashtag2"]},{"1329634367":["hashtag1","hashtag2"]},{"1329634376":["hashtag1","hashtag2"]},{"1329634381":["hashtag1","hashtag2"]},{"1329634372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329634374, 1329634370, 1329634367, 1329634376, 1329634381, 1329634372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.793556213378906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:08:22.218893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/01/image_18012025_03_01_03_132842_0002.jpg', '/home/pi/Desktop/images/18012025/03/01/image_18012025_03_01_03_132842_0003.jpg', '/home/pi/Desktop/images/18012025/03/02/image_18012025_03_02_02_704603_0000.jpg', '/home/pi/Desktop/images/18012025/03/02/image_18012025_03_02_02_704603_0001.jpg', '/home/pi/Desktop/images/18012025/03/02/image_18012025_03_02_02_704603_0002.jpg', '/home/pi/Desktop/images/18012025/03/02/image_18012025_03_02_02_704603_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/01/image_18012025_03_01_03_132842_0002.jpg
/home/pi/Desktop/images/18012025/03/01/image_18012025_03_01_03_132842_0003.jpg
/home/pi/Desktop/images/18012025/03/02/image_18012025_03_02_02_704603_0000.jpg
/home/pi/Desktop/images/18012025/03/02/image_18012025_03_02_02_704603_0001.jpg
/home/pi/Desktop/images/18012025/03/02/image_18012025_03_02_02_704603_0002.jpg
/home/pi/Desktop/images/18012025/03/02/image_18012025_03_02_02_704603_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329635367","1329635433","1329635363","1329635429","1329635386","1329635383"],"photo_ids_order":["1329635363","1329635367","1329635383","1329635386","1329635429","1329635433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de75aec421de7435d65f0516f4e8590b.jpg","text":"TemporaryFile(/tmp/multipartBody2417335697360007048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166178854,"filename":"image_18012025_03_01_03_132842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e4a62bc9c598e80b6289b0198e11c970.jpg","text":"TemporaryFile(/tmp/multipartBody6208810233668173274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166178854,"filename":"image_18012025_03_02_02_704603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e24a441098e5cf119478f1e313f74ef8.jpg","text":"TemporaryFile(/tmp/multipartBody8036155878309550312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166178854,"filename":"image_18012025_03_01_03_132842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15fcfe7ee6130e2e84f71a3f5dc97a75.jpg","text":"TemporaryFile(/tmp/multipartBody3446692536092369099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166178854,"filename":"image_18012025_03_02_02_704603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86e8920d6b39d9a31065a4140f4406c1.jpg","text":"TemporaryFile(/tmp/multipartBody8181963971336823324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166178854,"filename":"image_18012025_03_02_02_704603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8360e941b03eb18d21c534d0defadf83.jpg","text":"TemporaryFile(/tmp/multipartBody5390491098333612175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166178854,"filename":"image_18012025_03_02_02_704603_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329635383","file1":"1329635367","file0":"1329635363","file4":"1329635429","file5":"1329635433","file3":"1329635386"},"map_files_photo_id_array":[{"photo_id":"1329635433","filename":"file5"},{"photo_id":"1329635383","filename":"file2"},{"photo_id":"1329635429","filename":"file4"},{"photo_id":"1329635367","filename":"file1"},{"photo_id":"1329635363","filename":"file0"},{"photo_id":"1329635386","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329635367":["hashtag1","hashtag2"]},{"1329635433":["hashtag1","hashtag2"]},{"1329635363":["hashtag1","hashtag2"]},{"1329635429":["hashtag1","hashtag2"]},{"1329635386":["hashtag1","hashtag2"]},{"1329635383":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329635367, 1329635433, 1329635363, 1329635429, 1329635386, 1329635383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.69128489494324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:09:21.775972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/03/image_18012025_03_03_02_185034_0000.jpg', '/home/pi/Desktop/images/18012025/03/03/image_18012025_03_03_02_185034_0001.jpg', '/home/pi/Desktop/images/18012025/03/03/image_18012025_03_03_02_185034_0002.jpg', '/home/pi/Desktop/images/18012025/03/03/image_18012025_03_03_02_185034_0003.jpg', '/home/pi/Desktop/images/18012025/03/04/image_18012025_03_04_02_728724_0000.jpg', '/home/pi/Desktop/images/18012025/03/04/image_18012025_03_04_02_728724_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/03/image_18012025_03_03_02_185034_0000.jpg
/home/pi/Desktop/images/18012025/03/03/image_18012025_03_03_02_185034_0001.jpg
/home/pi/Desktop/images/18012025/03/03/image_18012025_03_03_02_185034_0002.jpg
/home/pi/Desktop/images/18012025/03/03/image_18012025_03_03_02_185034_0003.jpg
/home/pi/Desktop/images/18012025/03/04/image_18012025_03_04_02_728724_0000.jpg
/home/pi/Desktop/images/18012025/03/04/image_18012025_03_04_02_728724_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329635508","1329635510","1329635799","1329635580","1329635512","1329635506"],"photo_ids_order":["1329635506","1329635508","1329635510","1329635512","1329635580","1329635799"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/379d584e9b08fd8c768729715957ea64.jpg","text":"TemporaryFile(/tmp/multipartBody5374686308346830668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166237929,"filename":"image_18012025_03_03_02_185034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c51791bcc406f857c92b23517bbd9aca.jpg","text":"TemporaryFile(/tmp/multipartBody3590425060375882867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166237929,"filename":"image_18012025_03_03_02_185034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f741f40015eaa0af64214f075c3161a.jpg","text":"TemporaryFile(/tmp/multipartBody5353903958745101348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166237929,"filename":"image_18012025_03_04_02_728724_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/357fc5a9c24871dc34d94266d777f1bd.jpg","text":"TemporaryFile(/tmp/multipartBody7785267927587241517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166237929,"filename":"image_18012025_03_04_02_728724_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a92280759530804b91a729c2756884a9.jpg","text":"TemporaryFile(/tmp/multipartBody7433612977012033279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166237929,"filename":"image_18012025_03_03_02_185034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e269f48a8aa059b31f08bcc14677960a.jpg","text":"TemporaryFile(/tmp/multipartBody1800577753408096311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166237929,"filename":"image_18012025_03_03_02_185034_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329635510","file1":"1329635508","file0":"1329635506","file4":"1329635580","file5":"1329635799","file3":"1329635512"},"map_files_photo_id_array":[{"photo_id":"1329635799","filename":"file5"},{"photo_id":"1329635510","filename":"file2"},{"photo_id":"1329635580","filename":"file4"},{"photo_id":"1329635508","filename":"file1"},{"photo_id":"1329635506","filename":"file0"},{"photo_id":"1329635512","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329635508":["hashtag1","hashtag2"]},{"1329635510":["hashtag1","hashtag2"]},{"1329635799":["hashtag1","hashtag2"]},{"1329635580":["hashtag1","hashtag2"]},{"1329635512":["hashtag1","hashtag2"]},{"1329635506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329635508, 1329635510, 1329635799, 1329635580, 1329635512, 1329635506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.86077928543091 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:10:22.276535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/04/image_18012025_03_04_02_728724_0002.jpg', '/home/pi/Desktop/images/18012025/03/04/image_18012025_03_04_02_728724_0003.jpg', '/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0000.jpg', '/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0001.jpg', '/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0002.jpg', '/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/04/image_18012025_03_04_02_728724_0002.jpg
/home/pi/Desktop/images/18012025/03/04/image_18012025_03_04_02_728724_0003.jpg
/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0000.jpg
/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0001.jpg
/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0002.jpg
/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_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.672059774398804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:11:02.480993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/04/image_18012025_03_04_02_728724_0002.jpg', '/home/pi/Desktop/images/18012025/03/04/image_18012025_03_04_02_728724_0003.jpg', '/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0000.jpg', '/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0001.jpg', '/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0002.jpg', '/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/04/image_18012025_03_04_02_728724_0002.jpg
/home/pi/Desktop/images/18012025/03/04/image_18012025_03_04_02_728724_0003.jpg
/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0000.jpg
/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0001.jpg
/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0002.jpg
/home/pi/Desktop/images/18012025/03/05/image_18012025_03_05_02_334639_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329636414","1329636392","1329636386","1329636425","1329636410","1329636328"],"photo_ids_order":["1329636328","1329636386","1329636392","1329636410","1329636414","1329636425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a6b8b3b7b83c25ab716717d0c900ff0.jpg","text":"TemporaryFile(/tmp/multipartBody6928041493968067496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166338596,"filename":"image_18012025_03_05_02_334639_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1938a367170640298abf882431461341.jpg","text":"TemporaryFile(/tmp/multipartBody2109469225777402087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166338596,"filename":"image_18012025_03_05_02_334639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a8784ccadb194f116db7272741034f93.jpg","text":"TemporaryFile(/tmp/multipartBody6814291700943954762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166338596,"filename":"image_18012025_03_04_02_728724_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e42eb3e2f7aa2a29a9034187af1b1a5d.jpg","text":"TemporaryFile(/tmp/multipartBody7073444482178301875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166338596,"filename":"image_18012025_03_05_02_334639_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1876601b7452f62e4735ffdb3a668a71.jpg","text":"TemporaryFile(/tmp/multipartBody1330870555679333453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166338596,"filename":"image_18012025_03_05_02_334639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ef75debd9dc12cd05c270cf939b74fd.jpg","text":"TemporaryFile(/tmp/multipartBody7168192198801687643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166338596,"filename":"image_18012025_03_04_02_728724_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329636392","file1":"1329636386","file0":"1329636328","file4":"1329636414","file5":"1329636425","file3":"1329636410"},"map_files_photo_id_array":[{"photo_id":"1329636425","filename":"file5"},{"photo_id":"1329636392","filename":"file2"},{"photo_id":"1329636414","filename":"file4"},{"photo_id":"1329636386","filename":"file1"},{"photo_id":"1329636328","filename":"file0"},{"photo_id":"1329636410","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329636414":["hashtag1","hashtag2"]},{"1329636392":["hashtag1","hashtag2"]},{"1329636386":["hashtag1","hashtag2"]},{"1329636425":["hashtag1","hashtag2"]},{"1329636410":["hashtag1","hashtag2"]},{"1329636328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329636414, 1329636392, 1329636386, 1329636425, 1329636410, 1329636328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.60730171203613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:12:02.806534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/06/image_18012025_03_06_02_878687_0003.jpg', '/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0000.jpg', '/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0001.jpg', '/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0002.jpg', '/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0003.jpg', '/home/pi/Desktop/images/18012025/03/08/image_18012025_03_08_02_124357_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/06/image_18012025_03_06_02_878687_0003.jpg
/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0000.jpg
/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0001.jpg
/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0002.jpg
/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0003.jpg
/home/pi/Desktop/images/18012025/03/08/image_18012025_03_08_02_124357_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.20976495742798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:12:22.407558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/06/image_18012025_03_06_02_878687_0003.jpg', '/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0000.jpg', '/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0001.jpg', '/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0002.jpg', '/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0003.jpg', '/home/pi/Desktop/images/18012025/03/08/image_18012025_03_08_02_124357_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/06/image_18012025_03_06_02_878687_0003.jpg
/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0000.jpg
/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0001.jpg
/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0002.jpg
/home/pi/Desktop/images/18012025/03/07/image_18012025_03_07_02_656332_0003.jpg
/home/pi/Desktop/images/18012025/03/08/image_18012025_03_08_02_124357_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329636461","1329636464","1329636446","1329636451","1329636469","1329636456"],"photo_ids_order":["1329636446","1329636451","1329636456","1329636461","1329636464","1329636469"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a95693cb1a8ecfbe9a92e62c8293c7a.jpg","text":"TemporaryFile(/tmp/multipartBody1067120359053798140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166419000,"filename":"image_18012025_03_07_02_656332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4bbe7c757ef7b0bf038a69d6466febd.jpg","text":"TemporaryFile(/tmp/multipartBody3581391864107245836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166419000,"filename":"image_18012025_03_07_02_656332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d41ed45edee038bafba91528dd06a9b.jpg","text":"TemporaryFile(/tmp/multipartBody5081738548992062917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166419000,"filename":"image_18012025_03_06_02_878687_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/786ffaf2e30eb4b5b502d7ad78492a62.jpg","text":"TemporaryFile(/tmp/multipartBody6941560661978602524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166419000,"filename":"image_18012025_03_07_02_656332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd6c0458f18a675c643b5e21babfee0b.jpg","text":"TemporaryFile(/tmp/multipartBody8517540041645554124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166419000,"filename":"image_18012025_03_08_02_124357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/09670c351598249114b1ee852b2dd546.jpg","text":"TemporaryFile(/tmp/multipartBody3933483534857998258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166419000,"filename":"image_18012025_03_07_02_656332_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329636456","file1":"1329636451","file0":"1329636446","file4":"1329636464","file5":"1329636469","file3":"1329636461"},"map_files_photo_id_array":[{"photo_id":"1329636469","filename":"file5"},{"photo_id":"1329636456","filename":"file2"},{"photo_id":"1329636464","filename":"file4"},{"photo_id":"1329636451","filename":"file1"},{"photo_id":"1329636446","filename":"file0"},{"photo_id":"1329636461","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329636461":["hashtag1","hashtag2"]},{"1329636464":["hashtag1","hashtag2"]},{"1329636446":["hashtag1","hashtag2"]},{"1329636451":["hashtag1","hashtag2"]},{"1329636469":["hashtag1","hashtag2"]},{"1329636456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329636461, 1329636464, 1329636446, 1329636451, 1329636469, 1329636456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.484280586242676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:13:21.903047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/08/image_18012025_03_08_02_124357_0001.jpg', '/home/pi/Desktop/images/18012025/03/08/image_18012025_03_08_02_124357_0002.jpg', '/home/pi/Desktop/images/18012025/03/08/image_18012025_03_08_02_124357_0003.jpg', '/home/pi/Desktop/images/18012025/03/09/image_18012025_03_09_02_618487_0000.jpg', '/home/pi/Desktop/images/18012025/03/09/image_18012025_03_09_02_618487_0001.jpg', '/home/pi/Desktop/images/18012025/03/09/image_18012025_03_09_02_618487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/08/image_18012025_03_08_02_124357_0001.jpg
/home/pi/Desktop/images/18012025/03/08/image_18012025_03_08_02_124357_0002.jpg
/home/pi/Desktop/images/18012025/03/08/image_18012025_03_08_02_124357_0003.jpg
/home/pi/Desktop/images/18012025/03/09/image_18012025_03_09_02_618487_0000.jpg
/home/pi/Desktop/images/18012025/03/09/image_18012025_03_09_02_618487_0001.jpg
/home/pi/Desktop/images/18012025/03/09/image_18012025_03_09_02_618487_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329636615","1329636611","1329636598","1329636631","1329636613","1329636657"],"photo_ids_order":["1329636598","1329636611","1329636613","1329636615","1329636631","1329636657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2af727980e600e44654df52e4c8db9b9.jpg","text":"TemporaryFile(/tmp/multipartBody8654682567375608778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166478351,"filename":"image_18012025_03_09_02_618487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/584c6575eff044c0e8c6491b941b7baa.jpg","text":"TemporaryFile(/tmp/multipartBody666433058415370056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166478351,"filename":"image_18012025_03_08_02_124357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2bdc635f2583595561c9ecfbaa7fa9c.jpg","text":"TemporaryFile(/tmp/multipartBody3750550079508488288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166478351,"filename":"image_18012025_03_08_02_124357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d12b5150db5e02cfc81ad301d7db9a11.jpg","text":"TemporaryFile(/tmp/multipartBody5984947037920491786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166478351,"filename":"image_18012025_03_09_02_618487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dbde1d27190f5aa818fe7ff46cafe425.jpg","text":"TemporaryFile(/tmp/multipartBody8681353045675761746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166478351,"filename":"image_18012025_03_08_02_124357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/590b97f63bf7b4dfb707fc7eb4f187c9.jpg","text":"TemporaryFile(/tmp/multipartBody1326002970461195889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166478351,"filename":"image_18012025_03_09_02_618487_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329636613","file1":"1329636611","file0":"1329636598","file4":"1329636631","file5":"1329636657","file3":"1329636615"},"map_files_photo_id_array":[{"photo_id":"1329636657","filename":"file5"},{"photo_id":"1329636613","filename":"file2"},{"photo_id":"1329636631","filename":"file4"},{"photo_id":"1329636611","filename":"file1"},{"photo_id":"1329636598","filename":"file0"},{"photo_id":"1329636615","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329636615":["hashtag1","hashtag2"]},{"1329636611":["hashtag1","hashtag2"]},{"1329636598":["hashtag1","hashtag2"]},{"1329636631":["hashtag1","hashtag2"]},{"1329636613":["hashtag1","hashtag2"]},{"1329636657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329636615, 1329636611, 1329636598, 1329636631, 1329636613, 1329636657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.0073766708374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:14:22.417913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/09/image_18012025_03_09_02_618487_0003.jpg', '/home/pi/Desktop/images/18012025/03/10/image_18012025_03_10_02_157305_0000.jpg', '/home/pi/Desktop/images/18012025/03/10/image_18012025_03_10_02_157305_0001.jpg', '/home/pi/Desktop/images/18012025/03/10/image_18012025_03_10_02_157305_0002.jpg', '/home/pi/Desktop/images/18012025/03/10/image_18012025_03_10_02_157305_0003.jpg', '/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/09/image_18012025_03_09_02_618487_0003.jpg
/home/pi/Desktop/images/18012025/03/10/image_18012025_03_10_02_157305_0000.jpg
/home/pi/Desktop/images/18012025/03/10/image_18012025_03_10_02_157305_0001.jpg
/home/pi/Desktop/images/18012025/03/10/image_18012025_03_10_02_157305_0002.jpg
/home/pi/Desktop/images/18012025/03/10/image_18012025_03_10_02_157305_0003.jpg
/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329636702","1329636705","1329636695","1329636707","1329636709","1329636699"],"photo_ids_order":["1329636695","1329636699","1329636702","1329636705","1329636707","1329636709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2437b19bb1ad936b42d85b2a1242dbb7.jpg","text":"TemporaryFile(/tmp/multipartBody4573612676088313269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166539116,"filename":"image_18012025_03_10_02_157305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a8ab5932df2bf1eb3026c54d4dd0b20.jpg","text":"TemporaryFile(/tmp/multipartBody4125642084076151707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166539116,"filename":"image_18012025_03_10_02_157305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e66e39fa07b487a9ea462e2dff9116f6.jpg","text":"TemporaryFile(/tmp/multipartBody1418804787918860920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166539116,"filename":"image_18012025_03_09_02_618487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4234f383673b780a27a0d667aefa1d9b.jpg","text":"TemporaryFile(/tmp/multipartBody6736621348144609394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166539116,"filename":"image_18012025_03_10_02_157305_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86fbf0a0f9fa40900eab42da0f5c0b60.jpg","text":"TemporaryFile(/tmp/multipartBody1655027972543813643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166539116,"filename":"image_18012025_03_11_02_649254_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d1fb6d8a102b6232511838f36a7480f.jpg","text":"TemporaryFile(/tmp/multipartBody3026359236585968526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166539116,"filename":"image_18012025_03_10_02_157305_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329636702","file1":"1329636699","file0":"1329636695","file4":"1329636707","file5":"1329636709","file3":"1329636705"},"map_files_photo_id_array":[{"photo_id":"1329636709","filename":"file5"},{"photo_id":"1329636702","filename":"file2"},{"photo_id":"1329636707","filename":"file4"},{"photo_id":"1329636699","filename":"file1"},{"photo_id":"1329636695","filename":"file0"},{"photo_id":"1329636705","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329636702":["hashtag1","hashtag2"]},{"1329636705":["hashtag1","hashtag2"]},{"1329636695":["hashtag1","hashtag2"]},{"1329636707":["hashtag1","hashtag2"]},{"1329636709":["hashtag1","hashtag2"]},{"1329636699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329636702, 1329636705, 1329636695, 1329636707, 1329636709, 1329636699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.61977434158325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:15:21.971274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0001.jpg', '/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0002.jpg', '/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0003.jpg', '/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0000.jpg', '/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0001.jpg', '/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0001.jpg
/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0002.jpg
/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0003.jpg
/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0000.jpg
/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0001.jpg
/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.667559385299683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:16:02.958371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0001.jpg', '/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0002.jpg', '/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0003.jpg', '/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0000.jpg', '/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0001.jpg', '/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0001.jpg
/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0002.jpg
/home/pi/Desktop/images/18012025/03/11/image_18012025_03_11_02_649254_0003.jpg
/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0000.jpg
/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0001.jpg
/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329637535","1329637540","1329637531","1329637497","1329637524","1329637527"],"photo_ids_order":["1329637497","1329637524","1329637527","1329637531","1329637535","1329637540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e62efe368b3a2ece18f17ee5f8353d78.jpg","text":"TemporaryFile(/tmp/multipartBody4201244292161332375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166640058,"filename":"image_18012025_03_12_02_159429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ca2252d09880040e243bf469bdd74da.jpg","text":"TemporaryFile(/tmp/multipartBody7043743994366683288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166640058,"filename":"image_18012025_03_12_02_159429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3038582c139b706647569e5be0de1dc1.jpg","text":"TemporaryFile(/tmp/multipartBody1363014288177762504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166640058,"filename":"image_18012025_03_12_02_159429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc422a756930fcebbaad74b3f2c92aae.jpg","text":"TemporaryFile(/tmp/multipartBody5290411098600798989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166640058,"filename":"image_18012025_03_11_02_649254_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/78b95133d1f27d146c63e38b829854da.jpg","text":"TemporaryFile(/tmp/multipartBody4160792940676539605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166640058,"filename":"image_18012025_03_11_02_649254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c0ebaa941b03dd6bb57183b5ce3c3ac6.jpg","text":"TemporaryFile(/tmp/multipartBody9126896305982276780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166640058,"filename":"image_18012025_03_11_02_649254_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329637527","file1":"1329637524","file0":"1329637497","file4":"1329637535","file5":"1329637540","file3":"1329637531"},"map_files_photo_id_array":[{"photo_id":"1329637540","filename":"file5"},{"photo_id":"1329637527","filename":"file2"},{"photo_id":"1329637535","filename":"file4"},{"photo_id":"1329637524","filename":"file1"},{"photo_id":"1329637497","filename":"file0"},{"photo_id":"1329637531","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329637535":["hashtag1","hashtag2"]},{"1329637540":["hashtag1","hashtag2"]},{"1329637531":["hashtag1","hashtag2"]},{"1329637497":["hashtag1","hashtag2"]},{"1329637524":["hashtag1","hashtag2"]},{"1329637527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329637535, 1329637540, 1329637531, 1329637497, 1329637524, 1329637527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.46214747428894 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-18 03:17:22.010165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0003.jpg', '/home/pi/Desktop/images/18012025/03/13/image_18012025_03_13_02_804377_0000.jpg', '/home/pi/Desktop/images/18012025/03/13/image_18012025_03_13_02_804377_0001.jpg', '/home/pi/Desktop/images/18012025/03/13/image_18012025_03_13_02_804377_0002.jpg', '/home/pi/Desktop/images/18012025/03/13/image_18012025_03_13_02_804377_0003.jpg', '/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/12/image_18012025_03_12_02_159429_0003.jpg
/home/pi/Desktop/images/18012025/03/13/image_18012025_03_13_02_804377_0000.jpg
/home/pi/Desktop/images/18012025/03/13/image_18012025_03_13_02_804377_0001.jpg
/home/pi/Desktop/images/18012025/03/13/image_18012025_03_13_02_804377_0002.jpg
/home/pi/Desktop/images/18012025/03/13/image_18012025_03_13_02_804377_0003.jpg
/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_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":["1329637823","1329637829","1329637834","1329637930","1329637819","1329637872"],"photo_ids_order":["1329637819","1329637823","1329637829","1329637834","1329637872","1329637930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a1c1bd890f2466cf2f4d26724624f97.jpg","text":"TemporaryFile(/tmp/multipartBody6456643310783459908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166718986,"filename":"image_18012025_03_13_02_804377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3002e3b88eb87f01e5bf276b7fca98e8.jpg","text":"TemporaryFile(/tmp/multipartBody8558052155840141370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166718986,"filename":"image_18012025_03_13_02_804377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/42a68480e81155ddc2fd1c48193690f1.jpg","text":"TemporaryFile(/tmp/multipartBody8513460308706449978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166718986,"filename":"image_18012025_03_13_02_804377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21c9a1e97cff38a350564519f85e37fc.jpg","text":"TemporaryFile(/tmp/multipartBody1407916855653685014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166718986,"filename":"image_18012025_03_14_02_298202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/81a9cd2abf69cc8382731f72e1c91541.jpg","text":"TemporaryFile(/tmp/multipartBody2153667843145447378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166718986,"filename":"image_18012025_03_12_02_159429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da8eb5169addb4ed07383bc9cb24841d.jpg","text":"TemporaryFile(/tmp/multipartBody7749192755889754338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166718986,"filename":"image_18012025_03_13_02_804377_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329637829","file1":"1329637823","file0":"1329637819","file4":"1329637872","file5":"1329637930","file3":"1329637834"},"map_files_photo_id_array":[{"photo_id":"1329637930","filename":"file5"},{"photo_id":"1329637829","filename":"file2"},{"photo_id":"1329637872","filename":"file4"},{"photo_id":"1329637823","filename":"file1"},{"photo_id":"1329637819","filename":"file0"},{"photo_id":"1329637834","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329637823":["hashtag1","hashtag2"]},{"1329637829":["hashtag1","hashtag2"]},{"1329637834":["hashtag1","hashtag2"]},{"1329637930":["hashtag1","hashtag2"]},{"1329637819":["hashtag1","hashtag2"]},{"1329637872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329637823, 1329637829, 1329637834, 1329637930, 1329637819, 1329637872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.99491357803345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:19:02.741902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_0001.jpg', '/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_0002.jpg', '/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_0003.jpg', '/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0000.jpg', '/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0001.jpg', '/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_0001.jpg
/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_0002.jpg
/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_0003.jpg
/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0000.jpg
/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0001.jpg
/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.592377424240112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:19:22.031186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_0001.jpg', '/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_0002.jpg', '/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_0003.jpg', '/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0000.jpg', '/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0001.jpg', '/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_0001.jpg
/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_0002.jpg
/home/pi/Desktop/images/18012025/03/14/image_18012025_03_14_02_298202_0003.jpg
/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0000.jpg
/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0001.jpg
/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329639094","1329638744","1329638938","1329638521","1329639089","1329639071"],"photo_ids_order":["1329638521","1329638744","1329638938","1329639071","1329639089","1329639094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0ce23f85b2d1cb5c14693c566f086e0.jpg","text":"TemporaryFile(/tmp/multipartBody9138141091269731538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166838947,"filename":"image_18012025_03_15_02_781898_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc643a333b2daaa2bf6b3556bf3339ff.jpg","text":"TemporaryFile(/tmp/multipartBody2724920788033364334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166838947,"filename":"image_18012025_03_14_02_298202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d2fcd61895a1ad0e7880e448c67f788.jpg","text":"TemporaryFile(/tmp/multipartBody3210424001102223066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166838947,"filename":"image_18012025_03_14_02_298202_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a4736b09fbb9e53ca52b66aa0c98463.jpg","text":"TemporaryFile(/tmp/multipartBody8393182865037255439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166838947,"filename":"image_18012025_03_14_02_298202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96c5ec082670371906a266d0b1e9875d.jpg","text":"TemporaryFile(/tmp/multipartBody1597122028061058661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166838947,"filename":"image_18012025_03_15_02_781898_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/711917c477af5fe14869cb0359230da0.jpg","text":"TemporaryFile(/tmp/multipartBody6709697951329639492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166838947,"filename":"image_18012025_03_15_02_781898_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329638938","file1":"1329638744","file0":"1329638521","file4":"1329639089","file5":"1329639094","file3":"1329639071"},"map_files_photo_id_array":[{"photo_id":"1329639094","filename":"file5"},{"photo_id":"1329638938","filename":"file2"},{"photo_id":"1329639089","filename":"file4"},{"photo_id":"1329638744","filename":"file1"},{"photo_id":"1329638521","filename":"file0"},{"photo_id":"1329639071","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329639094":["hashtag1","hashtag2"]},{"1329638744":["hashtag1","hashtag2"]},{"1329638938":["hashtag1","hashtag2"]},{"1329638521":["hashtag1","hashtag2"]},{"1329639089":["hashtag1","hashtag2"]},{"1329639071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329639094, 1329638744, 1329638938, 1329638521, 1329639089, 1329639071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.45493459701538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:21:02.734078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0003.jpg', '/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0000.jpg', '/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0001.jpg', '/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0002.jpg', '/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0003.jpg', '/home/pi/Desktop/images/18012025/03/17/image_18012025_03_17_02_897120_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0003.jpg
/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0000.jpg
/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0001.jpg
/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0002.jpg
/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0003.jpg
/home/pi/Desktop/images/18012025/03/17/image_18012025_03_17_02_897120_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.11946201324463 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:21:22.117895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0003.jpg', '/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0000.jpg', '/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0001.jpg', '/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0002.jpg', '/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0003.jpg', '/home/pi/Desktop/images/18012025/03/17/image_18012025_03_17_02_897120_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/15/image_18012025_03_15_02_781898_0003.jpg
/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0000.jpg
/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0001.jpg
/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0002.jpg
/home/pi/Desktop/images/18012025/03/16/image_18012025_03_16_02_390322_0003.jpg
/home/pi/Desktop/images/18012025/03/17/image_18012025_03_17_02_897120_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329639499","1329639502","1329639504","1329639507","1329639488","1329639493"],"photo_ids_order":["1329639488","1329639493","1329639499","1329639502","1329639504","1329639507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c48bf679bd3f0b2b4b9e295959950014.jpg","text":"TemporaryFile(/tmp/multipartBody5647058817290731499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166958558,"filename":"image_18012025_03_16_02_390322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a95229f22e066d5ce17c2adcfbd10fa.jpg","text":"TemporaryFile(/tmp/multipartBody2133165983938789808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166958558,"filename":"image_18012025_03_16_02_390322_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/25171adab99a2410f812664853fa8058.jpg","text":"TemporaryFile(/tmp/multipartBody1733328693483567221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166958558,"filename":"image_18012025_03_16_02_390322_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/644065b51c833ce505f476fd4e0014e3.jpg","text":"TemporaryFile(/tmp/multipartBody822856054532016987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166958558,"filename":"image_18012025_03_17_02_897120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/66565c83aa10d0abc55390d11fadd825.jpg","text":"TemporaryFile(/tmp/multipartBody6035090513284635708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166958558,"filename":"image_18012025_03_15_02_781898_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3d62a70dac71e90d1bea98f2ea0c8b9.jpg","text":"TemporaryFile(/tmp/multipartBody4969112976391676292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737166958558,"filename":"image_18012025_03_16_02_390322_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329639499","file1":"1329639493","file0":"1329639488","file4":"1329639504","file5":"1329639507","file3":"1329639502"},"map_files_photo_id_array":[{"photo_id":"1329639507","filename":"file5"},{"photo_id":"1329639499","filename":"file2"},{"photo_id":"1329639504","filename":"file4"},{"photo_id":"1329639493","filename":"file1"},{"photo_id":"1329639488","filename":"file0"},{"photo_id":"1329639502","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329639499":["hashtag1","hashtag2"]},{"1329639502":["hashtag1","hashtag2"]},{"1329639504":["hashtag1","hashtag2"]},{"1329639507":["hashtag1","hashtag2"]},{"1329639488":["hashtag1","hashtag2"]},{"1329639493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329639499, 1329639502, 1329639504, 1329639507, 1329639488, 1329639493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.98569345474243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:22:21.892161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/17/image_18012025_03_17_02_897120_0001.jpg', '/home/pi/Desktop/images/18012025/03/17/image_18012025_03_17_02_897120_0002.jpg', '/home/pi/Desktop/images/18012025/03/17/image_18012025_03_17_02_897120_0003.jpg', '/home/pi/Desktop/images/18012025/03/18/image_18012025_03_18_02_362097_0000.jpg', '/home/pi/Desktop/images/18012025/03/18/image_18012025_03_18_02_362097_0001.jpg', '/home/pi/Desktop/images/18012025/03/18/image_18012025_03_18_02_362097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/17/image_18012025_03_17_02_897120_0001.jpg
/home/pi/Desktop/images/18012025/03/17/image_18012025_03_17_02_897120_0002.jpg
/home/pi/Desktop/images/18012025/03/17/image_18012025_03_17_02_897120_0003.jpg
/home/pi/Desktop/images/18012025/03/18/image_18012025_03_18_02_362097_0000.jpg
/home/pi/Desktop/images/18012025/03/18/image_18012025_03_18_02_362097_0001.jpg
/home/pi/Desktop/images/18012025/03/18/image_18012025_03_18_02_362097_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329639538","1329639532","1329639529","1329639525","1329639534","1329639542"],"photo_ids_order":["1329639525","1329639529","1329639532","1329639534","1329639538","1329639542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/10aa7dcab0373dcc3eb6f952a6dbda90.jpg","text":"TemporaryFile(/tmp/multipartBody4769832170611646984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167018321,"filename":"image_18012025_03_18_02_362097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ae5d79e1d49953a7e7eb3fd2c96a84b.jpg","text":"TemporaryFile(/tmp/multipartBody494092239505598681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167018321,"filename":"image_18012025_03_17_02_897120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d25f466f797ef9dc87caf79553b3816e.jpg","text":"TemporaryFile(/tmp/multipartBody8596909072617004906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167018321,"filename":"image_18012025_03_17_02_897120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a903d19e859533358c8ad3305a726f2b.jpg","text":"TemporaryFile(/tmp/multipartBody1390020089667061208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167018321,"filename":"image_18012025_03_17_02_897120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8ac39b76457def58bb2f20c987e1bca.jpg","text":"TemporaryFile(/tmp/multipartBody8737221829912950090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167018321,"filename":"image_18012025_03_18_02_362097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce4af120a66a78974ccb2a9e40faf92e.jpg","text":"TemporaryFile(/tmp/multipartBody2646517383477724365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167018321,"filename":"image_18012025_03_18_02_362097_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329639532","file1":"1329639529","file0":"1329639525","file4":"1329639538","file5":"1329639542","file3":"1329639534"},"map_files_photo_id_array":[{"photo_id":"1329639542","filename":"file5"},{"photo_id":"1329639532","filename":"file2"},{"photo_id":"1329639538","filename":"file4"},{"photo_id":"1329639529","filename":"file1"},{"photo_id":"1329639525","filename":"file0"},{"photo_id":"1329639534","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329639538":["hashtag1","hashtag2"]},{"1329639532":["hashtag1","hashtag2"]},{"1329639529":["hashtag1","hashtag2"]},{"1329639525":["hashtag1","hashtag2"]},{"1329639534":["hashtag1","hashtag2"]},{"1329639542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329639538, 1329639532, 1329639529, 1329639525, 1329639534, 1329639542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.07244801521301 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:23:22.491485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/18/image_18012025_03_18_02_362097_0003.jpg', '/home/pi/Desktop/images/18012025/03/19/image_18012025_03_19_02_891563_0000.jpg', '/home/pi/Desktop/images/18012025/03/19/image_18012025_03_19_02_891563_0001.jpg', '/home/pi/Desktop/images/18012025/03/19/image_18012025_03_19_02_891563_0002.jpg', '/home/pi/Desktop/images/18012025/03/19/image_18012025_03_19_02_891563_0003.jpg', '/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/18/image_18012025_03_18_02_362097_0003.jpg
/home/pi/Desktop/images/18012025/03/19/image_18012025_03_19_02_891563_0000.jpg
/home/pi/Desktop/images/18012025/03/19/image_18012025_03_19_02_891563_0001.jpg
/home/pi/Desktop/images/18012025/03/19/image_18012025_03_19_02_891563_0002.jpg
/home/pi/Desktop/images/18012025/03/19/image_18012025_03_19_02_891563_0003.jpg
/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329639598","1329639607","1329639616","1329639612","1329639602","1329639595"],"photo_ids_order":["1329639595","1329639598","1329639602","1329639607","1329639612","1329639616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7c312635590d50b4e074172cefa1bd3.jpg","text":"TemporaryFile(/tmp/multipartBody1284824940940218881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167078999,"filename":"image_18012025_03_19_02_891563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/087ae934058e3941c99f5797b340d958.jpg","text":"TemporaryFile(/tmp/multipartBody7384983336637424017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167078999,"filename":"image_18012025_03_19_02_891563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f122cd292495bf0f01b1b2dd990af11e.jpg","text":"TemporaryFile(/tmp/multipartBody5452323643067988474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167078999,"filename":"image_18012025_03_20_02_396020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c899895688a197021eb5921fb4e34fa.jpg","text":"TemporaryFile(/tmp/multipartBody6313211162038246678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167078999,"filename":"image_18012025_03_19_02_891563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7335d9ead512f9c638d44e05c3e4607.jpg","text":"TemporaryFile(/tmp/multipartBody3879116534799820603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167078999,"filename":"image_18012025_03_19_02_891563_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48c04cf345a4795c55c1b98a2a113906.jpg","text":"TemporaryFile(/tmp/multipartBody6314310327356477113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167078999,"filename":"image_18012025_03_18_02_362097_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329639602","file1":"1329639598","file0":"1329639595","file4":"1329639612","file5":"1329639616","file3":"1329639607"},"map_files_photo_id_array":[{"photo_id":"1329639616","filename":"file5"},{"photo_id":"1329639602","filename":"file2"},{"photo_id":"1329639612","filename":"file4"},{"photo_id":"1329639598","filename":"file1"},{"photo_id":"1329639595","filename":"file0"},{"photo_id":"1329639607","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329639598":["hashtag1","hashtag2"]},{"1329639607":["hashtag1","hashtag2"]},{"1329639616":["hashtag1","hashtag2"]},{"1329639612":["hashtag1","hashtag2"]},{"1329639602":["hashtag1","hashtag2"]},{"1329639595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329639598, 1329639607, 1329639616, 1329639612, 1329639602, 1329639595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.75528168678284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:24:22.006911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0001.jpg', '/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0002.jpg', '/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0003.jpg', '/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0000.jpg', '/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0001.jpg', '/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0001.jpg
/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0002.jpg
/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0003.jpg
/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0000.jpg
/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0001.jpg
/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.12814998626709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:25:03.231118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0001.jpg', '/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0002.jpg', '/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0003.jpg', '/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0000.jpg', '/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0001.jpg', '/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0001.jpg
/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0002.jpg
/home/pi/Desktop/images/18012025/03/20/image_18012025_03_20_02_396020_0003.jpg
/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0000.jpg
/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0001.jpg
/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329639658","1329639684","1329639687","1329639680","1329639692","1329639656"],"photo_ids_order":["1329639656","1329639658","1329639680","1329639684","1329639687","1329639692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b2cb886256c424a5b2a62ddba58170bc.jpg","text":"TemporaryFile(/tmp/multipartBody258604253586402964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167179804,"filename":"image_18012025_03_20_02_396020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/732433a687b327bed7cb877be98455ff.jpg","text":"TemporaryFile(/tmp/multipartBody703965602054856755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167179804,"filename":"image_18012025_03_21_03_027326_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/10d228cdd6f33cdca1771c774bdd3cc5.jpg","text":"TemporaryFile(/tmp/multipartBody1755720637153791290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167179804,"filename":"image_18012025_03_21_03_027326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5dd46b84fa3aa099224bab2aada04731.jpg","text":"TemporaryFile(/tmp/multipartBody580375737370000419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167179804,"filename":"image_18012025_03_20_02_396020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9cb9ba7854b9eaeb02b8c65a229db32.jpg","text":"TemporaryFile(/tmp/multipartBody2247415079038228441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167179804,"filename":"image_18012025_03_21_03_027326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3dcb653150bd6cb52544e4993f4dd30.jpg","text":"TemporaryFile(/tmp/multipartBody7482548912102628339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167179804,"filename":"image_18012025_03_20_02_396020_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329639680","file1":"1329639658","file0":"1329639656","file4":"1329639687","file5":"1329639692","file3":"1329639684"},"map_files_photo_id_array":[{"photo_id":"1329639692","filename":"file5"},{"photo_id":"1329639680","filename":"file2"},{"photo_id":"1329639687","filename":"file4"},{"photo_id":"1329639658","filename":"file1"},{"photo_id":"1329639656","filename":"file0"},{"photo_id":"1329639684","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329639658":["hashtag1","hashtag2"]},{"1329639684":["hashtag1","hashtag2"]},{"1329639687":["hashtag1","hashtag2"]},{"1329639680":["hashtag1","hashtag2"]},{"1329639692":["hashtag1","hashtag2"]},{"1329639656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329639658, 1329639684, 1329639687, 1329639680, 1329639692, 1329639656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.38395023345947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:26:02.655898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0003.jpg', '/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0000.jpg', '/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0001.jpg', '/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0002.jpg', '/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0003.jpg', '/home/pi/Desktop/images/18012025/03/23/image_18012025_03_23_02_292431_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0003.jpg
/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0000.jpg
/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0001.jpg
/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0002.jpg
/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0003.jpg
/home/pi/Desktop/images/18012025/03/23/image_18012025_03_23_02_292431_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.114673137664795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:26:22.170432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0003.jpg', '/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0000.jpg', '/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0001.jpg', '/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0002.jpg', '/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0003.jpg', '/home/pi/Desktop/images/18012025/03/23/image_18012025_03_23_02_292431_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/21/image_18012025_03_21_03_027326_0003.jpg
/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0000.jpg
/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0001.jpg
/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0002.jpg
/home/pi/Desktop/images/18012025/03/22/image_18012025_03_22_02_611168_0003.jpg
/home/pi/Desktop/images/18012025/03/23/image_18012025_03_23_02_292431_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329639805","1329639795","1329639789","1329639797","1329639800","1329639793"],"photo_ids_order":["1329639789","1329639793","1329639795","1329639797","1329639800","1329639805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d3b319bfc58b6934b7024d1e72ad6890.jpg","text":"TemporaryFile(/tmp/multipartBody6748901575671592055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167258645,"filename":"image_18012025_03_23_02_292431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/062213e13860ff769b2b32593c076f15.jpg","text":"TemporaryFile(/tmp/multipartBody7806396699078399516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167258645,"filename":"image_18012025_03_22_02_611168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e073bcd43a0c39ce45dff99756cf10c.jpg","text":"TemporaryFile(/tmp/multipartBody3223063569540559176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167258645,"filename":"image_18012025_03_21_03_027326_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4073696c85dc86bf639e7b35abc7e385.jpg","text":"TemporaryFile(/tmp/multipartBody7449804639316432284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167258645,"filename":"image_18012025_03_22_02_611168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c0498e60225cb1643efb9a738dc506d.jpg","text":"TemporaryFile(/tmp/multipartBody250947275382167596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167258645,"filename":"image_18012025_03_22_02_611168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60bbaf88a92360c51aa9c97e10f32ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2289015343875405662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167258645,"filename":"image_18012025_03_22_02_611168_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329639795","file1":"1329639793","file0":"1329639789","file4":"1329639800","file5":"1329639805","file3":"1329639797"},"map_files_photo_id_array":[{"photo_id":"1329639805","filename":"file5"},{"photo_id":"1329639795","filename":"file2"},{"photo_id":"1329639800","filename":"file4"},{"photo_id":"1329639793","filename":"file1"},{"photo_id":"1329639789","filename":"file0"},{"photo_id":"1329639797","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329639805":["hashtag1","hashtag2"]},{"1329639795":["hashtag1","hashtag2"]},{"1329639789":["hashtag1","hashtag2"]},{"1329639797":["hashtag1","hashtag2"]},{"1329639800":["hashtag1","hashtag2"]},{"1329639793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329639805, 1329639795, 1329639789, 1329639797, 1329639800, 1329639793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.254307985305786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:27:22.695168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/23/image_18012025_03_23_02_292431_0001.jpg', '/home/pi/Desktop/images/18012025/03/23/image_18012025_03_23_02_292431_0002.jpg', '/home/pi/Desktop/images/18012025/03/23/image_18012025_03_23_02_292431_0003.jpg', '/home/pi/Desktop/images/18012025/03/24/image_18012025_03_24_02_888400_0000.jpg', '/home/pi/Desktop/images/18012025/03/24/image_18012025_03_24_02_888400_0001.jpg', '/home/pi/Desktop/images/18012025/03/24/image_18012025_03_24_02_888400_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/23/image_18012025_03_23_02_292431_0001.jpg
/home/pi/Desktop/images/18012025/03/23/image_18012025_03_23_02_292431_0002.jpg
/home/pi/Desktop/images/18012025/03/23/image_18012025_03_23_02_292431_0003.jpg
/home/pi/Desktop/images/18012025/03/24/image_18012025_03_24_02_888400_0000.jpg
/home/pi/Desktop/images/18012025/03/24/image_18012025_03_24_02_888400_0001.jpg
/home/pi/Desktop/images/18012025/03/24/image_18012025_03_24_02_888400_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329639823","1329639826","1329639820","1329639825","1329639830","1329639818"],"photo_ids_order":["1329639818","1329639820","1329639823","1329639825","1329639826","1329639830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e38a3c7702dc59d689091febfe31ffd7.jpg","text":"TemporaryFile(/tmp/multipartBody2128336551478975574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167319130,"filename":"image_18012025_03_23_02_292431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73d3e1dd4ddef1652016b61cf8cf6631.jpg","text":"TemporaryFile(/tmp/multipartBody4627545723822276896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167319130,"filename":"image_18012025_03_24_02_888400_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da94c1cd724a15b3fd043dd717b703e6.jpg","text":"TemporaryFile(/tmp/multipartBody8909847583848382784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167319130,"filename":"image_18012025_03_23_02_292431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/278201718f3345fb270f48546c2b13e0.jpg","text":"TemporaryFile(/tmp/multipartBody3119722536465979150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167319130,"filename":"image_18012025_03_24_02_888400_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e61cc68171b577f560b30dcef7f5694.jpg","text":"TemporaryFile(/tmp/multipartBody9111692977384815170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167319130,"filename":"image_18012025_03_24_02_888400_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4bec7dd31da575ecf242654aa4e55a8b.jpg","text":"TemporaryFile(/tmp/multipartBody1699134473969339546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167319130,"filename":"image_18012025_03_23_02_292431_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329639823","file1":"1329639820","file0":"1329639818","file4":"1329639826","file5":"1329639830","file3":"1329639825"},"map_files_photo_id_array":[{"photo_id":"1329639830","filename":"file5"},{"photo_id":"1329639823","filename":"file2"},{"photo_id":"1329639826","filename":"file4"},{"photo_id":"1329639820","filename":"file1"},{"photo_id":"1329639818","filename":"file0"},{"photo_id":"1329639825","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329639823":["hashtag1","hashtag2"]},{"1329639826":["hashtag1","hashtag2"]},{"1329639820":["hashtag1","hashtag2"]},{"1329639825":["hashtag1","hashtag2"]},{"1329639830":["hashtag1","hashtag2"]},{"1329639818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329639823, 1329639826, 1329639820, 1329639825, 1329639830, 1329639818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.55575346946716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:28:22.163806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/24/image_18012025_03_24_02_888400_0003.jpg', '/home/pi/Desktop/images/18012025/03/25/image_18012025_03_25_02_422529_0000.jpg', '/home/pi/Desktop/images/18012025/03/25/image_18012025_03_25_02_422529_0001.jpg', '/home/pi/Desktop/images/18012025/03/25/image_18012025_03_25_02_422529_0002.jpg', '/home/pi/Desktop/images/18012025/03/25/image_18012025_03_25_02_422529_0003.jpg', '/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/24/image_18012025_03_24_02_888400_0003.jpg
/home/pi/Desktop/images/18012025/03/25/image_18012025_03_25_02_422529_0000.jpg
/home/pi/Desktop/images/18012025/03/25/image_18012025_03_25_02_422529_0001.jpg
/home/pi/Desktop/images/18012025/03/25/image_18012025_03_25_02_422529_0002.jpg
/home/pi/Desktop/images/18012025/03/25/image_18012025_03_25_02_422529_0003.jpg
/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_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":["1329639853","1329639859","1329639864","1329639846","1329639869","1329639871"],"photo_ids_order":["1329639846","1329639853","1329639859","1329639864","1329639869","1329639871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/06cf825c934a8c37970660bc0f803148.jpg","text":"TemporaryFile(/tmp/multipartBody5999206530433193041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167378949,"filename":"image_18012025_03_25_02_422529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/efe28c4bebd7756c8edb78111eb12409.jpg","text":"TemporaryFile(/tmp/multipartBody8892507564511484597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167378949,"filename":"image_18012025_03_25_02_422529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7f7448e75c61b77e3472f11f86477e1d.jpg","text":"TemporaryFile(/tmp/multipartBody5009111021866287930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167378949,"filename":"image_18012025_03_25_02_422529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/75cb81a2d27f71995432aea1a704911d.jpg","text":"TemporaryFile(/tmp/multipartBody1202902901509814360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167378949,"filename":"image_18012025_03_24_02_888400_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97f15da4742d3d7d02cafcb4e39e6b6c.jpg","text":"TemporaryFile(/tmp/multipartBody1807887114437078001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167378949,"filename":"image_18012025_03_25_02_422529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9976c86a859ae4cd356189bbd9a25f8.jpg","text":"TemporaryFile(/tmp/multipartBody5402407517159538649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167378949,"filename":"image_18012025_03_26_02_938014_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329639859","file1":"1329639853","file0":"1329639846","file4":"1329639869","file5":"1329639871","file3":"1329639864"},"map_files_photo_id_array":[{"photo_id":"1329639871","filename":"file5"},{"photo_id":"1329639859","filename":"file2"},{"photo_id":"1329639869","filename":"file4"},{"photo_id":"1329639853","filename":"file1"},{"photo_id":"1329639846","filename":"file0"},{"photo_id":"1329639864","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329639853":["hashtag1","hashtag2"]},{"1329639859":["hashtag1","hashtag2"]},{"1329639864":["hashtag1","hashtag2"]},{"1329639846":["hashtag1","hashtag2"]},{"1329639869":["hashtag1","hashtag2"]},{"1329639871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329639853, 1329639859, 1329639864, 1329639846, 1329639869, 1329639871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.112815618515015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:30:02.736956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_0001.jpg', '/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_0002.jpg', '/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_0003.jpg', '/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0000.jpg', '/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0001.jpg', '/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_0001.jpg
/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_0002.jpg
/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_0003.jpg
/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0000.jpg
/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0001.jpg
/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.26293921470642 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:30:22.221384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_0001.jpg', '/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_0002.jpg', '/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_0003.jpg', '/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0000.jpg', '/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0001.jpg', '/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_0001.jpg
/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_0002.jpg
/home/pi/Desktop/images/18012025/03/26/image_18012025_03_26_02_938014_0003.jpg
/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0000.jpg
/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0001.jpg
/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329640028","1329639981","1329640138","1329640185","1329640131","1329639985"],"photo_ids_order":["1329639981","1329639985","1329640028","1329640131","1329640138","1329640185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ae7ff8ae6ef9e25f6f1318e78418d2b.jpg","text":"TemporaryFile(/tmp/multipartBody1590374724977429273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167498869,"filename":"image_18012025_03_26_02_938014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2e3940be52df4e5e4eca69b1737c196.jpg","text":"TemporaryFile(/tmp/multipartBody7553578433303867201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167498869,"filename":"image_18012025_03_26_02_938014_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70833f4a5c6cc2b5b2a38eb5b3aac95c.jpg","text":"TemporaryFile(/tmp/multipartBody544800212552562010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167498869,"filename":"image_18012025_03_27_02_567161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5888480648147f360449e41757fe25b6.jpg","text":"TemporaryFile(/tmp/multipartBody462862601686745445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167498869,"filename":"image_18012025_03_27_02_567161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6decb6949eb9bcb89f0c8b4c03032fb.jpg","text":"TemporaryFile(/tmp/multipartBody9018930534872848093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167498869,"filename":"image_18012025_03_27_02_567161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a42609bcf7bc8ce4f12727d883c85c03.jpg","text":"TemporaryFile(/tmp/multipartBody579805258149131148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167498869,"filename":"image_18012025_03_26_02_938014_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329640028","file1":"1329639985","file0":"1329639981","file4":"1329640138","file5":"1329640185","file3":"1329640131"},"map_files_photo_id_array":[{"photo_id":"1329640185","filename":"file5"},{"photo_id":"1329640028","filename":"file2"},{"photo_id":"1329640138","filename":"file4"},{"photo_id":"1329639985","filename":"file1"},{"photo_id":"1329639981","filename":"file0"},{"photo_id":"1329640131","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329640028":["hashtag1","hashtag2"]},{"1329639981":["hashtag1","hashtag2"]},{"1329640138":["hashtag1","hashtag2"]},{"1329640185":["hashtag1","hashtag2"]},{"1329640131":["hashtag1","hashtag2"]},{"1329639985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329640028, 1329639981, 1329640138, 1329640185, 1329640131, 1329639985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.52665185928345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:32:02.809275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0003.jpg', '/home/pi/Desktop/images/18012025/03/28/image_18012025_03_28_03_069386_0000.jpg', '/home/pi/Desktop/images/18012025/03/28/image_18012025_03_28_03_069386_0001.jpg', '/home/pi/Desktop/images/18012025/03/28/image_18012025_03_28_03_069386_0002.jpg', '/home/pi/Desktop/images/18012025/03/28/image_18012025_03_28_03_069386_0003.jpg', '/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/27/image_18012025_03_27_02_567161_0003.jpg
/home/pi/Desktop/images/18012025/03/28/image_18012025_03_28_03_069386_0000.jpg
/home/pi/Desktop/images/18012025/03/28/image_18012025_03_28_03_069386_0001.jpg
/home/pi/Desktop/images/18012025/03/28/image_18012025_03_28_03_069386_0002.jpg
/home/pi/Desktop/images/18012025/03/28/image_18012025_03_28_03_069386_0003.jpg
/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329640319","1329640312","1329640309","1329640311","1329640305","1329640314"],"photo_ids_order":["1329640305","1329640309","1329640311","1329640312","1329640314","1329640319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/41d14107965b359058463e1455f98a66.jpg","text":"TemporaryFile(/tmp/multipartBody9003287596411361944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167599194,"filename":"image_18012025_03_29_02_576936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/02edfe532342c0317ca02414c3948a9a.jpg","text":"TemporaryFile(/tmp/multipartBody7662531926319109271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167599194,"filename":"image_18012025_03_28_03_069386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea7081159968dde0e9d69d7840cdfeab.jpg","text":"TemporaryFile(/tmp/multipartBody1905036931699755118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167599194,"filename":"image_18012025_03_28_03_069386_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/434f5dd5ee78604323c04e72947d319b.jpg","text":"TemporaryFile(/tmp/multipartBody267905330884616374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167599194,"filename":"image_18012025_03_28_03_069386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/88cbbabeeaac47e32c1798cb0317719d.jpg","text":"TemporaryFile(/tmp/multipartBody4113451176341296441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167599194,"filename":"image_18012025_03_27_02_567161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe8160e7c960287964bc51badbc70cb0.jpg","text":"TemporaryFile(/tmp/multipartBody8190445245073247427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167599194,"filename":"image_18012025_03_28_03_069386_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329640311","file1":"1329640309","file0":"1329640305","file4":"1329640314","file5":"1329640319","file3":"1329640312"},"map_files_photo_id_array":[{"photo_id":"1329640319","filename":"file5"},{"photo_id":"1329640311","filename":"file2"},{"photo_id":"1329640314","filename":"file4"},{"photo_id":"1329640309","filename":"file1"},{"photo_id":"1329640305","filename":"file0"},{"photo_id":"1329640312","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329640319":["hashtag1","hashtag2"]},{"1329640312":["hashtag1","hashtag2"]},{"1329640309":["hashtag1","hashtag2"]},{"1329640311":["hashtag1","hashtag2"]},{"1329640305":["hashtag1","hashtag2"]},{"1329640314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329640319, 1329640312, 1329640309, 1329640311, 1329640305, 1329640314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.96288990974426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:33:02.548924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0001.jpg', '/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0002.jpg', '/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0003.jpg', '/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0000.jpg', '/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0001.jpg', '/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0001.jpg
/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0002.jpg
/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0003.jpg
/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0000.jpg
/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0001.jpg
/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.18555188179016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:33:21.831678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0001.jpg', '/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0002.jpg', '/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0003.jpg', '/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0000.jpg', '/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0001.jpg', '/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0001.jpg
/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0002.jpg
/home/pi/Desktop/images/18012025/03/29/image_18012025_03_29_02_576936_0003.jpg
/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0000.jpg
/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0001.jpg
/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329640424","1329640474","1329640471","1329640465","1329640476","1329640469"],"photo_ids_order":["1329640424","1329640465","1329640469","1329640471","1329640474","1329640476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d49aec064f5f92190a4f7a04fcf1adb1.jpg","text":"TemporaryFile(/tmp/multipartBody222763172716415872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167678377,"filename":"image_18012025_03_29_02_576936_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0953be67f9f0c8c26ce9508725051bd.jpg","text":"TemporaryFile(/tmp/multipartBody588239052253521270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167678377,"filename":"image_18012025_03_30_02_110084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46f61f6cc44b82fac037a320f768c7db.jpg","text":"TemporaryFile(/tmp/multipartBody7526554570032850393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167678377,"filename":"image_18012025_03_30_02_110084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04445bb8a2fbf318e280e2c12a6ab22a.jpg","text":"TemporaryFile(/tmp/multipartBody1401412353238350216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167678377,"filename":"image_18012025_03_29_02_576936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9093570b25e6ba4d6507ceb8b4eff0c0.jpg","text":"TemporaryFile(/tmp/multipartBody8672338183743700425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167678377,"filename":"image_18012025_03_30_02_110084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9016e6fed1e4c546ff3cbfbe22219620.jpg","text":"TemporaryFile(/tmp/multipartBody8953132891757542893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167678377,"filename":"image_18012025_03_29_02_576936_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329640469","file1":"1329640465","file0":"1329640424","file4":"1329640474","file5":"1329640476","file3":"1329640471"},"map_files_photo_id_array":[{"photo_id":"1329640476","filename":"file5"},{"photo_id":"1329640469","filename":"file2"},{"photo_id":"1329640474","filename":"file4"},{"photo_id":"1329640465","filename":"file1"},{"photo_id":"1329640424","filename":"file0"},{"photo_id":"1329640471","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329640424":["hashtag1","hashtag2"]},{"1329640474":["hashtag1","hashtag2"]},{"1329640471":["hashtag1","hashtag2"]},{"1329640465":["hashtag1","hashtag2"]},{"1329640476":["hashtag1","hashtag2"]},{"1329640469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329640424, 1329640474, 1329640471, 1329640465, 1329640476, 1329640469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.00654649734497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:35:02.495074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0003.jpg', '/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0000.jpg', '/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0001.jpg', '/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0002.jpg', '/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0003.jpg', '/home/pi/Desktop/images/18012025/03/32/image_18012025_03_32_02_188587_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0003.jpg
/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0000.jpg
/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0001.jpg
/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0002.jpg
/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0003.jpg
/home/pi/Desktop/images/18012025/03/32/image_18012025_03_32_02_188587_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.456215143203735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:35:21.994488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0003.jpg', '/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0000.jpg', '/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0001.jpg', '/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0002.jpg', '/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0003.jpg', '/home/pi/Desktop/images/18012025/03/32/image_18012025_03_32_02_188587_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/30/image_18012025_03_30_02_110084_0003.jpg
/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0000.jpg
/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0001.jpg
/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0002.jpg
/home/pi/Desktop/images/18012025/03/31/image_18012025_03_31_02_653991_0003.jpg
/home/pi/Desktop/images/18012025/03/32/image_18012025_03_32_02_188587_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329640541","1329640535","1329640579","1329640530","1329640580","1329640583"],"photo_ids_order":["1329640530","1329640535","1329640541","1329640579","1329640580","1329640583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5bcc088dda0a79793c5b2c34bc192e6e.jpg","text":"TemporaryFile(/tmp/multipartBody1081028660785283495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167797733,"filename":"image_18012025_03_31_02_653991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6c73976e00a89299f56d274e37598f2.jpg","text":"TemporaryFile(/tmp/multipartBody6098917931047203768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167797733,"filename":"image_18012025_03_31_02_653991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e38b1f58981c4fcecdee795aec0c5f3.jpg","text":"TemporaryFile(/tmp/multipartBody360247668852264701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167797733,"filename":"image_18012025_03_31_02_653991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b2850e54f9a863afba963bc0ef27db2f.jpg","text":"TemporaryFile(/tmp/multipartBody893610492648869650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167797733,"filename":"image_18012025_03_30_02_110084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a99ddf3f448ef06ed4b33ac84fa20d2.jpg","text":"TemporaryFile(/tmp/multipartBody8372596997762028070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167797733,"filename":"image_18012025_03_31_02_653991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1b9ef36160f17ea52e38161c643a37c.jpg","text":"TemporaryFile(/tmp/multipartBody1737953416204683601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167797733,"filename":"image_18012025_03_32_02_188587_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329640541","file1":"1329640535","file0":"1329640530","file4":"1329640580","file5":"1329640583","file3":"1329640579"},"map_files_photo_id_array":[{"photo_id":"1329640583","filename":"file5"},{"photo_id":"1329640541","filename":"file2"},{"photo_id":"1329640580","filename":"file4"},{"photo_id":"1329640535","filename":"file1"},{"photo_id":"1329640530","filename":"file0"},{"photo_id":"1329640579","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329640541":["hashtag1","hashtag2"]},{"1329640535":["hashtag1","hashtag2"]},{"1329640579":["hashtag1","hashtag2"]},{"1329640530":["hashtag1","hashtag2"]},{"1329640580":["hashtag1","hashtag2"]},{"1329640583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329640541, 1329640535, 1329640579, 1329640530, 1329640580, 1329640583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.08549427986145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:36:22.644145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/32/image_18012025_03_32_02_188587_0001.jpg', '/home/pi/Desktop/images/18012025/03/32/image_18012025_03_32_02_188587_0002.jpg', '/home/pi/Desktop/images/18012025/03/32/image_18012025_03_32_02_188587_0003.jpg', '/home/pi/Desktop/images/18012025/03/33/image_18012025_03_33_02_690214_0000.jpg', '/home/pi/Desktop/images/18012025/03/33/image_18012025_03_33_02_690214_0001.jpg', '/home/pi/Desktop/images/18012025/03/33/image_18012025_03_33_02_690214_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/32/image_18012025_03_32_02_188587_0001.jpg
/home/pi/Desktop/images/18012025/03/32/image_18012025_03_32_02_188587_0002.jpg
/home/pi/Desktop/images/18012025/03/32/image_18012025_03_32_02_188587_0003.jpg
/home/pi/Desktop/images/18012025/03/33/image_18012025_03_33_02_690214_0000.jpg
/home/pi/Desktop/images/18012025/03/33/image_18012025_03_33_02_690214_0001.jpg
/home/pi/Desktop/images/18012025/03/33/image_18012025_03_33_02_690214_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329641773","1329641589","1329641664","1329641352","1329641766","1329641761"],"photo_ids_order":["1329641352","1329641589","1329641664","1329641761","1329641766","1329641773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e5916902b93c839bef61a83547fe3fd.jpg","text":"TemporaryFile(/tmp/multipartBody7665496475740094032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167858075,"filename":"image_18012025_03_33_02_690214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/df141bad378b133bfd79fb3cf7d5495d.jpg","text":"TemporaryFile(/tmp/multipartBody6554470607889850877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167858075,"filename":"image_18012025_03_32_02_188587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4efb1950b2ca5f282187a82a432e5724.jpg","text":"TemporaryFile(/tmp/multipartBody9004957351618997981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167858075,"filename":"image_18012025_03_32_02_188587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e9652be431809aa2e09fff6d020cef1d.jpg","text":"TemporaryFile(/tmp/multipartBody6151939042630623083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167858075,"filename":"image_18012025_03_32_02_188587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ab3ff9518c65d72bbf230c49e1f94bdc.jpg","text":"TemporaryFile(/tmp/multipartBody5915787543567628309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167858075,"filename":"image_18012025_03_33_02_690214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d5bea8d7b984e5c619329b69c98e6b1d.jpg","text":"TemporaryFile(/tmp/multipartBody5838755896006711793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167858075,"filename":"image_18012025_03_33_02_690214_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329641664","file1":"1329641589","file0":"1329641352","file4":"1329641766","file5":"1329641773","file3":"1329641761"},"map_files_photo_id_array":[{"photo_id":"1329641773","filename":"file5"},{"photo_id":"1329641664","filename":"file2"},{"photo_id":"1329641766","filename":"file4"},{"photo_id":"1329641589","filename":"file1"},{"photo_id":"1329641352","filename":"file0"},{"photo_id":"1329641761","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329641773":["hashtag1","hashtag2"]},{"1329641589":["hashtag1","hashtag2"]},{"1329641664":["hashtag1","hashtag2"]},{"1329641352":["hashtag1","hashtag2"]},{"1329641766":["hashtag1","hashtag2"]},{"1329641761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329641773, 1329641589, 1329641664, 1329641352, 1329641766, 1329641761)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.87505316734314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:38:03.088107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/33/image_18012025_03_33_02_690214_0003.jpg', '/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0000.jpg', '/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0001.jpg', '/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0002.jpg', '/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0003.jpg', '/home/pi/Desktop/images/18012025/03/35/image_18012025_03_35_02_879062_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/33/image_18012025_03_33_02_690214_0003.jpg
/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0000.jpg
/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0001.jpg
/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0002.jpg
/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0003.jpg
/home/pi/Desktop/images/18012025/03/35/image_18012025_03_35_02_879062_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.826566934585571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:38:22.642551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/33/image_18012025_03_33_02_690214_0003.jpg', '/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0000.jpg', '/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0001.jpg', '/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0002.jpg', '/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0003.jpg', '/home/pi/Desktop/images/18012025/03/35/image_18012025_03_35_02_879062_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/33/image_18012025_03_33_02_690214_0003.jpg
/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0000.jpg
/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0001.jpg
/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0002.jpg
/home/pi/Desktop/images/18012025/03/34/image_18012025_03_34_02_273406_0003.jpg
/home/pi/Desktop/images/18012025/03/35/image_18012025_03_35_02_879062_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329642165","1329642201","1329642219","1329642194","1329642179","1329642199"],"photo_ids_order":["1329642165","1329642179","1329642194","1329642199","1329642201","1329642219"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c6f1f2ae3fcc66c13ce6737b2f4e956.jpg","text":"TemporaryFile(/tmp/multipartBody6781129467584975808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167977860,"filename":"image_18012025_03_33_02_690214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de2ac4ad807818c94b869866604e3412.jpg","text":"TemporaryFile(/tmp/multipartBody4530628438546069445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167977860,"filename":"image_18012025_03_34_02_273406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/99f5efb829b7dec67251883860169c96.jpg","text":"TemporaryFile(/tmp/multipartBody7986294916495915494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167977860,"filename":"image_18012025_03_35_02_879062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/036ec5d330836b17e23b20c377c146ce.jpg","text":"TemporaryFile(/tmp/multipartBody5294425703713789499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167977860,"filename":"image_18012025_03_34_02_273406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67d1c7ff81afe9ea174b761eabbd16d4.jpg","text":"TemporaryFile(/tmp/multipartBody6149352932249676126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167977860,"filename":"image_18012025_03_34_02_273406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dff4022d231a65184dc0ca705125e88c.jpg","text":"TemporaryFile(/tmp/multipartBody451487923054575278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737167977860,"filename":"image_18012025_03_34_02_273406_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329642194","file1":"1329642179","file0":"1329642165","file4":"1329642201","file5":"1329642219","file3":"1329642199"},"map_files_photo_id_array":[{"photo_id":"1329642219","filename":"file5"},{"photo_id":"1329642194","filename":"file2"},{"photo_id":"1329642201","filename":"file4"},{"photo_id":"1329642179","filename":"file1"},{"photo_id":"1329642165","filename":"file0"},{"photo_id":"1329642199","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329642165":["hashtag1","hashtag2"]},{"1329642201":["hashtag1","hashtag2"]},{"1329642219":["hashtag1","hashtag2"]},{"1329642194":["hashtag1","hashtag2"]},{"1329642179":["hashtag1","hashtag2"]},{"1329642199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329642165, 1329642201, 1329642219, 1329642194, 1329642179, 1329642199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.02875995635986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:39:22.146576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/35/image_18012025_03_35_02_879062_0001.jpg', '/home/pi/Desktop/images/18012025/03/35/image_18012025_03_35_02_879062_0002.jpg', '/home/pi/Desktop/images/18012025/03/35/image_18012025_03_35_02_879062_0003.jpg', '/home/pi/Desktop/images/18012025/03/36/image_18012025_03_36_02_376579_0000.jpg', '/home/pi/Desktop/images/18012025/03/36/image_18012025_03_36_02_376579_0001.jpg', '/home/pi/Desktop/images/18012025/03/36/image_18012025_03_36_02_376579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/35/image_18012025_03_35_02_879062_0001.jpg
/home/pi/Desktop/images/18012025/03/35/image_18012025_03_35_02_879062_0002.jpg
/home/pi/Desktop/images/18012025/03/35/image_18012025_03_35_02_879062_0003.jpg
/home/pi/Desktop/images/18012025/03/36/image_18012025_03_36_02_376579_0000.jpg
/home/pi/Desktop/images/18012025/03/36/image_18012025_03_36_02_376579_0001.jpg
/home/pi/Desktop/images/18012025/03/36/image_18012025_03_36_02_376579_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329642474","1329642435","1329642470","1329642463","1329642466","1329642439"],"photo_ids_order":["1329642435","1329642439","1329642463","1329642466","1329642470","1329642474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/567e53b5c323d414b7301778d1c2174d.jpg","text":"TemporaryFile(/tmp/multipartBody2731527806142885506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168038704,"filename":"image_18012025_03_36_02_376579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5f57828de670bd350c24bd6913aa923.jpg","text":"TemporaryFile(/tmp/multipartBody9191121461931407251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168038704,"filename":"image_18012025_03_35_02_879062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/351956bf442441db3a05633dd3b85680.jpg","text":"TemporaryFile(/tmp/multipartBody6884308953331831968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168038704,"filename":"image_18012025_03_36_02_376579_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f0400891f9b7784433e09c98dff6c6cf.jpg","text":"TemporaryFile(/tmp/multipartBody6462345852786376353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168038704,"filename":"image_18012025_03_35_02_879062_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/05c603c9259d3633ec6edcbe452dc51d.jpg","text":"TemporaryFile(/tmp/multipartBody6245067382481529844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168038704,"filename":"image_18012025_03_36_02_376579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7cb66b7d9ccf06aceee08d07a8413790.jpg","text":"TemporaryFile(/tmp/multipartBody979412894331627364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168038704,"filename":"image_18012025_03_35_02_879062_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329642463","file1":"1329642439","file0":"1329642435","file4":"1329642470","file5":"1329642474","file3":"1329642466"},"map_files_photo_id_array":[{"photo_id":"1329642474","filename":"file5"},{"photo_id":"1329642463","filename":"file2"},{"photo_id":"1329642470","filename":"file4"},{"photo_id":"1329642439","filename":"file1"},{"photo_id":"1329642435","filename":"file0"},{"photo_id":"1329642466","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329642474":["hashtag1","hashtag2"]},{"1329642435":["hashtag1","hashtag2"]},{"1329642470":["hashtag1","hashtag2"]},{"1329642463":["hashtag1","hashtag2"]},{"1329642466":["hashtag1","hashtag2"]},{"1329642439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329642474, 1329642435, 1329642470, 1329642463, 1329642466, 1329642439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.50983786582947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:40:22.631593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/36/image_18012025_03_36_02_376579_0003.jpg', '/home/pi/Desktop/images/18012025/03/37/image_18012025_03_37_03_020982_0000.jpg', '/home/pi/Desktop/images/18012025/03/37/image_18012025_03_37_03_020982_0001.jpg', '/home/pi/Desktop/images/18012025/03/37/image_18012025_03_37_03_020982_0002.jpg', '/home/pi/Desktop/images/18012025/03/37/image_18012025_03_37_03_020982_0003.jpg', '/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/36/image_18012025_03_36_02_376579_0003.jpg
/home/pi/Desktop/images/18012025/03/37/image_18012025_03_37_03_020982_0000.jpg
/home/pi/Desktop/images/18012025/03/37/image_18012025_03_37_03_020982_0001.jpg
/home/pi/Desktop/images/18012025/03/37/image_18012025_03_37_03_020982_0002.jpg
/home/pi/Desktop/images/18012025/03/37/image_18012025_03_37_03_020982_0003.jpg
/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_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":["1329642573","1329642545","1329642557","1329642592","1329642577","1329642553"],"photo_ids_order":["1329642545","1329642553","1329642557","1329642573","1329642577","1329642592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46cdb8d262cbfe7ffe7d2e07cbe55f07.jpg","text":"TemporaryFile(/tmp/multipartBody6587812647836017949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168099466,"filename":"image_18012025_03_37_03_020982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e321177b07116b3eb05d8405cf71ebcb.jpg","text":"TemporaryFile(/tmp/multipartBody836627308201988237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168099466,"filename":"image_18012025_03_36_02_376579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e80c980705794ac8ab814c16302ceb14.jpg","text":"TemporaryFile(/tmp/multipartBody4184508509515105979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168099466,"filename":"image_18012025_03_37_03_020982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2eb90e4be7b6afa962cce912329e58c0.jpg","text":"TemporaryFile(/tmp/multipartBody71812787436891009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168099466,"filename":"image_18012025_03_38_02_499638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dee2547ff5066444454bb78c320d9fc7.jpg","text":"TemporaryFile(/tmp/multipartBody1562952921377171464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168099466,"filename":"image_18012025_03_37_03_020982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed17c1f88afcb87662f045aa679617af.jpg","text":"TemporaryFile(/tmp/multipartBody6324925266061258778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168099466,"filename":"image_18012025_03_37_03_020982_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329642557","file1":"1329642553","file0":"1329642545","file4":"1329642577","file5":"1329642592","file3":"1329642573"},"map_files_photo_id_array":[{"photo_id":"1329642592","filename":"file5"},{"photo_id":"1329642557","filename":"file2"},{"photo_id":"1329642577","filename":"file4"},{"photo_id":"1329642553","filename":"file1"},{"photo_id":"1329642545","filename":"file0"},{"photo_id":"1329642573","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329642573":["hashtag1","hashtag2"]},{"1329642545":["hashtag1","hashtag2"]},{"1329642557":["hashtag1","hashtag2"]},{"1329642592":["hashtag1","hashtag2"]},{"1329642577":["hashtag1","hashtag2"]},{"1329642553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329642573, 1329642545, 1329642557, 1329642592, 1329642577, 1329642553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.69004130363464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:42:03.152001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_0001.jpg', '/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_0002.jpg', '/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_0003.jpg', '/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0000.jpg', '/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0001.jpg', '/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_0001.jpg
/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_0002.jpg
/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_0003.jpg
/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0000.jpg
/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0001.jpg
/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.95115041732788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:42:22.665861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_0001.jpg', '/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_0002.jpg', '/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_0003.jpg', '/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0000.jpg', '/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0001.jpg', '/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_0001.jpg
/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_0002.jpg
/home/pi/Desktop/images/18012025/03/38/image_18012025_03_38_02_499638_0003.jpg
/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0000.jpg
/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0001.jpg
/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329642690","1329642672","1329642921","1329642677","1329642941","1329642949"],"photo_ids_order":["1329642672","1329642677","1329642690","1329642921","1329642941","1329642949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/436c99ccc7d0a747a67b79d4e4029bae.jpg","text":"TemporaryFile(/tmp/multipartBody7069240035298539776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168219010,"filename":"image_18012025_03_38_02_499638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d44492a4781af47261f43e710557fe3a.jpg","text":"TemporaryFile(/tmp/multipartBody4392514359263302549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168219010,"filename":"image_18012025_03_38_02_499638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a26ae918936dc94bd8cab1c7d06f88b.jpg","text":"TemporaryFile(/tmp/multipartBody1349918930556382638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168219010,"filename":"image_18012025_03_39_03_026314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c82155f0ca75234edd11ef95edc0fb39.jpg","text":"TemporaryFile(/tmp/multipartBody5885448921575393516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168219010,"filename":"image_18012025_03_38_02_499638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8dd6e64c6d52d3b05023d7aa4d241bd9.jpg","text":"TemporaryFile(/tmp/multipartBody8247031256556765099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168219010,"filename":"image_18012025_03_39_03_026314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70c9466fc5cd8d5512b4d1d2fb477270.jpg","text":"TemporaryFile(/tmp/multipartBody2943958058128650049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168219010,"filename":"image_18012025_03_39_03_026314_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329642690","file1":"1329642677","file0":"1329642672","file4":"1329642941","file5":"1329642949","file3":"1329642921"},"map_files_photo_id_array":[{"photo_id":"1329642949","filename":"file5"},{"photo_id":"1329642690","filename":"file2"},{"photo_id":"1329642941","filename":"file4"},{"photo_id":"1329642677","filename":"file1"},{"photo_id":"1329642672","filename":"file0"},{"photo_id":"1329642921","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329642690":["hashtag1","hashtag2"]},{"1329642672":["hashtag1","hashtag2"]},{"1329642921":["hashtag1","hashtag2"]},{"1329642677":["hashtag1","hashtag2"]},{"1329642941":["hashtag1","hashtag2"]},{"1329642949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329642690, 1329642672, 1329642921, 1329642677, 1329642941, 1329642949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.44218468666077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:43:22.244046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0003.jpg', '/home/pi/Desktop/images/18012025/03/40/image_18012025_03_40_02_527814_0000.jpg', '/home/pi/Desktop/images/18012025/03/40/image_18012025_03_40_02_527814_0001.jpg', '/home/pi/Desktop/images/18012025/03/40/image_18012025_03_40_02_527814_0002.jpg', '/home/pi/Desktop/images/18012025/03/40/image_18012025_03_40_02_527814_0003.jpg', '/home/pi/Desktop/images/18012025/03/41/image_18012025_03_41_03_025649_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/39/image_18012025_03_39_03_026314_0003.jpg
/home/pi/Desktop/images/18012025/03/40/image_18012025_03_40_02_527814_0000.jpg
/home/pi/Desktop/images/18012025/03/40/image_18012025_03_40_02_527814_0001.jpg
/home/pi/Desktop/images/18012025/03/40/image_18012025_03_40_02_527814_0002.jpg
/home/pi/Desktop/images/18012025/03/40/image_18012025_03_40_02_527814_0003.jpg
/home/pi/Desktop/images/18012025/03/41/image_18012025_03_41_03_025649_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329643065","1329643031","1329643028","1329643069","1329642994","1329643074"],"photo_ids_order":["1329642994","1329643028","1329643031","1329643065","1329643069","1329643074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f4818d7f0e93a138d87268a7c1d29b9.jpg","text":"TemporaryFile(/tmp/multipartBody5178735233665460391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168278933,"filename":"image_18012025_03_40_02_527814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a89c584c2527080689703f8905eda0a2.jpg","text":"TemporaryFile(/tmp/multipartBody3439672054686771436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168278933,"filename":"image_18012025_03_40_02_527814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e9541849960674aecbe7719673385e06.jpg","text":"TemporaryFile(/tmp/multipartBody4157259175572504230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168278933,"filename":"image_18012025_03_40_02_527814_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ade8910a9b6ae3ec83c4b94d1b8e257b.jpg","text":"TemporaryFile(/tmp/multipartBody7993359109398796156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168278933,"filename":"image_18012025_03_40_02_527814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/367e03b48f2e3de35a21942f481f5ffa.jpg","text":"TemporaryFile(/tmp/multipartBody8023894962194154980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168278933,"filename":"image_18012025_03_39_03_026314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6d2bb6bc2284a66c181444e873d1680.jpg","text":"TemporaryFile(/tmp/multipartBody5924311990099691123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168278933,"filename":"image_18012025_03_41_03_025649_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329643031","file1":"1329643028","file0":"1329642994","file4":"1329643069","file5":"1329643074","file3":"1329643065"},"map_files_photo_id_array":[{"photo_id":"1329643074","filename":"file5"},{"photo_id":"1329643031","filename":"file2"},{"photo_id":"1329643069","filename":"file4"},{"photo_id":"1329643028","filename":"file1"},{"photo_id":"1329642994","filename":"file0"},{"photo_id":"1329643065","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329643065":["hashtag1","hashtag2"]},{"1329643031":["hashtag1","hashtag2"]},{"1329643028":["hashtag1","hashtag2"]},{"1329643069":["hashtag1","hashtag2"]},{"1329642994":["hashtag1","hashtag2"]},{"1329643074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329643065, 1329643031, 1329643028, 1329643069, 1329642994, 1329643074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.78815054893494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:44:22.726242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/41/image_18012025_03_41_03_025649_0001.jpg', '/home/pi/Desktop/images/18012025/03/41/image_18012025_03_41_03_025649_0002.jpg', '/home/pi/Desktop/images/18012025/03/41/image_18012025_03_41_03_025649_0003.jpg', '/home/pi/Desktop/images/18012025/03/42/image_18012025_03_42_02_553600_0000.jpg', '/home/pi/Desktop/images/18012025/03/42/image_18012025_03_42_02_553600_0001.jpg', '/home/pi/Desktop/images/18012025/03/42/image_18012025_03_42_02_553600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/41/image_18012025_03_41_03_025649_0001.jpg
/home/pi/Desktop/images/18012025/03/41/image_18012025_03_41_03_025649_0002.jpg
/home/pi/Desktop/images/18012025/03/41/image_18012025_03_41_03_025649_0003.jpg
/home/pi/Desktop/images/18012025/03/42/image_18012025_03_42_02_553600_0000.jpg
/home/pi/Desktop/images/18012025/03/42/image_18012025_03_42_02_553600_0001.jpg
/home/pi/Desktop/images/18012025/03/42/image_18012025_03_42_02_553600_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329643134","1329643116","1329643124","1329643132","1329643129","1329643120"],"photo_ids_order":["1329643116","1329643120","1329643124","1329643129","1329643132","1329643134"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d816a2583762b6db79126e299e16f16.jpg","text":"TemporaryFile(/tmp/multipartBody7723440754225711888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168339275,"filename":"image_18012025_03_42_02_553600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a9980cf7637f661bf0f2d7614dbcc5d.jpg","text":"TemporaryFile(/tmp/multipartBody7808696117256604009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168339275,"filename":"image_18012025_03_41_03_025649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/45f7bcf93bcda3f087b9f164c92efe93.jpg","text":"TemporaryFile(/tmp/multipartBody434295438082579484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168339275,"filename":"image_18012025_03_41_03_025649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad35935266a0246fa6704eb942f71435.jpg","text":"TemporaryFile(/tmp/multipartBody8952328088752512011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168339275,"filename":"image_18012025_03_42_02_553600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3fbf87cb5045f87eb6285664d2b6f19.jpg","text":"TemporaryFile(/tmp/multipartBody4461800174347748928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168339275,"filename":"image_18012025_03_42_02_553600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c97b7de4739d888ed5beb8e6d5fe7e6.jpg","text":"TemporaryFile(/tmp/multipartBody6612467359485543850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168339275,"filename":"image_18012025_03_41_03_025649_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329643124","file1":"1329643120","file0":"1329643116","file4":"1329643132","file5":"1329643134","file3":"1329643129"},"map_files_photo_id_array":[{"photo_id":"1329643134","filename":"file5"},{"photo_id":"1329643124","filename":"file2"},{"photo_id":"1329643132","filename":"file4"},{"photo_id":"1329643120","filename":"file1"},{"photo_id":"1329643116","filename":"file0"},{"photo_id":"1329643129","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329643134":["hashtag1","hashtag2"]},{"1329643116":["hashtag1","hashtag2"]},{"1329643124":["hashtag1","hashtag2"]},{"1329643132":["hashtag1","hashtag2"]},{"1329643129":["hashtag1","hashtag2"]},{"1329643120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329643134, 1329643116, 1329643124, 1329643132, 1329643129, 1329643120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.228686571121216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:45:22.221575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/42/image_18012025_03_42_02_553600_0003.jpg', '/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0000.jpg', '/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0001.jpg', '/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0002.jpg', '/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0003.jpg', '/home/pi/Desktop/images/18012025/03/44/image_18012025_03_44_02_615734_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/42/image_18012025_03_42_02_553600_0003.jpg
/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0000.jpg
/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0001.jpg
/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0002.jpg
/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0003.jpg
/home/pi/Desktop/images/18012025/03/44/image_18012025_03_44_02_615734_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.317169904708862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:46:03.187204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/42/image_18012025_03_42_02_553600_0003.jpg', '/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0000.jpg', '/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0001.jpg', '/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0002.jpg', '/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0003.jpg', '/home/pi/Desktop/images/18012025/03/44/image_18012025_03_44_02_615734_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/42/image_18012025_03_42_02_553600_0003.jpg
/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0000.jpg
/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0001.jpg
/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0002.jpg
/home/pi/Desktop/images/18012025/03/43/image_18012025_03_43_03_049782_0003.jpg
/home/pi/Desktop/images/18012025/03/44/image_18012025_03_44_02_615734_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":["1329643260","1329643190","1329643220","1329643214","1329643225","1329643222"],"photo_ids_order":["1329643190","1329643214","1329643220","1329643222","1329643225","1329643260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf158574ce932d305b848fbbd5095b52.jpg","text":"TemporaryFile(/tmp/multipartBody4507494186864506227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168439875,"filename":"image_18012025_03_44_02_615734_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7151cd6e6e47a79791f71f22ed10f06.jpg","text":"TemporaryFile(/tmp/multipartBody6127193353622099162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168439875,"filename":"image_18012025_03_42_02_553600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dce77eacd5ec5e64c8f4001f029793f0.jpg","text":"TemporaryFile(/tmp/multipartBody4509903209391614577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168439875,"filename":"image_18012025_03_43_03_049782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0754ece950e866c76e893cdd36f6a058.jpg","text":"TemporaryFile(/tmp/multipartBody1995786586813894987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168439875,"filename":"image_18012025_03_43_03_049782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef3e28501df74828ab83d4b15bae0696.jpg","text":"TemporaryFile(/tmp/multipartBody3027609673029497159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168439875,"filename":"image_18012025_03_43_03_049782_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73bc1b80bb3fc4583f27cd53a978affb.jpg","text":"TemporaryFile(/tmp/multipartBody7836380083900155163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168439875,"filename":"image_18012025_03_43_03_049782_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329643220","file1":"1329643214","file0":"1329643190","file4":"1329643225","file5":"1329643260","file3":"1329643222"},"map_files_photo_id_array":[{"photo_id":"1329643260","filename":"file5"},{"photo_id":"1329643220","filename":"file2"},{"photo_id":"1329643225","filename":"file4"},{"photo_id":"1329643214","filename":"file1"},{"photo_id":"1329643190","filename":"file0"},{"photo_id":"1329643222","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329643260":["hashtag1","hashtag2"]},{"1329643190":["hashtag1","hashtag2"]},{"1329643220":["hashtag1","hashtag2"]},{"1329643214":["hashtag1","hashtag2"]},{"1329643225":["hashtag1","hashtag2"]},{"1329643222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329643260, 1329643190, 1329643220, 1329643214, 1329643225, 1329643222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.993699073791504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:47:22.174889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/44/image_18012025_03_44_02_615734_0001.jpg', '/home/pi/Desktop/images/18012025/03/44/image_18012025_03_44_02_615734_0002.jpg', '/home/pi/Desktop/images/18012025/03/44/image_18012025_03_44_02_615734_0003.jpg', '/home/pi/Desktop/images/18012025/03/45/image_18012025_03_45_03_062401_0000.jpg', '/home/pi/Desktop/images/18012025/03/45/image_18012025_03_45_03_062401_0001.jpg', '/home/pi/Desktop/images/18012025/03/45/image_18012025_03_45_03_062401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/44/image_18012025_03_44_02_615734_0001.jpg
/home/pi/Desktop/images/18012025/03/44/image_18012025_03_44_02_615734_0002.jpg
/home/pi/Desktop/images/18012025/03/44/image_18012025_03_44_02_615734_0003.jpg
/home/pi/Desktop/images/18012025/03/45/image_18012025_03_45_03_062401_0000.jpg
/home/pi/Desktop/images/18012025/03/45/image_18012025_03_45_03_062401_0001.jpg
/home/pi/Desktop/images/18012025/03/45/image_18012025_03_45_03_062401_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329643302","1329643307","1329643297","1329643282","1329643312","1329643315"],"photo_ids_order":["1329643282","1329643297","1329643302","1329643307","1329643312","1329643315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8310f8b8da00bdfd3276b9cf1be43cbb.jpg","text":"TemporaryFile(/tmp/multipartBody4727067299712196208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168518205,"filename":"image_18012025_03_44_02_615734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e57de748a7bef02d82b7a89e0788f6ff.jpg","text":"TemporaryFile(/tmp/multipartBody3420840564837433382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168518205,"filename":"image_18012025_03_45_03_062401_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be3f69f213370bd85a4123ae2c48c598.jpg","text":"TemporaryFile(/tmp/multipartBody125763623676392937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168518205,"filename":"image_18012025_03_44_02_615734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93909e2020fbf328fe7af7d0709a52c5.jpg","text":"TemporaryFile(/tmp/multipartBody3915269966139433014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168518205,"filename":"image_18012025_03_44_02_615734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e70da1b7326f4b6dbeb2a62b5da0d9c7.jpg","text":"TemporaryFile(/tmp/multipartBody5449389337430197438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168518205,"filename":"image_18012025_03_45_03_062401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f443d67e24baf568616f6b81c8991d8d.jpg","text":"TemporaryFile(/tmp/multipartBody1511899516129346758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168518205,"filename":"image_18012025_03_45_03_062401_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329643302","file1":"1329643297","file0":"1329643282","file4":"1329643312","file5":"1329643315","file3":"1329643307"},"map_files_photo_id_array":[{"photo_id":"1329643315","filename":"file5"},{"photo_id":"1329643302","filename":"file2"},{"photo_id":"1329643312","filename":"file4"},{"photo_id":"1329643297","filename":"file1"},{"photo_id":"1329643282","filename":"file0"},{"photo_id":"1329643307","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329643302":["hashtag1","hashtag2"]},{"1329643307":["hashtag1","hashtag2"]},{"1329643297":["hashtag1","hashtag2"]},{"1329643282":["hashtag1","hashtag2"]},{"1329643312":["hashtag1","hashtag2"]},{"1329643315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329643302, 1329643307, 1329643297, 1329643282, 1329643312, 1329643315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.06266379356384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:48:22.675285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/45/image_18012025_03_45_03_062401_0003.jpg', '/home/pi/Desktop/images/18012025/03/46/image_18012025_03_46_02_592049_0000.jpg', '/home/pi/Desktop/images/18012025/03/46/image_18012025_03_46_02_592049_0001.jpg', '/home/pi/Desktop/images/18012025/03/46/image_18012025_03_46_02_592049_0002.jpg', '/home/pi/Desktop/images/18012025/03/46/image_18012025_03_46_02_592049_0003.jpg', '/home/pi/Desktop/images/18012025/03/47/image_18012025_03_47_03_076345_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/45/image_18012025_03_45_03_062401_0003.jpg
/home/pi/Desktop/images/18012025/03/46/image_18012025_03_46_02_592049_0000.jpg
/home/pi/Desktop/images/18012025/03/46/image_18012025_03_46_02_592049_0001.jpg
/home/pi/Desktop/images/18012025/03/46/image_18012025_03_46_02_592049_0002.jpg
/home/pi/Desktop/images/18012025/03/46/image_18012025_03_46_02_592049_0003.jpg
/home/pi/Desktop/images/18012025/03/47/image_18012025_03_47_03_076345_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329643368","1329643353","1329643358","1329643349","1329643363","1329643345"],"photo_ids_order":["1329643345","1329643349","1329643353","1329643358","1329643363","1329643368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b694c8b5cd1e25547cfe6b154d29a57.jpg","text":"TemporaryFile(/tmp/multipartBody6700968195120543609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168579462,"filename":"image_18012025_03_47_03_076345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/055b12c71d7e18e866d7503c1edbade3.jpg","text":"TemporaryFile(/tmp/multipartBody34119455624805695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168579462,"filename":"image_18012025_03_46_02_592049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/602ea490a18c57776d393b5a4fa716be.jpg","text":"TemporaryFile(/tmp/multipartBody8180566702902280214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168579462,"filename":"image_18012025_03_46_02_592049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/353de65f014cde9de776f6a32f55e911.jpg","text":"TemporaryFile(/tmp/multipartBody7790014425799529932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168579462,"filename":"image_18012025_03_46_02_592049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ece58ca72796785fc31832f204eae93.jpg","text":"TemporaryFile(/tmp/multipartBody6471413042109575364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168579462,"filename":"image_18012025_03_46_02_592049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13ee544298ba6a44eda12f8e70c23f91.jpg","text":"TemporaryFile(/tmp/multipartBody5465252533008172654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168579462,"filename":"image_18012025_03_45_03_062401_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329643353","file1":"1329643349","file0":"1329643345","file4":"1329643363","file5":"1329643368","file3":"1329643358"},"map_files_photo_id_array":[{"photo_id":"1329643368","filename":"file5"},{"photo_id":"1329643353","filename":"file2"},{"photo_id":"1329643363","filename":"file4"},{"photo_id":"1329643349","filename":"file1"},{"photo_id":"1329643345","filename":"file0"},{"photo_id":"1329643358","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329643368":["hashtag1","hashtag2"]},{"1329643353":["hashtag1","hashtag2"]},{"1329643358":["hashtag1","hashtag2"]},{"1329643349":["hashtag1","hashtag2"]},{"1329643363":["hashtag1","hashtag2"]},{"1329643345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329643368, 1329643353, 1329643358, 1329643349, 1329643363, 1329643345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.03046250343323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:49:22.222748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/47/image_18012025_03_47_03_076345_0001.jpg', '/home/pi/Desktop/images/18012025/03/47/image_18012025_03_47_03_076345_0002.jpg', '/home/pi/Desktop/images/18012025/03/47/image_18012025_03_47_03_076345_0003.jpg', '/home/pi/Desktop/images/18012025/03/48/image_18012025_03_48_02_550139_0001.jpg', '/home/pi/Desktop/images/18012025/03/49/image_18012025_03_49_03_087692_0001.jpg', '/home/pi/Desktop/images/18012025/03/49/image_18012025_03_49_03_087692_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/47/image_18012025_03_47_03_076345_0001.jpg
/home/pi/Desktop/images/18012025/03/47/image_18012025_03_47_03_076345_0002.jpg
/home/pi/Desktop/images/18012025/03/47/image_18012025_03_47_03_076345_0003.jpg
/home/pi/Desktop/images/18012025/03/48/image_18012025_03_48_02_550139_0001.jpg
/home/pi/Desktop/images/18012025/03/49/image_18012025_03_49_03_087692_0001.jpg
/home/pi/Desktop/images/18012025/03/49/image_18012025_03_49_03_087692_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329643437","1329643382","1329643379","1329643393","1329643396","1329643399"],"photo_ids_order":["1329643379","1329643382","1329643393","1329643396","1329643399","1329643437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6353e4c5d9f802eef7ace7a6a3cf5f4d.jpg","text":"TemporaryFile(/tmp/multipartBody1489872320100846233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168637512,"filename":"image_18012025_03_49_03_087692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f72fd9ef21b8a00402da01baad4a2f87.jpg","text":"TemporaryFile(/tmp/multipartBody8857494613992754554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168637512,"filename":"image_18012025_03_47_03_076345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65ceea09c022044e79cdde25e93a428b.jpg","text":"TemporaryFile(/tmp/multipartBody8669938441470313809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168637512,"filename":"image_18012025_03_47_03_076345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63a1620a88200755859dd1c938bfef22.jpg","text":"TemporaryFile(/tmp/multipartBody2638439147815089598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168637512,"filename":"image_18012025_03_47_03_076345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/678534a92eacb64ba76e150df08684a6.jpg","text":"TemporaryFile(/tmp/multipartBody2621080028135558149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168637512,"filename":"image_18012025_03_48_02_550139_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93395906936034014e3d12c0ec592f53.jpg","text":"TemporaryFile(/tmp/multipartBody2695415616809899392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168637512,"filename":"image_18012025_03_49_03_087692_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329643393","file1":"1329643382","file0":"1329643379","file4":"1329643399","file5":"1329643437","file3":"1329643396"},"map_files_photo_id_array":[{"photo_id":"1329643437","filename":"file5"},{"photo_id":"1329643393","filename":"file2"},{"photo_id":"1329643399","filename":"file4"},{"photo_id":"1329643382","filename":"file1"},{"photo_id":"1329643379","filename":"file0"},{"photo_id":"1329643396","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329643437":["hashtag1","hashtag2"]},{"1329643382":["hashtag1","hashtag2"]},{"1329643379":["hashtag1","hashtag2"]},{"1329643393":["hashtag1","hashtag2"]},{"1329643396":["hashtag1","hashtag2"]},{"1329643399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329643437, 1329643382, 1329643379, 1329643393, 1329643396, 1329643399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.27203369140625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:51:02.865947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/49/image_18012025_03_49_03_087692_0003.jpg', '/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0000.jpg', '/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0001.jpg', '/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/49/image_18012025_03_49_03_087692_0003.jpg
/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0000.jpg
/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0001.jpg
/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.099868297576904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:51:22.196454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/49/image_18012025_03_49_03_087692_0003.jpg', '/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0000.jpg', '/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0001.jpg', '/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0002.jpg', '/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0003.jpg', '/home/pi/Desktop/images/18012025/03/51/image_18012025_03_51_03_149273_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/49/image_18012025_03_49_03_087692_0003.jpg
/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0000.jpg
/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0001.jpg
/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0002.jpg
/home/pi/Desktop/images/18012025/03/50/image_18012025_03_50_02_626604_0003.jpg
/home/pi/Desktop/images/18012025/03/51/image_18012025_03_51_03_149273_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329644733","1329644792","1329644780","1329644470","1329644476","1329644499"],"photo_ids_order":["1329644470","1329644476","1329644499","1329644733","1329644780","1329644792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b3410509250dbbc40d1560d2852f784b.jpg","text":"TemporaryFile(/tmp/multipartBody3459032721618151250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168758914,"filename":"image_18012025_03_50_02_626604_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4a2b7a35d3d733a048a8545d675c822c.jpg","text":"TemporaryFile(/tmp/multipartBody6778373050632068030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168758914,"filename":"image_18012025_03_51_03_149273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a9d3bb0e8094a2f6d74decb914e77f3.jpg","text":"TemporaryFile(/tmp/multipartBody3290361912467397567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168758914,"filename":"image_18012025_03_50_02_626604_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/85dffc89fae234844356351b6427edf7.jpg","text":"TemporaryFile(/tmp/multipartBody5212080288339914855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168758914,"filename":"image_18012025_03_49_03_087692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5b13affeef8d88845fc92e3611542b1.jpg","text":"TemporaryFile(/tmp/multipartBody9162318881144569039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168758914,"filename":"image_18012025_03_50_02_626604_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39e62eca3cf7514a88d2795d3acdab8b.jpg","text":"TemporaryFile(/tmp/multipartBody7192519693939128130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168758914,"filename":"image_18012025_03_50_02_626604_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329644499","file1":"1329644476","file0":"1329644470","file4":"1329644780","file5":"1329644792","file3":"1329644733"},"map_files_photo_id_array":[{"photo_id":"1329644792","filename":"file5"},{"photo_id":"1329644499","filename":"file2"},{"photo_id":"1329644780","filename":"file4"},{"photo_id":"1329644476","filename":"file1"},{"photo_id":"1329644470","filename":"file0"},{"photo_id":"1329644733","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329644733":["hashtag1","hashtag2"]},{"1329644792":["hashtag1","hashtag2"]},{"1329644780":["hashtag1","hashtag2"]},{"1329644470":["hashtag1","hashtag2"]},{"1329644476":["hashtag1","hashtag2"]},{"1329644499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329644733, 1329644792, 1329644780, 1329644470, 1329644476, 1329644499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.88040781021118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:52:21.876398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/51/image_18012025_03_51_03_149273_0001.jpg', '/home/pi/Desktop/images/18012025/03/51/image_18012025_03_51_03_149273_0002.jpg', '/home/pi/Desktop/images/18012025/03/51/image_18012025_03_51_03_149273_0003.jpg', '/home/pi/Desktop/images/18012025/03/52/image_18012025_03_52_02_639030_0000.jpg', '/home/pi/Desktop/images/18012025/03/52/image_18012025_03_52_02_639030_0001.jpg', '/home/pi/Desktop/images/18012025/03/52/image_18012025_03_52_02_639030_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/51/image_18012025_03_51_03_149273_0001.jpg
/home/pi/Desktop/images/18012025/03/51/image_18012025_03_51_03_149273_0002.jpg
/home/pi/Desktop/images/18012025/03/51/image_18012025_03_51_03_149273_0003.jpg
/home/pi/Desktop/images/18012025/03/52/image_18012025_03_52_02_639030_0000.jpg
/home/pi/Desktop/images/18012025/03/52/image_18012025_03_52_02_639030_0001.jpg
/home/pi/Desktop/images/18012025/03/52/image_18012025_03_52_02_639030_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329644919","1329644923","1329644926","1329644914","1329644908","1329644928"],"photo_ids_order":["1329644908","1329644914","1329644919","1329644923","1329644926","1329644928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/32c784f971ccc39e41e29c541004ff8f.jpg","text":"TemporaryFile(/tmp/multipartBody468409731470591873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168818445,"filename":"image_18012025_03_51_03_149273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/189ee7021ed5eec8b4835634bcb784e4.jpg","text":"TemporaryFile(/tmp/multipartBody3363467631480359767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168818445,"filename":"image_18012025_03_52_02_639030_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee9bb4383c42b18ec290cd9a0bdceab1.jpg","text":"TemporaryFile(/tmp/multipartBody3439767788778900165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168818445,"filename":"image_18012025_03_52_02_639030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6999935a0888f01ff3f2ef4056596354.jpg","text":"TemporaryFile(/tmp/multipartBody8240845612706206854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168818445,"filename":"image_18012025_03_51_03_149273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ab5b9b8ea40cb0a76f8b4f42dcd6ffdf.jpg","text":"TemporaryFile(/tmp/multipartBody6631595970869405662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168818445,"filename":"image_18012025_03_51_03_149273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b37b20d7ce662ff5bd1a6a2e1ee5e26.jpg","text":"TemporaryFile(/tmp/multipartBody3422195123152461419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168818445,"filename":"image_18012025_03_52_02_639030_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329644919","file1":"1329644914","file0":"1329644908","file4":"1329644926","file5":"1329644928","file3":"1329644923"},"map_files_photo_id_array":[{"photo_id":"1329644928","filename":"file5"},{"photo_id":"1329644919","filename":"file2"},{"photo_id":"1329644926","filename":"file4"},{"photo_id":"1329644914","filename":"file1"},{"photo_id":"1329644908","filename":"file0"},{"photo_id":"1329644923","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329644919":["hashtag1","hashtag2"]},{"1329644923":["hashtag1","hashtag2"]},{"1329644926":["hashtag1","hashtag2"]},{"1329644914":["hashtag1","hashtag2"]},{"1329644908":["hashtag1","hashtag2"]},{"1329644928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329644919, 1329644923, 1329644926, 1329644914, 1329644908, 1329644928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.87649655342102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:53:22.401544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/52/image_18012025_03_52_02_639030_0003.jpg', '/home/pi/Desktop/images/18012025/03/53/image_18012025_03_53_02_299701_0000.jpg', '/home/pi/Desktop/images/18012025/03/53/image_18012025_03_53_02_299701_0001.jpg', '/home/pi/Desktop/images/18012025/03/53/image_18012025_03_53_02_299701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/52/image_18012025_03_52_02_639030_0003.jpg
/home/pi/Desktop/images/18012025/03/53/image_18012025_03_53_02_299701_0000.jpg
/home/pi/Desktop/images/18012025/03/53/image_18012025_03_53_02_299701_0001.jpg
/home/pi/Desktop/images/18012025/03/53/image_18012025_03_53_02_299701_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329644945","1329644952","1329644955","1329644949"],"photo_ids_order":["1329644945","1329644949","1329644952","1329644955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/165851dacef0e8d38cfa13e24b43db19.jpg","text":"TemporaryFile(/tmp/multipartBody8651304879688020113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168873493,"filename":"image_18012025_03_52_02_639030_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2d8decd5907de23bdcf866f5589467ca.jpg","text":"TemporaryFile(/tmp/multipartBody2597305112500188046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168873493,"filename":"image_18012025_03_53_02_299701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a92f9c2a40eb27c1b565e0fdee15c6bf.jpg","text":"TemporaryFile(/tmp/multipartBody474787801400656306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168873493,"filename":"image_18012025_03_53_02_299701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54aab6028ff6d6370a5201117f60e0a7.jpg","text":"TemporaryFile(/tmp/multipartBody5328264512898168726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168873493,"filename":"image_18012025_03_53_02_299701_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329644952","file1":"1329644949","file0":"1329644945","file3":"1329644955"},"map_files_photo_id_array":[{"photo_id":"1329644952","filename":"file2"},{"photo_id":"1329644949","filename":"file1"},{"photo_id":"1329644945","filename":"file0"},{"photo_id":"1329644955","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329644945":["hashtag1","hashtag2"]},{"1329644952":["hashtag1","hashtag2"]},{"1329644955":["hashtag1","hashtag2"]},{"1329644949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329644945, 1329644952, 1329644955, 1329644949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.89226508140564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:54:21.996509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/53/image_18012025_03_53_02_299701_0003.jpg', '/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0000.jpg', '/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0001.jpg', '/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/53/image_18012025_03_53_02_299701_0003.jpg
/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0000.jpg
/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0001.jpg
/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.676754236221313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:55:03.187844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/53/image_18012025_03_53_02_299701_0003.jpg', '/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0000.jpg', '/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0001.jpg', '/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/53/image_18012025_03_53_02_299701_0003.jpg
/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0000.jpg
/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0001.jpg
/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329645268","1329645262","1329645319","1329645273"],"photo_ids_order":["1329645262","1329645268","1329645273","1329645319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28e5d0d18a4c23b4af35f6ec3d457fe4.jpg","text":"TemporaryFile(/tmp/multipartBody2649187742916138932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168974290,"filename":"image_18012025_03_54_02_841220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e9e94e14934375e7ca183bf885b8a6cd.jpg","text":"TemporaryFile(/tmp/multipartBody1695824799323535354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168974290,"filename":"image_18012025_03_53_02_299701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13051a1ffc2957b11014096a655078c2.jpg","text":"TemporaryFile(/tmp/multipartBody8610049555064431045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168974290,"filename":"image_18012025_03_54_02_841220_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/25f5aab13ee8181b9648630af16f15e1.jpg","text":"TemporaryFile(/tmp/multipartBody3640951825248661907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737168974290,"filename":"image_18012025_03_54_02_841220_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329645273","file1":"1329645268","file0":"1329645262","file3":"1329645319"},"map_files_photo_id_array":[{"photo_id":"1329645273","filename":"file2"},{"photo_id":"1329645268","filename":"file1"},{"photo_id":"1329645262","filename":"file0"},{"photo_id":"1329645319","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329645268":["hashtag1","hashtag2"]},{"1329645262":["hashtag1","hashtag2"]},{"1329645319":["hashtag1","hashtag2"]},{"1329645273":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329645268, 1329645262, 1329645319, 1329645273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.70097637176514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 03:56:02.653637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0003.jpg', '/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0000.jpg', '/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0001.jpg', '/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0003.jpg
/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0000.jpg
/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0001.jpg
/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.739038467407227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:56:22.186635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0003.jpg', '/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0000.jpg', '/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0001.jpg', '/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0002.jpg', '/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0003.jpg', '/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/54/image_18012025_03_54_02_841220_0003.jpg
/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0000.jpg
/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0001.jpg
/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0002.jpg
/home/pi/Desktop/images/18012025/03/55/image_18012025_03_55_02_345158_0003.jpg
/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329645440","1329645428","1329645437","1329645431","1329645433","1329645435"],"photo_ids_order":["1329645428","1329645431","1329645433","1329645435","1329645437","1329645440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/64ab8022f9832673369e3d8596c928e1.jpg","text":"TemporaryFile(/tmp/multipartBody5345673420723835130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169058726,"filename":"image_18012025_03_56_02_856545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f82510e9cd394aae5fee9b2c82df31d3.jpg","text":"TemporaryFile(/tmp/multipartBody7222418993942925086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169058726,"filename":"image_18012025_03_54_02_841220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6815027ab9b14502bfd0fd44600bc21.jpg","text":"TemporaryFile(/tmp/multipartBody1045902748267618609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169058726,"filename":"image_18012025_03_55_02_345158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/466f414b15877751fa92b1f525e7abcc.jpg","text":"TemporaryFile(/tmp/multipartBody4198758772816128256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169058726,"filename":"image_18012025_03_55_02_345158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd396240ccaab3aac3efa24ec8cf5d90.jpg","text":"TemporaryFile(/tmp/multipartBody4249222722409754377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169058726,"filename":"image_18012025_03_55_02_345158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f018ee75fe54fbf08b55bb145f13c4c.jpg","text":"TemporaryFile(/tmp/multipartBody8903299782883729514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169058726,"filename":"image_18012025_03_55_02_345158_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329645433","file1":"1329645431","file0":"1329645428","file4":"1329645437","file5":"1329645440","file3":"1329645435"},"map_files_photo_id_array":[{"photo_id":"1329645440","filename":"file5"},{"photo_id":"1329645433","filename":"file2"},{"photo_id":"1329645437","filename":"file4"},{"photo_id":"1329645431","filename":"file1"},{"photo_id":"1329645428","filename":"file0"},{"photo_id":"1329645435","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329645440":["hashtag1","hashtag2"]},{"1329645428":["hashtag1","hashtag2"]},{"1329645437":["hashtag1","hashtag2"]},{"1329645431":["hashtag1","hashtag2"]},{"1329645433":["hashtag1","hashtag2"]},{"1329645435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329645440, 1329645428, 1329645437, 1329645431, 1329645433, 1329645435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.894197940826416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 03:57:22.731044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0001.jpg', '/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0002.jpg', '/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0003.jpg', '/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_0000.jpg', '/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_0001.jpg', '/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0001.jpg
/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0002.jpg
/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0003.jpg
/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_0000.jpg
/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_0001.jpg
/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_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-18 03:59:02.990249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0001.jpg', '/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0002.jpg', '/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0003.jpg', '/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_0000.jpg', '/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_0001.jpg', '/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0001.jpg
/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0002.jpg
/home/pi/Desktop/images/18012025/03/56/image_18012025_03_56_02_856545_0003.jpg
/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_0000.jpg
/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_0001.jpg
/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329645545","1329645524","1329645613","1329645601","1329645603","1329645531"],"photo_ids_order":["1329645524","1329645531","1329645545","1329645601","1329645603","1329645613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8e02a96daf3b85eb9b82b835bd60e1a.jpg","text":"TemporaryFile(/tmp/multipartBody511601781523085070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169219062,"filename":"image_18012025_03_56_02_856545_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c7d475f7a9af43ed2969552c8d460f9.jpg","text":"TemporaryFile(/tmp/multipartBody4472240656831890757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169219062,"filename":"image_18012025_03_56_02_856545_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/76ca9fd1420eda81e7ca7039d554df84.jpg","text":"TemporaryFile(/tmp/multipartBody522943473229739909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169219062,"filename":"image_18012025_03_57_02_531181_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d0e6f62ee68464d1c14c5d8d6f96336.jpg","text":"TemporaryFile(/tmp/multipartBody3708509547999223710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169219062,"filename":"image_18012025_03_57_02_531181_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe61faaaa89066d06542f66a7781cb1e.jpg","text":"TemporaryFile(/tmp/multipartBody2495024841757621677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169219062,"filename":"image_18012025_03_57_02_531181_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6328f1ffd3a4cba7834c90db776191d.jpg","text":"TemporaryFile(/tmp/multipartBody193698529491630200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169219062,"filename":"image_18012025_03_56_02_856545_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329645545","file1":"1329645531","file0":"1329645524","file4":"1329645603","file5":"1329645613","file3":"1329645601"},"map_files_photo_id_array":[{"photo_id":"1329645613","filename":"file5"},{"photo_id":"1329645545","filename":"file2"},{"photo_id":"1329645603","filename":"file4"},{"photo_id":"1329645531","filename":"file1"},{"photo_id":"1329645524","filename":"file0"},{"photo_id":"1329645601","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329645545":["hashtag1","hashtag2"]},{"1329645524":["hashtag1","hashtag2"]},{"1329645613":["hashtag1","hashtag2"]},{"1329645601":["hashtag1","hashtag2"]},{"1329645603":["hashtag1","hashtag2"]},{"1329645531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329645545, 1329645524, 1329645613, 1329645601, 1329645603, 1329645531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.01992106437683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:00:02.484846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_0003.jpg', '/home/pi/Desktop/images/18012025/03/58/image_18012025_03_58_03_108652_0000.jpg', '/home/pi/Desktop/images/18012025/03/58/image_18012025_03_58_03_108652_0001.jpg', '/home/pi/Desktop/images/18012025/03/58/image_18012025_03_58_03_108652_0002.jpg', '/home/pi/Desktop/images/18012025/03/58/image_18012025_03_58_03_108652_0003.jpg', '/home/pi/Desktop/images/18012025/03/59/image_18012025_03_59_02_684706_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/57/image_18012025_03_57_02_531181_0003.jpg
/home/pi/Desktop/images/18012025/03/58/image_18012025_03_58_03_108652_0000.jpg
/home/pi/Desktop/images/18012025/03/58/image_18012025_03_58_03_108652_0001.jpg
/home/pi/Desktop/images/18012025/03/58/image_18012025_03_58_03_108652_0002.jpg
/home/pi/Desktop/images/18012025/03/58/image_18012025_03_58_03_108652_0003.jpg
/home/pi/Desktop/images/18012025/03/59/image_18012025_03_59_02_684706_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329646337","1329645833","1329645676","1329646287","1329646050","1329646340"],"photo_ids_order":["1329645676","1329645833","1329646050","1329646287","1329646337","1329646340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/34c9b388fc8593a991577a9c4b357464.jpg","text":"TemporaryFile(/tmp/multipartBody1191298812471300510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169278704,"filename":"image_18012025_03_58_03_108652_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bdff42e9bbdb00481d2cc664afdd76a0.jpg","text":"TemporaryFile(/tmp/multipartBody8213443186019527193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169278704,"filename":"image_18012025_03_58_03_108652_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/79781de9a437ea72b9a3589f7cf4f833.jpg","text":"TemporaryFile(/tmp/multipartBody1139021386735178510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169278704,"filename":"image_18012025_03_57_02_531181_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6baffcfe8e728fccb621db9f242a81b1.jpg","text":"TemporaryFile(/tmp/multipartBody8655037812490454775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169278704,"filename":"image_18012025_03_58_03_108652_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b70896e258b4dd0ed4a21cd9ce79272.jpg","text":"TemporaryFile(/tmp/multipartBody7697322255317040108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169278704,"filename":"image_18012025_03_58_03_108652_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8d4f455be2e3e8892c5377471241bc56.jpg","text":"TemporaryFile(/tmp/multipartBody3480668539193861230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169278704,"filename":"image_18012025_03_59_02_684706_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329646050","file1":"1329645833","file0":"1329645676","file4":"1329646337","file5":"1329646340","file3":"1329646287"},"map_files_photo_id_array":[{"photo_id":"1329646340","filename":"file5"},{"photo_id":"1329646050","filename":"file2"},{"photo_id":"1329646337","filename":"file4"},{"photo_id":"1329645833","filename":"file1"},{"photo_id":"1329645676","filename":"file0"},{"photo_id":"1329646287","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329646337":["hashtag1","hashtag2"]},{"1329645833":["hashtag1","hashtag2"]},{"1329645676":["hashtag1","hashtag2"]},{"1329646287":["hashtag1","hashtag2"]},{"1329646050":["hashtag1","hashtag2"]},{"1329646340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329646337, 1329645833, 1329645676, 1329646287, 1329646050, 1329646340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.775760650634766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:01:03.225788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/03/59/image_18012025_03_59_02_684706_0001.jpg', '/home/pi/Desktop/images/18012025/03/59/image_18012025_03_59_02_684706_0002.jpg', '/home/pi/Desktop/images/18012025/03/59/image_18012025_03_59_02_684706_0003.jpg', '/home/pi/Desktop/images/18012025/04/00/image_18012025_04_00_02_854431_0000.jpg', '/home/pi/Desktop/images/18012025/04/00/image_18012025_04_00_02_854431_0001.jpg', '/home/pi/Desktop/images/18012025/04/00/image_18012025_04_00_02_854431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/03/59/image_18012025_03_59_02_684706_0001.jpg
/home/pi/Desktop/images/18012025/03/59/image_18012025_03_59_02_684706_0002.jpg
/home/pi/Desktop/images/18012025/03/59/image_18012025_03_59_02_684706_0003.jpg
/home/pi/Desktop/images/18012025/04/00/image_18012025_04_00_02_854431_0000.jpg
/home/pi/Desktop/images/18012025/04/00/image_18012025_04_00_02_854431_0001.jpg
/home/pi/Desktop/images/18012025/04/00/image_18012025_04_00_02_854431_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329646601","1329646483","1329646366","1329646593","1329646531","1329646556"],"photo_ids_order":["1329646366","1329646483","1329646531","1329646556","1329646593","1329646601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c798414c19ec1beedfd5bdac93a2ed54.jpg","text":"TemporaryFile(/tmp/multipartBody3741314540929622657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169339520,"filename":"image_18012025_04_00_02_854431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/382c0958de2d9dcebbc7cc12cbec58eb.jpg","text":"TemporaryFile(/tmp/multipartBody3407154509007753287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169339520,"filename":"image_18012025_03_59_02_684706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c31552a6ba05514b9b67f833aecd30db.jpg","text":"TemporaryFile(/tmp/multipartBody4742769340073708086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169339520,"filename":"image_18012025_03_59_02_684706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18ecfc9d73b330becc38a8e6f8df5fb4.jpg","text":"TemporaryFile(/tmp/multipartBody5216318770143606097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169339520,"filename":"image_18012025_04_00_02_854431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd9fc39a0192037bdce4c698e5a652e2.jpg","text":"TemporaryFile(/tmp/multipartBody8531143168549448143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169339520,"filename":"image_18012025_03_59_02_684706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/91cef628fb0e78c684376f38415e35c6.jpg","text":"TemporaryFile(/tmp/multipartBody4716557403045218954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169339520,"filename":"image_18012025_04_00_02_854431_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329646531","file1":"1329646483","file0":"1329646366","file4":"1329646593","file5":"1329646601","file3":"1329646556"},"map_files_photo_id_array":[{"photo_id":"1329646601","filename":"file5"},{"photo_id":"1329646531","filename":"file2"},{"photo_id":"1329646593","filename":"file4"},{"photo_id":"1329646483","filename":"file1"},{"photo_id":"1329646366","filename":"file0"},{"photo_id":"1329646556","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329646601":["hashtag1","hashtag2"]},{"1329646483":["hashtag1","hashtag2"]},{"1329646366":["hashtag1","hashtag2"]},{"1329646593":["hashtag1","hashtag2"]},{"1329646531":["hashtag1","hashtag2"]},{"1329646556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329646601, 1329646483, 1329646366, 1329646593, 1329646531, 1329646556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.567606925964355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:02:02.549666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/00/image_18012025_04_00_02_854431_0003.jpg', '/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0000.jpg', '/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0001.jpg', '/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/00/image_18012025_04_00_02_854431_0003.jpg
/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0000.jpg
/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0001.jpg
/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.203922033309937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:02:22.063411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/00/image_18012025_04_00_02_854431_0003.jpg', '/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0000.jpg', '/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0001.jpg', '/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0002.jpg', '/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0003.jpg', '/home/pi/Desktop/images/18012025/04/02/image_18012025_04_02_02_921564_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/00/image_18012025_04_00_02_854431_0003.jpg
/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0000.jpg
/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0001.jpg
/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0002.jpg
/home/pi/Desktop/images/18012025/04/01/image_18012025_04_01_02_412996_0003.jpg
/home/pi/Desktop/images/18012025/04/02/image_18012025_04_02_02_921564_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329646693","1329646681","1329646695","1329646686","1329646691","1329646676"],"photo_ids_order":["1329646676","1329646681","1329646686","1329646691","1329646693","1329646695"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d4a1d0e482fd43e0a29e5a8d5e1fce54.jpg","text":"TemporaryFile(/tmp/multipartBody3580416166283634430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169417399,"filename":"image_18012025_04_01_02_412996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a0da4f5f163be5277304cf35636db80.jpg","text":"TemporaryFile(/tmp/multipartBody6283619360595189939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169417399,"filename":"image_18012025_04_01_02_412996_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/99428668e29136874ec1de27a3ae278a.jpg","text":"TemporaryFile(/tmp/multipartBody3378128258766017436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169417399,"filename":"image_18012025_04_02_02_921564_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b912b7f1a8f688bfb32d7edc3f35f77.jpg","text":"TemporaryFile(/tmp/multipartBody1500082965512752135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169417399,"filename":"image_18012025_04_01_02_412996_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03ac5e900f9ac89231cf94e07630bdcc.jpg","text":"TemporaryFile(/tmp/multipartBody4859370676792275126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169417399,"filename":"image_18012025_04_01_02_412996_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9f4128e198518988ed2914580f779e14.jpg","text":"TemporaryFile(/tmp/multipartBody8300039996449618543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169417399,"filename":"image_18012025_04_00_02_854431_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329646686","file1":"1329646681","file0":"1329646676","file4":"1329646693","file5":"1329646695","file3":"1329646691"},"map_files_photo_id_array":[{"photo_id":"1329646695","filename":"file5"},{"photo_id":"1329646686","filename":"file2"},{"photo_id":"1329646693","filename":"file4"},{"photo_id":"1329646681","filename":"file1"},{"photo_id":"1329646676","filename":"file0"},{"photo_id":"1329646691","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329646693":["hashtag1","hashtag2"]},{"1329646681":["hashtag1","hashtag2"]},{"1329646695":["hashtag1","hashtag2"]},{"1329646686":["hashtag1","hashtag2"]},{"1329646691":["hashtag1","hashtag2"]},{"1329646676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329646693, 1329646681, 1329646695, 1329646686, 1329646691, 1329646676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.312294721603394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:03:22.669628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/02/image_18012025_04_02_02_921564_0001.jpg', '/home/pi/Desktop/images/18012025/04/02/image_18012025_04_02_02_921564_0002.jpg', '/home/pi/Desktop/images/18012025/04/02/image_18012025_04_02_02_921564_0003.jpg', '/home/pi/Desktop/images/18012025/04/03/image_18012025_04_03_02_541079_0000.jpg', '/home/pi/Desktop/images/18012025/04/03/image_18012025_04_03_02_541079_0001.jpg', '/home/pi/Desktop/images/18012025/04/03/image_18012025_04_03_02_541079_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/02/image_18012025_04_02_02_921564_0001.jpg
/home/pi/Desktop/images/18012025/04/02/image_18012025_04_02_02_921564_0002.jpg
/home/pi/Desktop/images/18012025/04/02/image_18012025_04_02_02_921564_0003.jpg
/home/pi/Desktop/images/18012025/04/03/image_18012025_04_03_02_541079_0000.jpg
/home/pi/Desktop/images/18012025/04/03/image_18012025_04_03_02_541079_0001.jpg
/home/pi/Desktop/images/18012025/04/03/image_18012025_04_03_02_541079_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329646795","1329646808","1329646810","1329646806","1329646778","1329646802"],"photo_ids_order":["1329646778","1329646795","1329646802","1329646806","1329646808","1329646810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53174a5d77c52e732efb29013d5366c6.jpg","text":"TemporaryFile(/tmp/multipartBody3033959537924520894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169477956,"filename":"image_18012025_04_02_02_921564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/005c0f0878ae9deef0b1d9f6cecb5614.jpg","text":"TemporaryFile(/tmp/multipartBody4578587387844089146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169477956,"filename":"image_18012025_04_03_02_541079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce79d9b8b40bc6b5f76f55263acadc3b.jpg","text":"TemporaryFile(/tmp/multipartBody7740605875802750084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169477956,"filename":"image_18012025_04_03_02_541079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7b45f93cbee58107a3f0810a33580d9.jpg","text":"TemporaryFile(/tmp/multipartBody5983260722130473649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169477956,"filename":"image_18012025_04_03_02_541079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9fe59cea4fe500190ef3508607a24bcd.jpg","text":"TemporaryFile(/tmp/multipartBody6649206568998332177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169477956,"filename":"image_18012025_04_02_02_921564_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ef82fad51a8f310769679561a852237.jpg","text":"TemporaryFile(/tmp/multipartBody7728947074239499710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169477956,"filename":"image_18012025_04_02_02_921564_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329646802","file1":"1329646795","file0":"1329646778","file4":"1329646808","file5":"1329646810","file3":"1329646806"},"map_files_photo_id_array":[{"photo_id":"1329646810","filename":"file5"},{"photo_id":"1329646802","filename":"file2"},{"photo_id":"1329646808","filename":"file4"},{"photo_id":"1329646795","filename":"file1"},{"photo_id":"1329646778","filename":"file0"},{"photo_id":"1329646806","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329646795":["hashtag1","hashtag2"]},{"1329646808":["hashtag1","hashtag2"]},{"1329646810":["hashtag1","hashtag2"]},{"1329646806":["hashtag1","hashtag2"]},{"1329646778":["hashtag1","hashtag2"]},{"1329646802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329646795, 1329646808, 1329646810, 1329646806, 1329646778, 1329646802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.176838874816895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:04:22.187850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/03/image_18012025_04_03_02_541079_0003.jpg', '/home/pi/Desktop/images/18012025/04/04/image_18012025_04_04_03_044719_0000.jpg', '/home/pi/Desktop/images/18012025/04/04/image_18012025_04_04_03_044719_0001.jpg', '/home/pi/Desktop/images/18012025/04/04/image_18012025_04_04_03_044719_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/03/image_18012025_04_03_02_541079_0003.jpg
/home/pi/Desktop/images/18012025/04/04/image_18012025_04_04_03_044719_0000.jpg
/home/pi/Desktop/images/18012025/04/04/image_18012025_04_04_03_044719_0001.jpg
/home/pi/Desktop/images/18012025/04/04/image_18012025_04_04_03_044719_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329646870","1329646884","1329646874","1329646928"],"photo_ids_order":["1329646870","1329646874","1329646884","1329646928"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/83d6173ef11c72d4a1970f5598fd7cc3.jpg","text":"TemporaryFile(/tmp/multipartBody3680514055537968292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169532705,"filename":"image_18012025_04_03_02_541079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6deafd780d68ea4957038b9bf61f5cbb.jpg","text":"TemporaryFile(/tmp/multipartBody8328128541111801772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169532705,"filename":"image_18012025_04_04_03_044719_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3431b257b18b702ddc316b5633a3b8ba.jpg","text":"TemporaryFile(/tmp/multipartBody6649124718611282944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169532705,"filename":"image_18012025_04_04_03_044719_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2dcc0cb1a9494bfb2cb05f1c6bc16744.jpg","text":"TemporaryFile(/tmp/multipartBody5412634233198153005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169532705,"filename":"image_18012025_04_04_03_044719_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329646884","file1":"1329646874","file0":"1329646870","file3":"1329646928"},"map_files_photo_id_array":[{"photo_id":"1329646884","filename":"file2"},{"photo_id":"1329646874","filename":"file1"},{"photo_id":"1329646870","filename":"file0"},{"photo_id":"1329646928","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329646870":["hashtag1","hashtag2"]},{"1329646884":["hashtag1","hashtag2"]},{"1329646874":["hashtag1","hashtag2"]},{"1329646928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329646870, 1329646884, 1329646874, 1329646928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.825494050979614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:05:22.721521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/04/image_18012025_04_04_03_044719_0003.jpg', '/home/pi/Desktop/images/18012025/04/05/image_18012025_04_05_02_574882_0000.jpg', '/home/pi/Desktop/images/18012025/04/05/image_18012025_04_05_02_574882_0001.jpg', '/home/pi/Desktop/images/18012025/04/05/image_18012025_04_05_02_574882_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/04/image_18012025_04_04_03_044719_0003.jpg
/home/pi/Desktop/images/18012025/04/05/image_18012025_04_05_02_574882_0000.jpg
/home/pi/Desktop/images/18012025/04/05/image_18012025_04_05_02_574882_0001.jpg
/home/pi/Desktop/images/18012025/04/05/image_18012025_04_05_02_574882_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329647113","1329647109","1329647111","1329647105"],"photo_ids_order":["1329647105","1329647109","1329647111","1329647113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff6335879fea00a91a33dc0fc38b03ef.jpg","text":"TemporaryFile(/tmp/multipartBody6084307532572369242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169593798,"filename":"image_18012025_04_05_02_574882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f0eba4767c3e65ad6d8379d92d3d70a9.jpg","text":"TemporaryFile(/tmp/multipartBody8776706202384466976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169593798,"filename":"image_18012025_04_05_02_574882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3a47d07fdd90dd9483da0355690b1f05.jpg","text":"TemporaryFile(/tmp/multipartBody3587616304446420608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169593798,"filename":"image_18012025_04_05_02_574882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b04e8410e30ca6446db91f0316e9b29.jpg","text":"TemporaryFile(/tmp/multipartBody5320365782813642152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169593798,"filename":"image_18012025_04_04_03_044719_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329647111","file1":"1329647109","file0":"1329647105","file3":"1329647113"},"map_files_photo_id_array":[{"photo_id":"1329647111","filename":"file2"},{"photo_id":"1329647109","filename":"file1"},{"photo_id":"1329647105","filename":"file0"},{"photo_id":"1329647113","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329647113":["hashtag1","hashtag2"]},{"1329647109":["hashtag1","hashtag2"]},{"1329647111":["hashtag1","hashtag2"]},{"1329647105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329647113, 1329647109, 1329647111, 1329647105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.35467791557312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:06:22.354347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/05/image_18012025_04_05_02_574882_0003.jpg', '/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0000.jpg', '/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0001.jpg', '/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/05/image_18012025_04_05_02_574882_0003.jpg
/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0000.jpg
/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0001.jpg
/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.61122179031372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:07:02.462690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/05/image_18012025_04_05_02_574882_0003.jpg', '/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0000.jpg', '/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0001.jpg', '/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/05/image_18012025_04_05_02_574882_0003.jpg
/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0000.jpg
/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0001.jpg
/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329648576","1329648357","1329648572","1329648565"],"photo_ids_order":["1329648357","1329648565","1329648572","1329648576"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/36649a723956bad39c28b34934f8d0e5.jpg","text":"TemporaryFile(/tmp/multipartBody6998772660287438374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169693606,"filename":"image_18012025_04_06_03_166465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/98562c4a79e5e27ac0ce41c0b0685c97.jpg","text":"TemporaryFile(/tmp/multipartBody8194242016797691986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169693606,"filename":"image_18012025_04_05_02_574882_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dac66ebacb8f92a25062c35088cff07e.jpg","text":"TemporaryFile(/tmp/multipartBody917256553423119952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169693606,"filename":"image_18012025_04_06_03_166465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5532b0f414f8df42d3c0c700cb350c3b.jpg","text":"TemporaryFile(/tmp/multipartBody4303146066395666602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169693606,"filename":"image_18012025_04_06_03_166465_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329648572","file1":"1329648565","file0":"1329648357","file3":"1329648576"},"map_files_photo_id_array":[{"photo_id":"1329648572","filename":"file2"},{"photo_id":"1329648565","filename":"file1"},{"photo_id":"1329648357","filename":"file0"},{"photo_id":"1329648576","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329648576":["hashtag1","hashtag2"]},{"1329648357":["hashtag1","hashtag2"]},{"1329648572":["hashtag1","hashtag2"]},{"1329648565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329648576, 1329648357, 1329648572, 1329648565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.02072858810425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:08:02.932398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0003.jpg', '/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0000.jpg', '/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0001.jpg', '/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0003.jpg
/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0000.jpg
/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0001.jpg
/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.480914831161499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:08:22.538859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0003.jpg', '/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0000.jpg', '/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0001.jpg', '/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0002.jpg', '/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0003.jpg', '/home/pi/Desktop/images/18012025/04/08/image_18012025_04_08_02_232436_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/06/image_18012025_04_06_03_166465_0003.jpg
/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0000.jpg
/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0001.jpg
/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0002.jpg
/home/pi/Desktop/images/18012025/04/07/image_18012025_04_07_02_748716_0003.jpg
/home/pi/Desktop/images/18012025/04/08/image_18012025_04_08_02_232436_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329648936","1329648941","1329648944","1329648932","1329648970","1329648952"],"photo_ids_order":["1329648932","1329648936","1329648941","1329648944","1329648952","1329648970"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50ed8e934030a7a10f09bd704ef04302.jpg","text":"TemporaryFile(/tmp/multipartBody2085684980342876571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169778461,"filename":"image_18012025_04_07_02_748716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bde3c5f185f5bf0a05e2300a58873063.jpg","text":"TemporaryFile(/tmp/multipartBody3018915591315833023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169778461,"filename":"image_18012025_04_07_02_748716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bdd5d4612014db2a921fe83a7df1515b.jpg","text":"TemporaryFile(/tmp/multipartBody2402388389393262959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169778461,"filename":"image_18012025_04_07_02_748716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7888f4bb4bf98b26dc814b913a1e7347.jpg","text":"TemporaryFile(/tmp/multipartBody5443300409058032770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169778461,"filename":"image_18012025_04_06_03_166465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f04bfc24af176f617c1f78ff8f15afb.jpg","text":"TemporaryFile(/tmp/multipartBody197009780132523299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169778461,"filename":"image_18012025_04_08_02_232436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/43ca991369509ae596f54f8774949acb.jpg","text":"TemporaryFile(/tmp/multipartBody5493561466675514288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169778461,"filename":"image_18012025_04_07_02_748716_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329648941","file1":"1329648936","file0":"1329648932","file4":"1329648952","file5":"1329648970","file3":"1329648944"},"map_files_photo_id_array":[{"photo_id":"1329648970","filename":"file5"},{"photo_id":"1329648941","filename":"file2"},{"photo_id":"1329648952","filename":"file4"},{"photo_id":"1329648936","filename":"file1"},{"photo_id":"1329648932","filename":"file0"},{"photo_id":"1329648944","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329648936":["hashtag1","hashtag2"]},{"1329648941":["hashtag1","hashtag2"]},{"1329648944":["hashtag1","hashtag2"]},{"1329648932":["hashtag1","hashtag2"]},{"1329648970":["hashtag1","hashtag2"]},{"1329648952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329648936, 1329648941, 1329648944, 1329648932, 1329648970, 1329648952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.01567816734314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:09:22.020554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/08/image_18012025_04_08_02_232436_0001.jpg', '/home/pi/Desktop/images/18012025/04/08/image_18012025_04_08_02_232436_0002.jpg', '/home/pi/Desktop/images/18012025/04/08/image_18012025_04_08_02_232436_0003.jpg', '/home/pi/Desktop/images/18012025/04/09/image_18012025_04_09_02_885765_0000.jpg', '/home/pi/Desktop/images/18012025/04/09/image_18012025_04_09_02_885765_0001.jpg', '/home/pi/Desktop/images/18012025/04/09/image_18012025_04_09_02_885765_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/08/image_18012025_04_08_02_232436_0001.jpg
/home/pi/Desktop/images/18012025/04/08/image_18012025_04_08_02_232436_0002.jpg
/home/pi/Desktop/images/18012025/04/08/image_18012025_04_08_02_232436_0003.jpg
/home/pi/Desktop/images/18012025/04/09/image_18012025_04_09_02_885765_0000.jpg
/home/pi/Desktop/images/18012025/04/09/image_18012025_04_09_02_885765_0001.jpg
/home/pi/Desktop/images/18012025/04/09/image_18012025_04_09_02_885765_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329649093","1329649090","1329649078","1329648985","1329648988","1329649068"],"photo_ids_order":["1329648985","1329648988","1329649068","1329649078","1329649090","1329649093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6d95d8735ed8eff52bd00ec8d41a325.jpg","text":"TemporaryFile(/tmp/multipartBody6580242591154335337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169837255,"filename":"image_18012025_04_09_02_885765_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4e2f89f1fcc626982676435a05aae12b.jpg","text":"TemporaryFile(/tmp/multipartBody8726297986087033389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169837255,"filename":"image_18012025_04_09_02_885765_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc9389836a049495408d3f196b4644ae.jpg","text":"TemporaryFile(/tmp/multipartBody1708632370398956420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169837255,"filename":"image_18012025_04_09_02_885765_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/374a65be556c2e2f89dbb703a59ba66d.jpg","text":"TemporaryFile(/tmp/multipartBody5090324760607769561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169837255,"filename":"image_18012025_04_08_02_232436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8aa6c853d85c10f020ba10f4d04c6496.jpg","text":"TemporaryFile(/tmp/multipartBody4700383972182951437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169837255,"filename":"image_18012025_04_08_02_232436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b15e91ede4a7465371d771698d7a821.jpg","text":"TemporaryFile(/tmp/multipartBody8874816199746724014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169837255,"filename":"image_18012025_04_08_02_232436_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329649068","file1":"1329648988","file0":"1329648985","file4":"1329649090","file5":"1329649093","file3":"1329649078"},"map_files_photo_id_array":[{"photo_id":"1329649093","filename":"file5"},{"photo_id":"1329649068","filename":"file2"},{"photo_id":"1329649090","filename":"file4"},{"photo_id":"1329648988","filename":"file1"},{"photo_id":"1329648985","filename":"file0"},{"photo_id":"1329649078","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329649093":["hashtag1","hashtag2"]},{"1329649090":["hashtag1","hashtag2"]},{"1329649078":["hashtag1","hashtag2"]},{"1329648985":["hashtag1","hashtag2"]},{"1329648988":["hashtag1","hashtag2"]},{"1329649068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329649093, 1329649090, 1329649078, 1329648985, 1329648988, 1329649068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.909751892089844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:10:22.589761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/09/image_18012025_04_09_02_885765_0003.jpg', '/home/pi/Desktop/images/18012025/04/10/image_18012025_04_10_02_440341_0000.jpg', '/home/pi/Desktop/images/18012025/04/10/image_18012025_04_10_02_440341_0001.jpg', '/home/pi/Desktop/images/18012025/04/10/image_18012025_04_10_02_440341_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/09/image_18012025_04_09_02_885765_0003.jpg
/home/pi/Desktop/images/18012025/04/10/image_18012025_04_10_02_440341_0000.jpg
/home/pi/Desktop/images/18012025/04/10/image_18012025_04_10_02_440341_0001.jpg
/home/pi/Desktop/images/18012025/04/10/image_18012025_04_10_02_440341_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329649140","1329649144","1329649147","1329649152"],"photo_ids_order":["1329649140","1329649144","1329649147","1329649152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/659302212b5026f979b34eec6c44560a.jpg","text":"TemporaryFile(/tmp/multipartBody5744465328131334629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169893075,"filename":"image_18012025_04_09_02_885765_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f25786b63a97892213e72f9852b91e7d.jpg","text":"TemporaryFile(/tmp/multipartBody6522948426237385809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169893075,"filename":"image_18012025_04_10_02_440341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c530d2a63345dde4f86a6a2343a9576.jpg","text":"TemporaryFile(/tmp/multipartBody6679325685022429140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169893075,"filename":"image_18012025_04_10_02_440341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f00954bb02f3ce31b39079921a9d6f0.jpg","text":"TemporaryFile(/tmp/multipartBody7659382636012251675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169893075,"filename":"image_18012025_04_10_02_440341_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329649147","file1":"1329649144","file0":"1329649140","file3":"1329649152"},"map_files_photo_id_array":[{"photo_id":"1329649147","filename":"file2"},{"photo_id":"1329649144","filename":"file1"},{"photo_id":"1329649140","filename":"file0"},{"photo_id":"1329649152","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329649140":["hashtag1","hashtag2"]},{"1329649144":["hashtag1","hashtag2"]},{"1329649147":["hashtag1","hashtag2"]},{"1329649152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329649140, 1329649144, 1329649147, 1329649152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.1871178150177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:11:22.183482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/10/image_18012025_04_10_02_440341_0003.jpg', '/home/pi/Desktop/images/18012025/04/11/image_18012025_04_11_02_934242_0000.jpg', '/home/pi/Desktop/images/18012025/04/11/image_18012025_04_11_02_934242_0001.jpg', '/home/pi/Desktop/images/18012025/04/11/image_18012025_04_11_02_934242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/10/image_18012025_04_10_02_440341_0003.jpg
/home/pi/Desktop/images/18012025/04/11/image_18012025_04_11_02_934242_0000.jpg
/home/pi/Desktop/images/18012025/04/11/image_18012025_04_11_02_934242_0001.jpg
/home/pi/Desktop/images/18012025/04/11/image_18012025_04_11_02_934242_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329649236","1329649224","1329649218","1329649201"],"photo_ids_order":["1329649201","1329649218","1329649224","1329649236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad095590ec7113dab1438e6dda5a7235.jpg","text":"TemporaryFile(/tmp/multipartBody1420686394774628193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169952826,"filename":"image_18012025_04_11_02_934242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5b6d20feec2e873b9581195ae953bb23.jpg","text":"TemporaryFile(/tmp/multipartBody7687421201711768257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169952826,"filename":"image_18012025_04_11_02_934242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c0ca8b918bec24a0287e89bba7a5fa5.jpg","text":"TemporaryFile(/tmp/multipartBody3534680838327591644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169952826,"filename":"image_18012025_04_11_02_934242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e5346b688d1bfdcacd293087aaa0f74.jpg","text":"TemporaryFile(/tmp/multipartBody7908127734932548846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169952826,"filename":"image_18012025_04_10_02_440341_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329649224","file1":"1329649218","file0":"1329649201","file3":"1329649236"},"map_files_photo_id_array":[{"photo_id":"1329649224","filename":"file2"},{"photo_id":"1329649218","filename":"file1"},{"photo_id":"1329649201","filename":"file0"},{"photo_id":"1329649236","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329649236":["hashtag1","hashtag2"]},{"1329649224":["hashtag1","hashtag2"]},{"1329649218":["hashtag1","hashtag2"]},{"1329649201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329649236, 1329649224, 1329649218, 1329649201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.35259509086609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:12:03.101576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_0001.jpg', '/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_0002.jpg', '/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_0003.jpg', '/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0000.jpg', '/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0001.jpg', '/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_0001.jpg
/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_0002.jpg
/home/pi/Desktop/images/16012025/20/49/image_16012025_20_49_02_661711_0003.jpg
/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0000.jpg
/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0001.jpg
/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329649262","1329649265","1329649259","1329649268","1329649273","1329649255"],"photo_ids_order":["1329649255","1329649259","1329649262","1329649265","1329649268","1329649273"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b3dfcfd9c67dfd6acbe5d7dc3c2872e.jpg","text":"TemporaryFile(/tmp/multipartBody75143147414513930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169998713,"filename":"image_16012025_20_49_02_661711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd2d66340cc1e80c59cce52d6a3b70a0.jpg","text":"TemporaryFile(/tmp/multipartBody4252892253681165817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169998713,"filename":"image_16012025_20_50_02_707398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf7b831e12891a84823a528e4c2ba53c.jpg","text":"TemporaryFile(/tmp/multipartBody310421279704227395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169998713,"filename":"image_16012025_20_49_02_661711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/71f648c56aff38e4140f7b40f5bde761.jpg","text":"TemporaryFile(/tmp/multipartBody1106425538396680800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169998713,"filename":"image_16012025_20_50_02_707398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/642721b8f3f34c888b7bbc41dbc9a2b5.jpg","text":"TemporaryFile(/tmp/multipartBody8164764363898254165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169998713,"filename":"image_16012025_20_50_02_707398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f530e83e923e2f0534cb452b7495a0f1.jpg","text":"TemporaryFile(/tmp/multipartBody4693764335288430258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737169998713,"filename":"image_16012025_20_49_02_661711_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329649262","file1":"1329649259","file0":"1329649255","file4":"1329649268","file5":"1329649273","file3":"1329649265"},"map_files_photo_id_array":[{"photo_id":"1329649273","filename":"file5"},{"photo_id":"1329649262","filename":"file2"},{"photo_id":"1329649268","filename":"file4"},{"photo_id":"1329649259","filename":"file1"},{"photo_id":"1329649255","filename":"file0"},{"photo_id":"1329649265","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329649262":["hashtag1","hashtag2"]},{"1329649265":["hashtag1","hashtag2"]},{"1329649259":["hashtag1","hashtag2"]},{"1329649268":["hashtag1","hashtag2"]},{"1329649273":["hashtag1","hashtag2"]},{"1329649255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329649262, 1329649265, 1329649259, 1329649268, 1329649273, 1329649255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.76394844055176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:13:02.754261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/11/image_18012025_04_11_02_934242_0003.jpg', '/home/pi/Desktop/images/18012025/04/12/image_18012025_04_12_02_542325_0000.jpg', '/home/pi/Desktop/images/18012025/04/12/image_18012025_04_12_02_542325_0001.jpg', '/home/pi/Desktop/images/18012025/04/12/image_18012025_04_12_02_542325_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/11/image_18012025_04_11_02_934242_0003.jpg
/home/pi/Desktop/images/18012025/04/12/image_18012025_04_12_02_542325_0000.jpg
/home/pi/Desktop/images/18012025/04/12/image_18012025_04_12_02_542325_0001.jpg
/home/pi/Desktop/images/18012025/04/12/image_18012025_04_12_02_542325_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329649343","1329649352","1329649346","1329649349"],"photo_ids_order":["1329649343","1329649346","1329649349","1329649352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/277bd126c3f0be3a9b55be0ca29a28a8.jpg","text":"TemporaryFile(/tmp/multipartBody8252451137942825448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170053974,"filename":"image_18012025_04_11_02_934242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0258982b40ec70630fc9d1883c80431.jpg","text":"TemporaryFile(/tmp/multipartBody8390554091811428670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170053974,"filename":"image_18012025_04_12_02_542325_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13398a3c33bed9fca1a812ae61804d6c.jpg","text":"TemporaryFile(/tmp/multipartBody4547436347645883079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170053974,"filename":"image_18012025_04_12_02_542325_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b005535d5a05b0f3c92d47b57604b4d4.jpg","text":"TemporaryFile(/tmp/multipartBody874094306502540708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170053974,"filename":"image_18012025_04_12_02_542325_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329649349","file1":"1329649346","file0":"1329649343","file3":"1329649352"},"map_files_photo_id_array":[{"photo_id":"1329649349","filename":"file2"},{"photo_id":"1329649346","filename":"file1"},{"photo_id":"1329649343","filename":"file0"},{"photo_id":"1329649352","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329649343":["hashtag1","hashtag2"]},{"1329649352":["hashtag1","hashtag2"]},{"1329649346":["hashtag1","hashtag2"]},{"1329649349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329649343, 1329649352, 1329649346, 1329649349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.36493229866028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:14:02.238492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/12/image_18012025_04_12_02_542325_0003.jpg', '/home/pi/Desktop/images/18012025/04/13/image_18012025_04_13_03_009045_0000.jpg', '/home/pi/Desktop/images/18012025/04/13/image_18012025_04_13_03_009045_0001.jpg', '/home/pi/Desktop/images/18012025/04/13/image_18012025_04_13_03_009045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/12/image_18012025_04_12_02_542325_0003.jpg
/home/pi/Desktop/images/18012025/04/13/image_18012025_04_13_03_009045_0000.jpg
/home/pi/Desktop/images/18012025/04/13/image_18012025_04_13_03_009045_0001.jpg
/home/pi/Desktop/images/18012025/04/13/image_18012025_04_13_03_009045_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329649380","1329649370","1329649373","1329649377"],"photo_ids_order":["1329649370","1329649373","1329649377","1329649380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5fd454925c06a203e0b2158900cad67b.jpg","text":"TemporaryFile(/tmp/multipartBody6318331482352861960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170113404,"filename":"image_18012025_04_13_03_009045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4a69ab8b0d77df25a5701eb2dfa97fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6358704468592361921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170113404,"filename":"image_18012025_04_12_02_542325_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/513bd48ed64987f0060fcf51b2068360.jpg","text":"TemporaryFile(/tmp/multipartBody213350711286840994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170113404,"filename":"image_18012025_04_13_03_009045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c4d375223722a89f60108c33a4b90ca.jpg","text":"TemporaryFile(/tmp/multipartBody1750150406707078580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170113404,"filename":"image_18012025_04_13_03_009045_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329649377","file1":"1329649373","file0":"1329649370","file3":"1329649380"},"map_files_photo_id_array":[{"photo_id":"1329649377","filename":"file2"},{"photo_id":"1329649373","filename":"file1"},{"photo_id":"1329649370","filename":"file0"},{"photo_id":"1329649380","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329649380":["hashtag1","hashtag2"]},{"1329649370":["hashtag1","hashtag2"]},{"1329649373":["hashtag1","hashtag2"]},{"1329649377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329649380, 1329649370, 1329649373, 1329649377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.91958403587341 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:15:03.030301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/13/image_18012025_04_13_03_009045_0003.jpg', '/home/pi/Desktop/images/18012025/04/14/image_18012025_04_14_02_573828_0000.jpg', '/home/pi/Desktop/images/18012025/04/14/image_18012025_04_14_02_573828_0001.jpg', '/home/pi/Desktop/images/18012025/04/14/image_18012025_04_14_02_573828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/13/image_18012025_04_13_03_009045_0003.jpg
/home/pi/Desktop/images/18012025/04/14/image_18012025_04_14_02_573828_0000.jpg
/home/pi/Desktop/images/18012025/04/14/image_18012025_04_14_02_573828_0001.jpg
/home/pi/Desktop/images/18012025/04/14/image_18012025_04_14_02_573828_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329649406","1329649399","1329649396","1329649402"],"photo_ids_order":["1329649396","1329649399","1329649402","1329649406"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/191155b4d2b080727ad2c80114990155.jpg","text":"TemporaryFile(/tmp/multipartBody8300614625448696715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170174381,"filename":"image_18012025_04_14_02_573828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e9cdea249c0e2968578101be41be8844.jpg","text":"TemporaryFile(/tmp/multipartBody8526823637608873707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170174381,"filename":"image_18012025_04_14_02_573828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8d85e39a59937112b2d23d136896b87e.jpg","text":"TemporaryFile(/tmp/multipartBody6764019727611569607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170174381,"filename":"image_18012025_04_13_03_009045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2fd15d7143ba8b09fb907b15c8ab073e.jpg","text":"TemporaryFile(/tmp/multipartBody1412099479239431089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170174381,"filename":"image_18012025_04_14_02_573828_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329649402","file1":"1329649399","file0":"1329649396","file3":"1329649406"},"map_files_photo_id_array":[{"photo_id":"1329649402","filename":"file2"},{"photo_id":"1329649399","filename":"file1"},{"photo_id":"1329649396","filename":"file0"},{"photo_id":"1329649406","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329649406":["hashtag1","hashtag2"]},{"1329649399":["hashtag1","hashtag2"]},{"1329649396":["hashtag1","hashtag2"]},{"1329649402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329649406, 1329649399, 1329649396, 1329649402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.04356360435486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:16:02.551841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/14/image_18012025_04_14_02_573828_0003.jpg', '/home/pi/Desktop/images/18012025/04/15/image_18012025_04_15_02_215401_0000.jpg', '/home/pi/Desktop/images/18012025/04/15/image_18012025_04_15_02_215401_0001.jpg', '/home/pi/Desktop/images/18012025/04/15/image_18012025_04_15_02_215401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/14/image_18012025_04_14_02_573828_0003.jpg
/home/pi/Desktop/images/18012025/04/15/image_18012025_04_15_02_215401_0000.jpg
/home/pi/Desktop/images/18012025/04/15/image_18012025_04_15_02_215401_0001.jpg
/home/pi/Desktop/images/18012025/04/15/image_18012025_04_15_02_215401_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329649452","1329649449","1329649468","1329649450"],"photo_ids_order":["1329649449","1329649450","1329649452","1329649468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bfa7356b6bc037633fbb46accf8f1a5e.jpg","text":"TemporaryFile(/tmp/multipartBody7262035427526814566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170233436,"filename":"image_18012025_04_15_02_215401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f4c92d7adedfeb7664a0c811628ecab3.jpg","text":"TemporaryFile(/tmp/multipartBody800866876979480972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170233436,"filename":"image_18012025_04_14_02_573828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/68f83f73aaec204d548d6cf02b564dd6.jpg","text":"TemporaryFile(/tmp/multipartBody850125601699983670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170233436,"filename":"image_18012025_04_15_02_215401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f87bc1bb760d46d41ee06a3756299bb7.jpg","text":"TemporaryFile(/tmp/multipartBody4956285535941120131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170233436,"filename":"image_18012025_04_15_02_215401_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329649452","file1":"1329649450","file0":"1329649449","file3":"1329649468"},"map_files_photo_id_array":[{"photo_id":"1329649452","filename":"file2"},{"photo_id":"1329649450","filename":"file1"},{"photo_id":"1329649449","filename":"file0"},{"photo_id":"1329649468","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329649452":["hashtag1","hashtag2"]},{"1329649449":["hashtag1","hashtag2"]},{"1329649468":["hashtag1","hashtag2"]},{"1329649450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329649452, 1329649449, 1329649468, 1329649450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.656272411346436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:17:03.349466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/15/image_18012025_04_15_02_215401_0003.jpg', '/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0000.jpg', '/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0001.jpg', '/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/15/image_18012025_04_15_02_215401_0003.jpg
/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0000.jpg
/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0001.jpg
/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.617951393127441 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:17:22.591135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/15/image_18012025_04_15_02_215401_0003.jpg', '/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0000.jpg', '/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0001.jpg', '/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0002.jpg', '/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0003.jpg', '/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/15/image_18012025_04_15_02_215401_0003.jpg
/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0000.jpg
/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0001.jpg
/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0002.jpg
/home/pi/Desktop/images/18012025/04/16/image_18012025_04_16_02_729401_0003.jpg
/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329649553","1329649559","1329649550","1329649544","1329649547","1329649510"],"photo_ids_order":["1329649510","1329649544","1329649547","1329649550","1329649553","1329649559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b3aee37e07dbe1460e6011dc9012205a.jpg","text":"TemporaryFile(/tmp/multipartBody1829487149567537889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170318674,"filename":"image_18012025_04_16_02_729401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5253990d718ffdf127f4223b397742a.jpg","text":"TemporaryFile(/tmp/multipartBody5129849897074682608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170318674,"filename":"image_18012025_04_17_02_523341_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7db17f8efbe4f5a65659760c2752b756.jpg","text":"TemporaryFile(/tmp/multipartBody6802190465577651767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170318674,"filename":"image_18012025_04_16_02_729401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/451abc47e9eee570f25b7ef96d68982a.jpg","text":"TemporaryFile(/tmp/multipartBody7737068384118384406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170318674,"filename":"image_18012025_04_16_02_729401_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0dbcacf452bd42b92bbe251c1d6ed3f2.jpg","text":"TemporaryFile(/tmp/multipartBody6493809592533588703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170318674,"filename":"image_18012025_04_16_02_729401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5776d16c3329a702981eac57a6ef1215.jpg","text":"TemporaryFile(/tmp/multipartBody2257377933165700866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170318674,"filename":"image_18012025_04_15_02_215401_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329649547","file1":"1329649544","file0":"1329649510","file4":"1329649553","file5":"1329649559","file3":"1329649550"},"map_files_photo_id_array":[{"photo_id":"1329649559","filename":"file5"},{"photo_id":"1329649547","filename":"file2"},{"photo_id":"1329649553","filename":"file4"},{"photo_id":"1329649544","filename":"file1"},{"photo_id":"1329649510","filename":"file0"},{"photo_id":"1329649550","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329649553":["hashtag1","hashtag2"]},{"1329649559":["hashtag1","hashtag2"]},{"1329649550":["hashtag1","hashtag2"]},{"1329649544":["hashtag1","hashtag2"]},{"1329649547":["hashtag1","hashtag2"]},{"1329649510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329649553, 1329649559, 1329649550, 1329649544, 1329649547, 1329649510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.08452653884888 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-18 04:19:02.547998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0001.jpg', '/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0002.jpg', '/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0003.jpg', '/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0000.jpg', '/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0001.jpg', '/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0001.jpg
/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0002.jpg
/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0003.jpg
/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0000.jpg
/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0001.jpg
/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.591424226760864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:19:21.904106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0001.jpg', '/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0002.jpg', '/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0003.jpg', '/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0000.jpg', '/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0001.jpg', '/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0001.jpg
/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0002.jpg
/home/pi/Desktop/images/18012025/04/17/image_18012025_04_17_02_523341_0003.jpg
/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0000.jpg
/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0001.jpg
/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329649650","1329649641","1329649635","1329649646","1329649628","1329649654"],"photo_ids_order":["1329649628","1329649635","1329649641","1329649646","1329649650","1329649654"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/480325d2741535aca9067d4ad9468535.jpg","text":"TemporaryFile(/tmp/multipartBody2295108463642886744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170437841,"filename":"image_18012025_04_18_02_997010_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad671c75fc479f063884d85bfd67b503.jpg","text":"TemporaryFile(/tmp/multipartBody1854715953422214818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170437841,"filename":"image_18012025_04_17_02_523341_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f370b02b8453127e22da40a7f93a6788.jpg","text":"TemporaryFile(/tmp/multipartBody1941647100637598098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170437841,"filename":"image_18012025_04_17_02_523341_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/44e8b059caf47d9f69226978649dd8c0.jpg","text":"TemporaryFile(/tmp/multipartBody5717658142802072013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170437841,"filename":"image_18012025_04_18_02_997010_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea6a9798e26223c20c96c4d18fb34dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8252780833281657006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170437841,"filename":"image_18012025_04_17_02_523341_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd765e67cc9bfcfe4f0d95106f363c55.jpg","text":"TemporaryFile(/tmp/multipartBody8579753891258747854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170437841,"filename":"image_18012025_04_18_02_997010_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329649641","file1":"1329649635","file0":"1329649628","file4":"1329649650","file5":"1329649654","file3":"1329649646"},"map_files_photo_id_array":[{"photo_id":"1329649654","filename":"file5"},{"photo_id":"1329649641","filename":"file2"},{"photo_id":"1329649650","filename":"file4"},{"photo_id":"1329649635","filename":"file1"},{"photo_id":"1329649628","filename":"file0"},{"photo_id":"1329649646","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329649650":["hashtag1","hashtag2"]},{"1329649641":["hashtag1","hashtag2"]},{"1329649635":["hashtag1","hashtag2"]},{"1329649646":["hashtag1","hashtag2"]},{"1329649628":["hashtag1","hashtag2"]},{"1329649654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329649650, 1329649641, 1329649635, 1329649646, 1329649628, 1329649654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.10263419151306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:20:22.580904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0003.jpg', '/home/pi/Desktop/images/18012025/04/19/image_18012025_04_19_02_712525_0000.jpg', '/home/pi/Desktop/images/18012025/04/19/image_18012025_04_19_02_712525_0001.jpg', '/home/pi/Desktop/images/18012025/04/19/image_18012025_04_19_02_712525_0002.jpg', '/home/pi/Desktop/images/18012025/04/19/image_18012025_04_19_02_712525_0003.jpg', '/home/pi/Desktop/images/18012025/04/20/image_18012025_04_20_02_248484_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/18/image_18012025_04_18_02_997010_0003.jpg
/home/pi/Desktop/images/18012025/04/19/image_18012025_04_19_02_712525_0000.jpg
/home/pi/Desktop/images/18012025/04/19/image_18012025_04_19_02_712525_0001.jpg
/home/pi/Desktop/images/18012025/04/19/image_18012025_04_19_02_712525_0002.jpg
/home/pi/Desktop/images/18012025/04/19/image_18012025_04_19_02_712525_0003.jpg
/home/pi/Desktop/images/18012025/04/20/image_18012025_04_20_02_248484_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329649778","1329649838","1329649726","1329649675","1329649834","1329649677"],"photo_ids_order":["1329649675","1329649677","1329649726","1329649778","1329649834","1329649838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6731c9cc3b567c011792e3c6303a527e.jpg","text":"TemporaryFile(/tmp/multipartBody4642212465872198685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170498146,"filename":"image_18012025_04_19_02_712525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a5f7ecd8aa4e0545ccca0dd559232d3.jpg","text":"TemporaryFile(/tmp/multipartBody8849959877565785107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170498146,"filename":"image_18012025_04_20_02_248484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c30d1ebc4ca522add473439a55e44adb.jpg","text":"TemporaryFile(/tmp/multipartBody4382593432219807267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170498146,"filename":"image_18012025_04_19_02_712525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a680b3da8a3c9fdd796882c9e6419637.jpg","text":"TemporaryFile(/tmp/multipartBody6745508758334641154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170498146,"filename":"image_18012025_04_18_02_997010_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b532cc60b4d723b702ee2643b0006745.jpg","text":"TemporaryFile(/tmp/multipartBody6670219010540907021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170498146,"filename":"image_18012025_04_19_02_712525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e113957375642938adebd8e19ced94c8.jpg","text":"TemporaryFile(/tmp/multipartBody1460954231744169754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170498146,"filename":"image_18012025_04_19_02_712525_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329649726","file1":"1329649677","file0":"1329649675","file4":"1329649834","file5":"1329649838","file3":"1329649778"},"map_files_photo_id_array":[{"photo_id":"1329649838","filename":"file5"},{"photo_id":"1329649726","filename":"file2"},{"photo_id":"1329649834","filename":"file4"},{"photo_id":"1329649677","filename":"file1"},{"photo_id":"1329649675","filename":"file0"},{"photo_id":"1329649778","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329649778":["hashtag1","hashtag2"]},{"1329649838":["hashtag1","hashtag2"]},{"1329649726":["hashtag1","hashtag2"]},{"1329649675":["hashtag1","hashtag2"]},{"1329649834":["hashtag1","hashtag2"]},{"1329649677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329649778, 1329649838, 1329649726, 1329649675, 1329649834, 1329649677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.020100593566895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:21:22.091256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/20/image_18012025_04_20_02_248484_0001.jpg', '/home/pi/Desktop/images/18012025/04/20/image_18012025_04_20_02_248484_0002.jpg', '/home/pi/Desktop/images/18012025/04/20/image_18012025_04_20_02_248484_0003.jpg', '/home/pi/Desktop/images/18012025/04/21/image_18012025_04_21_03_006166_0000.jpg', '/home/pi/Desktop/images/18012025/04/21/image_18012025_04_21_03_006166_0001.jpg', '/home/pi/Desktop/images/18012025/04/21/image_18012025_04_21_03_006166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/20/image_18012025_04_20_02_248484_0001.jpg
/home/pi/Desktop/images/18012025/04/20/image_18012025_04_20_02_248484_0002.jpg
/home/pi/Desktop/images/18012025/04/20/image_18012025_04_20_02_248484_0003.jpg
/home/pi/Desktop/images/18012025/04/21/image_18012025_04_21_03_006166_0000.jpg
/home/pi/Desktop/images/18012025/04/21/image_18012025_04_21_03_006166_0001.jpg
/home/pi/Desktop/images/18012025/04/21/image_18012025_04_21_03_006166_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329650579","1329650567","1329650540","1329650264","1329650398","1329650560"],"photo_ids_order":["1329650264","1329650398","1329650540","1329650560","1329650567","1329650579"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c0b82ccb028036569309146f4765b43.jpg","text":"TemporaryFile(/tmp/multipartBody6665495058298052799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170557768,"filename":"image_18012025_04_21_03_006166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0242bc8107dded1323f60c23ea9f34a7.jpg","text":"TemporaryFile(/tmp/multipartBody7801742096944367731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170557768,"filename":"image_18012025_04_21_03_006166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/452fb3cddb9d827793d1ecc301266209.jpg","text":"TemporaryFile(/tmp/multipartBody1637555882249286897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170557768,"filename":"image_18012025_04_20_02_248484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e27eebf25ea7291fcd817f0eb2629e14.jpg","text":"TemporaryFile(/tmp/multipartBody8024214836948825812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170557768,"filename":"image_18012025_04_20_02_248484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aaebd042432296b696e5cb172b66e376.jpg","text":"TemporaryFile(/tmp/multipartBody2816852843030225765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170557768,"filename":"image_18012025_04_20_02_248484_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4509f6e1600fa7157a0191bfc8abf1bd.jpg","text":"TemporaryFile(/tmp/multipartBody5056233793628742847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170557768,"filename":"image_18012025_04_21_03_006166_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329650540","file1":"1329650398","file0":"1329650264","file4":"1329650567","file5":"1329650579","file3":"1329650560"},"map_files_photo_id_array":[{"photo_id":"1329650579","filename":"file5"},{"photo_id":"1329650540","filename":"file2"},{"photo_id":"1329650567","filename":"file4"},{"photo_id":"1329650398","filename":"file1"},{"photo_id":"1329650264","filename":"file0"},{"photo_id":"1329650560","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329650579":["hashtag1","hashtag2"]},{"1329650567":["hashtag1","hashtag2"]},{"1329650540":["hashtag1","hashtag2"]},{"1329650264":["hashtag1","hashtag2"]},{"1329650398":["hashtag1","hashtag2"]},{"1329650560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329650579, 1329650567, 1329650540, 1329650264, 1329650398, 1329650560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.22302842140198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:23:02.850432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/21/image_18012025_04_21_03_006166_0003.jpg', '/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0000.jpg', '/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0001.jpg', '/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/21/image_18012025_04_21_03_006166_0003.jpg
/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0000.jpg
/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0001.jpg
/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.703452587127686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:23:22.224526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/21/image_18012025_04_21_03_006166_0003.jpg', '/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0000.jpg', '/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0001.jpg', '/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0002.jpg', '/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0003.jpg', '/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/21/image_18012025_04_21_03_006166_0003.jpg
/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0000.jpg
/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0001.jpg
/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0002.jpg
/home/pi/Desktop/images/18012025/04/22/image_18012025_04_22_02_480228_0003.jpg
/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329651210","1329651207","1329651201","1329651205","1329651174","1329651198"],"photo_ids_order":["1329651174","1329651198","1329651201","1329651205","1329651207","1329651210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1706bc6e9988afd030844e46ad80bbee.jpg","text":"TemporaryFile(/tmp/multipartBody7936796051453745729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170678353,"filename":"image_18012025_04_23_03_045536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70cc1410b48912ebe2033fd506691436.jpg","text":"TemporaryFile(/tmp/multipartBody1956132226179943762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170678353,"filename":"image_18012025_04_22_02_480228_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/52b0c123c85fa6529c412cddc524ca9d.jpg","text":"TemporaryFile(/tmp/multipartBody144539617932244259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170678353,"filename":"image_18012025_04_22_02_480228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/666257937c9227c29849147e04642c65.jpg","text":"TemporaryFile(/tmp/multipartBody4294130334365792641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170678353,"filename":"image_18012025_04_22_02_480228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d2b7d667e61f7964ce9bd8b0f463e83.jpg","text":"TemporaryFile(/tmp/multipartBody5072859886895713265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170678353,"filename":"image_18012025_04_21_03_006166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/11ebbbcd3fa7b17d44eba94b112280bc.jpg","text":"TemporaryFile(/tmp/multipartBody3931993712638073719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170678353,"filename":"image_18012025_04_22_02_480228_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329651201","file1":"1329651198","file0":"1329651174","file4":"1329651207","file5":"1329651210","file3":"1329651205"},"map_files_photo_id_array":[{"photo_id":"1329651210","filename":"file5"},{"photo_id":"1329651201","filename":"file2"},{"photo_id":"1329651207","filename":"file4"},{"photo_id":"1329651198","filename":"file1"},{"photo_id":"1329651174","filename":"file0"},{"photo_id":"1329651205","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329651210":["hashtag1","hashtag2"]},{"1329651207":["hashtag1","hashtag2"]},{"1329651201":["hashtag1","hashtag2"]},{"1329651205":["hashtag1","hashtag2"]},{"1329651174":["hashtag1","hashtag2"]},{"1329651198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329651210, 1329651207, 1329651201, 1329651205, 1329651174, 1329651198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.99882173538208 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-18 04:25:03.069701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0001.jpg', '/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0002.jpg', '/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0003.jpg', '/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0000.jpg', '/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0001.jpg', '/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0001.jpg
/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0002.jpg
/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0003.jpg
/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0000.jpg
/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0001.jpg
/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.752481460571289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:25:22.302129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0001.jpg', '/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0002.jpg', '/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0003.jpg', '/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0000.jpg', '/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0001.jpg', '/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0001.jpg
/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0002.jpg
/home/pi/Desktop/images/18012025/04/23/image_18012025_04_23_03_045536_0003.jpg
/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0000.jpg
/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0001.jpg
/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329651464","1329651467","1329651461","1329651440","1329651443","1329651430"],"photo_ids_order":["1329651430","1329651440","1329651443","1329651461","1329651464","1329651467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d3cd17afd3995b91dd172354c961fcc7.jpg","text":"TemporaryFile(/tmp/multipartBody6435013525563464870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170798403,"filename":"image_18012025_04_24_02_533725_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4b430e55e5679987e5938414ab8aefb9.jpg","text":"TemporaryFile(/tmp/multipartBody7759720841341223867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170798403,"filename":"image_18012025_04_24_02_533725_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f6bfbc04a19787b775cc4fbf3bf9ec3.jpg","text":"TemporaryFile(/tmp/multipartBody3877646381968267098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170798403,"filename":"image_18012025_04_24_02_533725_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a6e8c213d7570889f59a8a4dc2b8744.jpg","text":"TemporaryFile(/tmp/multipartBody5419819535930650267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170798403,"filename":"image_18012025_04_23_03_045536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ffbc71b3c84036a3f272318c5d17c35.jpg","text":"TemporaryFile(/tmp/multipartBody8080602016771369541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170798403,"filename":"image_18012025_04_23_03_045536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/81ab4937f791a47a90ae78c9c5bff60e.jpg","text":"TemporaryFile(/tmp/multipartBody931190559496489638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170798403,"filename":"image_18012025_04_23_03_045536_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329651443","file1":"1329651440","file0":"1329651430","file4":"1329651464","file5":"1329651467","file3":"1329651461"},"map_files_photo_id_array":[{"photo_id":"1329651467","filename":"file5"},{"photo_id":"1329651443","filename":"file2"},{"photo_id":"1329651464","filename":"file4"},{"photo_id":"1329651440","filename":"file1"},{"photo_id":"1329651430","filename":"file0"},{"photo_id":"1329651461","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329651464":["hashtag1","hashtag2"]},{"1329651467":["hashtag1","hashtag2"]},{"1329651461":["hashtag1","hashtag2"]},{"1329651440":["hashtag1","hashtag2"]},{"1329651443":["hashtag1","hashtag2"]},{"1329651430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329651464, 1329651467, 1329651461, 1329651440, 1329651443, 1329651430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.36145734786987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:26:22.042709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0003.jpg', '/home/pi/Desktop/images/18012025/04/25/image_18012025_04_25_02_212357_0000.jpg', '/home/pi/Desktop/images/18012025/04/25/image_18012025_04_25_02_212357_0001.jpg', '/home/pi/Desktop/images/18012025/04/25/image_18012025_04_25_02_212357_0002.jpg', '/home/pi/Desktop/images/18012025/04/25/image_18012025_04_25_02_212357_0003.jpg', '/home/pi/Desktop/images/18012025/04/26/image_18012025_04_26_02_794059_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/24/image_18012025_04_24_02_533725_0003.jpg
/home/pi/Desktop/images/18012025/04/25/image_18012025_04_25_02_212357_0000.jpg
/home/pi/Desktop/images/18012025/04/25/image_18012025_04_25_02_212357_0001.jpg
/home/pi/Desktop/images/18012025/04/25/image_18012025_04_25_02_212357_0002.jpg
/home/pi/Desktop/images/18012025/04/25/image_18012025_04_25_02_212357_0003.jpg
/home/pi/Desktop/images/18012025/04/26/image_18012025_04_26_02_794059_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329651548","1329651533","1329651527","1329651542","1329651521","1329651538"],"photo_ids_order":["1329651521","1329651527","1329651533","1329651538","1329651542","1329651548"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4b2179754b9a9628ef4476e1fe36f60f.jpg","text":"TemporaryFile(/tmp/multipartBody707631156057109329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170858286,"filename":"image_18012025_04_26_02_794059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7c26397214a1885f7aaff2aaefca494.jpg","text":"TemporaryFile(/tmp/multipartBody1413383529032245670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170858286,"filename":"image_18012025_04_25_02_212357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9bbe24efb408de1cc23a0c0a28bc6b7.jpg","text":"TemporaryFile(/tmp/multipartBody2258910516742818503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170858286,"filename":"image_18012025_04_25_02_212357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a8a770c9f97e438928829d299db5354f.jpg","text":"TemporaryFile(/tmp/multipartBody4481453393220772456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170858286,"filename":"image_18012025_04_25_02_212357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f211dcecc37e3ea89a6ec586d0688b4a.jpg","text":"TemporaryFile(/tmp/multipartBody7088026008006961110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170858286,"filename":"image_18012025_04_24_02_533725_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/27d54b462d96fef2f6b5548392b1a3d7.jpg","text":"TemporaryFile(/tmp/multipartBody1302331080416644982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170858286,"filename":"image_18012025_04_25_02_212357_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329651533","file1":"1329651527","file0":"1329651521","file4":"1329651542","file5":"1329651548","file3":"1329651538"},"map_files_photo_id_array":[{"photo_id":"1329651548","filename":"file5"},{"photo_id":"1329651533","filename":"file2"},{"photo_id":"1329651542","filename":"file4"},{"photo_id":"1329651527","filename":"file1"},{"photo_id":"1329651521","filename":"file0"},{"photo_id":"1329651538","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329651548":["hashtag1","hashtag2"]},{"1329651533":["hashtag1","hashtag2"]},{"1329651527":["hashtag1","hashtag2"]},{"1329651542":["hashtag1","hashtag2"]},{"1329651521":["hashtag1","hashtag2"]},{"1329651538":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329651548, 1329651533, 1329651527, 1329651542, 1329651521, 1329651538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.32964468002319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:27:22.621878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/26/image_18012025_04_26_02_794059_0001.jpg', '/home/pi/Desktop/images/18012025/04/26/image_18012025_04_26_02_794059_0002.jpg', '/home/pi/Desktop/images/18012025/04/26/image_18012025_04_26_02_794059_0003.jpg', '/home/pi/Desktop/images/18012025/04/27/image_18012025_04_27_02_388193_0000.jpg', '/home/pi/Desktop/images/18012025/04/27/image_18012025_04_27_02_388193_0001.jpg', '/home/pi/Desktop/images/18012025/04/27/image_18012025_04_27_02_388193_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/26/image_18012025_04_26_02_794059_0001.jpg
/home/pi/Desktop/images/18012025/04/26/image_18012025_04_26_02_794059_0002.jpg
/home/pi/Desktop/images/18012025/04/26/image_18012025_04_26_02_794059_0003.jpg
/home/pi/Desktop/images/18012025/04/27/image_18012025_04_27_02_388193_0000.jpg
/home/pi/Desktop/images/18012025/04/27/image_18012025_04_27_02_388193_0001.jpg
/home/pi/Desktop/images/18012025/04/27/image_18012025_04_27_02_388193_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329651654","1329651621","1329651618","1329651623","1329651649","1329651651"],"photo_ids_order":["1329651618","1329651621","1329651623","1329651649","1329651651","1329651654"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a7b057345c51008583a62e36fa946a3a.jpg","text":"TemporaryFile(/tmp/multipartBody6974407039221453469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170918917,"filename":"image_18012025_04_27_02_388193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/249a9776979ef415b3d9c4749ef3b5ed.jpg","text":"TemporaryFile(/tmp/multipartBody8794127770682129534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170918917,"filename":"image_18012025_04_26_02_794059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec947fb5ad88004df95a80736a1b485d.jpg","text":"TemporaryFile(/tmp/multipartBody4532983770005913487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170918917,"filename":"image_18012025_04_26_02_794059_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef60ce1ed795549ce9d0a5ed482cddd3.jpg","text":"TemporaryFile(/tmp/multipartBody1875800297114726109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170918917,"filename":"image_18012025_04_26_02_794059_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/37d05d21d8e1f23ed47f3c7901b0dd46.jpg","text":"TemporaryFile(/tmp/multipartBody7551678951295845205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170918917,"filename":"image_18012025_04_27_02_388193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ebbdf520e12b7117f15507f54734219.jpg","text":"TemporaryFile(/tmp/multipartBody7975604245611062050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737170918917,"filename":"image_18012025_04_27_02_388193_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329651623","file1":"1329651621","file0":"1329651618","file4":"1329651651","file5":"1329651654","file3":"1329651649"},"map_files_photo_id_array":[{"photo_id":"1329651654","filename":"file5"},{"photo_id":"1329651623","filename":"file2"},{"photo_id":"1329651651","filename":"file4"},{"photo_id":"1329651621","filename":"file1"},{"photo_id":"1329651618","filename":"file0"},{"photo_id":"1329651649","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329651654":["hashtag1","hashtag2"]},{"1329651621":["hashtag1","hashtag2"]},{"1329651618":["hashtag1","hashtag2"]},{"1329651623":["hashtag1","hashtag2"]},{"1329651649":["hashtag1","hashtag2"]},{"1329651651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329651654, 1329651621, 1329651618, 1329651623, 1329651649, 1329651651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.74855613708496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:28:22.135803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/27/image_18012025_04_27_02_388193_0003.jpg', '/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0000.jpg', '/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0001.jpg', '/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/27/image_18012025_04_27_02_388193_0003.jpg
/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0000.jpg
/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0001.jpg
/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.822553157806396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:29:03.420466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/27/image_18012025_04_27_02_388193_0003.jpg', '/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0000.jpg', '/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0001.jpg', '/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/27/image_18012025_04_27_02_388193_0003.jpg
/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0000.jpg
/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0001.jpg
/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329651846","1329651849","1329651853","1329651856"],"photo_ids_order":["1329651846","1329651849","1329651853","1329651856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b19d47fa230763f0dd19ec6ad984e70.jpg","text":"TemporaryFile(/tmp/multipartBody8266400494579908087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171014715,"filename":"image_18012025_04_27_02_388193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50accf00eb7a288ec8b451795f9891e5.jpg","text":"TemporaryFile(/tmp/multipartBody5612558150543012383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171014715,"filename":"image_18012025_04_28_02_988603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dda7769a99288d869efa9d6c1f7aab09.jpg","text":"TemporaryFile(/tmp/multipartBody3413677546596001672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171014715,"filename":"image_18012025_04_28_02_988603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eaa06b52aa6ac877ba8f0010836ba148.jpg","text":"TemporaryFile(/tmp/multipartBody3917532197999676755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171014715,"filename":"image_18012025_04_28_02_988603_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329651853","file1":"1329651849","file0":"1329651846","file3":"1329651856"},"map_files_photo_id_array":[{"photo_id":"1329651853","filename":"file2"},{"photo_id":"1329651849","filename":"file1"},{"photo_id":"1329651846","filename":"file0"},{"photo_id":"1329651856","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329651846":["hashtag1","hashtag2"]},{"1329651849":["hashtag1","hashtag2"]},{"1329651853":["hashtag1","hashtag2"]},{"1329651856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329651846, 1329651849, 1329651853, 1329651856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.96208834648132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:30:02.693274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0003.jpg', '/home/pi/Desktop/images/18012025/04/29/image_18012025_04_29_02_533044_0000.jpg', '/home/pi/Desktop/images/18012025/04/29/image_18012025_04_29_02_533044_0001.jpg', '/home/pi/Desktop/images/18012025/04/29/image_18012025_04_29_02_533044_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/28/image_18012025_04_28_02_988603_0003.jpg
/home/pi/Desktop/images/18012025/04/29/image_18012025_04_29_02_533044_0000.jpg
/home/pi/Desktop/images/18012025/04/29/image_18012025_04_29_02_533044_0001.jpg
/home/pi/Desktop/images/18012025/04/29/image_18012025_04_29_02_533044_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329651912","1329651921","1329651918","1329651914"],"photo_ids_order":["1329651912","1329651914","1329651918","1329651921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7033207e4b43644806665198c98837d2.jpg","text":"TemporaryFile(/tmp/multipartBody886962277876778051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171074142,"filename":"image_18012025_04_28_02_988603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ddbd61131c940a19caf12e04ddd44b81.jpg","text":"TemporaryFile(/tmp/multipartBody6507900633362415755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171074142,"filename":"image_18012025_04_29_02_533044_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c0cc1ee77a5c621ff6843771c1380ab.jpg","text":"TemporaryFile(/tmp/multipartBody2963111552158886573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171074142,"filename":"image_18012025_04_29_02_533044_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b50330e52b55d1e30ff2901c27d31d27.jpg","text":"TemporaryFile(/tmp/multipartBody6789963860167110376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171074142,"filename":"image_18012025_04_29_02_533044_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329651918","file1":"1329651914","file0":"1329651912","file3":"1329651921"},"map_files_photo_id_array":[{"photo_id":"1329651918","filename":"file2"},{"photo_id":"1329651914","filename":"file1"},{"photo_id":"1329651912","filename":"file0"},{"photo_id":"1329651921","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329651912":["hashtag1","hashtag2"]},{"1329651921":["hashtag1","hashtag2"]},{"1329651918":["hashtag1","hashtag2"]},{"1329651914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329651912, 1329651921, 1329651918, 1329651914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13549208641052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:31:02.503965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/29/image_18012025_04_29_02_533044_0003.jpg', '/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0000.jpg', '/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0001.jpg', '/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/29/image_18012025_04_29_02_533044_0003.jpg
/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0000.jpg
/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0001.jpg
/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.798713684082031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:31:21.806184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/29/image_18012025_04_29_02_533044_0003.jpg', '/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0000.jpg', '/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0001.jpg', '/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0002.jpg', '/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0003.jpg', '/home/pi/Desktop/images/18012025/04/31/image_18012025_04_31_02_727494_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/29/image_18012025_04_29_02_533044_0003.jpg
/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0000.jpg
/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0001.jpg
/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0002.jpg
/home/pi/Desktop/images/18012025/04/30/image_18012025_04_30_03_005110_0003.jpg
/home/pi/Desktop/images/18012025/04/31/image_18012025_04_31_02_727494_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329651951","1329651945","1329651948","1329651941","1329651955","1329651943"],"photo_ids_order":["1329651941","1329651943","1329651945","1329651948","1329651951","1329651955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e2832a262725ab4d1e24de07fad42fc.jpg","text":"TemporaryFile(/tmp/multipartBody4520331252560628301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171158329,"filename":"image_18012025_04_30_03_005110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff9eb7cd5b2ba93c951a3ddeb28897ef.jpg","text":"TemporaryFile(/tmp/multipartBody6956712912317634680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171158329,"filename":"image_18012025_04_30_03_005110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84f41c5b0ef74711f18ca8f26ac5c7cb.jpg","text":"TemporaryFile(/tmp/multipartBody4180928757327481755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171158329,"filename":"image_18012025_04_30_03_005110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3861f9a5d6e2fc1212dda17520ae2dc9.jpg","text":"TemporaryFile(/tmp/multipartBody4862082959063426482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171158329,"filename":"image_18012025_04_29_02_533044_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c47a0f63dcdec5af2e3aad43ae48df5.jpg","text":"TemporaryFile(/tmp/multipartBody7439931097323001751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171158329,"filename":"image_18012025_04_31_02_727494_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b0b96ef655dec923c9a9f9aecd5c925.jpg","text":"TemporaryFile(/tmp/multipartBody5699507059955793058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171158329,"filename":"image_18012025_04_30_03_005110_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329651945","file1":"1329651943","file0":"1329651941","file4":"1329651951","file5":"1329651955","file3":"1329651948"},"map_files_photo_id_array":[{"photo_id":"1329651955","filename":"file5"},{"photo_id":"1329651945","filename":"file2"},{"photo_id":"1329651951","filename":"file4"},{"photo_id":"1329651943","filename":"file1"},{"photo_id":"1329651941","filename":"file0"},{"photo_id":"1329651948","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329651951":["hashtag1","hashtag2"]},{"1329651945":["hashtag1","hashtag2"]},{"1329651948":["hashtag1","hashtag2"]},{"1329651941":["hashtag1","hashtag2"]},{"1329651955":["hashtag1","hashtag2"]},{"1329651943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329651951, 1329651945, 1329651948, 1329651941, 1329651955, 1329651943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.48923850059509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:32:22.437874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/31/image_18012025_04_31_02_727494_0001.jpg', '/home/pi/Desktop/images/18012025/04/31/image_18012025_04_31_02_727494_0002.jpg', '/home/pi/Desktop/images/18012025/04/31/image_18012025_04_31_02_727494_0003.jpg', '/home/pi/Desktop/images/18012025/04/32/image_18012025_04_32_02_224645_0000.jpg', '/home/pi/Desktop/images/18012025/04/32/image_18012025_04_32_02_224645_0001.jpg', '/home/pi/Desktop/images/18012025/04/32/image_18012025_04_32_02_224645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/31/image_18012025_04_31_02_727494_0001.jpg
/home/pi/Desktop/images/18012025/04/31/image_18012025_04_31_02_727494_0002.jpg
/home/pi/Desktop/images/18012025/04/31/image_18012025_04_31_02_727494_0003.jpg
/home/pi/Desktop/images/18012025/04/32/image_18012025_04_32_02_224645_0000.jpg
/home/pi/Desktop/images/18012025/04/32/image_18012025_04_32_02_224645_0001.jpg
/home/pi/Desktop/images/18012025/04/32/image_18012025_04_32_02_224645_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329651966","1329651983","1329651971","1329651985","1329651979","1329651975"],"photo_ids_order":["1329651966","1329651971","1329651975","1329651979","1329651983","1329651985"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef773bdf7d3478e7baf6d5f4f2fbe260.jpg","text":"TemporaryFile(/tmp/multipartBody3933386158215679302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171218800,"filename":"image_18012025_04_31_02_727494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee69fe1f0a1ccab61fe3458f1774b152.jpg","text":"TemporaryFile(/tmp/multipartBody1499427712546612019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171218800,"filename":"image_18012025_04_32_02_224645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d1faff7271c61c85fea223d7490c047d.jpg","text":"TemporaryFile(/tmp/multipartBody6618523836102310794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171218800,"filename":"image_18012025_04_31_02_727494_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6fc335b9ef62204ec2cdb1a8c8847950.jpg","text":"TemporaryFile(/tmp/multipartBody289510347101123508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171218800,"filename":"image_18012025_04_32_02_224645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d59f82730ed2c5d47cc1242934191a0.jpg","text":"TemporaryFile(/tmp/multipartBody7131754008071172460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171218800,"filename":"image_18012025_04_32_02_224645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e9fcf51f82f63de5f610c3ee9b07bcb7.jpg","text":"TemporaryFile(/tmp/multipartBody8373281141375027333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171218800,"filename":"image_18012025_04_31_02_727494_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329651975","file1":"1329651971","file0":"1329651966","file4":"1329651983","file5":"1329651985","file3":"1329651979"},"map_files_photo_id_array":[{"photo_id":"1329651985","filename":"file5"},{"photo_id":"1329651975","filename":"file2"},{"photo_id":"1329651983","filename":"file4"},{"photo_id":"1329651971","filename":"file1"},{"photo_id":"1329651966","filename":"file0"},{"photo_id":"1329651979","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329651966":["hashtag1","hashtag2"]},{"1329651983":["hashtag1","hashtag2"]},{"1329651971":["hashtag1","hashtag2"]},{"1329651985":["hashtag1","hashtag2"]},{"1329651979":["hashtag1","hashtag2"]},{"1329651975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329651966, 1329651983, 1329651971, 1329651985, 1329651979, 1329651975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.0925133228302 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:33:21.911896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/32/image_18012025_04_32_02_224645_0003.jpg', '/home/pi/Desktop/images/18012025/04/33/image_18012025_04_33_02_782560_0000.jpg', '/home/pi/Desktop/images/18012025/04/33/image_18012025_04_33_02_782560_0001.jpg', '/home/pi/Desktop/images/18012025/04/33/image_18012025_04_33_02_782560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/32/image_18012025_04_32_02_224645_0003.jpg
/home/pi/Desktop/images/18012025/04/33/image_18012025_04_33_02_782560_0000.jpg
/home/pi/Desktop/images/18012025/04/33/image_18012025_04_33_02_782560_0001.jpg
/home/pi/Desktop/images/18012025/04/33/image_18012025_04_33_02_782560_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329652002","1329651998","1329651994","1329651990"],"photo_ids_order":["1329651990","1329651994","1329651998","1329652002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63975a894ae2e4495a5d37f295b0fac4.jpg","text":"TemporaryFile(/tmp/multipartBody3174832818103828422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171272593,"filename":"image_18012025_04_33_02_782560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4d95301ea7314c34314ec54315d1cf3.jpg","text":"TemporaryFile(/tmp/multipartBody6571744225829265862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171272593,"filename":"image_18012025_04_33_02_782560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/42750895d6c61b10ab4f646fa8facb11.jpg","text":"TemporaryFile(/tmp/multipartBody8895372438889545889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171272593,"filename":"image_18012025_04_33_02_782560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65d700a0eef8921498ebce9eb35c17ab.jpg","text":"TemporaryFile(/tmp/multipartBody4771504243936689491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171272593,"filename":"image_18012025_04_32_02_224645_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329651998","file1":"1329651994","file0":"1329651990","file3":"1329652002"},"map_files_photo_id_array":[{"photo_id":"1329651998","filename":"file2"},{"photo_id":"1329651994","filename":"file1"},{"photo_id":"1329651990","filename":"file0"},{"photo_id":"1329652002","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329652002":["hashtag1","hashtag2"]},{"1329651998":["hashtag1","hashtag2"]},{"1329651994":["hashtag1","hashtag2"]},{"1329651990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329652002, 1329651998, 1329651994, 1329651990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.811436891555786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:34:02.820394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0003.jpg', '/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0000.jpg', '/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0001.jpg', '/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0002.jpg', '/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0003.jpg', '/home/pi/Desktop/images/16012025/20/52/image_16012025_20_52_03_029850_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0003.jpg
/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0000.jpg
/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0001.jpg
/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0002.jpg
/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0003.jpg
/home/pi/Desktop/images/16012025/20/52/image_16012025_20_52_03_029850_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.360066175460815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:34:22.373100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/33/image_18012025_04_33_02_782560_0003.jpg', '/home/pi/Desktop/images/18012025/04/34/image_18012025_04_34_02_258530_0000.jpg', '/home/pi/Desktop/images/18012025/04/34/image_18012025_04_34_02_258530_0001.jpg', '/home/pi/Desktop/images/18012025/04/34/image_18012025_04_34_02_258530_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/33/image_18012025_04_33_02_782560_0003.jpg
/home/pi/Desktop/images/18012025/04/34/image_18012025_04_34_02_258530_0000.jpg
/home/pi/Desktop/images/18012025/04/34/image_18012025_04_34_02_258530_0001.jpg
/home/pi/Desktop/images/18012025/04/34/image_18012025_04_34_02_258530_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329652067","1329652105","1329652062","1329652056"],"photo_ids_order":["1329652056","1329652062","1329652067","1329652105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16ea95c3c47511bd660718b143eec76b.jpg","text":"TemporaryFile(/tmp/multipartBody4166163381783774304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171332395,"filename":"image_18012025_04_34_02_258530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/61e9bab3932313356f50aead198df91d.jpg","text":"TemporaryFile(/tmp/multipartBody7293686859792918658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171332395,"filename":"image_18012025_04_34_02_258530_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/553bdc71536387b1147710ed213157a0.jpg","text":"TemporaryFile(/tmp/multipartBody8640504416712008000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171332395,"filename":"image_18012025_04_34_02_258530_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/81a68db0739ae7ec25283953bccb0834.jpg","text":"TemporaryFile(/tmp/multipartBody4367795817180632475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171332395,"filename":"image_18012025_04_33_02_782560_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329652067","file1":"1329652062","file0":"1329652056","file3":"1329652105"},"map_files_photo_id_array":[{"photo_id":"1329652067","filename":"file2"},{"photo_id":"1329652062","filename":"file1"},{"photo_id":"1329652056","filename":"file0"},{"photo_id":"1329652105","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329652067":["hashtag1","hashtag2"]},{"1329652105":["hashtag1","hashtag2"]},{"1329652062":["hashtag1","hashtag2"]},{"1329652056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329652067, 1329652105, 1329652062, 1329652056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07309556007385 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-18 04:35:22.018574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/35/image_18012025_04_35_02_745829_0000.jpg', '/home/pi/Desktop/images/18012025/04/35/image_18012025_04_35_02_745829_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/35/image_18012025_04_35_02_745829_0000.jpg
/home/pi/Desktop/images/18012025/04/35/image_18012025_04_35_02_745829_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329652869","1329652860"],"photo_ids_order":["1329652860","1329652869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dbda3e7f12358670712b97013fbb37ad.jpg","text":"TemporaryFile(/tmp/multipartBody311526473412979491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171387389,"filename":"image_18012025_04_35_02_745829_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1d4f19739079cc259c50e7162d12e10b.jpg","text":"TemporaryFile(/tmp/multipartBody5498782793461916783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171387389,"filename":"image_18012025_04_35_02_745829_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329652869","file0":"1329652860"},"map_files_photo_id_array":[{"photo_id":"1329652869","filename":"file1"},{"photo_id":"1329652860","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329652869":["hashtag1","hashtag2"]},{"1329652860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329652869, 1329652860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.156821966171265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:36:02.884700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0003.jpg', '/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0000.jpg', '/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0001.jpg', '/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0002.jpg', '/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0003.jpg', '/home/pi/Desktop/images/16012025/20/52/image_16012025_20_52_03_029850_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/50/image_16012025_20_50_02_707398_0003.jpg
/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0000.jpg
/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0001.jpg
/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0002.jpg
/home/pi/Desktop/images/16012025/20/51/image_16012025_20_51_02_926560_0003.jpg
/home/pi/Desktop/images/16012025/20/52/image_16012025_20_52_03_029850_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329653065","1329653070","1329653076","1329653055","1329653081","1329653063"],"photo_ids_order":["1329653055","1329653063","1329653065","1329653070","1329653076","1329653081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b3c274e5d53f68fa5a2996fd5c58963.jpg","text":"TemporaryFile(/tmp/multipartBody5195884807969070197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171438473,"filename":"image_16012025_20_51_02_926560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/56fa6a98feaef4aea7335a27d8671c39.jpg","text":"TemporaryFile(/tmp/multipartBody5955083195619385689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171438473,"filename":"image_16012025_20_51_02_926560_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5ef7285b3459367c8c7c5eeb29b53943.jpg","text":"TemporaryFile(/tmp/multipartBody3268594511237181613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171438473,"filename":"image_16012025_20_51_02_926560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/999e0d690200c25b3ccfc946fd6917da.jpg","text":"TemporaryFile(/tmp/multipartBody8228878300478418873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171438473,"filename":"image_16012025_20_50_02_707398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da7c53d5e6d142c67879c14006ede1a3.jpg","text":"TemporaryFile(/tmp/multipartBody1854669681334943916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171438473,"filename":"image_16012025_20_52_03_029850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c554920c60cd742d769adf738c00ff7c.jpg","text":"TemporaryFile(/tmp/multipartBody191249923656200981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171438473,"filename":"image_16012025_20_51_02_926560_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329653065","file1":"1329653063","file0":"1329653055","file4":"1329653076","file5":"1329653081","file3":"1329653070"},"map_files_photo_id_array":[{"photo_id":"1329653081","filename":"file5"},{"photo_id":"1329653065","filename":"file2"},{"photo_id":"1329653076","filename":"file4"},{"photo_id":"1329653063","filename":"file1"},{"photo_id":"1329653055","filename":"file0"},{"photo_id":"1329653070","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329653065":["hashtag1","hashtag2"]},{"1329653070":["hashtag1","hashtag2"]},{"1329653076":["hashtag1","hashtag2"]},{"1329653055":["hashtag1","hashtag2"]},{"1329653081":["hashtag1","hashtag2"]},{"1329653063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329653065, 1329653070, 1329653076, 1329653055, 1329653081, 1329653063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.22595810890198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:37:02.627666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/35/image_18012025_04_35_02_745829_0003.jpg', '/home/pi/Desktop/images/18012025/04/36/image_18012025_04_36_02_292877_0001.jpg', '/home/pi/Desktop/images/18012025/04/36/image_18012025_04_36_02_292877_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/35/image_18012025_04_35_02_745829_0003.jpg
/home/pi/Desktop/images/18012025/04/36/image_18012025_04_36_02_292877_0001.jpg
/home/pi/Desktop/images/18012025/04/36/image_18012025_04_36_02_292877_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.286947011947632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:37:21.934303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/04/35/image_18012025_04_35_02_745829_0003.jpg', '/home/pi/Desktop/images/18012025/04/36/image_18012025_04_36_02_292877_0001.jpg', '/home/pi/Desktop/images/18012025/04/36/image_18012025_04_36_02_292877_0002.jpg', '/home/pi/Desktop/images/18012025/04/36/image_18012025_04_36_02_292877_0003.jpg', '/home/pi/Desktop/images/18012025/04/37/image_18012025_04_37_02_808060_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/04/35/image_18012025_04_35_02_745829_0003.jpg
/home/pi/Desktop/images/18012025/04/36/image_18012025_04_36_02_292877_0001.jpg
/home/pi/Desktop/images/18012025/04/36/image_18012025_04_36_02_292877_0002.jpg
/home/pi/Desktop/images/18012025/04/36/image_18012025_04_36_02_292877_0003.jpg
/home/pi/Desktop/images/18012025/04/37/image_18012025_04_37_02_808060_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329653120","1329653114","1329653123","1329653117","1329653118"],"photo_ids_order":["1329653114","1329653117","1329653118","1329653120","1329653123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/72e06c564a21fcdbfdee74446e851536.jpg","text":"TemporaryFile(/tmp/multipartBody1438957323333394514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171514097,"filename":"image_18012025_04_36_02_292877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6fb90317c436f064f6be4e49dadb90ee.jpg","text":"TemporaryFile(/tmp/multipartBody7897846257919513985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171514097,"filename":"image_18012025_04_35_02_745829_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/510d98c783868d062d36b51550d63d8f.jpg","text":"TemporaryFile(/tmp/multipartBody3386187225328872628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171514097,"filename":"image_18012025_04_37_02_808060_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b1f3588d46ff5d4a73853cbef806d69.jpg","text":"TemporaryFile(/tmp/multipartBody1786334193676425931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171514097,"filename":"image_18012025_04_36_02_292877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/768fc006bb9d1270df022f1ddad239b7.jpg","text":"TemporaryFile(/tmp/multipartBody8206041761984548478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171514097,"filename":"image_18012025_04_36_02_292877_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329653118","file1":"1329653117","file0":"1329653114","file4":"1329653123","file3":"1329653120"},"map_files_photo_id_array":[{"photo_id":"1329653118","filename":"file2"},{"photo_id":"1329653123","filename":"file4"},{"photo_id":"1329653117","filename":"file1"},{"photo_id":"1329653114","filename":"file0"},{"photo_id":"1329653120","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329653120":["hashtag1","hashtag2"]},{"1329653114":["hashtag1","hashtag2"]},{"1329653123":["hashtag1","hashtag2"]},{"1329653117":["hashtag1","hashtag2"]},{"1329653118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329653120, 1329653114, 1329653123, 1329653117, 1329653118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.12790060043335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:38:22.520186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/52/image_16012025_20_52_03_029850_0001.jpg', '/home/pi/Desktop/images/16012025/20/52/image_16012025_20_52_03_029850_0002.jpg', '/home/pi/Desktop/images/16012025/20/52/image_16012025_20_52_03_029850_0003.jpg', '/home/pi/Desktop/images/16012025/20/53/image_16012025_20_53_02_304058_0000.jpg', '/home/pi/Desktop/images/16012025/20/53/image_16012025_20_53_02_304058_0001.jpg', '/home/pi/Desktop/images/16012025/20/53/image_16012025_20_53_02_304058_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/52/image_16012025_20_52_03_029850_0001.jpg
/home/pi/Desktop/images/16012025/20/52/image_16012025_20_52_03_029850_0002.jpg
/home/pi/Desktop/images/16012025/20/52/image_16012025_20_52_03_029850_0003.jpg
/home/pi/Desktop/images/16012025/20/53/image_16012025_20_53_02_304058_0000.jpg
/home/pi/Desktop/images/16012025/20/53/image_16012025_20_53_02_304058_0001.jpg
/home/pi/Desktop/images/16012025/20/53/image_16012025_20_53_02_304058_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329653243","1329653225","1329653222","1329653233","1329653235","1329653375"],"photo_ids_order":["1329653222","1329653225","1329653233","1329653235","1329653243","1329653375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f0d020a321e30453944db932485ed253.jpg","text":"TemporaryFile(/tmp/multipartBody96442636971394389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171578241,"filename":"image_16012025_20_53_02_304058_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ced836b6ad0ed9ff1b3c41b1a4b9765.jpg","text":"TemporaryFile(/tmp/multipartBody4680274340950967560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171578241,"filename":"image_16012025_20_52_03_029850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b78ebf07c6ae81e583fbf9f5d797676d.jpg","text":"TemporaryFile(/tmp/multipartBody2630653844900436771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171578241,"filename":"image_16012025_20_52_03_029850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a8fc1c9ff64eebc30ee14bc825ccfcb9.jpg","text":"TemporaryFile(/tmp/multipartBody5451031466357417596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171578241,"filename":"image_16012025_20_52_03_029850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c9bc483e2fd1c174d6077fe8b09d021c.jpg","text":"TemporaryFile(/tmp/multipartBody1627796979729413335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171578241,"filename":"image_16012025_20_53_02_304058_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/19f98b68b1ada80db9e6bc3c76427532.jpg","text":"TemporaryFile(/tmp/multipartBody8004261014684395360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171578241,"filename":"image_16012025_20_53_02_304058_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329653233","file1":"1329653225","file0":"1329653222","file4":"1329653243","file5":"1329653375","file3":"1329653235"},"map_files_photo_id_array":[{"photo_id":"1329653375","filename":"file5"},{"photo_id":"1329653233","filename":"file2"},{"photo_id":"1329653243","filename":"file4"},{"photo_id":"1329653225","filename":"file1"},{"photo_id":"1329653222","filename":"file0"},{"photo_id":"1329653235","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329653243":["hashtag1","hashtag2"]},{"1329653225":["hashtag1","hashtag2"]},{"1329653222":["hashtag1","hashtag2"]},{"1329653233":["hashtag1","hashtag2"]},{"1329653235":["hashtag1","hashtag2"]},{"1329653375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329653243, 1329653225, 1329653222, 1329653233, 1329653235, 1329653375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.63433790206909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:39:21.908300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/53/image_16012025_20_53_02_304058_0003.jpg', '/home/pi/Desktop/images/16012025/20/54/image_16012025_20_54_02_415250_0001.jpg', '/home/pi/Desktop/images/16012025/20/54/image_16012025_20_54_02_415250_0002.jpg', '/home/pi/Desktop/images/16012025/20/54/image_16012025_20_54_02_415250_0003.jpg', '/home/pi/Desktop/images/16012025/20/55/image_16012025_20_55_02_520264_0001.jpg', '/home/pi/Desktop/images/16012025/20/55/image_16012025_20_55_02_520264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/53/image_16012025_20_53_02_304058_0003.jpg
/home/pi/Desktop/images/16012025/20/54/image_16012025_20_54_02_415250_0001.jpg
/home/pi/Desktop/images/16012025/20/54/image_16012025_20_54_02_415250_0002.jpg
/home/pi/Desktop/images/16012025/20/54/image_16012025_20_54_02_415250_0003.jpg
/home/pi/Desktop/images/16012025/20/55/image_16012025_20_55_02_520264_0001.jpg
/home/pi/Desktop/images/16012025/20/55/image_16012025_20_55_02_520264_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329654113","1329653767","1329653929","1329653877","1329653838","1329654026"],"photo_ids_order":["1329653767","1329653838","1329653877","1329653929","1329654026","1329654113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/33563c616fb15210f8957c5b44049e62.jpg","text":"TemporaryFile(/tmp/multipartBody5300499179537236413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171637665,"filename":"image_16012025_20_55_02_520264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92fc2293f743a5c90d1cc538f3647c10.jpg","text":"TemporaryFile(/tmp/multipartBody1724175055849425344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171637665,"filename":"image_16012025_20_53_02_304058_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3cf727f16aa994d5cf14aca5d188e414.jpg","text":"TemporaryFile(/tmp/multipartBody7433923911134532823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171637665,"filename":"image_16012025_20_54_02_415250_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/654b3c74c40f3c6cf185153ac86e502e.jpg","text":"TemporaryFile(/tmp/multipartBody7055666397167125416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171637665,"filename":"image_16012025_20_54_02_415250_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/141450d42739d858e2907ba85496b1a9.jpg","text":"TemporaryFile(/tmp/multipartBody7939819435894674323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171637665,"filename":"image_16012025_20_54_02_415250_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/23276ac80f13dbe2104beb80ed71079a.jpg","text":"TemporaryFile(/tmp/multipartBody5254999575396381784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171637665,"filename":"image_16012025_20_55_02_520264_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329653877","file1":"1329653838","file0":"1329653767","file4":"1329654026","file5":"1329654113","file3":"1329653929"},"map_files_photo_id_array":[{"photo_id":"1329654113","filename":"file5"},{"photo_id":"1329653877","filename":"file2"},{"photo_id":"1329654026","filename":"file4"},{"photo_id":"1329653838","filename":"file1"},{"photo_id":"1329653767","filename":"file0"},{"photo_id":"1329653929","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329654113":["hashtag1","hashtag2"]},{"1329653767":["hashtag1","hashtag2"]},{"1329653929":["hashtag1","hashtag2"]},{"1329653877":["hashtag1","hashtag2"]},{"1329653838":["hashtag1","hashtag2"]},{"1329654026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329654113, 1329653767, 1329653929, 1329653877, 1329653838, 1329654026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.11598300933838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:40:22.475081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/55/image_16012025_20_55_02_520264_0003.jpg', '/home/pi/Desktop/images/16012025/20/56/image_16012025_20_56_02_740055_0000.jpg', '/home/pi/Desktop/images/16012025/20/56/image_16012025_20_56_02_740055_0001.jpg', '/home/pi/Desktop/images/16012025/20/56/image_16012025_20_56_02_740055_0002.jpg', '/home/pi/Desktop/images/16012025/20/56/image_16012025_20_56_02_740055_0003.jpg', '/home/pi/Desktop/images/16012025/20/57/image_16012025_20_57_02_877509_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/55/image_16012025_20_55_02_520264_0003.jpg
/home/pi/Desktop/images/16012025/20/56/image_16012025_20_56_02_740055_0000.jpg
/home/pi/Desktop/images/16012025/20/56/image_16012025_20_56_02_740055_0001.jpg
/home/pi/Desktop/images/16012025/20/56/image_16012025_20_56_02_740055_0002.jpg
/home/pi/Desktop/images/16012025/20/56/image_16012025_20_56_02_740055_0003.jpg
/home/pi/Desktop/images/16012025/20/57/image_16012025_20_57_02_877509_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329654691","1329654772","1329654585","1329654765","1329654761","1329654770"],"photo_ids_order":["1329654585","1329654691","1329654761","1329654765","1329654770","1329654772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2aacafbf013e784573d72e974427f1bf.jpg","text":"TemporaryFile(/tmp/multipartBody340300467023644381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171698200,"filename":"image_16012025_20_56_02_740055_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1547e0b62686aa6b1791892e3ce9157b.jpg","text":"TemporaryFile(/tmp/multipartBody4577960278743653259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171698200,"filename":"image_16012025_20_57_02_877509_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/763f84059008a22795100caf30ef6c28.jpg","text":"TemporaryFile(/tmp/multipartBody2144531478305768861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171698200,"filename":"image_16012025_20_55_02_520264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5273e2f824ee83c210f0e9f714a85fad.jpg","text":"TemporaryFile(/tmp/multipartBody5428335569730622699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171698200,"filename":"image_16012025_20_56_02_740055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/046753b7e02125857e9f5f6d9c9967aa.jpg","text":"TemporaryFile(/tmp/multipartBody2862840971400763546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171698200,"filename":"image_16012025_20_56_02_740055_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef22e02d7b81c20884145d41c51e49b8.jpg","text":"TemporaryFile(/tmp/multipartBody3755616866813880841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171698200,"filename":"image_16012025_20_56_02_740055_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329654761","file1":"1329654691","file0":"1329654585","file4":"1329654770","file5":"1329654772","file3":"1329654765"},"map_files_photo_id_array":[{"photo_id":"1329654772","filename":"file5"},{"photo_id":"1329654761","filename":"file2"},{"photo_id":"1329654770","filename":"file4"},{"photo_id":"1329654691","filename":"file1"},{"photo_id":"1329654585","filename":"file0"},{"photo_id":"1329654765","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329654691":["hashtag1","hashtag2"]},{"1329654772":["hashtag1","hashtag2"]},{"1329654585":["hashtag1","hashtag2"]},{"1329654765":["hashtag1","hashtag2"]},{"1329654761":["hashtag1","hashtag2"]},{"1329654770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329654691, 1329654772, 1329654585, 1329654765, 1329654761, 1329654770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.5285165309906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:41:22.028998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/57/image_16012025_20_57_02_877509_0001.jpg', '/home/pi/Desktop/images/16012025/20/57/image_16012025_20_57_02_877509_0003.jpg', '/home/pi/Desktop/images/16012025/20/58/image_16012025_20_58_03_048734_0000.jpg', '/home/pi/Desktop/images/16012025/20/58/image_16012025_20_58_03_048734_0001.jpg', '/home/pi/Desktop/images/16012025/20/58/image_16012025_20_58_03_048734_0002.jpg', '/home/pi/Desktop/images/16012025/20/59/image_16012025_20_59_02_187657_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/57/image_16012025_20_57_02_877509_0001.jpg
/home/pi/Desktop/images/16012025/20/57/image_16012025_20_57_02_877509_0003.jpg
/home/pi/Desktop/images/16012025/20/58/image_16012025_20_58_03_048734_0000.jpg
/home/pi/Desktop/images/16012025/20/58/image_16012025_20_58_03_048734_0001.jpg
/home/pi/Desktop/images/16012025/20/58/image_16012025_20_58_03_048734_0002.jpg
/home/pi/Desktop/images/16012025/20/59/image_16012025_20_59_02_187657_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329655027","1329654957","1329655014","1329654822","1329655022","1329654827"],"photo_ids_order":["1329654822","1329654827","1329654957","1329655014","1329655022","1329655027"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0290b23163a4ecd72f342d509544a9df.jpg","text":"TemporaryFile(/tmp/multipartBody6840929172064036357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171757743,"filename":"image_16012025_20_59_02_187657_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d3ee8c2e1ac30a86d50e14c1eb705be.jpg","text":"TemporaryFile(/tmp/multipartBody129966328854901644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171757743,"filename":"image_16012025_20_58_03_048734_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d68cec65dbc12965f3f1f1ec276fd6d1.jpg","text":"TemporaryFile(/tmp/multipartBody2949726321690598099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171757743,"filename":"image_16012025_20_58_03_048734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b2be7dd6f40ddbf903b249edbd2bb72.jpg","text":"TemporaryFile(/tmp/multipartBody8921189801168616395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171757743,"filename":"image_16012025_20_57_02_877509_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/086006b99ce0485a287cebc2e1da860f.jpg","text":"TemporaryFile(/tmp/multipartBody2382546187412475657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171757743,"filename":"image_16012025_20_58_03_048734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63f7fa547087f82b6634860b8fce72b2.jpg","text":"TemporaryFile(/tmp/multipartBody8898382452585241521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171757743,"filename":"image_16012025_20_57_02_877509_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329654957","file1":"1329654827","file0":"1329654822","file4":"1329655022","file5":"1329655027","file3":"1329655014"},"map_files_photo_id_array":[{"photo_id":"1329655027","filename":"file5"},{"photo_id":"1329654957","filename":"file2"},{"photo_id":"1329655022","filename":"file4"},{"photo_id":"1329654827","filename":"file1"},{"photo_id":"1329654822","filename":"file0"},{"photo_id":"1329655014","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329655027":["hashtag1","hashtag2"]},{"1329654957":["hashtag1","hashtag2"]},{"1329655014":["hashtag1","hashtag2"]},{"1329654822":["hashtag1","hashtag2"]},{"1329655022":["hashtag1","hashtag2"]},{"1329654827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329655027, 1329654957, 1329655014, 1329654822, 1329655022, 1329654827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.851889848709106 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-18 04:43:02.555420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/20/59/image_16012025_20_59_02_187657_0001.jpg', '/home/pi/Desktop/images/16012025/20/59/image_16012025_20_59_02_187657_0002.jpg', '/home/pi/Desktop/images/16012025/20/59/image_16012025_20_59_02_187657_0003.jpg', '/home/pi/Desktop/images/16012025/21/00/image_16012025_21_00_02_411736_0000.jpg', '/home/pi/Desktop/images/16012025/21/00/image_16012025_21_00_02_411736_0002.jpg', '/home/pi/Desktop/images/16012025/21/00/image_16012025_21_00_02_411736_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/20/59/image_16012025_20_59_02_187657_0001.jpg
/home/pi/Desktop/images/16012025/20/59/image_16012025_20_59_02_187657_0002.jpg
/home/pi/Desktop/images/16012025/20/59/image_16012025_20_59_02_187657_0003.jpg
/home/pi/Desktop/images/16012025/21/00/image_16012025_21_00_02_411736_0000.jpg
/home/pi/Desktop/images/16012025/21/00/image_16012025_21_00_02_411736_0002.jpg
/home/pi/Desktop/images/16012025/21/00/image_16012025_21_00_02_411736_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329655665","1329655589","1329655661","1329655424","1329655520","1329655699"],"photo_ids_order":["1329655424","1329655520","1329655589","1329655661","1329655665","1329655699"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c52dfcb5393c513e50e333907e6f3dc3.jpg","text":"TemporaryFile(/tmp/multipartBody5909648157298710216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171858403,"filename":"image_16012025_21_00_02_411736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8703a0091b05374403b044e4839b840e.jpg","text":"TemporaryFile(/tmp/multipartBody1455034690819990773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171858403,"filename":"image_16012025_20_59_02_187657_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e7bc671dc910154ff7af652d3554e8e.jpg","text":"TemporaryFile(/tmp/multipartBody8825987177584245248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171858403,"filename":"image_16012025_21_00_02_411736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/79d060dbb03b88d14989999aef3c6d65.jpg","text":"TemporaryFile(/tmp/multipartBody2326395183077124545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171858403,"filename":"image_16012025_20_59_02_187657_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b2fe43420397a3d64d5a7e677d3eb280.jpg","text":"TemporaryFile(/tmp/multipartBody8674301528610232524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171858403,"filename":"image_16012025_20_59_02_187657_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/132f770b6a0dc09470282e5d4eeff5a0.jpg","text":"TemporaryFile(/tmp/multipartBody3734398943464516306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171858403,"filename":"image_16012025_21_00_02_411736_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329655589","file1":"1329655520","file0":"1329655424","file4":"1329655665","file5":"1329655699","file3":"1329655661"},"map_files_photo_id_array":[{"photo_id":"1329655699","filename":"file5"},{"photo_id":"1329655589","filename":"file2"},{"photo_id":"1329655665","filename":"file4"},{"photo_id":"1329655520","filename":"file1"},{"photo_id":"1329655424","filename":"file0"},{"photo_id":"1329655661","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329655665":["hashtag1","hashtag2"]},{"1329655589":["hashtag1","hashtag2"]},{"1329655661":["hashtag1","hashtag2"]},{"1329655424":["hashtag1","hashtag2"]},{"1329655520":["hashtag1","hashtag2"]},{"1329655699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329655665, 1329655589, 1329655661, 1329655424, 1329655520, 1329655699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.25532031059265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:44:03.201638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0000.jpg', '/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0001.jpg', '/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0002.jpg', '/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0003.jpg', '/home/pi/Desktop/images/16012025/21/02/image_16012025_21_02_02_836571_0000.jpg', '/home/pi/Desktop/images/16012025/21/02/image_16012025_21_02_02_836571_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0000.jpg
/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0001.jpg
/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0002.jpg
/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0003.jpg
/home/pi/Desktop/images/16012025/21/02/image_16012025_21_02_02_836571_0000.jpg
/home/pi/Desktop/images/16012025/21/02/image_16012025_21_02_02_836571_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.330738067626953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:44:22.716409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0000.jpg', '/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0001.jpg', '/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0002.jpg', '/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0003.jpg', '/home/pi/Desktop/images/16012025/21/02/image_16012025_21_02_02_836571_0000.jpg', '/home/pi/Desktop/images/16012025/21/02/image_16012025_21_02_02_836571_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0000.jpg
/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0001.jpg
/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0002.jpg
/home/pi/Desktop/images/16012025/21/01/image_16012025_21_01_02_698567_0003.jpg
/home/pi/Desktop/images/16012025/21/02/image_16012025_21_02_02_836571_0000.jpg
/home/pi/Desktop/images/16012025/21/02/image_16012025_21_02_02_836571_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329655977","1329656040","1329655755","1329655821","1329655905","1329656038"],"photo_ids_order":["1329655755","1329655821","1329655905","1329655977","1329656038","1329656040"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c095f2c39e75b369485bf2bdd48fa09c.jpg","text":"TemporaryFile(/tmp/multipartBody8517323199889578458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171938289,"filename":"image_16012025_21_01_02_698567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39a68db9d83e32ac4a1e8a8237d5aeda.jpg","text":"TemporaryFile(/tmp/multipartBody7700201017118279940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171938289,"filename":"image_16012025_21_02_02_836571_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/45c6f6216ff7b1166b51a1dedc00d96a.jpg","text":"TemporaryFile(/tmp/multipartBody8410886557652539207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171938289,"filename":"image_16012025_21_01_02_698567_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c138960b0507bfb2c58222dacb6fd431.jpg","text":"TemporaryFile(/tmp/multipartBody4776641247712117911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171938289,"filename":"image_16012025_21_01_02_698567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/244090747aec10c72b2b945f470b93a4.jpg","text":"TemporaryFile(/tmp/multipartBody6334995808016397102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171938289,"filename":"image_16012025_21_01_02_698567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67ac906b6e2d7e6335e826f2e88771ea.jpg","text":"TemporaryFile(/tmp/multipartBody6383849238914142505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171938289,"filename":"image_16012025_21_02_02_836571_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329655905","file1":"1329655821","file0":"1329655755","file4":"1329656038","file5":"1329656040","file3":"1329655977"},"map_files_photo_id_array":[{"photo_id":"1329656040","filename":"file5"},{"photo_id":"1329655905","filename":"file2"},{"photo_id":"1329656038","filename":"file4"},{"photo_id":"1329655821","filename":"file1"},{"photo_id":"1329655755","filename":"file0"},{"photo_id":"1329655977","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329655977":["hashtag1","hashtag2"]},{"1329656040":["hashtag1","hashtag2"]},{"1329655755":["hashtag1","hashtag2"]},{"1329655821":["hashtag1","hashtag2"]},{"1329655905":["hashtag1","hashtag2"]},{"1329656038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329655977, 1329656040, 1329655755, 1329655821, 1329655905, 1329656038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.31290340423584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:45:22.245490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/02/image_16012025_21_02_02_836571_0002.jpg', '/home/pi/Desktop/images/16012025/21/02/image_16012025_21_02_02_836571_0003.jpg', '/home/pi/Desktop/images/16012025/21/03/image_16012025_21_03_02_980118_0000.jpg', '/home/pi/Desktop/images/16012025/21/03/image_16012025_21_03_02_980118_0002.jpg', '/home/pi/Desktop/images/16012025/21/03/image_16012025_21_03_02_980118_0003.jpg', '/home/pi/Desktop/images/16012025/21/04/image_16012025_21_04_02_142206_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/02/image_16012025_21_02_02_836571_0002.jpg
/home/pi/Desktop/images/16012025/21/02/image_16012025_21_02_02_836571_0003.jpg
/home/pi/Desktop/images/16012025/21/03/image_16012025_21_03_02_980118_0000.jpg
/home/pi/Desktop/images/16012025/21/03/image_16012025_21_03_02_980118_0002.jpg
/home/pi/Desktop/images/16012025/21/03/image_16012025_21_03_02_980118_0003.jpg
/home/pi/Desktop/images/16012025/21/04/image_16012025_21_04_02_142206_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329656652","1329656457","1329656736","1329656823","1329656546","1329656912"],"photo_ids_order":["1329656457","1329656546","1329656652","1329656736","1329656823","1329656912"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf7623535476862cfa7f2d3cd1b56544.jpg","text":"TemporaryFile(/tmp/multipartBody7144047017268015530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171997975,"filename":"image_16012025_21_03_02_980118_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ae38d0fae613028afedb3f1961b73ede.jpg","text":"TemporaryFile(/tmp/multipartBody4180125129020156790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171997975,"filename":"image_16012025_21_02_02_836571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/755b393ca53067d2bec0c747d00b0656.jpg","text":"TemporaryFile(/tmp/multipartBody4076169167805175834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171997975,"filename":"image_16012025_21_03_02_980118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a01c4557c1068cb7aa05e37a94e5050.jpg","text":"TemporaryFile(/tmp/multipartBody8661136706000315375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171997975,"filename":"image_16012025_21_03_02_980118_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/45c548b4b2d10aec9826f8d7ea40cd28.jpg","text":"TemporaryFile(/tmp/multipartBody5773985165409573965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171997975,"filename":"image_16012025_21_02_02_836571_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48c44ff83557eb2579f9242072727797.jpg","text":"TemporaryFile(/tmp/multipartBody8337690139990053338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737171997975,"filename":"image_16012025_21_04_02_142206_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329656652","file1":"1329656546","file0":"1329656457","file4":"1329656823","file5":"1329656912","file3":"1329656736"},"map_files_photo_id_array":[{"photo_id":"1329656912","filename":"file5"},{"photo_id":"1329656652","filename":"file2"},{"photo_id":"1329656823","filename":"file4"},{"photo_id":"1329656546","filename":"file1"},{"photo_id":"1329656457","filename":"file0"},{"photo_id":"1329656736","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329656652":["hashtag1","hashtag2"]},{"1329656457":["hashtag1","hashtag2"]},{"1329656736":["hashtag1","hashtag2"]},{"1329656823":["hashtag1","hashtag2"]},{"1329656546":["hashtag1","hashtag2"]},{"1329656912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329656652, 1329656457, 1329656736, 1329656823, 1329656546, 1329656912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.44270873069763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:46:22.739710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/04/image_16012025_21_04_02_142206_0001.jpg', '/home/pi/Desktop/images/16012025/21/04/image_16012025_21_04_02_142206_0003.jpg', '/home/pi/Desktop/images/16012025/21/05/image_16012025_21_05_02_405727_0000.jpg', '/home/pi/Desktop/images/16012025/21/05/image_16012025_21_05_02_405727_0002.jpg', '/home/pi/Desktop/images/16012025/21/05/image_16012025_21_05_02_405727_0003.jpg', '/home/pi/Desktop/images/16012025/21/06/image_16012025_21_06_02_564990_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/04/image_16012025_21_04_02_142206_0001.jpg
/home/pi/Desktop/images/16012025/21/04/image_16012025_21_04_02_142206_0003.jpg
/home/pi/Desktop/images/16012025/21/05/image_16012025_21_05_02_405727_0000.jpg
/home/pi/Desktop/images/16012025/21/05/image_16012025_21_05_02_405727_0002.jpg
/home/pi/Desktop/images/16012025/21/05/image_16012025_21_05_02_405727_0003.jpg
/home/pi/Desktop/images/16012025/21/06/image_16012025_21_06_02_564990_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329657402","1329657411","1329657386","1329657397","1329657406","1329657409"],"photo_ids_order":["1329657386","1329657397","1329657402","1329657406","1329657409","1329657411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2315bce4148e16f6186999b9fd3c7478.jpg","text":"TemporaryFile(/tmp/multipartBody1492238428449005941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172058508,"filename":"image_16012025_21_05_02_405727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70fe14a41acf3cb7f3227f56a9aaaa22.jpg","text":"TemporaryFile(/tmp/multipartBody622210323895921791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172058508,"filename":"image_16012025_21_06_02_564990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2bc78e868905dd939900fff30f3de8dd.jpg","text":"TemporaryFile(/tmp/multipartBody8346436939135161333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172058508,"filename":"image_16012025_21_04_02_142206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/074289c123a8868a6b696c1550f56516.jpg","text":"TemporaryFile(/tmp/multipartBody4198248629582982129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172058508,"filename":"image_16012025_21_04_02_142206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f41f2939cc4834c27196f0fcdc45ab65.jpg","text":"TemporaryFile(/tmp/multipartBody1760490643156827535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172058508,"filename":"image_16012025_21_05_02_405727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/484e98e082168c2cbf5247a42639717f.jpg","text":"TemporaryFile(/tmp/multipartBody8647326080666153785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172058508,"filename":"image_16012025_21_05_02_405727_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329657402","file1":"1329657397","file0":"1329657386","file4":"1329657409","file5":"1329657411","file3":"1329657406"},"map_files_photo_id_array":[{"photo_id":"1329657411","filename":"file5"},{"photo_id":"1329657402","filename":"file2"},{"photo_id":"1329657409","filename":"file4"},{"photo_id":"1329657397","filename":"file1"},{"photo_id":"1329657386","filename":"file0"},{"photo_id":"1329657406","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329657402":["hashtag1","hashtag2"]},{"1329657411":["hashtag1","hashtag2"]},{"1329657386":["hashtag1","hashtag2"]},{"1329657397":["hashtag1","hashtag2"]},{"1329657406":["hashtag1","hashtag2"]},{"1329657409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329657402, 1329657411, 1329657386, 1329657397, 1329657406, 1329657409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.051581621170044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:47:22.175940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/06/image_16012025_21_06_02_564990_0002.jpg', '/home/pi/Desktop/images/16012025/21/06/image_16012025_21_06_02_564990_0003.jpg', '/home/pi/Desktop/images/16012025/21/07/image_16012025_21_07_02_686834_0000.jpg', '/home/pi/Desktop/images/16012025/21/07/image_16012025_21_07_02_686834_0001.jpg', '/home/pi/Desktop/images/16012025/21/07/image_16012025_21_07_02_686834_0002.jpg', '/home/pi/Desktop/images/16012025/21/08/image_16012025_21_08_02_887458_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/06/image_16012025_21_06_02_564990_0002.jpg
/home/pi/Desktop/images/16012025/21/06/image_16012025_21_06_02_564990_0003.jpg
/home/pi/Desktop/images/16012025/21/07/image_16012025_21_07_02_686834_0000.jpg
/home/pi/Desktop/images/16012025/21/07/image_16012025_21_07_02_686834_0001.jpg
/home/pi/Desktop/images/16012025/21/07/image_16012025_21_07_02_686834_0002.jpg
/home/pi/Desktop/images/16012025/21/08/image_16012025_21_08_02_887458_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329657420","1329657482","1329657424","1329657582","1329657678","1329657759"],"photo_ids_order":["1329657420","1329657424","1329657482","1329657582","1329657678","1329657759"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e607d23cff43b532baca9cb76b17c85.jpg","text":"TemporaryFile(/tmp/multipartBody7138963241272441804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172117905,"filename":"image_16012025_21_06_02_564990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c80c932c6837a53ddbe213c6cdf2de8e.jpg","text":"TemporaryFile(/tmp/multipartBody8095135013591308834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172117905,"filename":"image_16012025_21_07_02_686834_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7da134e3cb7e09dbdb926f87f402519.jpg","text":"TemporaryFile(/tmp/multipartBody2087237108657995555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172117905,"filename":"image_16012025_21_06_02_564990_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f02c4165238aba0c556ee72ccf9fe2e7.jpg","text":"TemporaryFile(/tmp/multipartBody4873067227665571958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172117905,"filename":"image_16012025_21_07_02_686834_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/494958f031303e7c75b4c12b8384b980.jpg","text":"TemporaryFile(/tmp/multipartBody5849848461565031975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172117905,"filename":"image_16012025_21_07_02_686834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe7e276f1472a062ec85fcf906beb282.jpg","text":"TemporaryFile(/tmp/multipartBody6007631235739587304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172117905,"filename":"image_16012025_21_08_02_887458_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329657482","file1":"1329657424","file0":"1329657420","file4":"1329657678","file5":"1329657759","file3":"1329657582"},"map_files_photo_id_array":[{"photo_id":"1329657759","filename":"file5"},{"photo_id":"1329657482","filename":"file2"},{"photo_id":"1329657678","filename":"file4"},{"photo_id":"1329657424","filename":"file1"},{"photo_id":"1329657420","filename":"file0"},{"photo_id":"1329657582","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329657420":["hashtag1","hashtag2"]},{"1329657482":["hashtag1","hashtag2"]},{"1329657424":["hashtag1","hashtag2"]},{"1329657582":["hashtag1","hashtag2"]},{"1329657678":["hashtag1","hashtag2"]},{"1329657759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329657420, 1329657482, 1329657424, 1329657582, 1329657678, 1329657759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.58481740951538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:48:21.795318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/08/image_16012025_21_08_02_887458_0002.jpg', '/home/pi/Desktop/images/16012025/21/08/image_16012025_21_08_02_887458_0003.jpg', '/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0000.jpg', '/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0001.jpg', '/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0002.jpg', '/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/08/image_16012025_21_08_02_887458_0002.jpg
/home/pi/Desktop/images/16012025/21/08/image_16012025_21_08_02_887458_0003.jpg
/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0000.jpg
/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0001.jpg
/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0002.jpg
/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_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.334812641143799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:49:02.836012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/08/image_16012025_21_08_02_887458_0002.jpg', '/home/pi/Desktop/images/16012025/21/08/image_16012025_21_08_02_887458_0003.jpg', '/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0000.jpg', '/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0001.jpg', '/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0002.jpg', '/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/08/image_16012025_21_08_02_887458_0002.jpg
/home/pi/Desktop/images/16012025/21/08/image_16012025_21_08_02_887458_0003.jpg
/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0000.jpg
/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0001.jpg
/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0002.jpg
/home/pi/Desktop/images/16012025/21/09/image_16012025_21_09_03_040550_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329658546","1329658549","1329658516","1329658618","1329658359","1329658620"],"photo_ids_order":["1329658359","1329658516","1329658546","1329658549","1329658618","1329658620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec71edc8f962a9a130c264eeefc245bc.jpg","text":"TemporaryFile(/tmp/multipartBody7330764041859191632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172218620,"filename":"image_16012025_21_09_03_040550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15ad071a507ebdaf8932ebb7d5e11123.jpg","text":"TemporaryFile(/tmp/multipartBody2333155013949607986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172218620,"filename":"image_16012025_21_09_03_040550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e435f074bfaee47bc5da07f8c21cec8.jpg","text":"TemporaryFile(/tmp/multipartBody7119518548605034809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172218620,"filename":"image_16012025_21_08_02_887458_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/44942e4b7b7b7e37e69ba5f62682a87a.jpg","text":"TemporaryFile(/tmp/multipartBody7367659766382162074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172218620,"filename":"image_16012025_21_09_03_040550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4fe8f48eb3eb9dc474d96729bd90517f.jpg","text":"TemporaryFile(/tmp/multipartBody7351981035795310647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172218620,"filename":"image_16012025_21_08_02_887458_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/464822cbee7cb6cbb91d77b30bf491be.jpg","text":"TemporaryFile(/tmp/multipartBody7443075986939959678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172218620,"filename":"image_16012025_21_09_03_040550_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329658546","file1":"1329658516","file0":"1329658359","file4":"1329658618","file5":"1329658620","file3":"1329658549"},"map_files_photo_id_array":[{"photo_id":"1329658620","filename":"file5"},{"photo_id":"1329658546","filename":"file2"},{"photo_id":"1329658618","filename":"file4"},{"photo_id":"1329658516","filename":"file1"},{"photo_id":"1329658359","filename":"file0"},{"photo_id":"1329658549","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329658546":["hashtag1","hashtag2"]},{"1329658549":["hashtag1","hashtag2"]},{"1329658516":["hashtag1","hashtag2"]},{"1329658618":["hashtag1","hashtag2"]},{"1329658359":["hashtag1","hashtag2"]},{"1329658620":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329658546, 1329658549, 1329658516, 1329658618, 1329658359, 1329658620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.19386386871338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:50:02.349588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0000.jpg', '/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0001.jpg', '/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0002.jpg', '/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0003.jpg', '/home/pi/Desktop/images/16012025/21/11/image_16012025_21_11_02_351884_0000.jpg', '/home/pi/Desktop/images/16012025/21/11/image_16012025_21_11_02_351884_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0000.jpg
/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0001.jpg
/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0002.jpg
/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0003.jpg
/home/pi/Desktop/images/16012025/21/11/image_16012025_21_11_02_351884_0000.jpg
/home/pi/Desktop/images/16012025/21/11/image_16012025_21_11_02_351884_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.465134859085083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:50:21.944533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0000.jpg', '/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0001.jpg', '/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0002.jpg', '/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0003.jpg', '/home/pi/Desktop/images/16012025/21/11/image_16012025_21_11_02_351884_0000.jpg', '/home/pi/Desktop/images/16012025/21/11/image_16012025_21_11_02_351884_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0000.jpg
/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0001.jpg
/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0002.jpg
/home/pi/Desktop/images/16012025/21/10/image_16012025_21_10_02_292601_0003.jpg
/home/pi/Desktop/images/16012025/21/11/image_16012025_21_11_02_351884_0000.jpg
/home/pi/Desktop/images/16012025/21/11/image_16012025_21_11_02_351884_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329658745","1329658739","1329658726","1329658735","1329658722","1329658731"],"photo_ids_order":["1329658722","1329658726","1329658731","1329658735","1329658739","1329658745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6940d7f9599087600643abc496befe37.jpg","text":"TemporaryFile(/tmp/multipartBody7675765267851434370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172297564,"filename":"image_16012025_21_11_02_351884_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d2ad33af87e0eb4593174b71a1ee94f.jpg","text":"TemporaryFile(/tmp/multipartBody8269354540898056892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172297564,"filename":"image_16012025_21_11_02_351884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/43858af3df035cae8082fc4fa9aacdb8.jpg","text":"TemporaryFile(/tmp/multipartBody9073924884807739349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172297564,"filename":"image_16012025_21_10_02_292601_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/707c5a9eca09b491fddce0347378edba.jpg","text":"TemporaryFile(/tmp/multipartBody1972749942204741221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172297564,"filename":"image_16012025_21_10_02_292601_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92c173fd961020382f952cacbf6ccb54.jpg","text":"TemporaryFile(/tmp/multipartBody3215643475379552807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172297564,"filename":"image_16012025_21_10_02_292601_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4680b5e59d44100499f5901365bbe33d.jpg","text":"TemporaryFile(/tmp/multipartBody547040282978204026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172297564,"filename":"image_16012025_21_10_02_292601_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329658731","file1":"1329658726","file0":"1329658722","file4":"1329658739","file5":"1329658745","file3":"1329658735"},"map_files_photo_id_array":[{"photo_id":"1329658745","filename":"file5"},{"photo_id":"1329658731","filename":"file2"},{"photo_id":"1329658739","filename":"file4"},{"photo_id":"1329658726","filename":"file1"},{"photo_id":"1329658722","filename":"file0"},{"photo_id":"1329658735","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329658745":["hashtag1","hashtag2"]},{"1329658739":["hashtag1","hashtag2"]},{"1329658726":["hashtag1","hashtag2"]},{"1329658735":["hashtag1","hashtag2"]},{"1329658722":["hashtag1","hashtag2"]},{"1329658731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329658745, 1329658739, 1329658726, 1329658735, 1329658722, 1329658731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.66569375991821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:51:22.382908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/11/image_16012025_21_11_02_351884_0002.jpg', '/home/pi/Desktop/images/16012025/21/11/image_16012025_21_11_02_351884_0003.jpg', '/home/pi/Desktop/images/16012025/21/12/image_16012025_21_12_02_565240_0000.jpg', '/home/pi/Desktop/images/16012025/21/12/image_16012025_21_12_02_565240_0001.jpg', '/home/pi/Desktop/images/16012025/21/12/image_16012025_21_12_02_565240_0002.jpg', '/home/pi/Desktop/images/16012025/21/12/image_16012025_21_12_02_565240_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/11/image_16012025_21_11_02_351884_0002.jpg
/home/pi/Desktop/images/16012025/21/11/image_16012025_21_11_02_351884_0003.jpg
/home/pi/Desktop/images/16012025/21/12/image_16012025_21_12_02_565240_0000.jpg
/home/pi/Desktop/images/16012025/21/12/image_16012025_21_12_02_565240_0001.jpg
/home/pi/Desktop/images/16012025/21/12/image_16012025_21_12_02_565240_0002.jpg
/home/pi/Desktop/images/16012025/21/12/image_16012025_21_12_02_565240_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329658772","1329658766","1329658768","1329658770","1329658761","1329658764"],"photo_ids_order":["1329658761","1329658764","1329658766","1329658768","1329658770","1329658772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e40524dd1683ecd6f206af77eeba7542.jpg","text":"TemporaryFile(/tmp/multipartBody4375718134766763262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172358113,"filename":"image_16012025_21_12_02_565240_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/429ec08b0936d11381e33ed065268198.jpg","text":"TemporaryFile(/tmp/multipartBody4306522709573227650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172358113,"filename":"image_16012025_21_12_02_565240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c1231407acdaaf6e6b172d693b55784.jpg","text":"TemporaryFile(/tmp/multipartBody4130092875704781469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172358113,"filename":"image_16012025_21_12_02_565240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/85223379f2f4814a72ccc8f7078eb389.jpg","text":"TemporaryFile(/tmp/multipartBody3563815183298820985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172358113,"filename":"image_16012025_21_12_02_565240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e81f2da1c8f1d860f60aec6f09bc85f.jpg","text":"TemporaryFile(/tmp/multipartBody2863313643224079588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172358113,"filename":"image_16012025_21_11_02_351884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6154596db119df7ee07eafbb582d3ac6.jpg","text":"TemporaryFile(/tmp/multipartBody4054011057171497479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172358113,"filename":"image_16012025_21_11_02_351884_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329658766","file1":"1329658764","file0":"1329658761","file4":"1329658770","file5":"1329658772","file3":"1329658768"},"map_files_photo_id_array":[{"photo_id":"1329658772","filename":"file5"},{"photo_id":"1329658766","filename":"file2"},{"photo_id":"1329658770","filename":"file4"},{"photo_id":"1329658764","filename":"file1"},{"photo_id":"1329658761","filename":"file0"},{"photo_id":"1329658768","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329658772":["hashtag1","hashtag2"]},{"1329658766":["hashtag1","hashtag2"]},{"1329658768":["hashtag1","hashtag2"]},{"1329658770":["hashtag1","hashtag2"]},{"1329658761":["hashtag1","hashtag2"]},{"1329658764":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329658772, 1329658766, 1329658768, 1329658770, 1329658761, 1329658764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.75443506240845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:52:21.916205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/13/image_16012025_21_13_02_800758_0000.jpg', '/home/pi/Desktop/images/16012025/21/13/image_16012025_21_13_02_800758_0001.jpg', '/home/pi/Desktop/images/16012025/21/13/image_16012025_21_13_02_800758_0002.jpg', '/home/pi/Desktop/images/16012025/21/13/image_16012025_21_13_02_800758_0003.jpg', '/home/pi/Desktop/images/16012025/21/14/image_16012025_21_14_02_937036_0000.jpg', '/home/pi/Desktop/images/16012025/21/14/image_16012025_21_14_02_937036_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/13/image_16012025_21_13_02_800758_0000.jpg
/home/pi/Desktop/images/16012025/21/13/image_16012025_21_13_02_800758_0001.jpg
/home/pi/Desktop/images/16012025/21/13/image_16012025_21_13_02_800758_0002.jpg
/home/pi/Desktop/images/16012025/21/13/image_16012025_21_13_02_800758_0003.jpg
/home/pi/Desktop/images/16012025/21/14/image_16012025_21_14_02_937036_0000.jpg
/home/pi/Desktop/images/16012025/21/14/image_16012025_21_14_02_937036_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329658800","1329658802","1329658792","1329658797","1329658785","1329658779"],"photo_ids_order":["1329658779","1329658785","1329658792","1329658797","1329658800","1329658802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/371c9303069502b67d54a774850cb926.jpg","text":"TemporaryFile(/tmp/multipartBody554151591667227794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172417656,"filename":"image_16012025_21_14_02_937036_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1403043f82b6d81787cea1a6439c08ec.jpg","text":"TemporaryFile(/tmp/multipartBody5280055121611828584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172417656,"filename":"image_16012025_21_14_02_937036_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d75962b26559fd6e7ba33bfb8ff0c8ef.jpg","text":"TemporaryFile(/tmp/multipartBody2468556468793214600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172417656,"filename":"image_16012025_21_13_02_800758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e33d8d2fabf7124c68b250581e561a4b.jpg","text":"TemporaryFile(/tmp/multipartBody9163271449265297797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172417656,"filename":"image_16012025_21_13_02_800758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a91c449e95e390317bd992996b129686.jpg","text":"TemporaryFile(/tmp/multipartBody2519689302966045907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172417656,"filename":"image_16012025_21_13_02_800758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e2fb18a8f67dc8910a932347227731c.jpg","text":"TemporaryFile(/tmp/multipartBody2227408276396336656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172417656,"filename":"image_16012025_21_13_02_800758_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329658792","file1":"1329658785","file0":"1329658779","file4":"1329658800","file5":"1329658802","file3":"1329658797"},"map_files_photo_id_array":[{"photo_id":"1329658802","filename":"file5"},{"photo_id":"1329658792","filename":"file2"},{"photo_id":"1329658800","filename":"file4"},{"photo_id":"1329658785","filename":"file1"},{"photo_id":"1329658779","filename":"file0"},{"photo_id":"1329658797","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329658800":["hashtag1","hashtag2"]},{"1329658802":["hashtag1","hashtag2"]},{"1329658792":["hashtag1","hashtag2"]},{"1329658797":["hashtag1","hashtag2"]},{"1329658785":["hashtag1","hashtag2"]},{"1329658779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329658800, 1329658802, 1329658792, 1329658797, 1329658785, 1329658779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.23867201805115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:53:22.473587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/14/image_16012025_21_14_02_937036_0002.jpg', '/home/pi/Desktop/images/16012025/21/14/image_16012025_21_14_02_937036_0003.jpg', '/home/pi/Desktop/images/16012025/21/15/image_16012025_21_15_03_182074_0000.jpg', '/home/pi/Desktop/images/16012025/21/15/image_16012025_21_15_03_182074_0001.jpg', '/home/pi/Desktop/images/16012025/21/15/image_16012025_21_15_03_182074_0002.jpg', '/home/pi/Desktop/images/16012025/21/15/image_16012025_21_15_03_182074_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/14/image_16012025_21_14_02_937036_0002.jpg
/home/pi/Desktop/images/16012025/21/14/image_16012025_21_14_02_937036_0003.jpg
/home/pi/Desktop/images/16012025/21/15/image_16012025_21_15_03_182074_0000.jpg
/home/pi/Desktop/images/16012025/21/15/image_16012025_21_15_03_182074_0001.jpg
/home/pi/Desktop/images/16012025/21/15/image_16012025_21_15_03_182074_0002.jpg
/home/pi/Desktop/images/16012025/21/15/image_16012025_21_15_03_182074_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":["1329658865","1329658873","1329658876","1329658843","1329658822","1329658833"],"photo_ids_order":["1329658822","1329658833","1329658843","1329658865","1329658873","1329658876"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd632f76969d359612cc3e63247303d8.jpg","text":"TemporaryFile(/tmp/multipartBody3994388838451336768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172478212,"filename":"image_16012025_21_15_03_182074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/40b0daa6b8c271727a9e50f24ed86fc3.jpg","text":"TemporaryFile(/tmp/multipartBody3711776225001583033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172478212,"filename":"image_16012025_21_15_03_182074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ca014c034bdc99be4bd50a008a2c93b.jpg","text":"TemporaryFile(/tmp/multipartBody4577571519798272094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172478212,"filename":"image_16012025_21_15_03_182074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d2d1791f0bafbc746e9a8d1d79223c0f.jpg","text":"TemporaryFile(/tmp/multipartBody6425123082443675391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172478212,"filename":"image_16012025_21_15_03_182074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2dbf9e60231ec6e257a4c93315b356ff.jpg","text":"TemporaryFile(/tmp/multipartBody9018910753030404771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172478212,"filename":"image_16012025_21_14_02_937036_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21eff56b2404bb72ccd5470873a1e65b.jpg","text":"TemporaryFile(/tmp/multipartBody1957959567917123044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172478212,"filename":"image_16012025_21_14_02_937036_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329658843","file1":"1329658833","file0":"1329658822","file4":"1329658873","file5":"1329658876","file3":"1329658865"},"map_files_photo_id_array":[{"photo_id":"1329658876","filename":"file5"},{"photo_id":"1329658843","filename":"file2"},{"photo_id":"1329658873","filename":"file4"},{"photo_id":"1329658833","filename":"file1"},{"photo_id":"1329658822","filename":"file0"},{"photo_id":"1329658865","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329658865":["hashtag1","hashtag2"]},{"1329658873":["hashtag1","hashtag2"]},{"1329658876":["hashtag1","hashtag2"]},{"1329658843":["hashtag1","hashtag2"]},{"1329658822":["hashtag1","hashtag2"]},{"1329658833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329658865, 1329658873, 1329658876, 1329658843, 1329658822, 1329658833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.07529878616333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:55:03.007269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/16/image_16012025_21_16_02_267199_0000.jpg', '/home/pi/Desktop/images/16012025/21/16/image_16012025_21_16_02_267199_0001.jpg', '/home/pi/Desktop/images/16012025/21/16/image_16012025_21_16_02_267199_0002.jpg', '/home/pi/Desktop/images/16012025/21/16/image_16012025_21_16_02_267199_0003.jpg', '/home/pi/Desktop/images/16012025/21/17/image_16012025_21_17_02_451995_0000.jpg', '/home/pi/Desktop/images/16012025/21/17/image_16012025_21_17_02_451995_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/16/image_16012025_21_16_02_267199_0000.jpg
/home/pi/Desktop/images/16012025/21/16/image_16012025_21_16_02_267199_0001.jpg
/home/pi/Desktop/images/16012025/21/16/image_16012025_21_16_02_267199_0002.jpg
/home/pi/Desktop/images/16012025/21/16/image_16012025_21_16_02_267199_0003.jpg
/home/pi/Desktop/images/16012025/21/17/image_16012025_21_17_02_451995_0000.jpg
/home/pi/Desktop/images/16012025/21/17/image_16012025_21_17_02_451995_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329659773","1329659935","1329659659","1329659487","1329659858","1329659573"],"photo_ids_order":["1329659487","1329659573","1329659659","1329659773","1329659858","1329659935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6eb1ecb6243253f557c2ef71d3649289.jpg","text":"TemporaryFile(/tmp/multipartBody4106668099899703729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172578848,"filename":"image_16012025_21_16_02_267199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/895e9fed745b95e9375b36eefcf759dd.jpg","text":"TemporaryFile(/tmp/multipartBody2941341037924929180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172578848,"filename":"image_16012025_21_17_02_451995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2bce7935224b46b59976e257d8cbae65.jpg","text":"TemporaryFile(/tmp/multipartBody3057138813099083546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172578848,"filename":"image_16012025_21_16_02_267199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48aa869c5f2566df630e49f5451fa2f3.jpg","text":"TemporaryFile(/tmp/multipartBody940899067440887556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172578848,"filename":"image_16012025_21_16_02_267199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe929ac54430706209e8bfd465e9c2c7.jpg","text":"TemporaryFile(/tmp/multipartBody8152615693478161612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172578848,"filename":"image_16012025_21_17_02_451995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4b046649f2359706ca0a45ae326a15ef.jpg","text":"TemporaryFile(/tmp/multipartBody2263091929251422872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172578848,"filename":"image_16012025_21_16_02_267199_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329659659","file1":"1329659573","file0":"1329659487","file4":"1329659858","file5":"1329659935","file3":"1329659773"},"map_files_photo_id_array":[{"photo_id":"1329659935","filename":"file5"},{"photo_id":"1329659659","filename":"file2"},{"photo_id":"1329659858","filename":"file4"},{"photo_id":"1329659573","filename":"file1"},{"photo_id":"1329659487","filename":"file0"},{"photo_id":"1329659773","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329659773":["hashtag1","hashtag2"]},{"1329659935":["hashtag1","hashtag2"]},{"1329659659":["hashtag1","hashtag2"]},{"1329659487":["hashtag1","hashtag2"]},{"1329659858":["hashtag1","hashtag2"]},{"1329659573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329659773, 1329659935, 1329659659, 1329659487, 1329659858, 1329659573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.29940724372864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:56:02.420094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/17/image_16012025_21_17_02_451995_0002.jpg', '/home/pi/Desktop/images/16012025/21/17/image_16012025_21_17_02_451995_0003.jpg', '/home/pi/Desktop/images/16012025/21/18/image_16012025_21_18_02_706970_0000.jpg', '/home/pi/Desktop/images/16012025/21/18/image_16012025_21_18_02_706970_0001.jpg', '/home/pi/Desktop/images/16012025/21/18/image_16012025_21_18_02_706970_0003.jpg', '/home/pi/Desktop/images/16012025/21/19/image_16012025_21_19_02_813128_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/17/image_16012025_21_17_02_451995_0002.jpg
/home/pi/Desktop/images/16012025/21/17/image_16012025_21_17_02_451995_0003.jpg
/home/pi/Desktop/images/16012025/21/18/image_16012025_21_18_02_706970_0000.jpg
/home/pi/Desktop/images/16012025/21/18/image_16012025_21_18_02_706970_0001.jpg
/home/pi/Desktop/images/16012025/21/18/image_16012025_21_18_02_706970_0003.jpg
/home/pi/Desktop/images/16012025/21/19/image_16012025_21_19_02_813128_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.499340295791626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:56:22.070799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/17/image_16012025_21_17_02_451995_0002.jpg', '/home/pi/Desktop/images/16012025/21/17/image_16012025_21_17_02_451995_0003.jpg', '/home/pi/Desktop/images/16012025/21/18/image_16012025_21_18_02_706970_0000.jpg', '/home/pi/Desktop/images/16012025/21/18/image_16012025_21_18_02_706970_0001.jpg', '/home/pi/Desktop/images/16012025/21/18/image_16012025_21_18_02_706970_0003.jpg', '/home/pi/Desktop/images/16012025/21/19/image_16012025_21_19_02_813128_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/17/image_16012025_21_17_02_451995_0002.jpg
/home/pi/Desktop/images/16012025/21/17/image_16012025_21_17_02_451995_0003.jpg
/home/pi/Desktop/images/16012025/21/18/image_16012025_21_18_02_706970_0000.jpg
/home/pi/Desktop/images/16012025/21/18/image_16012025_21_18_02_706970_0001.jpg
/home/pi/Desktop/images/16012025/21/18/image_16012025_21_18_02_706970_0003.jpg
/home/pi/Desktop/images/16012025/21/19/image_16012025_21_19_02_813128_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329659986","1329660076","1329660081","1329660084","1329660078","1329660039"],"photo_ids_order":["1329659986","1329660039","1329660076","1329660078","1329660081","1329660084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/696ba17eb0eb474992f295d2dbe363d3.jpg","text":"TemporaryFile(/tmp/multipartBody978597960350495102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172657690,"filename":"image_16012025_21_17_02_451995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/02aa4aeb4130c80c584a419bf94dce22.jpg","text":"TemporaryFile(/tmp/multipartBody1458525188834773924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172657690,"filename":"image_16012025_21_18_02_706970_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b05670d7c40427e469de19d62c27079.jpg","text":"TemporaryFile(/tmp/multipartBody4033280727467532847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172657690,"filename":"image_16012025_21_18_02_706970_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03e34bdff953fc40c63ca441ca87fbba.jpg","text":"TemporaryFile(/tmp/multipartBody4456787977616691021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172657690,"filename":"image_16012025_21_19_02_813128_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6075f559a8bb9b590af968ad61e9ab0b.jpg","text":"TemporaryFile(/tmp/multipartBody8411774160146727213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172657690,"filename":"image_16012025_21_18_02_706970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/986f3ae322e26cc66285e17f1d34dae4.jpg","text":"TemporaryFile(/tmp/multipartBody2434454420093648835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172657690,"filename":"image_16012025_21_17_02_451995_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329660076","file1":"1329660039","file0":"1329659986","file4":"1329660081","file5":"1329660084","file3":"1329660078"},"map_files_photo_id_array":[{"photo_id":"1329660084","filename":"file5"},{"photo_id":"1329660076","filename":"file2"},{"photo_id":"1329660081","filename":"file4"},{"photo_id":"1329660039","filename":"file1"},{"photo_id":"1329659986","filename":"file0"},{"photo_id":"1329660078","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329659986":["hashtag1","hashtag2"]},{"1329660076":["hashtag1","hashtag2"]},{"1329660081":["hashtag1","hashtag2"]},{"1329660084":["hashtag1","hashtag2"]},{"1329660078":["hashtag1","hashtag2"]},{"1329660039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329659986, 1329660076, 1329660081, 1329660084, 1329660078, 1329660039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.21007061004639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 04:57:22.587129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/19/image_16012025_21_19_02_813128_0003.jpg', '/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0000.jpg', '/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0001.jpg', '/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0002.jpg', '/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0003.jpg', '/home/pi/Desktop/images/16012025/21/21/image_16012025_21_21_02_178847_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/19/image_16012025_21_19_02_813128_0003.jpg
/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0000.jpg
/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0001.jpg
/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0002.jpg
/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0003.jpg
/home/pi/Desktop/images/16012025/21/21/image_16012025_21_21_02_178847_0000.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 04:59:02.887046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/19/image_16012025_21_19_02_813128_0003.jpg', '/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0000.jpg', '/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0001.jpg', '/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0002.jpg', '/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0003.jpg', '/home/pi/Desktop/images/16012025/21/21/image_16012025_21_21_02_178847_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/19/image_16012025_21_19_02_813128_0003.jpg
/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0000.jpg
/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0001.jpg
/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0002.jpg
/home/pi/Desktop/images/16012025/21/20/image_16012025_21_20_02_993711_0003.jpg
/home/pi/Desktop/images/16012025/21/21/image_16012025_21_21_02_178847_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":["1329660707","1329660701","1329660727","1329660724","1329660720","1329660714"],"photo_ids_order":["1329660701","1329660707","1329660714","1329660720","1329660724","1329660727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff8a1479c60ed0e0114456f4032d32b6.jpg","text":"TemporaryFile(/tmp/multipartBody3859759423924336460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172818603,"filename":"image_16012025_21_20_02_993711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe1223459010f909dc55f9ca2904890b.jpg","text":"TemporaryFile(/tmp/multipartBody4798564039195934752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172818603,"filename":"image_16012025_21_19_02_813128_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/41621b21a9ca2f299b29ac053c9fe50d.jpg","text":"TemporaryFile(/tmp/multipartBody8701078998764627103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172818603,"filename":"image_16012025_21_21_02_178847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2576a05a5f4765e50759ff3efd037e2.jpg","text":"TemporaryFile(/tmp/multipartBody3400827722041165178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172818603,"filename":"image_16012025_21_20_02_993711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/099965c158f0647fe888f2c183eb49c9.jpg","text":"TemporaryFile(/tmp/multipartBody6484497561730716331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172818603,"filename":"image_16012025_21_20_02_993711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0480e7f374efdfba285a920eb2f691a9.jpg","text":"TemporaryFile(/tmp/multipartBody6140260678632008002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172818603,"filename":"image_16012025_21_20_02_993711_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329660714","file1":"1329660707","file0":"1329660701","file4":"1329660724","file5":"1329660727","file3":"1329660720"},"map_files_photo_id_array":[{"photo_id":"1329660727","filename":"file5"},{"photo_id":"1329660714","filename":"file2"},{"photo_id":"1329660724","filename":"file4"},{"photo_id":"1329660707","filename":"file1"},{"photo_id":"1329660701","filename":"file0"},{"photo_id":"1329660720","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329660707":["hashtag1","hashtag2"]},{"1329660701":["hashtag1","hashtag2"]},{"1329660727":["hashtag1","hashtag2"]},{"1329660724":["hashtag1","hashtag2"]},{"1329660720":["hashtag1","hashtag2"]},{"1329660714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329660707, 1329660701, 1329660727, 1329660724, 1329660720, 1329660714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.56036114692688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:00:22.085430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/21/image_16012025_21_21_02_178847_0001.jpg', '/home/pi/Desktop/images/16012025/21/21/image_16012025_21_21_02_178847_0002.jpg', '/home/pi/Desktop/images/16012025/21/21/image_16012025_21_21_02_178847_0003.jpg', '/home/pi/Desktop/images/16012025/21/22/image_16012025_21_22_02_319446_0000.jpg', '/home/pi/Desktop/images/16012025/21/22/image_16012025_21_22_02_319446_0001.jpg', '/home/pi/Desktop/images/16012025/21/22/image_16012025_21_22_02_319446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/21/image_16012025_21_21_02_178847_0001.jpg
/home/pi/Desktop/images/16012025/21/21/image_16012025_21_21_02_178847_0002.jpg
/home/pi/Desktop/images/16012025/21/21/image_16012025_21_21_02_178847_0003.jpg
/home/pi/Desktop/images/16012025/21/22/image_16012025_21_22_02_319446_0000.jpg
/home/pi/Desktop/images/16012025/21/22/image_16012025_21_22_02_319446_0001.jpg
/home/pi/Desktop/images/16012025/21/22/image_16012025_21_22_02_319446_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329660749","1329660758","1329660745","1329660742","1329660762","1329660753"],"photo_ids_order":["1329660742","1329660745","1329660749","1329660753","1329660758","1329660762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8f756859b471b46392796867bf347b1.jpg","text":"TemporaryFile(/tmp/multipartBody396415231528303653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172897811,"filename":"image_16012025_21_21_02_178847_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f947c0aece82d92f32fb7d6c51df8b2.jpg","text":"TemporaryFile(/tmp/multipartBody6415078047977790374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172897811,"filename":"image_16012025_21_22_02_319446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/654d7e2d9bcacc1092294854dc352087.jpg","text":"TemporaryFile(/tmp/multipartBody8561153472288616629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172897811,"filename":"image_16012025_21_21_02_178847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ccaff75c00fd58377f63e061988f371e.jpg","text":"TemporaryFile(/tmp/multipartBody5917238773745608587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172897811,"filename":"image_16012025_21_21_02_178847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f8069adcc5fbc7c44ed0235a51099903.jpg","text":"TemporaryFile(/tmp/multipartBody7362543821113976286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172897811,"filename":"image_16012025_21_22_02_319446_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0621fda74724565b662408730d1d812f.jpg","text":"TemporaryFile(/tmp/multipartBody8295388308035762141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172897811,"filename":"image_16012025_21_22_02_319446_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329660749","file1":"1329660745","file0":"1329660742","file4":"1329660758","file5":"1329660762","file3":"1329660753"},"map_files_photo_id_array":[{"photo_id":"1329660762","filename":"file5"},{"photo_id":"1329660749","filename":"file2"},{"photo_id":"1329660758","filename":"file4"},{"photo_id":"1329660745","filename":"file1"},{"photo_id":"1329660742","filename":"file0"},{"photo_id":"1329660753","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329660749":["hashtag1","hashtag2"]},{"1329660758":["hashtag1","hashtag2"]},{"1329660745":["hashtag1","hashtag2"]},{"1329660742":["hashtag1","hashtag2"]},{"1329660762":["hashtag1","hashtag2"]},{"1329660753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329660749, 1329660758, 1329660745, 1329660742, 1329660762, 1329660753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.25498414039612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:01:22.604965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/23/image_16012025_21_23_02_585590_0001.jpg', '/home/pi/Desktop/images/16012025/21/23/image_16012025_21_23_02_585590_0002.jpg', '/home/pi/Desktop/images/16012025/21/23/image_16012025_21_23_02_585590_0003.jpg', '/home/pi/Desktop/images/16012025/21/24/image_16012025_21_24_02_696229_0000.jpg', '/home/pi/Desktop/images/16012025/21/24/image_16012025_21_24_02_696229_0001.jpg', '/home/pi/Desktop/images/16012025/21/24/image_16012025_21_24_02_696229_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/23/image_16012025_21_23_02_585590_0001.jpg
/home/pi/Desktop/images/16012025/21/23/image_16012025_21_23_02_585590_0002.jpg
/home/pi/Desktop/images/16012025/21/23/image_16012025_21_23_02_585590_0003.jpg
/home/pi/Desktop/images/16012025/21/24/image_16012025_21_24_02_696229_0000.jpg
/home/pi/Desktop/images/16012025/21/24/image_16012025_21_24_02_696229_0001.jpg
/home/pi/Desktop/images/16012025/21/24/image_16012025_21_24_02_696229_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329660857","1329660859","1329660850","1329660853","1329660894","1329660855"],"photo_ids_order":["1329660850","1329660853","1329660855","1329660857","1329660859","1329660894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/52b9210794d9e467e4b9cf5ae04291b7.jpg","text":"TemporaryFile(/tmp/multipartBody4228487773434779261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172958354,"filename":"image_16012025_21_24_02_696229_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2d1bd973e681eeb15fe103902543fd84.jpg","text":"TemporaryFile(/tmp/multipartBody6853632565563566900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172958354,"filename":"image_16012025_21_24_02_696229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63852a2a079fe46efce1bcce130b96fa.jpg","text":"TemporaryFile(/tmp/multipartBody4688570484013413594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172958354,"filename":"image_16012025_21_23_02_585590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/06f158f7f56cec4b25b5577ec8378dc4.jpg","text":"TemporaryFile(/tmp/multipartBody4334941306716942250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172958354,"filename":"image_16012025_21_23_02_585590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/11becdcdf3fcc8653f83b9e524d7986d.jpg","text":"TemporaryFile(/tmp/multipartBody3657550045273099138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172958354,"filename":"image_16012025_21_24_02_696229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2dc33737a6f42c9e2b41f3138bc00d9e.jpg","text":"TemporaryFile(/tmp/multipartBody7285513647881234605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737172958354,"filename":"image_16012025_21_23_02_585590_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329660855","file1":"1329660853","file0":"1329660850","file4":"1329660859","file5":"1329660894","file3":"1329660857"},"map_files_photo_id_array":[{"photo_id":"1329660894","filename":"file5"},{"photo_id":"1329660855","filename":"file2"},{"photo_id":"1329660859","filename":"file4"},{"photo_id":"1329660853","filename":"file1"},{"photo_id":"1329660850","filename":"file0"},{"photo_id":"1329660857","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329660857":["hashtag1","hashtag2"]},{"1329660859":["hashtag1","hashtag2"]},{"1329660850":["hashtag1","hashtag2"]},{"1329660853":["hashtag1","hashtag2"]},{"1329660894":["hashtag1","hashtag2"]},{"1329660855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329660857, 1329660859, 1329660850, 1329660853, 1329660894, 1329660855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.54047083854675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:02:22.112243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/02/image_18012025_05_02_03_013374_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/02/image_18012025_05_02_03_013374_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.6289422512054443 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:03:03.376301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/02/image_18012025_05_02_03_013374_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/02/image_18012025_05_02_03_013374_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329660926"],"photo_id":"1329660926","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/830beef911916d29f77aaf040f731a30.jpg","text":"TemporaryFile(/tmp/multipartBody3046805659079060023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173046411,"filename":"image_18012025_05_02_03_013374_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1329660926"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329660926"}],"hashtags":[],"portfolio_id":"19724253","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.618032455444336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:03:22.555079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/02/image_18012025_05_02_03_013374_0003.jpg', '/home/pi/Desktop/images/18012025/05/03/image_18012025_05_03_02_475346_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/02/image_18012025_05_02_03_013374_0003.jpg
/home/pi/Desktop/images/18012025/05/03/image_18012025_05_03_02_475346_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329660934","1329660936"],"photo_ids_order":["1329660934","1329660936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/42e73f1bc610ca8706c328918c5bdddc.jpg","text":"TemporaryFile(/tmp/multipartBody566271033988300220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173068034,"filename":"image_18012025_05_02_03_013374_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3c5998ec56bee4a80f9533649d1de42.jpg","text":"TemporaryFile(/tmp/multipartBody1005455523464904689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173068034,"filename":"image_18012025_05_03_02_475346_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329660936","file0":"1329660934"},"map_files_photo_id_array":[{"photo_id":"1329660936","filename":"file1"},{"photo_id":"1329660934","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329660934":["hashtag1","hashtag2"]},{"1329660936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329660934, 1329660936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.83644127845764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:04:02.736598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/25/image_16012025_21_25_02_937825_0000.jpg', '/home/pi/Desktop/images/16012025/21/25/image_16012025_21_25_02_937825_0001.jpg', '/home/pi/Desktop/images/16012025/21/25/image_16012025_21_25_02_937825_0002.jpg', '/home/pi/Desktop/images/16012025/21/25/image_16012025_21_25_02_937825_0003.jpg', '/home/pi/Desktop/images/16012025/21/26/image_16012025_21_26_03_084451_0000.jpg', '/home/pi/Desktop/images/16012025/21/26/image_16012025_21_26_03_084451_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/25/image_16012025_21_25_02_937825_0000.jpg
/home/pi/Desktop/images/16012025/21/25/image_16012025_21_25_02_937825_0001.jpg
/home/pi/Desktop/images/16012025/21/25/image_16012025_21_25_02_937825_0002.jpg
/home/pi/Desktop/images/16012025/21/25/image_16012025_21_25_02_937825_0003.jpg
/home/pi/Desktop/images/16012025/21/26/image_16012025_21_26_03_084451_0000.jpg
/home/pi/Desktop/images/16012025/21/26/image_16012025_21_26_03_084451_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":["1329660950","1329660980","1329660964","1329660952","1329660984","1329660969"],"photo_ids_order":["1329660950","1329660952","1329660964","1329660969","1329660980","1329660984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9db6c6eb95228625b77990c508e4d6e2.jpg","text":"TemporaryFile(/tmp/multipartBody1857466603973445622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173118461,"filename":"image_16012025_21_25_02_937825_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/00b7e5a08103275bde33db77062e22f7.jpg","text":"TemporaryFile(/tmp/multipartBody868010608542704984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173118461,"filename":"image_16012025_21_26_03_084451_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5531494a0a5ed13454482e4dfd1996f7.jpg","text":"TemporaryFile(/tmp/multipartBody1145117493781654033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173118461,"filename":"image_16012025_21_25_02_937825_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f9c957976c25b04a5593483f8386597d.jpg","text":"TemporaryFile(/tmp/multipartBody3141138455443932785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173118461,"filename":"image_16012025_21_25_02_937825_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d739dcae379cd1e06c7e234f05fcc612.jpg","text":"TemporaryFile(/tmp/multipartBody5374665166537475152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173118461,"filename":"image_16012025_21_26_03_084451_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/930653bff9df5ed5c0bb4473ee52bcad.jpg","text":"TemporaryFile(/tmp/multipartBody889687408915617219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173118461,"filename":"image_16012025_21_25_02_937825_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329660964","file1":"1329660952","file0":"1329660950","file4":"1329660980","file5":"1329660984","file3":"1329660969"},"map_files_photo_id_array":[{"photo_id":"1329660984","filename":"file5"},{"photo_id":"1329660964","filename":"file2"},{"photo_id":"1329660980","filename":"file4"},{"photo_id":"1329660952","filename":"file1"},{"photo_id":"1329660950","filename":"file0"},{"photo_id":"1329660969","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329660950":["hashtag1","hashtag2"]},{"1329660980":["hashtag1","hashtag2"]},{"1329660964":["hashtag1","hashtag2"]},{"1329660952":["hashtag1","hashtag2"]},{"1329660984":["hashtag1","hashtag2"]},{"1329660969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329660950, 1329660980, 1329660964, 1329660952, 1329660984, 1329660969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.67890667915344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:05:22.642714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/04/image_18012025_05_04_02_987198_0000.jpg', '/home/pi/Desktop/images/18012025/05/04/image_18012025_05_04_02_987198_0001.jpg', '/home/pi/Desktop/images/18012025/05/04/image_18012025_05_04_02_987198_0002.jpg', '/home/pi/Desktop/images/18012025/05/04/image_18012025_05_04_02_987198_0003.jpg', '/home/pi/Desktop/images/18012025/05/05/image_18012025_05_05_02_550244_0000.jpg', '/home/pi/Desktop/images/18012025/05/05/image_18012025_05_05_02_550244_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/04/image_18012025_05_04_02_987198_0000.jpg
/home/pi/Desktop/images/18012025/05/04/image_18012025_05_04_02_987198_0001.jpg
/home/pi/Desktop/images/18012025/05/04/image_18012025_05_04_02_987198_0002.jpg
/home/pi/Desktop/images/18012025/05/04/image_18012025_05_04_02_987198_0003.jpg
/home/pi/Desktop/images/18012025/05/05/image_18012025_05_05_02_550244_0000.jpg
/home/pi/Desktop/images/18012025/05/05/image_18012025_05_05_02_550244_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329661459","1329661750","1329661890","1329661848","1329661566","1329662030"],"photo_ids_order":["1329661459","1329661566","1329661750","1329661848","1329661890","1329662030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf461c4b3ec075ad93a6bdd50401d29b.jpg","text":"TemporaryFile(/tmp/multipartBody5612718386722580132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173197746,"filename":"image_18012025_05_04_02_987198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fbe7de6a0d44563f91cab00408d7b8a9.jpg","text":"TemporaryFile(/tmp/multipartBody8365198437439665375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173197746,"filename":"image_18012025_05_04_02_987198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18ee62aa38a91b3d2f41982067800f24.jpg","text":"TemporaryFile(/tmp/multipartBody4294794240247139589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173197746,"filename":"image_18012025_05_05_02_550244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5fff222c28178ca2ebd72daa0ac6fa3.jpg","text":"TemporaryFile(/tmp/multipartBody820731792261203974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173197746,"filename":"image_18012025_05_04_02_987198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3705648aa50314d336902ff6e5f4cec3.jpg","text":"TemporaryFile(/tmp/multipartBody2058480519403461725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173197746,"filename":"image_18012025_05_04_02_987198_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/badbcbf95c370e8538cc519707b7ddf6.jpg","text":"TemporaryFile(/tmp/multipartBody2210520027564047328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173197746,"filename":"image_18012025_05_05_02_550244_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329661750","file1":"1329661566","file0":"1329661459","file4":"1329661890","file5":"1329662030","file3":"1329661848"},"map_files_photo_id_array":[{"photo_id":"1329662030","filename":"file5"},{"photo_id":"1329661750","filename":"file2"},{"photo_id":"1329661890","filename":"file4"},{"photo_id":"1329661566","filename":"file1"},{"photo_id":"1329661459","filename":"file0"},{"photo_id":"1329661848","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329661459":["hashtag1","hashtag2"]},{"1329661750":["hashtag1","hashtag2"]},{"1329661890":["hashtag1","hashtag2"]},{"1329661848":["hashtag1","hashtag2"]},{"1329661566":["hashtag1","hashtag2"]},{"1329662030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329661459, 1329661750, 1329661890, 1329661848, 1329661566, 1329662030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.33935856819153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:06:22.143072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/06/image_18012025_05_06_03_021266_0000.jpg', '/home/pi/Desktop/images/18012025/05/06/image_18012025_05_06_03_021266_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/06/image_18012025_05_06_03_021266_0000.jpg
/home/pi/Desktop/images/18012025/05/06/image_18012025_05_06_03_021266_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329662208","1329662195"],"photo_ids_order":["1329662195","1329662208"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c2e0255a0a09f8b55d54760ecbe204c2.jpg","text":"TemporaryFile(/tmp/multipartBody1754758307677846324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173247271,"filename":"image_18012025_05_06_03_021266_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/daa2396e0d697c7842aee7e359a9b34d.jpg","text":"TemporaryFile(/tmp/multipartBody2817055606279360302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173247271,"filename":"image_18012025_05_06_03_021266_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329662208","file0":"1329662195"},"map_files_photo_id_array":[{"photo_id":"1329662208","filename":"file1"},{"photo_id":"1329662195","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329662208":["hashtag1","hashtag2"]},{"1329662195":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329662208, 1329662195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.3108913898468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:07:03.330017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/26/image_16012025_21_26_03_084451_0002.jpg', '/home/pi/Desktop/images/16012025/21/26/image_16012025_21_26_03_084451_0003.jpg', '/home/pi/Desktop/images/16012025/21/27/image_16012025_21_27_02_236381_0000.jpg', '/home/pi/Desktop/images/16012025/21/27/image_16012025_21_27_02_236381_0001.jpg', '/home/pi/Desktop/images/16012025/21/27/image_16012025_21_27_02_236381_0002.jpg', '/home/pi/Desktop/images/16012025/21/27/image_16012025_21_27_02_236381_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/26/image_16012025_21_26_03_084451_0002.jpg
/home/pi/Desktop/images/16012025/21/26/image_16012025_21_26_03_084451_0003.jpg
/home/pi/Desktop/images/16012025/21/27/image_16012025_21_27_02_236381_0000.jpg
/home/pi/Desktop/images/16012025/21/27/image_16012025_21_27_02_236381_0001.jpg
/home/pi/Desktop/images/16012025/21/27/image_16012025_21_27_02_236381_0002.jpg
/home/pi/Desktop/images/16012025/21/27/image_16012025_21_27_02_236381_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329662503","1329662643","1329662297","1329662399","1329662237","1329662587"],"photo_ids_order":["1329662237","1329662297","1329662399","1329662503","1329662587","1329662643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7378e674ea4b3b667e9f381c370fa52.jpg","text":"TemporaryFile(/tmp/multipartBody601185942316345111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173299223,"filename":"image_16012025_21_27_02_236381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4003fe47bd9bf0cc8b4f5c7fb0925ddf.jpg","text":"TemporaryFile(/tmp/multipartBody845809564734265939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173299223,"filename":"image_16012025_21_27_02_236381_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef7efec5eede2e180a9ecce1a56a3b82.jpg","text":"TemporaryFile(/tmp/multipartBody4667757702296088029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173299223,"filename":"image_16012025_21_26_03_084451_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2525ede2681bbd9f1b9a42f105787d00.jpg","text":"TemporaryFile(/tmp/multipartBody155649385878154337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173299223,"filename":"image_16012025_21_27_02_236381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1161be67ce444ce0ed87a7d78040a1d.jpg","text":"TemporaryFile(/tmp/multipartBody5056985860538829572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173299223,"filename":"image_16012025_21_26_03_084451_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8c4187cc3caddc385f9fdf736484983.jpg","text":"TemporaryFile(/tmp/multipartBody7394210665625761341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173299223,"filename":"image_16012025_21_27_02_236381_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329662399","file1":"1329662297","file0":"1329662237","file4":"1329662587","file5":"1329662643","file3":"1329662503"},"map_files_photo_id_array":[{"photo_id":"1329662643","filename":"file5"},{"photo_id":"1329662399","filename":"file2"},{"photo_id":"1329662587","filename":"file4"},{"photo_id":"1329662297","filename":"file1"},{"photo_id":"1329662237","filename":"file0"},{"photo_id":"1329662503","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329662503":["hashtag1","hashtag2"]},{"1329662643":["hashtag1","hashtag2"]},{"1329662297":["hashtag1","hashtag2"]},{"1329662399":["hashtag1","hashtag2"]},{"1329662237":["hashtag1","hashtag2"]},{"1329662587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329662503, 1329662643, 1329662297, 1329662399, 1329662237, 1329662587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.30477547645569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:08:02.911252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/06/image_18012025_05_06_03_021266_0003.jpg', '/home/pi/Desktop/images/18012025/05/07/image_18012025_05_07_02_577016_0000.jpg', '/home/pi/Desktop/images/18012025/05/07/image_18012025_05_07_02_577016_0001.jpg', '/home/pi/Desktop/images/18012025/05/07/image_18012025_05_07_02_577016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/06/image_18012025_05_06_03_021266_0003.jpg
/home/pi/Desktop/images/18012025/05/07/image_18012025_05_07_02_577016_0000.jpg
/home/pi/Desktop/images/18012025/05/07/image_18012025_05_07_02_577016_0001.jpg
/home/pi/Desktop/images/18012025/05/07/image_18012025_05_07_02_577016_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329662803","1329662719","1329662801","1329662770"],"photo_ids_order":["1329662719","1329662770","1329662801","1329662803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/706954f3fd5debbe36abd69688464f44.jpg","text":"TemporaryFile(/tmp/multipartBody6266125958474685688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173353322,"filename":"image_18012025_05_07_02_577016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7c081423c7755d64ecbe512679b0df0.jpg","text":"TemporaryFile(/tmp/multipartBody3047945562408530336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173353322,"filename":"image_18012025_05_06_03_021266_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84599f38e1ece8d6f10f68522c413dda.jpg","text":"TemporaryFile(/tmp/multipartBody3628421846616268378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173353322,"filename":"image_18012025_05_07_02_577016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/734dd5933e7c5cabf370d6c670122344.jpg","text":"TemporaryFile(/tmp/multipartBody9216727581196000036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173353322,"filename":"image_18012025_05_07_02_577016_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329662801","file1":"1329662770","file0":"1329662719","file3":"1329662803"},"map_files_photo_id_array":[{"photo_id":"1329662801","filename":"file2"},{"photo_id":"1329662770","filename":"file1"},{"photo_id":"1329662719","filename":"file0"},{"photo_id":"1329662803","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329662803":["hashtag1","hashtag2"]},{"1329662719":["hashtag1","hashtag2"]},{"1329662801":["hashtag1","hashtag2"]},{"1329662770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329662803, 1329662719, 1329662801, 1329662770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.11513161659241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:09:02.486970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/07/image_18012025_05_07_02_577016_0003.jpg', '/home/pi/Desktop/images/18012025/05/08/image_18012025_05_08_03_187797_0000.jpg', '/home/pi/Desktop/images/18012025/05/08/image_18012025_05_08_03_187797_0001.jpg', '/home/pi/Desktop/images/18012025/05/08/image_18012025_05_08_03_187797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/07/image_18012025_05_07_02_577016_0003.jpg
/home/pi/Desktop/images/18012025/05/08/image_18012025_05_08_03_187797_0000.jpg
/home/pi/Desktop/images/18012025/05/08/image_18012025_05_08_03_187797_0001.jpg
/home/pi/Desktop/images/18012025/05/08/image_18012025_05_08_03_187797_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329662820","1329662822","1329662825","1329662819"],"photo_ids_order":["1329662819","1329662820","1329662822","1329662825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7b6b23e27ffb5c0ae8b32b2bf9b2fcd.jpg","text":"TemporaryFile(/tmp/multipartBody5862619932968445881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173412858,"filename":"image_18012025_05_08_03_187797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/43a1233412dcbca260236e84bc851f5f.jpg","text":"TemporaryFile(/tmp/multipartBody3295827533975218025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173412858,"filename":"image_18012025_05_08_03_187797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c36ba2b2123d712985f5f3519ccc81b3.jpg","text":"TemporaryFile(/tmp/multipartBody3299887559231658146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173412858,"filename":"image_18012025_05_08_03_187797_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ffc5991b6f7df8de88c1cc168ef249c.jpg","text":"TemporaryFile(/tmp/multipartBody6363119867800516141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173412858,"filename":"image_18012025_05_07_02_577016_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329662822","file1":"1329662820","file0":"1329662819","file3":"1329662825"},"map_files_photo_id_array":[{"photo_id":"1329662822","filename":"file2"},{"photo_id":"1329662820","filename":"file1"},{"photo_id":"1329662819","filename":"file0"},{"photo_id":"1329662825","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329662820":["hashtag1","hashtag2"]},{"1329662822":["hashtag1","hashtag2"]},{"1329662825":["hashtag1","hashtag2"]},{"1329662819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329662820, 1329662822, 1329662825, 1329662819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64349317550659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:10:03.014840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/08/image_18012025_05_08_03_187797_0003.jpg', '/home/pi/Desktop/images/18012025/05/09/image_18012025_05_09_02_766756_0000.jpg', '/home/pi/Desktop/images/18012025/05/09/image_18012025_05_09_02_766756_0001.jpg', '/home/pi/Desktop/images/18012025/05/09/image_18012025_05_09_02_766756_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/08/image_18012025_05_08_03_187797_0003.jpg
/home/pi/Desktop/images/18012025/05/09/image_18012025_05_09_02_766756_0000.jpg
/home/pi/Desktop/images/18012025/05/09/image_18012025_05_09_02_766756_0001.jpg
/home/pi/Desktop/images/18012025/05/09/image_18012025_05_09_02_766756_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329662965","1329662967","1329662969","1329662945"],"photo_ids_order":["1329662945","1329662965","1329662967","1329662969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/421289472a253eab22f791955ac04656.jpg","text":"TemporaryFile(/tmp/multipartBody625192619167214278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173473521,"filename":"image_18012025_05_09_02_766756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4ffdbcfb6c1d7332b637fd3550682bf.jpg","text":"TemporaryFile(/tmp/multipartBody7208225216060857359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173473521,"filename":"image_18012025_05_09_02_766756_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5b3c30f9fde4a96458ed9512cc6dd97.jpg","text":"TemporaryFile(/tmp/multipartBody7832166636527872820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173473521,"filename":"image_18012025_05_09_02_766756_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5484d815c0b81f621e8558ae05b1d17.jpg","text":"TemporaryFile(/tmp/multipartBody751940611922979399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173473521,"filename":"image_18012025_05_08_03_187797_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329662967","file1":"1329662965","file0":"1329662945","file3":"1329662969"},"map_files_photo_id_array":[{"photo_id":"1329662967","filename":"file2"},{"photo_id":"1329662965","filename":"file1"},{"photo_id":"1329662945","filename":"file0"},{"photo_id":"1329662969","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329662965":["hashtag1","hashtag2"]},{"1329662967":["hashtag1","hashtag2"]},{"1329662969":["hashtag1","hashtag2"]},{"1329662945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329662965, 1329662967, 1329662969, 1329662945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.878833532333374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:11:02.704670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/09/image_18012025_05_09_02_766756_0003.jpg', '/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0000.jpg', '/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0001.jpg', '/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/09/image_18012025_05_09_02_766756_0003.jpg
/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0000.jpg
/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0001.jpg
/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.824527978897095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:11:22.073736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/09/image_18012025_05_09_02_766756_0003.jpg', '/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0000.jpg', '/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0001.jpg', '/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0002.jpg', '/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0003.jpg', '/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/09/image_18012025_05_09_02_766756_0003.jpg
/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0000.jpg
/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0001.jpg
/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0002.jpg
/home/pi/Desktop/images/18012025/05/10/image_18012025_05_10_02_262702_0003.jpg
/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_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":["1329663325","1329663090","1329663075","1329663078","1329663150","1329663397"],"photo_ids_order":["1329663075","1329663078","1329663090","1329663150","1329663325","1329663397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7be6db5d76762184d82cbeeb5722fa8e.jpg","text":"TemporaryFile(/tmp/multipartBody6998226879682421928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173557073,"filename":"image_18012025_05_10_02_262702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9019b3606cfe559afaeee566097198a1.jpg","text":"TemporaryFile(/tmp/multipartBody1684016138923361304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173557073,"filename":"image_18012025_05_10_02_262702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9d6a7cbe1fea7d84e95ad1da5ab1726.jpg","text":"TemporaryFile(/tmp/multipartBody1107340653812065046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173557073,"filename":"image_18012025_05_09_02_766756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/179be8d5ba5b7d922af43244b67668ca.jpg","text":"TemporaryFile(/tmp/multipartBody995437374768607442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173557073,"filename":"image_18012025_05_10_02_262702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f9ea849938d0ab9c30437f317c7b6546.jpg","text":"TemporaryFile(/tmp/multipartBody335957844724541836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173557073,"filename":"image_18012025_05_10_02_262702_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2ef81cc6e73f3ca26fc65f51e39395bf.jpg","text":"TemporaryFile(/tmp/multipartBody4694022271743990090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173557073,"filename":"image_18012025_05_11_02_961039_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329663090","file1":"1329663078","file0":"1329663075","file4":"1329663325","file5":"1329663397","file3":"1329663150"},"map_files_photo_id_array":[{"photo_id":"1329663397","filename":"file5"},{"photo_id":"1329663090","filename":"file2"},{"photo_id":"1329663325","filename":"file4"},{"photo_id":"1329663078","filename":"file1"},{"photo_id":"1329663075","filename":"file0"},{"photo_id":"1329663150","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329663325":["hashtag1","hashtag2"]},{"1329663090":["hashtag1","hashtag2"]},{"1329663075":["hashtag1","hashtag2"]},{"1329663078":["hashtag1","hashtag2"]},{"1329663150":["hashtag1","hashtag2"]},{"1329663397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329663325, 1329663090, 1329663075, 1329663078, 1329663150, 1329663397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.66998100280762 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:13:02.981481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_0001.jpg', '/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_0002.jpg', '/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_0003.jpg', '/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0000.jpg', '/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0001.jpg', '/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_0001.jpg
/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_0002.jpg
/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_0003.jpg
/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0000.jpg
/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0001.jpg
/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.219452142715454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:13:22.346504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_0001.jpg', '/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_0002.jpg', '/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_0003.jpg', '/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0000.jpg', '/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0001.jpg', '/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_0001.jpg
/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_0002.jpg
/home/pi/Desktop/images/18012025/05/11/image_18012025_05_11_02_961039_0003.jpg
/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0000.jpg
/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0001.jpg
/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329664206","1329664256","1329664190","1329664208","1329664019","1329664150"],"photo_ids_order":["1329664019","1329664150","1329664190","1329664206","1329664208","1329664256"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/740b2471bcc53301c40ec8b583056b1a.jpg","text":"TemporaryFile(/tmp/multipartBody3906052846045831201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173677876,"filename":"image_18012025_05_12_02_469545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dddba7fe4a993ff7467c844c0cfe2f88.jpg","text":"TemporaryFile(/tmp/multipartBody8011029939344903585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173677876,"filename":"image_18012025_05_12_02_469545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/864a4f7b5e80590aa6b1da91da3b4eed.jpg","text":"TemporaryFile(/tmp/multipartBody3759191679968546528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173677876,"filename":"image_18012025_05_11_02_961039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b81df84825eb29d17d2ab64dc3f854cb.jpg","text":"TemporaryFile(/tmp/multipartBody6604595655037660380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173677876,"filename":"image_18012025_05_12_02_469545_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fec5a40108a4ee345d6ce8dfce43405d.jpg","text":"TemporaryFile(/tmp/multipartBody523886312638900610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173677876,"filename":"image_18012025_05_11_02_961039_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/47d5efa9a89f0a7fc0f0950a1989a166.jpg","text":"TemporaryFile(/tmp/multipartBody7505380673408367917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173677876,"filename":"image_18012025_05_11_02_961039_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329664190","file1":"1329664150","file0":"1329664019","file4":"1329664208","file5":"1329664256","file3":"1329664206"},"map_files_photo_id_array":[{"photo_id":"1329664256","filename":"file5"},{"photo_id":"1329664190","filename":"file2"},{"photo_id":"1329664208","filename":"file4"},{"photo_id":"1329664150","filename":"file1"},{"photo_id":"1329664019","filename":"file0"},{"photo_id":"1329664206","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329664206":["hashtag1","hashtag2"]},{"1329664256":["hashtag1","hashtag2"]},{"1329664190":["hashtag1","hashtag2"]},{"1329664208":["hashtag1","hashtag2"]},{"1329664019":["hashtag1","hashtag2"]},{"1329664150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329664206, 1329664256, 1329664190, 1329664208, 1329664019, 1329664150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.48078632354736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:14:21.998171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0003.jpg', '/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0000.jpg', '/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0001.jpg', '/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0002.jpg', '/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0003.jpg', '/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0003.jpg
/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0000.jpg
/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0001.jpg
/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0002.jpg
/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0003.jpg
/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_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.199156522750854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:15:03.099155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0003.jpg', '/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0000.jpg', '/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0001.jpg', '/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0002.jpg', '/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0003.jpg', '/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/12/image_18012025_05_12_02_469545_0003.jpg
/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0000.jpg
/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0001.jpg
/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0002.jpg
/home/pi/Desktop/images/18012025/05/13/image_18012025_05_13_02_184716_0003.jpg
/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329664356","1329664437","1329664359","1329664353","1329664367","1329664363"],"photo_ids_order":["1329664353","1329664356","1329664359","1329664363","1329664367","1329664437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d21cb088bc9ae627c57e5ece2f4fb3dd.jpg","text":"TemporaryFile(/tmp/multipartBody8989825558265820983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173778697,"filename":"image_18012025_05_13_02_184716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b2f962e5fd0b7379867dee35894243b.jpg","text":"TemporaryFile(/tmp/multipartBody9201020971969255744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173778697,"filename":"image_18012025_05_14_02_744494_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e34da72b635758d4b0285915b8a44f18.jpg","text":"TemporaryFile(/tmp/multipartBody5272141850553488498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173778697,"filename":"image_18012025_05_13_02_184716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3bf34610cd93c872dcea59ce54d175ae.jpg","text":"TemporaryFile(/tmp/multipartBody7580267695125925024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173778697,"filename":"image_18012025_05_12_02_469545_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93a40eec3268a57570ff06eb018027b9.jpg","text":"TemporaryFile(/tmp/multipartBody4471758773455572411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173778697,"filename":"image_18012025_05_13_02_184716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b901a13184d46cbb9d2c896cf306e58.jpg","text":"TemporaryFile(/tmp/multipartBody7254348136609764287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173778697,"filename":"image_18012025_05_13_02_184716_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329664359","file1":"1329664356","file0":"1329664353","file4":"1329664367","file5":"1329664437","file3":"1329664363"},"map_files_photo_id_array":[{"photo_id":"1329664437","filename":"file5"},{"photo_id":"1329664359","filename":"file2"},{"photo_id":"1329664367","filename":"file4"},{"photo_id":"1329664356","filename":"file1"},{"photo_id":"1329664353","filename":"file0"},{"photo_id":"1329664363","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329664356":["hashtag1","hashtag2"]},{"1329664437":["hashtag1","hashtag2"]},{"1329664359":["hashtag1","hashtag2"]},{"1329664353":["hashtag1","hashtag2"]},{"1329664367":["hashtag1","hashtag2"]},{"1329664363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329664356, 1329664437, 1329664359, 1329664353, 1329664367, 1329664363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.30305290222168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:16:02.444846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0001.jpg', '/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0002.jpg', '/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0003.jpg', '/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0000.jpg', '/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0001.jpg', '/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0001.jpg
/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0002.jpg
/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0003.jpg
/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0000.jpg
/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0001.jpg
/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.671669960021973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:16:21.984769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0001.jpg', '/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0002.jpg', '/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0003.jpg', '/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0000.jpg', '/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0001.jpg', '/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0001.jpg
/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0002.jpg
/home/pi/Desktop/images/18012025/05/14/image_18012025_05_14_02_744494_0003.jpg
/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0000.jpg
/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0001.jpg
/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329664629","1329664614","1329664631","1329664634","1329664627","1329664618"],"photo_ids_order":["1329664614","1329664618","1329664627","1329664629","1329664631","1329664634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cb5b270afbf72e7223ab889dcd5b5124.jpg","text":"TemporaryFile(/tmp/multipartBody57538683944508817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173858010,"filename":"image_18012025_05_15_02_311966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c56841660f88e240c1daa45573ba3c91.jpg","text":"TemporaryFile(/tmp/multipartBody3260861839479238600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173858010,"filename":"image_18012025_05_14_02_744494_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf89b41bd12f075ccb973105335144b3.jpg","text":"TemporaryFile(/tmp/multipartBody6402462301063175420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173858010,"filename":"image_18012025_05_15_02_311966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/320db2cb7156bacdde97b9627bc41a78.jpg","text":"TemporaryFile(/tmp/multipartBody6541810106548016550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173858010,"filename":"image_18012025_05_15_02_311966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7f865e22659955f534dab2bc7685018d.jpg","text":"TemporaryFile(/tmp/multipartBody8221495470426447848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173858010,"filename":"image_18012025_05_14_02_744494_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1301152f0cc663e7e3f84e6a751624b3.jpg","text":"TemporaryFile(/tmp/multipartBody6850165383504829417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173858010,"filename":"image_18012025_05_14_02_744494_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329664627","file1":"1329664618","file0":"1329664614","file4":"1329664631","file5":"1329664634","file3":"1329664629"},"map_files_photo_id_array":[{"photo_id":"1329664634","filename":"file5"},{"photo_id":"1329664627","filename":"file2"},{"photo_id":"1329664631","filename":"file4"},{"photo_id":"1329664618","filename":"file1"},{"photo_id":"1329664614","filename":"file0"},{"photo_id":"1329664629","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329664629":["hashtag1","hashtag2"]},{"1329664614":["hashtag1","hashtag2"]},{"1329664631":["hashtag1","hashtag2"]},{"1329664634":["hashtag1","hashtag2"]},{"1329664627":["hashtag1","hashtag2"]},{"1329664618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329664629, 1329664614, 1329664631, 1329664634, 1329664627, 1329664618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.61224937438965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:17:22.520001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0003.jpg', '/home/pi/Desktop/images/18012025/05/16/image_18012025_05_16_02_772941_0000.jpg', '/home/pi/Desktop/images/18012025/05/16/image_18012025_05_16_02_772941_0001.jpg', '/home/pi/Desktop/images/18012025/05/16/image_18012025_05_16_02_772941_0002.jpg', '/home/pi/Desktop/images/18012025/05/16/image_18012025_05_16_02_772941_0003.jpg', '/home/pi/Desktop/images/18012025/05/17/image_18012025_05_17_02_383380_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/15/image_18012025_05_15_02_311966_0003.jpg
/home/pi/Desktop/images/18012025/05/16/image_18012025_05_16_02_772941_0000.jpg
/home/pi/Desktop/images/18012025/05/16/image_18012025_05_16_02_772941_0001.jpg
/home/pi/Desktop/images/18012025/05/16/image_18012025_05_16_02_772941_0002.jpg
/home/pi/Desktop/images/18012025/05/16/image_18012025_05_16_02_772941_0003.jpg
/home/pi/Desktop/images/18012025/05/17/image_18012025_05_17_02_383380_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329665977","1329665251","1329665973","1329665646","1329665448","1329665853"],"photo_ids_order":["1329665251","1329665448","1329665646","1329665853","1329665973","1329665977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3a114350cde3bf8e72ac4b527bdfe05.jpg","text":"TemporaryFile(/tmp/multipartBody958682801494107259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173918929,"filename":"image_18012025_05_17_02_383380_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bea851d090093eaeb5d757db6076e7c2.jpg","text":"TemporaryFile(/tmp/multipartBody2244807699812016148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173918929,"filename":"image_18012025_05_15_02_311966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1074ba7db3e660f526ff4e83385a4e03.jpg","text":"TemporaryFile(/tmp/multipartBody495721196508557628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173918929,"filename":"image_18012025_05_16_02_772941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/242f606cd68fdb160baa2df8b4bff5c5.jpg","text":"TemporaryFile(/tmp/multipartBody8534432903891636208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173918929,"filename":"image_18012025_05_16_02_772941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa854d78c38040ccc84cc8ae6b7626c1.jpg","text":"TemporaryFile(/tmp/multipartBody1217577712506428784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173918929,"filename":"image_18012025_05_16_02_772941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed43063b1d01b9fea085038e448d7db4.jpg","text":"TemporaryFile(/tmp/multipartBody5540557906562337991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173918929,"filename":"image_18012025_05_16_02_772941_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329665646","file1":"1329665448","file0":"1329665251","file4":"1329665973","file5":"1329665977","file3":"1329665853"},"map_files_photo_id_array":[{"photo_id":"1329665977","filename":"file5"},{"photo_id":"1329665646","filename":"file2"},{"photo_id":"1329665973","filename":"file4"},{"photo_id":"1329665448","filename":"file1"},{"photo_id":"1329665251","filename":"file0"},{"photo_id":"1329665853","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329665977":["hashtag1","hashtag2"]},{"1329665251":["hashtag1","hashtag2"]},{"1329665973":["hashtag1","hashtag2"]},{"1329665646":["hashtag1","hashtag2"]},{"1329665448":["hashtag1","hashtag2"]},{"1329665853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329665977, 1329665251, 1329665973, 1329665646, 1329665448, 1329665853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.92860460281372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:18:22.018467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/17/image_18012025_05_17_02_383380_0001.jpg', '/home/pi/Desktop/images/18012025/05/17/image_18012025_05_17_02_383380_0002.jpg', '/home/pi/Desktop/images/18012025/05/17/image_18012025_05_17_02_383380_0003.jpg', '/home/pi/Desktop/images/18012025/05/18/image_18012025_05_18_02_894692_0000.jpg', '/home/pi/Desktop/images/18012025/05/18/image_18012025_05_18_02_894692_0001.jpg', '/home/pi/Desktop/images/18012025/05/18/image_18012025_05_18_02_894692_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/17/image_18012025_05_17_02_383380_0001.jpg
/home/pi/Desktop/images/18012025/05/17/image_18012025_05_17_02_383380_0002.jpg
/home/pi/Desktop/images/18012025/05/17/image_18012025_05_17_02_383380_0003.jpg
/home/pi/Desktop/images/18012025/05/18/image_18012025_05_18_02_894692_0000.jpg
/home/pi/Desktop/images/18012025/05/18/image_18012025_05_18_02_894692_0001.jpg
/home/pi/Desktop/images/18012025/05/18/image_18012025_05_18_02_894692_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329665987","1329665995","1329665998","1329666007","1329666001","1329665991"],"photo_ids_order":["1329665987","1329665991","1329665995","1329665998","1329666001","1329666007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/efa0c50d9d15a5310e4bea349ad37710.jpg","text":"TemporaryFile(/tmp/multipartBody3703395640617944432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173978599,"filename":"image_18012025_05_17_02_383380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ff347f0643bb4b32d815786e2c55a97.jpg","text":"TemporaryFile(/tmp/multipartBody7090317117670576017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173978599,"filename":"image_18012025_05_17_02_383380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/303e45e0c4c40f374b366ca9afcd3b38.jpg","text":"TemporaryFile(/tmp/multipartBody7894680973054084498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173978599,"filename":"image_18012025_05_18_02_894692_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2a7526b595e1b0ae43e5c125018708b.jpg","text":"TemporaryFile(/tmp/multipartBody6611655282873901445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173978599,"filename":"image_18012025_05_18_02_894692_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4d33ee673a599f3b38feb24ae38f18b.jpg","text":"TemporaryFile(/tmp/multipartBody2889882398546971473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173978599,"filename":"image_18012025_05_18_02_894692_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f37ca71ddd96e3b57cd810a266c6c8e5.jpg","text":"TemporaryFile(/tmp/multipartBody2480761952207239017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737173978599,"filename":"image_18012025_05_17_02_383380_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329665995","file1":"1329665991","file0":"1329665987","file4":"1329666001","file5":"1329666007","file3":"1329665998"},"map_files_photo_id_array":[{"photo_id":"1329666007","filename":"file5"},{"photo_id":"1329665995","filename":"file2"},{"photo_id":"1329666001","filename":"file4"},{"photo_id":"1329665991","filename":"file1"},{"photo_id":"1329665987","filename":"file0"},{"photo_id":"1329665998","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329665987":["hashtag1","hashtag2"]},{"1329665995":["hashtag1","hashtag2"]},{"1329665998":["hashtag1","hashtag2"]},{"1329666007":["hashtag1","hashtag2"]},{"1329666001":["hashtag1","hashtag2"]},{"1329665991":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329665987, 1329665995, 1329665998, 1329666007, 1329666001, 1329665991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.59099721908569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:19:22.522632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/18/image_18012025_05_18_02_894692_0003.jpg', '/home/pi/Desktop/images/18012025/05/19/image_18012025_05_19_02_451082_0000.jpg', '/home/pi/Desktop/images/18012025/05/19/image_18012025_05_19_02_451082_0001.jpg', '/home/pi/Desktop/images/18012025/05/19/image_18012025_05_19_02_451082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/18/image_18012025_05_18_02_894692_0003.jpg
/home/pi/Desktop/images/18012025/05/19/image_18012025_05_19_02_451082_0000.jpg
/home/pi/Desktop/images/18012025/05/19/image_18012025_05_19_02_451082_0001.jpg
/home/pi/Desktop/images/18012025/05/19/image_18012025_05_19_02_451082_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329666419","1329666413","1329666295","1329666445"],"photo_ids_order":["1329666295","1329666413","1329666419","1329666445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7741f6c6e9d7361da9b8c15ba22a633b.jpg","text":"TemporaryFile(/tmp/multipartBody3907145023939123081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174033916,"filename":"image_18012025_05_19_02_451082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6bc18dc2e8a479699c1572eff2ad935a.jpg","text":"TemporaryFile(/tmp/multipartBody6767098143244851095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174033916,"filename":"image_18012025_05_19_02_451082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/94f2337c8e5bbf4091d1e2fc79edd1f0.jpg","text":"TemporaryFile(/tmp/multipartBody331066343453570342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174033916,"filename":"image_18012025_05_18_02_894692_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac1d1eecb3fc59bb4af5d576db8892fb.jpg","text":"TemporaryFile(/tmp/multipartBody1849726394501160121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174033916,"filename":"image_18012025_05_19_02_451082_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329666419","file1":"1329666413","file0":"1329666295","file3":"1329666445"},"map_files_photo_id_array":[{"photo_id":"1329666419","filename":"file2"},{"photo_id":"1329666413","filename":"file1"},{"photo_id":"1329666295","filename":"file0"},{"photo_id":"1329666445","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329666419":["hashtag1","hashtag2"]},{"1329666413":["hashtag1","hashtag2"]},{"1329666295":["hashtag1","hashtag2"]},{"1329666445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329666419, 1329666413, 1329666295, 1329666445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.0042839050293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:20:22.131348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/19/image_18012025_05_19_02_451082_0003.jpg', '/home/pi/Desktop/images/18012025/05/20/image_18012025_05_20_02_960977_0000.jpg', '/home/pi/Desktop/images/18012025/05/20/image_18012025_05_20_02_960977_0001.jpg', '/home/pi/Desktop/images/18012025/05/20/image_18012025_05_20_02_960977_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/19/image_18012025_05_19_02_451082_0003.jpg
/home/pi/Desktop/images/18012025/05/20/image_18012025_05_20_02_960977_0000.jpg
/home/pi/Desktop/images/18012025/05/20/image_18012025_05_20_02_960977_0001.jpg
/home/pi/Desktop/images/18012025/05/20/image_18012025_05_20_02_960977_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329667138","1329666984","1329667056","1329667250"],"photo_ids_order":["1329666984","1329667056","1329667138","1329667250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ee7567233428dcad92d7d2b3b483bf1.jpg","text":"TemporaryFile(/tmp/multipartBody1017122199458778182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174093263,"filename":"image_18012025_05_20_02_960977_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/52ae64b0e65c754678bb020eab84a443.jpg","text":"TemporaryFile(/tmp/multipartBody1771643972101740202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174093263,"filename":"image_18012025_05_19_02_451082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c47202b5f198c0778ff7f46da73cc8d8.jpg","text":"TemporaryFile(/tmp/multipartBody7865439343365805737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174093263,"filename":"image_18012025_05_20_02_960977_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/395a45627f01180c24361754a722921f.jpg","text":"TemporaryFile(/tmp/multipartBody546192769714457171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174093263,"filename":"image_18012025_05_20_02_960977_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329667138","file1":"1329667056","file0":"1329666984","file3":"1329667250"},"map_files_photo_id_array":[{"photo_id":"1329667138","filename":"file2"},{"photo_id":"1329667056","filename":"file1"},{"photo_id":"1329666984","filename":"file0"},{"photo_id":"1329667250","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329667138":["hashtag1","hashtag2"]},{"1329666984":["hashtag1","hashtag2"]},{"1329667056":["hashtag1","hashtag2"]},{"1329667250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329667138, 1329666984, 1329667056, 1329667250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.27157926559448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:21:22.570853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/20/image_18012025_05_20_02_960977_0003.jpg', '/home/pi/Desktop/images/18012025/05/21/image_18012025_05_21_02_470533_0000.jpg', '/home/pi/Desktop/images/18012025/05/21/image_18012025_05_21_02_470533_0001.jpg', '/home/pi/Desktop/images/18012025/05/21/image_18012025_05_21_02_470533_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/20/image_18012025_05_20_02_960977_0003.jpg
/home/pi/Desktop/images/18012025/05/21/image_18012025_05_21_02_470533_0000.jpg
/home/pi/Desktop/images/18012025/05/21/image_18012025_05_21_02_470533_0001.jpg
/home/pi/Desktop/images/18012025/05/21/image_18012025_05_21_02_470533_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329667504","1329667506","1329667509","1329667500"],"photo_ids_order":["1329667500","1329667504","1329667506","1329667509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cb40d06774d84a6095b525e74e1b3a8c.jpg","text":"TemporaryFile(/tmp/multipartBody7141608036246319336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174153436,"filename":"image_18012025_05_21_02_470533_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/43fa50e9496491f8332c3dfbea33acb6.jpg","text":"TemporaryFile(/tmp/multipartBody4276058090388803923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174153436,"filename":"image_18012025_05_21_02_470533_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4de12c390d9e3130b177eda6371b2dc2.jpg","text":"TemporaryFile(/tmp/multipartBody5946681670311399583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174153436,"filename":"image_18012025_05_21_02_470533_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dcf8a2b7f74b7ad2316b9378c404bb0b.jpg","text":"TemporaryFile(/tmp/multipartBody9125833566197189664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174153436,"filename":"image_18012025_05_20_02_960977_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329667506","file1":"1329667504","file0":"1329667500","file3":"1329667509"},"map_files_photo_id_array":[{"photo_id":"1329667506","filename":"file2"},{"photo_id":"1329667504","filename":"file1"},{"photo_id":"1329667500","filename":"file0"},{"photo_id":"1329667509","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329667504":["hashtag1","hashtag2"]},{"1329667506":["hashtag1","hashtag2"]},{"1329667509":["hashtag1","hashtag2"]},{"1329667500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329667504, 1329667506, 1329667509, 1329667500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.86658787727356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:22:22.058013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/21/image_18012025_05_21_02_470533_0003.jpg', '/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0000.jpg', '/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0001.jpg', '/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/21/image_18012025_05_21_02_470533_0003.jpg
/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0000.jpg
/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0001.jpg
/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.790077209472656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:23:03.288970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/21/image_18012025_05_21_02_470533_0003.jpg', '/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0000.jpg', '/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0001.jpg', '/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/21/image_18012025_05_21_02_470533_0003.jpg
/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0000.jpg
/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0001.jpg
/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329668038","1329667998","1329668048","1329667905"],"photo_ids_order":["1329667905","1329667998","1329668038","1329668048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/78c3ff1d846e06efdcf725262c07c1af.jpg","text":"TemporaryFile(/tmp/multipartBody2032901740870543696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174254534,"filename":"image_18012025_05_22_02_926119_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/038310c0a19328a182795f28a63a4309.jpg","text":"TemporaryFile(/tmp/multipartBody4626497606294283940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174254534,"filename":"image_18012025_05_22_02_926119_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d67db08e3c70d533dc83a3fdff675f4c.jpg","text":"TemporaryFile(/tmp/multipartBody396457352696370661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174254534,"filename":"image_18012025_05_22_02_926119_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/585d69c6d9a400d74939732682233143.jpg","text":"TemporaryFile(/tmp/multipartBody6376774740201769161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174254534,"filename":"image_18012025_05_21_02_470533_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329668038","file1":"1329667998","file0":"1329667905","file3":"1329668048"},"map_files_photo_id_array":[{"photo_id":"1329668038","filename":"file2"},{"photo_id":"1329667998","filename":"file1"},{"photo_id":"1329667905","filename":"file0"},{"photo_id":"1329668048","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329668038":["hashtag1","hashtag2"]},{"1329667998":["hashtag1","hashtag2"]},{"1329668048":["hashtag1","hashtag2"]},{"1329667905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329668038, 1329667998, 1329668048, 1329667905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.04253005981445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:24:02.580758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0003.jpg', '/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0000.jpg', '/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0001.jpg', '/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0003.jpg
/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0000.jpg
/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0001.jpg
/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.702078342437744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:24:22.199624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0003.jpg', '/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0000.jpg', '/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0001.jpg', '/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0002.jpg', '/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0003.jpg', '/home/pi/Desktop/images/18012025/05/24/image_18012025_05_24_03_029029_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/22/image_18012025_05_22_02_926119_0003.jpg
/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0000.jpg
/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0001.jpg
/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0002.jpg
/home/pi/Desktop/images/18012025/05/23/image_18012025_05_23_02_468404_0003.jpg
/home/pi/Desktop/images/18012025/05/24/image_18012025_05_24_03_029029_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329668557","1329668550","1329668564","1329668543","1329668615","1329668590"],"photo_ids_order":["1329668543","1329668550","1329668557","1329668564","1329668590","1329668615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e5d55003852c0918c5b35f98e7c93cd.jpg","text":"TemporaryFile(/tmp/multipartBody262825899608070522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174338474,"filename":"image_18012025_05_23_02_468404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dce2de4d81a9e8ced0582b035dbc325e.jpg","text":"TemporaryFile(/tmp/multipartBody1946936626362700523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174338474,"filename":"image_18012025_05_23_02_468404_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9c0984f8d6a5abde07ad39e8de42b3b.jpg","text":"TemporaryFile(/tmp/multipartBody4654243188141701229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174338474,"filename":"image_18012025_05_23_02_468404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6cae5a524ab2a10299077bbe1d5da82.jpg","text":"TemporaryFile(/tmp/multipartBody6012336108341002643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174338474,"filename":"image_18012025_05_22_02_926119_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a34582a392035ba9c184aae7c8eef01e.jpg","text":"TemporaryFile(/tmp/multipartBody6321633986845792433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174338474,"filename":"image_18012025_05_24_03_029029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/773ae7ee35e4f6657254ab0dec1d5701.jpg","text":"TemporaryFile(/tmp/multipartBody7465731898569794452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174338474,"filename":"image_18012025_05_23_02_468404_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329668557","file1":"1329668550","file0":"1329668543","file4":"1329668590","file5":"1329668615","file3":"1329668564"},"map_files_photo_id_array":[{"photo_id":"1329668615","filename":"file5"},{"photo_id":"1329668557","filename":"file2"},{"photo_id":"1329668590","filename":"file4"},{"photo_id":"1329668550","filename":"file1"},{"photo_id":"1329668543","filename":"file0"},{"photo_id":"1329668564","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329668557":["hashtag1","hashtag2"]},{"1329668550":["hashtag1","hashtag2"]},{"1329668564":["hashtag1","hashtag2"]},{"1329668543":["hashtag1","hashtag2"]},{"1329668615":["hashtag1","hashtag2"]},{"1329668590":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329668557, 1329668550, 1329668564, 1329668543, 1329668615, 1329668590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.21325159072876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:25:22.748889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/24/image_18012025_05_24_03_029029_0001.jpg', '/home/pi/Desktop/images/18012025/05/24/image_18012025_05_24_03_029029_0002.jpg', '/home/pi/Desktop/images/18012025/05/24/image_18012025_05_24_03_029029_0003.jpg', '/home/pi/Desktop/images/18012025/05/25/image_18012025_05_25_02_585862_0000.jpg', '/home/pi/Desktop/images/18012025/05/25/image_18012025_05_25_02_585862_0001.jpg', '/home/pi/Desktop/images/18012025/05/25/image_18012025_05_25_02_585862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/24/image_18012025_05_24_03_029029_0001.jpg
/home/pi/Desktop/images/18012025/05/24/image_18012025_05_24_03_029029_0002.jpg
/home/pi/Desktop/images/18012025/05/24/image_18012025_05_24_03_029029_0003.jpg
/home/pi/Desktop/images/18012025/05/25/image_18012025_05_25_02_585862_0000.jpg
/home/pi/Desktop/images/18012025/05/25/image_18012025_05_25_02_585862_0001.jpg
/home/pi/Desktop/images/18012025/05/25/image_18012025_05_25_02_585862_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329668653","1329668644","1329668661","1329668664","1329668649","1329668657"],"photo_ids_order":["1329668644","1329668649","1329668653","1329668657","1329668661","1329668664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/532ebb4f5875d8a92576d8c8093dccdd.jpg","text":"TemporaryFile(/tmp/multipartBody5189230492780640987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174398889,"filename":"image_18012025_05_24_03_029029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/851eb280a80f436aecabced9cca6ba69.jpg","text":"TemporaryFile(/tmp/multipartBody5104733587627871983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174398889,"filename":"image_18012025_05_24_03_029029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4475db3c6dd3f5e513311e51da80c49b.jpg","text":"TemporaryFile(/tmp/multipartBody9034484866658608577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174398889,"filename":"image_18012025_05_25_02_585862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b705a78f10c9513377f8cafb02c28d9e.jpg","text":"TemporaryFile(/tmp/multipartBody6887562617219016887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174398889,"filename":"image_18012025_05_25_02_585862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/85adeed4814d740120adb68921acbe6d.jpg","text":"TemporaryFile(/tmp/multipartBody746891242600995532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174398889,"filename":"image_18012025_05_24_03_029029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/02af1c0212f560d2b07316305118a0c0.jpg","text":"TemporaryFile(/tmp/multipartBody5349861887391660645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174398889,"filename":"image_18012025_05_25_02_585862_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329668653","file1":"1329668649","file0":"1329668644","file4":"1329668661","file5":"1329668664","file3":"1329668657"},"map_files_photo_id_array":[{"photo_id":"1329668664","filename":"file5"},{"photo_id":"1329668653","filename":"file2"},{"photo_id":"1329668661","filename":"file4"},{"photo_id":"1329668649","filename":"file1"},{"photo_id":"1329668644","filename":"file0"},{"photo_id":"1329668657","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329668653":["hashtag1","hashtag2"]},{"1329668644":["hashtag1","hashtag2"]},{"1329668661":["hashtag1","hashtag2"]},{"1329668664":["hashtag1","hashtag2"]},{"1329668649":["hashtag1","hashtag2"]},{"1329668657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329668653, 1329668644, 1329668661, 1329668664, 1329668649, 1329668657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.98235511779785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:26:22.286757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/25/image_18012025_05_25_02_585862_0003.jpg', '/home/pi/Desktop/images/18012025/05/26/image_18012025_05_26_03_100357_0000.jpg', '/home/pi/Desktop/images/18012025/05/26/image_18012025_05_26_03_100357_0001.jpg', '/home/pi/Desktop/images/18012025/05/26/image_18012025_05_26_03_100357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/25/image_18012025_05_25_02_585862_0003.jpg
/home/pi/Desktop/images/18012025/05/26/image_18012025_05_26_03_100357_0000.jpg
/home/pi/Desktop/images/18012025/05/26/image_18012025_05_26_03_100357_0001.jpg
/home/pi/Desktop/images/18012025/05/26/image_18012025_05_26_03_100357_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329668679","1329668672","1329668675","1329668683"],"photo_ids_order":["1329668672","1329668675","1329668679","1329668683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8fd9f5c2c105a8f9c1379a50504b4d8b.jpg","text":"TemporaryFile(/tmp/multipartBody7945742792444144261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174453172,"filename":"image_18012025_05_26_03_100357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d935e0afe46077ba0497764c6e5f6fd.jpg","text":"TemporaryFile(/tmp/multipartBody5873585786900534885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174453172,"filename":"image_18012025_05_25_02_585862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b88c905ddfd3d2a19e8b42de7ae92fbd.jpg","text":"TemporaryFile(/tmp/multipartBody6798683249137016342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174453172,"filename":"image_18012025_05_26_03_100357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc32d0bb3bc8c2aaaabe076075393466.jpg","text":"TemporaryFile(/tmp/multipartBody5026465789064303935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174453172,"filename":"image_18012025_05_26_03_100357_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329668679","file1":"1329668675","file0":"1329668672","file3":"1329668683"},"map_files_photo_id_array":[{"photo_id":"1329668679","filename":"file2"},{"photo_id":"1329668675","filename":"file1"},{"photo_id":"1329668672","filename":"file0"},{"photo_id":"1329668683","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329668679":["hashtag1","hashtag2"]},{"1329668672":["hashtag1","hashtag2"]},{"1329668675":["hashtag1","hashtag2"]},{"1329668683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329668679, 1329668672, 1329668675, 1329668683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.38940119743347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:27:21.748447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/26/image_18012025_05_26_03_100357_0003.jpg', '/home/pi/Desktop/images/18012025/05/27/image_18012025_05_27_02_627080_0000.jpg', '/home/pi/Desktop/images/18012025/05/27/image_18012025_05_27_02_627080_0001.jpg', '/home/pi/Desktop/images/18012025/05/27/image_18012025_05_27_02_627080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/26/image_18012025_05_26_03_100357_0003.jpg
/home/pi/Desktop/images/18012025/05/27/image_18012025_05_27_02_627080_0000.jpg
/home/pi/Desktop/images/18012025/05/27/image_18012025_05_27_02_627080_0001.jpg
/home/pi/Desktop/images/18012025/05/27/image_18012025_05_27_02_627080_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329668719","1329668710","1329668704","1329668712"],"photo_ids_order":["1329668704","1329668710","1329668712","1329668719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/853ac209b83143b205f390e7762ef372.jpg","text":"TemporaryFile(/tmp/multipartBody9213023601835252968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174513068,"filename":"image_18012025_05_27_02_627080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a4582fdd21d76f675d71b90157dea66.jpg","text":"TemporaryFile(/tmp/multipartBody559613447353586268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174513068,"filename":"image_18012025_05_27_02_627080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/739f914d101aa600ef8e32b43ae82797.jpg","text":"TemporaryFile(/tmp/multipartBody6533451971501480241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174513068,"filename":"image_18012025_05_26_03_100357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b63eb376f3a46185878d14b07e8541b.jpg","text":"TemporaryFile(/tmp/multipartBody7726868038941303986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174513068,"filename":"image_18012025_05_27_02_627080_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329668712","file1":"1329668710","file0":"1329668704","file3":"1329668719"},"map_files_photo_id_array":[{"photo_id":"1329668712","filename":"file2"},{"photo_id":"1329668710","filename":"file1"},{"photo_id":"1329668704","filename":"file0"},{"photo_id":"1329668719","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329668719":["hashtag1","hashtag2"]},{"1329668710":["hashtag1","hashtag2"]},{"1329668704":["hashtag1","hashtag2"]},{"1329668712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329668719, 1329668710, 1329668704, 1329668712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.063984632492065 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:28:22.343334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/27/image_18012025_05_27_02_627080_0003.jpg', '/home/pi/Desktop/images/18012025/05/28/image_18012025_05_28_02_214662_0000.jpg', '/home/pi/Desktop/images/18012025/05/28/image_18012025_05_28_02_214662_0001.jpg', '/home/pi/Desktop/images/18012025/05/28/image_18012025_05_28_02_214662_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/27/image_18012025_05_27_02_627080_0003.jpg
/home/pi/Desktop/images/18012025/05/28/image_18012025_05_28_02_214662_0000.jpg
/home/pi/Desktop/images/18012025/05/28/image_18012025_05_28_02_214662_0001.jpg
/home/pi/Desktop/images/18012025/05/28/image_18012025_05_28_02_214662_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329669403","1329669246","1329669197","1329669311"],"photo_ids_order":["1329669197","1329669246","1329669311","1329669403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a5eea65634cc0890e4dfc15dde6b412a.jpg","text":"TemporaryFile(/tmp/multipartBody7425551357860056398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174573442,"filename":"image_18012025_05_28_02_214662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/887f4ba5529474463ac84331304630b1.jpg","text":"TemporaryFile(/tmp/multipartBody8613965346842479754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174573442,"filename":"image_18012025_05_28_02_214662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4b19e11ef318558413f72e7b275b1c4f.jpg","text":"TemporaryFile(/tmp/multipartBody3790650995854841682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174573442,"filename":"image_18012025_05_27_02_627080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b49ff3177e27117a165e466fedb9d125.jpg","text":"TemporaryFile(/tmp/multipartBody1935660222027174178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174573442,"filename":"image_18012025_05_28_02_214662_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329669311","file1":"1329669246","file0":"1329669197","file3":"1329669403"},"map_files_photo_id_array":[{"photo_id":"1329669311","filename":"file2"},{"photo_id":"1329669246","filename":"file1"},{"photo_id":"1329669197","filename":"file0"},{"photo_id":"1329669403","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329669403":["hashtag1","hashtag2"]},{"1329669246":["hashtag1","hashtag2"]},{"1329669197":["hashtag1","hashtag2"]},{"1329669311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329669403, 1329669246, 1329669197, 1329669311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.27927231788635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:29:21.877860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/28/image_18012025_05_28_02_214662_0003.jpg', '/home/pi/Desktop/images/18012025/05/29/image_18012025_05_29_02_783786_0000.jpg', '/home/pi/Desktop/images/18012025/05/29/image_18012025_05_29_02_783786_0001.jpg', '/home/pi/Desktop/images/18012025/05/29/image_18012025_05_29_02_783786_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/28/image_18012025_05_28_02_214662_0003.jpg
/home/pi/Desktop/images/18012025/05/29/image_18012025_05_29_02_783786_0000.jpg
/home/pi/Desktop/images/18012025/05/29/image_18012025_05_29_02_783786_0001.jpg
/home/pi/Desktop/images/18012025/05/29/image_18012025_05_29_02_783786_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329669822","1329669857","1329669851","1329669854"],"photo_ids_order":["1329669822","1329669851","1329669854","1329669857"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bae2d3ade58e4353ea7c3d4236d16142.jpg","text":"TemporaryFile(/tmp/multipartBody2959863513196853894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174633042,"filename":"image_18012025_05_28_02_214662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0080845b44ef007cc6a1ece950f443f.jpg","text":"TemporaryFile(/tmp/multipartBody9084860282530822531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174633042,"filename":"image_18012025_05_29_02_783786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4b30e96e117fd087c4030a2d3d1d824b.jpg","text":"TemporaryFile(/tmp/multipartBody4118842000857789402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174633042,"filename":"image_18012025_05_29_02_783786_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74f3aa0b8fb365d7b8fbad96ca2c4116.jpg","text":"TemporaryFile(/tmp/multipartBody2795598801804782818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174633042,"filename":"image_18012025_05_29_02_783786_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329669854","file1":"1329669851","file0":"1329669822","file3":"1329669857"},"map_files_photo_id_array":[{"photo_id":"1329669854","filename":"file2"},{"photo_id":"1329669851","filename":"file1"},{"photo_id":"1329669822","filename":"file0"},{"photo_id":"1329669857","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329669822":["hashtag1","hashtag2"]},{"1329669857":["hashtag1","hashtag2"]},{"1329669851":["hashtag1","hashtag2"]},{"1329669854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329669822, 1329669857, 1329669851, 1329669854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.90891766548157 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-18 05:30:22.391068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/29/image_18012025_05_29_02_783786_0003.jpg', '/home/pi/Desktop/images/18012025/05/30/image_18012025_05_30_02_298311_0000.jpg', '/home/pi/Desktop/images/18012025/05/30/image_18012025_05_30_02_298311_0001.jpg', '/home/pi/Desktop/images/18012025/05/30/image_18012025_05_30_02_298311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/29/image_18012025_05_29_02_783786_0003.jpg
/home/pi/Desktop/images/18012025/05/30/image_18012025_05_30_02_298311_0000.jpg
/home/pi/Desktop/images/18012025/05/30/image_18012025_05_30_02_298311_0001.jpg
/home/pi/Desktop/images/18012025/05/30/image_18012025_05_30_02_298311_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329670169","1329670223","1329670205","1329670133"],"photo_ids_order":["1329670133","1329670169","1329670205","1329670223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c80c04bde2e3e649d97148a528fc1733.jpg","text":"TemporaryFile(/tmp/multipartBody7600951372305729760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174693585,"filename":"image_18012025_05_30_02_298311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e4dee895cde98143855e3c759cb9cbd3.jpg","text":"TemporaryFile(/tmp/multipartBody5964922085568190560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174693585,"filename":"image_18012025_05_30_02_298311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2065d103b8e4fda868c894c33b80fd34.jpg","text":"TemporaryFile(/tmp/multipartBody7624224143416205749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174693585,"filename":"image_18012025_05_30_02_298311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/273ea8bc7a81e4e68d984dfc9b14e2dd.jpg","text":"TemporaryFile(/tmp/multipartBody6803482398830909102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174693585,"filename":"image_18012025_05_29_02_783786_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329670205","file1":"1329670169","file0":"1329670133","file3":"1329670223"},"map_files_photo_id_array":[{"photo_id":"1329670205","filename":"file2"},{"photo_id":"1329670169","filename":"file1"},{"photo_id":"1329670133","filename":"file0"},{"photo_id":"1329670223","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329670169":["hashtag1","hashtag2"]},{"1329670223":["hashtag1","hashtag2"]},{"1329670205":["hashtag1","hashtag2"]},{"1329670133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329670169, 1329670223, 1329670205, 1329670133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.65530037879944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:31:21.877115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/30/image_18012025_05_30_02_298311_0003.jpg', '/home/pi/Desktop/images/18012025/05/31/image_18012025_05_31_02_770808_0000.jpg', '/home/pi/Desktop/images/18012025/05/31/image_18012025_05_31_02_770808_0001.jpg', '/home/pi/Desktop/images/18012025/05/31/image_18012025_05_31_02_770808_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/30/image_18012025_05_30_02_298311_0003.jpg
/home/pi/Desktop/images/18012025/05/31/image_18012025_05_31_02_770808_0000.jpg
/home/pi/Desktop/images/18012025/05/31/image_18012025_05_31_02_770808_0001.jpg
/home/pi/Desktop/images/18012025/05/31/image_18012025_05_31_02_770808_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329670438","1329670417","1329670434","1329670422"],"photo_ids_order":["1329670417","1329670422","1329670434","1329670438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2db4df647e66d4431a298fab0998d964.jpg","text":"TemporaryFile(/tmp/multipartBody6313420891653477156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174752822,"filename":"image_18012025_05_31_02_770808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a77d3bd4b534c94d540c93762268ff3.jpg","text":"TemporaryFile(/tmp/multipartBody2329073969006666091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174752822,"filename":"image_18012025_05_30_02_298311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/69b69f345b648a02d108bb04be289bd7.jpg","text":"TemporaryFile(/tmp/multipartBody2320030561487510796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174752822,"filename":"image_18012025_05_31_02_770808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/30722e08678693d4b364ee77cad8fefd.jpg","text":"TemporaryFile(/tmp/multipartBody4267055380526938025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174752822,"filename":"image_18012025_05_31_02_770808_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329670434","file1":"1329670422","file0":"1329670417","file3":"1329670438"},"map_files_photo_id_array":[{"photo_id":"1329670434","filename":"file2"},{"photo_id":"1329670422","filename":"file1"},{"photo_id":"1329670417","filename":"file0"},{"photo_id":"1329670438","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329670438":["hashtag1","hashtag2"]},{"1329670417":["hashtag1","hashtag2"]},{"1329670434":["hashtag1","hashtag2"]},{"1329670422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329670438, 1329670417, 1329670434, 1329670422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.774709939956665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:32:22.410682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/31/image_18012025_05_31_02_770808_0003.jpg', '/home/pi/Desktop/images/18012025/05/32/image_18012025_05_32_02_277584_0000.jpg', '/home/pi/Desktop/images/18012025/05/32/image_18012025_05_32_02_277584_0001.jpg', '/home/pi/Desktop/images/18012025/05/32/image_18012025_05_32_02_277584_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/31/image_18012025_05_31_02_770808_0003.jpg
/home/pi/Desktop/images/18012025/05/32/image_18012025_05_32_02_277584_0000.jpg
/home/pi/Desktop/images/18012025/05/32/image_18012025_05_32_02_277584_0001.jpg
/home/pi/Desktop/images/18012025/05/32/image_18012025_05_32_02_277584_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329670549","1329670540","1329670533","1329670514"],"photo_ids_order":["1329670514","1329670533","1329670540","1329670549"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/046d2b2a081ec8f3ba95501ed7726db0.jpg","text":"TemporaryFile(/tmp/multipartBody8034088395034041070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174813485,"filename":"image_18012025_05_32_02_277584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/45f10dc1a41a93323584c543813f9c9b.jpg","text":"TemporaryFile(/tmp/multipartBody4816996778894805064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174813485,"filename":"image_18012025_05_32_02_277584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c9b6e2d4fd3007e0607f7fb54d28b404.jpg","text":"TemporaryFile(/tmp/multipartBody4411356385171170611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174813485,"filename":"image_18012025_05_32_02_277584_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c77827a5933c8b50c95379399b86b00f.jpg","text":"TemporaryFile(/tmp/multipartBody2410226959764716575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174813485,"filename":"image_18012025_05_31_02_770808_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329670540","file1":"1329670533","file0":"1329670514","file3":"1329670549"},"map_files_photo_id_array":[{"photo_id":"1329670540","filename":"file2"},{"photo_id":"1329670533","filename":"file1"},{"photo_id":"1329670514","filename":"file0"},{"photo_id":"1329670549","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329670549":["hashtag1","hashtag2"]},{"1329670540":["hashtag1","hashtag2"]},{"1329670533":["hashtag1","hashtag2"]},{"1329670514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329670549, 1329670540, 1329670533, 1329670514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.35261654853821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:33:21.864059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/32/image_18012025_05_32_02_277584_0003.jpg', '/home/pi/Desktop/images/18012025/05/33/image_18012025_05_33_02_776314_0000.jpg', '/home/pi/Desktop/images/18012025/05/33/image_18012025_05_33_02_776314_0001.jpg', '/home/pi/Desktop/images/18012025/05/33/image_18012025_05_33_02_776314_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/32/image_18012025_05_32_02_277584_0003.jpg
/home/pi/Desktop/images/18012025/05/33/image_18012025_05_33_02_776314_0000.jpg
/home/pi/Desktop/images/18012025/05/33/image_18012025_05_33_02_776314_0001.jpg
/home/pi/Desktop/images/18012025/05/33/image_18012025_05_33_02_776314_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329670717","1329670797","1329671000","1329670894"],"photo_ids_order":["1329670717","1329670797","1329670894","1329671000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/37304afe9695f9d5893fa7be05cc50e1.jpg","text":"TemporaryFile(/tmp/multipartBody840492918999742246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174873609,"filename":"image_18012025_05_32_02_277584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67fd2bb6b9f8ae9e6e2b45fedc340390.jpg","text":"TemporaryFile(/tmp/multipartBody3311417206992069955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174873609,"filename":"image_18012025_05_33_02_776314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac3548b01bcefb8fd926a89799b90a3c.jpg","text":"TemporaryFile(/tmp/multipartBody4934041455709637411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174873609,"filename":"image_18012025_05_33_02_776314_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff9524e0fe69c8d79fc903063242d6e5.jpg","text":"TemporaryFile(/tmp/multipartBody3211459129326513189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174873609,"filename":"image_18012025_05_33_02_776314_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329670894","file1":"1329670797","file0":"1329670717","file3":"1329671000"},"map_files_photo_id_array":[{"photo_id":"1329670894","filename":"file2"},{"photo_id":"1329670797","filename":"file1"},{"photo_id":"1329670717","filename":"file0"},{"photo_id":"1329671000","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329670717":["hashtag1","hashtag2"]},{"1329670797":["hashtag1","hashtag2"]},{"1329671000":["hashtag1","hashtag2"]},{"1329670894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329670717, 1329670797, 1329671000, 1329670894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.54126262664795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:34:22.478305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/33/image_18012025_05_33_02_776314_0003.jpg', '/home/pi/Desktop/images/18012025/05/34/image_18012025_05_34_02_321649_0000.jpg', '/home/pi/Desktop/images/18012025/05/34/image_18012025_05_34_02_321649_0001.jpg', '/home/pi/Desktop/images/18012025/05/34/image_18012025_05_34_02_321649_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/33/image_18012025_05_33_02_776314_0003.jpg
/home/pi/Desktop/images/18012025/05/34/image_18012025_05_34_02_321649_0000.jpg
/home/pi/Desktop/images/18012025/05/34/image_18012025_05_34_02_321649_0001.jpg
/home/pi/Desktop/images/18012025/05/34/image_18012025_05_34_02_321649_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329671643","1329671616","1329671648","1329671516"],"photo_ids_order":["1329671516","1329671616","1329671643","1329671648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe7786176dd740e49ace30f8a9a3ded8.jpg","text":"TemporaryFile(/tmp/multipartBody2616078220133123431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174933752,"filename":"image_18012025_05_34_02_321649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/58bb2cf7c0f6aefc646a5d244773d441.jpg","text":"TemporaryFile(/tmp/multipartBody4325964565029168854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174933752,"filename":"image_18012025_05_34_02_321649_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e11bb5239fdddf5a76a627c35cc86fcd.jpg","text":"TemporaryFile(/tmp/multipartBody5145501742862414737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174933752,"filename":"image_18012025_05_34_02_321649_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a6c131980b1f7cb733dcce48420a720.jpg","text":"TemporaryFile(/tmp/multipartBody3161624827825714692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174933752,"filename":"image_18012025_05_33_02_776314_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329671643","file1":"1329671616","file0":"1329671516","file3":"1329671648"},"map_files_photo_id_array":[{"photo_id":"1329671643","filename":"file2"},{"photo_id":"1329671616","filename":"file1"},{"photo_id":"1329671516","filename":"file0"},{"photo_id":"1329671648","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329671643":["hashtag1","hashtag2"]},{"1329671616":["hashtag1","hashtag2"]},{"1329671648":["hashtag1","hashtag2"]},{"1329671516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329671643, 1329671616, 1329671648, 1329671516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.358837366104126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:35:22.337782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/34/image_18012025_05_34_02_321649_0003.jpg', '/home/pi/Desktop/images/18012025/05/35/image_18012025_05_35_02_806151_0000.jpg', '/home/pi/Desktop/images/18012025/05/35/image_18012025_05_35_02_806151_0001.jpg', '/home/pi/Desktop/images/18012025/05/35/image_18012025_05_35_02_806151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/34/image_18012025_05_34_02_321649_0003.jpg
/home/pi/Desktop/images/18012025/05/35/image_18012025_05_35_02_806151_0000.jpg
/home/pi/Desktop/images/18012025/05/35/image_18012025_05_35_02_806151_0001.jpg
/home/pi/Desktop/images/18012025/05/35/image_18012025_05_35_02_806151_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329671672","1329671669","1329671663","1329671666"],"photo_ids_order":["1329671663","1329671666","1329671669","1329671672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d39c6966fffb662d5f92de61914f636d.jpg","text":"TemporaryFile(/tmp/multipartBody4691147246177195671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174993389,"filename":"image_18012025_05_35_02_806151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4856a4b6d7e016aa4153742e84ba0c6a.jpg","text":"TemporaryFile(/tmp/multipartBody4164607081857929684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174993389,"filename":"image_18012025_05_35_02_806151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/841756a7f4a44d2724130fae5f169a54.jpg","text":"TemporaryFile(/tmp/multipartBody9134316830220017320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174993389,"filename":"image_18012025_05_34_02_321649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04c5d60c3a9665a9fd5d7727adf70245.jpg","text":"TemporaryFile(/tmp/multipartBody7993298066246078872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737174993389,"filename":"image_18012025_05_35_02_806151_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329671669","file1":"1329671666","file0":"1329671663","file3":"1329671672"},"map_files_photo_id_array":[{"photo_id":"1329671669","filename":"file2"},{"photo_id":"1329671666","filename":"file1"},{"photo_id":"1329671663","filename":"file0"},{"photo_id":"1329671672","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329671672":["hashtag1","hashtag2"]},{"1329671669":["hashtag1","hashtag2"]},{"1329671663":["hashtag1","hashtag2"]},{"1329671666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329671672, 1329671669, 1329671663, 1329671666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66528916358948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:36:21.901652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/35/image_18012025_05_35_02_806151_0003.jpg', '/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0000.jpg', '/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0001.jpg', '/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/35/image_18012025_05_35_02_806151_0003.jpg
/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0000.jpg
/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0001.jpg
/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.69585394859314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:37:02.957979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/35/image_18012025_05_35_02_806151_0003.jpg', '/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0000.jpg', '/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0001.jpg', '/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/35/image_18012025_05_35_02_806151_0003.jpg
/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0000.jpg
/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0001.jpg
/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329672558","1329672554","1329672550","1329672556"],"photo_ids_order":["1329672550","1329672554","1329672556","1329672558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/121ac9f87fd93fe770b445c10062f252.jpg","text":"TemporaryFile(/tmp/multipartBody209072950809040404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175094146,"filename":"image_18012025_05_36_02_739596_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/07c326d8cb05f4837380ce53950f2eac.jpg","text":"TemporaryFile(/tmp/multipartBody7836186019437059582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175094146,"filename":"image_18012025_05_36_02_739596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89a470948d962f6615ef62d6834a2e3b.jpg","text":"TemporaryFile(/tmp/multipartBody3034591735138595020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175094146,"filename":"image_18012025_05_35_02_806151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a5da446a015fc7845ac4e6ac61bf6442.jpg","text":"TemporaryFile(/tmp/multipartBody1478138691922165737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175094146,"filename":"image_18012025_05_36_02_739596_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329672556","file1":"1329672554","file0":"1329672550","file3":"1329672558"},"map_files_photo_id_array":[{"photo_id":"1329672556","filename":"file2"},{"photo_id":"1329672554","filename":"file1"},{"photo_id":"1329672550","filename":"file0"},{"photo_id":"1329672558","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329672558":["hashtag1","hashtag2"]},{"1329672554":["hashtag1","hashtag2"]},{"1329672550":["hashtag1","hashtag2"]},{"1329672556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329672558, 1329672554, 1329672550, 1329672556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.93327760696411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:38:02.496978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0003.jpg', '/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0000.jpg', '/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0001.jpg', '/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0003.jpg
/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0000.jpg
/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0001.jpg
/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.41979455947876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:38:22.011664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0003.jpg', '/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0000.jpg', '/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0001.jpg', '/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0002.jpg', '/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0003.jpg', '/home/pi/Desktop/images/18012025/05/38/image_18012025_05_38_02_778323_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/36/image_18012025_05_36_02_739596_0003.jpg
/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0000.jpg
/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0001.jpg
/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0002.jpg
/home/pi/Desktop/images/18012025/05/37/image_18012025_05_37_02_246102_0003.jpg
/home/pi/Desktop/images/18012025/05/38/image_18012025_05_38_02_778323_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329672705","1329672716","1329672701","1329672719","1329672724","1329672721"],"photo_ids_order":["1329672701","1329672705","1329672716","1329672719","1329672721","1329672724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/394412bd75a14f613a3da0283d296b21.jpg","text":"TemporaryFile(/tmp/multipartBody518748622998054819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175178384,"filename":"image_18012025_05_37_02_246102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39f121fe4687f77f95968d46bdc94de3.jpg","text":"TemporaryFile(/tmp/multipartBody3930179787637047567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175178384,"filename":"image_18012025_05_37_02_246102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a55d7840801570b31241b202b1404e5f.jpg","text":"TemporaryFile(/tmp/multipartBody3339377647605750527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175178384,"filename":"image_18012025_05_36_02_739596_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d11cf7e9a15a5957403406d2fc9f472f.jpg","text":"TemporaryFile(/tmp/multipartBody2410410242822207887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175178384,"filename":"image_18012025_05_37_02_246102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e241e469b8458684a1f6a08d894293c.jpg","text":"TemporaryFile(/tmp/multipartBody7882849707562941457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175178384,"filename":"image_18012025_05_38_02_778323_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4e164020113c59792d5509fc3096c0c1.jpg","text":"TemporaryFile(/tmp/multipartBody1898969481013149183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175178384,"filename":"image_18012025_05_37_02_246102_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329672716","file1":"1329672705","file0":"1329672701","file4":"1329672721","file5":"1329672724","file3":"1329672719"},"map_files_photo_id_array":[{"photo_id":"1329672724","filename":"file5"},{"photo_id":"1329672716","filename":"file2"},{"photo_id":"1329672721","filename":"file4"},{"photo_id":"1329672705","filename":"file1"},{"photo_id":"1329672701","filename":"file0"},{"photo_id":"1329672719","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329672705":["hashtag1","hashtag2"]},{"1329672716":["hashtag1","hashtag2"]},{"1329672701":["hashtag1","hashtag2"]},{"1329672719":["hashtag1","hashtag2"]},{"1329672724":["hashtag1","hashtag2"]},{"1329672721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329672705, 1329672716, 1329672701, 1329672719, 1329672724, 1329672721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.18282413482666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:39:22.568905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/38/image_18012025_05_38_02_778323_0001.jpg', '/home/pi/Desktop/images/18012025/05/38/image_18012025_05_38_02_778323_0002.jpg', '/home/pi/Desktop/images/18012025/05/38/image_18012025_05_38_02_778323_0003.jpg', '/home/pi/Desktop/images/18012025/05/39/image_18012025_05_39_02_456263_0000.jpg', '/home/pi/Desktop/images/18012025/05/39/image_18012025_05_39_02_456263_0001.jpg', '/home/pi/Desktop/images/18012025/05/39/image_18012025_05_39_02_456263_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/38/image_18012025_05_38_02_778323_0001.jpg
/home/pi/Desktop/images/18012025/05/38/image_18012025_05_38_02_778323_0002.jpg
/home/pi/Desktop/images/18012025/05/38/image_18012025_05_38_02_778323_0003.jpg
/home/pi/Desktop/images/18012025/05/39/image_18012025_05_39_02_456263_0000.jpg
/home/pi/Desktop/images/18012025/05/39/image_18012025_05_39_02_456263_0001.jpg
/home/pi/Desktop/images/18012025/05/39/image_18012025_05_39_02_456263_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329672846","1329672740","1329672734","1329672743","1329672737","1329672850"],"photo_ids_order":["1329672734","1329672737","1329672740","1329672743","1329672846","1329672850"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50855f2e27662267b08b4a8389d1ca2f.jpg","text":"TemporaryFile(/tmp/multipartBody403945541763929728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175239423,"filename":"image_18012025_05_39_02_456263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aaa3eca3152145f541da386e0431d4ec.jpg","text":"TemporaryFile(/tmp/multipartBody5551397784450387748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175239423,"filename":"image_18012025_05_38_02_778323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b3df96f408a27ca1a8f473550d317306.jpg","text":"TemporaryFile(/tmp/multipartBody5986346215457972074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175239423,"filename":"image_18012025_05_38_02_778323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd3308af220fccf08f3b392bf8a8604f.jpg","text":"TemporaryFile(/tmp/multipartBody5757939001121602021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175239423,"filename":"image_18012025_05_39_02_456263_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a3d9b6ebfc7a89ad232962d9934a5dd.jpg","text":"TemporaryFile(/tmp/multipartBody1775114106029206553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175239423,"filename":"image_18012025_05_38_02_778323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c28be97b4d7dd39fdb24fe4cd6ecd10.jpg","text":"TemporaryFile(/tmp/multipartBody5851325303506818373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175239423,"filename":"image_18012025_05_39_02_456263_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329672740","file1":"1329672737","file0":"1329672734","file4":"1329672846","file5":"1329672850","file3":"1329672743"},"map_files_photo_id_array":[{"photo_id":"1329672850","filename":"file5"},{"photo_id":"1329672740","filename":"file2"},{"photo_id":"1329672846","filename":"file4"},{"photo_id":"1329672737","filename":"file1"},{"photo_id":"1329672734","filename":"file0"},{"photo_id":"1329672743","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329672846":["hashtag1","hashtag2"]},{"1329672740":["hashtag1","hashtag2"]},{"1329672734":["hashtag1","hashtag2"]},{"1329672743":["hashtag1","hashtag2"]},{"1329672737":["hashtag1","hashtag2"]},{"1329672850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329672846, 1329672740, 1329672734, 1329672743, 1329672737, 1329672850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.728646993637085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:41:03.321377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/39/image_18012025_05_39_02_456263_0003.jpg', '/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0000.jpg', '/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0001.jpg', '/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/39/image_18012025_05_39_02_456263_0003.jpg
/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0000.jpg
/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0001.jpg
/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.488428354263306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:41:22.626489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/39/image_18012025_05_39_02_456263_0003.jpg', '/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0000.jpg', '/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0001.jpg', '/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0002.jpg', '/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0003.jpg', '/home/pi/Desktop/images/18012025/05/41/image_18012025_05_41_02_561852_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/39/image_18012025_05_39_02_456263_0003.jpg
/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0000.jpg
/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0001.jpg
/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0002.jpg
/home/pi/Desktop/images/18012025/05/40/image_18012025_05_40_03_025133_0003.jpg
/home/pi/Desktop/images/18012025/05/41/image_18012025_05_41_02_561852_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329672927","1329672921","1329672924","1329672918","1329672932","1329672914"],"photo_ids_order":["1329672914","1329672918","1329672921","1329672924","1329672927","1329672932"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e88b534f3a60d54243a456e67516ac30.jpg","text":"TemporaryFile(/tmp/multipartBody1113441520132589565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175359976,"filename":"image_18012025_05_40_03_025133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c6c3b00b9a31a584fef5ad4ae651590.jpg","text":"TemporaryFile(/tmp/multipartBody4515622176648224307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175359976,"filename":"image_18012025_05_40_03_025133_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e81bc1205963baf382ae5ed6633165aa.jpg","text":"TemporaryFile(/tmp/multipartBody7903205472976272799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175359976,"filename":"image_18012025_05_40_03_025133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e4e70a9c23293dbdca6a5f2cba67f059.jpg","text":"TemporaryFile(/tmp/multipartBody7676355834380983795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175359976,"filename":"image_18012025_05_40_03_025133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9863d4e8e92f032074a6b095265c81fa.jpg","text":"TemporaryFile(/tmp/multipartBody1115758737985288796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175359976,"filename":"image_18012025_05_41_02_561852_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/42d1d5d27edcc72fa6242c8e36aaacff.jpg","text":"TemporaryFile(/tmp/multipartBody3032142554631534494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175359976,"filename":"image_18012025_05_39_02_456263_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329672921","file1":"1329672918","file0":"1329672914","file4":"1329672927","file5":"1329672932","file3":"1329672924"},"map_files_photo_id_array":[{"photo_id":"1329672932","filename":"file5"},{"photo_id":"1329672921","filename":"file2"},{"photo_id":"1329672927","filename":"file4"},{"photo_id":"1329672918","filename":"file1"},{"photo_id":"1329672914","filename":"file0"},{"photo_id":"1329672924","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329672927":["hashtag1","hashtag2"]},{"1329672921":["hashtag1","hashtag2"]},{"1329672924":["hashtag1","hashtag2"]},{"1329672918":["hashtag1","hashtag2"]},{"1329672932":["hashtag1","hashtag2"]},{"1329672914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329672927, 1329672921, 1329672924, 1329672918, 1329672932, 1329672914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.917661905288696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:42:22.365457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/41/image_18012025_05_41_02_561852_0001.jpg', '/home/pi/Desktop/images/18012025/05/41/image_18012025_05_41_02_561852_0002.jpg', '/home/pi/Desktop/images/18012025/05/41/image_18012025_05_41_02_561852_0003.jpg', '/home/pi/Desktop/images/18012025/05/42/image_18012025_05_42_03_174510_0000.jpg', '/home/pi/Desktop/images/18012025/05/42/image_18012025_05_42_03_174510_0001.jpg', '/home/pi/Desktop/images/18012025/05/42/image_18012025_05_42_03_174510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/41/image_18012025_05_41_02_561852_0001.jpg
/home/pi/Desktop/images/18012025/05/41/image_18012025_05_41_02_561852_0002.jpg
/home/pi/Desktop/images/18012025/05/41/image_18012025_05_41_02_561852_0003.jpg
/home/pi/Desktop/images/18012025/05/42/image_18012025_05_42_03_174510_0000.jpg
/home/pi/Desktop/images/18012025/05/42/image_18012025_05_42_03_174510_0001.jpg
/home/pi/Desktop/images/18012025/05/42/image_18012025_05_42_03_174510_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329673017","1329673025","1329673028","1329673001","1329673021","1329673030"],"photo_ids_order":["1329673001","1329673017","1329673021","1329673025","1329673028","1329673030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/264fc7bc83c74840f2a01a77b433b7c1.jpg","text":"TemporaryFile(/tmp/multipartBody2942480600003874377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175419166,"filename":"image_18012025_05_41_02_561852_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3d692fcc2d9d72dc15281290ba63fabc.jpg","text":"TemporaryFile(/tmp/multipartBody631902170175074927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175419166,"filename":"image_18012025_05_42_03_174510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50feb07ca70d1a0ad533563782c41898.jpg","text":"TemporaryFile(/tmp/multipartBody5693876779510013979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175419166,"filename":"image_18012025_05_42_03_174510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74e31fdc394f74ba7fd654cb63fcf5a1.jpg","text":"TemporaryFile(/tmp/multipartBody2463608189092844726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175419166,"filename":"image_18012025_05_41_02_561852_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f28da08e1591c0f81507d50d780052f.jpg","text":"TemporaryFile(/tmp/multipartBody3153506639883014897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175419166,"filename":"image_18012025_05_41_02_561852_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d700f712df3d59322570e285de80213.jpg","text":"TemporaryFile(/tmp/multipartBody5665185256288567307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175419166,"filename":"image_18012025_05_42_03_174510_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329673021","file1":"1329673017","file0":"1329673001","file4":"1329673028","file5":"1329673030","file3":"1329673025"},"map_files_photo_id_array":[{"photo_id":"1329673030","filename":"file5"},{"photo_id":"1329673021","filename":"file2"},{"photo_id":"1329673028","filename":"file4"},{"photo_id":"1329673017","filename":"file1"},{"photo_id":"1329673001","filename":"file0"},{"photo_id":"1329673025","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329673017":["hashtag1","hashtag2"]},{"1329673025":["hashtag1","hashtag2"]},{"1329673028":["hashtag1","hashtag2"]},{"1329673001":["hashtag1","hashtag2"]},{"1329673021":["hashtag1","hashtag2"]},{"1329673030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329673017, 1329673025, 1329673028, 1329673001, 1329673021, 1329673030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.096352100372314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:44:02.897279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/42/image_18012025_05_42_03_174510_0003.jpg', '/home/pi/Desktop/images/18012025/05/43/image_18012025_05_43_02_787685_0000.jpg', '/home/pi/Desktop/images/18012025/05/43/image_18012025_05_43_02_787685_0001.jpg', '/home/pi/Desktop/images/18012025/05/43/image_18012025_05_43_02_787685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/42/image_18012025_05_42_03_174510_0003.jpg
/home/pi/Desktop/images/18012025/05/43/image_18012025_05_43_02_787685_0000.jpg
/home/pi/Desktop/images/18012025/05/43/image_18012025_05_43_02_787685_0001.jpg
/home/pi/Desktop/images/18012025/05/43/image_18012025_05_43_02_787685_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329673413","1329673286","1329673352","1329673480"],"photo_ids_order":["1329673286","1329673352","1329673413","1329673480"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4819c649fd9ed6b55db0d1f52fb5a868.jpg","text":"TemporaryFile(/tmp/multipartBody7627140711825596752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175514399,"filename":"image_18012025_05_43_02_787685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67a88d00ee82706d66ea8b4aab818dba.jpg","text":"TemporaryFile(/tmp/multipartBody4727397425276776774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175514399,"filename":"image_18012025_05_42_03_174510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5aa81dc055d63694fbc9e6bad751e71e.jpg","text":"TemporaryFile(/tmp/multipartBody6484433405927199972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175514399,"filename":"image_18012025_05_43_02_787685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8002910d2fad67f7235f4041400d1b2.jpg","text":"TemporaryFile(/tmp/multipartBody6799689308711796476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175514399,"filename":"image_18012025_05_43_02_787685_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329673413","file1":"1329673352","file0":"1329673286","file3":"1329673480"},"map_files_photo_id_array":[{"photo_id":"1329673413","filename":"file2"},{"photo_id":"1329673352","filename":"file1"},{"photo_id":"1329673286","filename":"file0"},{"photo_id":"1329673480","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329673413":["hashtag1","hashtag2"]},{"1329673286":["hashtag1","hashtag2"]},{"1329673352":["hashtag1","hashtag2"]},{"1329673480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329673413, 1329673286, 1329673352, 1329673480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 49.067389488220215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:45:02.837100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/43/image_18012025_05_43_02_787685_0003.jpg', '/home/pi/Desktop/images/18012025/05/44/image_18012025_05_44_02_355647_0000.jpg', '/home/pi/Desktop/images/18012025/05/44/image_18012025_05_44_02_355647_0001.jpg', '/home/pi/Desktop/images/18012025/05/44/image_18012025_05_44_02_355647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/43/image_18012025_05_43_02_787685_0003.jpg
/home/pi/Desktop/images/18012025/05/44/image_18012025_05_44_02_355647_0000.jpg
/home/pi/Desktop/images/18012025/05/44/image_18012025_05_44_02_355647_0001.jpg
/home/pi/Desktop/images/18012025/05/44/image_18012025_05_44_02_355647_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329673979","1329674009","1329673928","1329674072"],"photo_ids_order":["1329673928","1329673979","1329674009","1329674072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/26cdc7951bad8f9dde1722b9e1133acc.jpg","text":"TemporaryFile(/tmp/multipartBody5353514877725703976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175574472,"filename":"image_18012025_05_44_02_355647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be353c5c94b248ea1eca62bc77a37db6.jpg","text":"TemporaryFile(/tmp/multipartBody8801717201961789970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175574472,"filename":"image_18012025_05_44_02_355647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/62ddcd571752dfe728c119166bfa3418.jpg","text":"TemporaryFile(/tmp/multipartBody3201449233337774120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175574472,"filename":"image_18012025_05_43_02_787685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2cc7672276584f6fc4ba72c0ab08d6f.jpg","text":"TemporaryFile(/tmp/multipartBody6576527091731268305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175574472,"filename":"image_18012025_05_44_02_355647_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329674009","file1":"1329673979","file0":"1329673928","file3":"1329674072"},"map_files_photo_id_array":[{"photo_id":"1329674009","filename":"file2"},{"photo_id":"1329673979","filename":"file1"},{"photo_id":"1329673928","filename":"file0"},{"photo_id":"1329674072","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329673979":["hashtag1","hashtag2"]},{"1329674009":["hashtag1","hashtag2"]},{"1329673928":["hashtag1","hashtag2"]},{"1329674072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329673979, 1329674009, 1329673928, 1329674072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.42262625694275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:46:03.141790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/44/image_18012025_05_44_02_355647_0003.jpg', '/home/pi/Desktop/images/18012025/05/45/image_18012025_05_45_02_920673_0000.jpg', '/home/pi/Desktop/images/18012025/05/45/image_18012025_05_45_02_920673_0001.jpg', '/home/pi/Desktop/images/18012025/05/45/image_18012025_05_45_02_920673_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/44/image_18012025_05_44_02_355647_0003.jpg
/home/pi/Desktop/images/18012025/05/45/image_18012025_05_45_02_920673_0000.jpg
/home/pi/Desktop/images/18012025/05/45/image_18012025_05_45_02_920673_0001.jpg
/home/pi/Desktop/images/18012025/05/45/image_18012025_05_45_02_920673_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329674450","1329674458","1329674452","1329674454"],"photo_ids_order":["1329674450","1329674452","1329674454","1329674458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93e44f749b3db530d700c626bdc31366.jpg","text":"TemporaryFile(/tmp/multipartBody7954253918363459296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175634184,"filename":"image_18012025_05_44_02_355647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/10d17d06571f662aad59f9a34b06bfc0.jpg","text":"TemporaryFile(/tmp/multipartBody5813638139053639345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175634184,"filename":"image_18012025_05_45_02_920673_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3a14b5d98774a5444383f4564b04c5b6.jpg","text":"TemporaryFile(/tmp/multipartBody7206086068020483808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175634184,"filename":"image_18012025_05_45_02_920673_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/52b273b7dbf483025b02573feba60089.jpg","text":"TemporaryFile(/tmp/multipartBody2432504982771625882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175634184,"filename":"image_18012025_05_45_02_920673_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329674454","file1":"1329674452","file0":"1329674450","file3":"1329674458"},"map_files_photo_id_array":[{"photo_id":"1329674454","filename":"file2"},{"photo_id":"1329674452","filename":"file1"},{"photo_id":"1329674450","filename":"file0"},{"photo_id":"1329674458","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329674450":["hashtag1","hashtag2"]},{"1329674458":["hashtag1","hashtag2"]},{"1329674452":["hashtag1","hashtag2"]},{"1329674454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329674450, 1329674458, 1329674452, 1329674454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.93514132499695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:47:02.724515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/45/image_18012025_05_45_02_920673_0003.jpg', '/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0000.jpg', '/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0001.jpg', '/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/45/image_18012025_05_45_02_920673_0003.jpg
/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0000.jpg
/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0001.jpg
/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.852097749710083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:47:22.228180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/45/image_18012025_05_45_02_920673_0003.jpg', '/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0000.jpg', '/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0001.jpg', '/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0002.jpg', '/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0003.jpg', '/home/pi/Desktop/images/18012025/05/47/image_18012025_05_47_03_101099_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/45/image_18012025_05_45_02_920673_0003.jpg
/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0000.jpg
/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0001.jpg
/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0002.jpg
/home/pi/Desktop/images/18012025/05/46/image_18012025_05_46_02_430091_0003.jpg
/home/pi/Desktop/images/18012025/05/47/image_18012025_05_47_03_101099_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329675154","1329675238","1329675226","1329675201","1329675077","1329675230"],"photo_ids_order":["1329675077","1329675154","1329675201","1329675226","1329675230","1329675238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c248c1be7eb62a8bd98cf3449bc06150.jpg","text":"TemporaryFile(/tmp/multipartBody843686756537946755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175718997,"filename":"image_18012025_05_46_02_430091_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a86e38de786fbf2342f337a83be337bf.jpg","text":"TemporaryFile(/tmp/multipartBody6728684905676643892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175718997,"filename":"image_18012025_05_47_03_101099_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/82d17802b9a0d455352bee384da61ea9.jpg","text":"TemporaryFile(/tmp/multipartBody2204194134744636090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175718997,"filename":"image_18012025_05_46_02_430091_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/933d8e57babb77c37218fdb94075e33e.jpg","text":"TemporaryFile(/tmp/multipartBody7918574305918822167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175718997,"filename":"image_18012025_05_46_02_430091_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/41566ef342392c44cc28b1c26c578c23.jpg","text":"TemporaryFile(/tmp/multipartBody3892113613013474037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175718997,"filename":"image_18012025_05_45_02_920673_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a2abe251f263171779520389d644d14.jpg","text":"TemporaryFile(/tmp/multipartBody3246877378373352921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175718997,"filename":"image_18012025_05_46_02_430091_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329675201","file1":"1329675154","file0":"1329675077","file4":"1329675230","file5":"1329675238","file3":"1329675226"},"map_files_photo_id_array":[{"photo_id":"1329675238","filename":"file5"},{"photo_id":"1329675201","filename":"file2"},{"photo_id":"1329675230","filename":"file4"},{"photo_id":"1329675154","filename":"file1"},{"photo_id":"1329675077","filename":"file0"},{"photo_id":"1329675226","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329675154":["hashtag1","hashtag2"]},{"1329675238":["hashtag1","hashtag2"]},{"1329675226":["hashtag1","hashtag2"]},{"1329675201":["hashtag1","hashtag2"]},{"1329675077":["hashtag1","hashtag2"]},{"1329675230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329675154, 1329675238, 1329675226, 1329675201, 1329675077, 1329675230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.67842674255371 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:48:21.868054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/47/image_18012025_05_47_03_101099_0001.jpg', '/home/pi/Desktop/images/18012025/05/47/image_18012025_05_47_03_101099_0002.jpg', '/home/pi/Desktop/images/18012025/05/47/image_18012025_05_47_03_101099_0003.jpg', '/home/pi/Desktop/images/18012025/05/48/image_18012025_05_48_02_637587_0000.jpg', '/home/pi/Desktop/images/18012025/05/48/image_18012025_05_48_02_637587_0001.jpg', '/home/pi/Desktop/images/18012025/05/48/image_18012025_05_48_02_637587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/47/image_18012025_05_47_03_101099_0001.jpg
/home/pi/Desktop/images/18012025/05/47/image_18012025_05_47_03_101099_0002.jpg
/home/pi/Desktop/images/18012025/05/47/image_18012025_05_47_03_101099_0003.jpg
/home/pi/Desktop/images/18012025/05/48/image_18012025_05_48_02_637587_0000.jpg
/home/pi/Desktop/images/18012025/05/48/image_18012025_05_48_02_637587_0001.jpg
/home/pi/Desktop/images/18012025/05/48/image_18012025_05_48_02_637587_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329675292","1329675280","1329675300","1329675296","1329675272","1329675305"],"photo_ids_order":["1329675272","1329675280","1329675292","1329675296","1329675300","1329675305"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6196cf32de1995fde5c2a0d59a269904.jpg","text":"TemporaryFile(/tmp/multipartBody5579825246194389368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175778214,"filename":"image_18012025_05_47_03_101099_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6ab46eaaf17534eaeb35c4920aa26a8.jpg","text":"TemporaryFile(/tmp/multipartBody5855562478670086040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175778214,"filename":"image_18012025_05_47_03_101099_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6b6fafa29370e10ec70a538e5de4e02.jpg","text":"TemporaryFile(/tmp/multipartBody7069338178161592599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175778214,"filename":"image_18012025_05_48_02_637587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74db5a9eb213943dd5ac251e2893efa0.jpg","text":"TemporaryFile(/tmp/multipartBody3676845574171595431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175778214,"filename":"image_18012025_05_48_02_637587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17d895bac35b564f16703afb65552ffa.jpg","text":"TemporaryFile(/tmp/multipartBody2119625443488704010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175778214,"filename":"image_18012025_05_47_03_101099_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec623de7468469d9efe8cff8c576a082.jpg","text":"TemporaryFile(/tmp/multipartBody5931654925994556527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175778214,"filename":"image_18012025_05_48_02_637587_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329675292","file1":"1329675280","file0":"1329675272","file4":"1329675300","file5":"1329675305","file3":"1329675296"},"map_files_photo_id_array":[{"photo_id":"1329675305","filename":"file5"},{"photo_id":"1329675292","filename":"file2"},{"photo_id":"1329675300","filename":"file4"},{"photo_id":"1329675280","filename":"file1"},{"photo_id":"1329675272","filename":"file0"},{"photo_id":"1329675296","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329675292":["hashtag1","hashtag2"]},{"1329675280":["hashtag1","hashtag2"]},{"1329675300":["hashtag1","hashtag2"]},{"1329675296":["hashtag1","hashtag2"]},{"1329675272":["hashtag1","hashtag2"]},{"1329675305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329675292, 1329675280, 1329675300, 1329675296, 1329675272, 1329675305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.490134477615356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:49:22.346370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/48/image_18012025_05_48_02_637587_0003.jpg', '/home/pi/Desktop/images/18012025/05/49/image_18012025_05_49_02_250948_0000.jpg', '/home/pi/Desktop/images/18012025/05/49/image_18012025_05_49_02_250948_0001.jpg', '/home/pi/Desktop/images/18012025/05/49/image_18012025_05_49_02_250948_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/48/image_18012025_05_48_02_637587_0003.jpg
/home/pi/Desktop/images/18012025/05/49/image_18012025_05_49_02_250948_0000.jpg
/home/pi/Desktop/images/18012025/05/49/image_18012025_05_49_02_250948_0001.jpg
/home/pi/Desktop/images/18012025/05/49/image_18012025_05_49_02_250948_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329675583","1329675692","1329675476","1329675365"],"photo_ids_order":["1329675365","1329675476","1329675583","1329675692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3372a3a67e3493cfeb5ca7a89d832827.jpg","text":"TemporaryFile(/tmp/multipartBody8891960922111442213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175833993,"filename":"image_18012025_05_49_02_250948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63b754400f0c55a018f6892a2d59319e.jpg","text":"TemporaryFile(/tmp/multipartBody87759343812095394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175833993,"filename":"image_18012025_05_49_02_250948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/14f23362ff094866cb18f210fd61b4d3.jpg","text":"TemporaryFile(/tmp/multipartBody6366211363875105806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175833993,"filename":"image_18012025_05_49_02_250948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46e95f1c74f7a7aabb928890d3516a3d.jpg","text":"TemporaryFile(/tmp/multipartBody2192591978565166207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175833993,"filename":"image_18012025_05_48_02_637587_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329675583","file1":"1329675476","file0":"1329675365","file3":"1329675692"},"map_files_photo_id_array":[{"photo_id":"1329675583","filename":"file2"},{"photo_id":"1329675476","filename":"file1"},{"photo_id":"1329675365","filename":"file0"},{"photo_id":"1329675692","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329675583":["hashtag1","hashtag2"]},{"1329675692":["hashtag1","hashtag2"]},{"1329675476":["hashtag1","hashtag2"]},{"1329675365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329675583, 1329675692, 1329675476, 1329675365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.69322419166565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:50:21.946656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/49/image_18012025_05_49_02_250948_0003.jpg', '/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0000.jpg', '/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0001.jpg', '/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/49/image_18012025_05_49_02_250948_0003.jpg
/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0000.jpg
/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0001.jpg
/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.848245620727539 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:51:03.011559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/49/image_18012025_05_49_02_250948_0003.jpg', '/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0000.jpg', '/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0001.jpg', '/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/49/image_18012025_05_49_02_250948_0003.jpg
/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0000.jpg
/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0001.jpg
/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329676491","1329676461","1329676347","1329676493"],"photo_ids_order":["1329676347","1329676461","1329676491","1329676493"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/30d7c18a13fdf85e87978a3c79fc52ff.jpg","text":"TemporaryFile(/tmp/multipartBody6496238324504356110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175934330,"filename":"image_18012025_05_50_02_723422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e08ffd15875f000b8cc743ba8a5cf68.jpg","text":"TemporaryFile(/tmp/multipartBody2679553822222637320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175934330,"filename":"image_18012025_05_50_02_723422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/88e3c81dd3bfe9283ffcc1137862ae05.jpg","text":"TemporaryFile(/tmp/multipartBody8907099042935688419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175934330,"filename":"image_18012025_05_49_02_250948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a8569f80f06ec1d9b09a090a88ebafa9.jpg","text":"TemporaryFile(/tmp/multipartBody3050004024675767139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175934330,"filename":"image_18012025_05_50_02_723422_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329676491","file1":"1329676461","file0":"1329676347","file3":"1329676493"},"map_files_photo_id_array":[{"photo_id":"1329676491","filename":"file2"},{"photo_id":"1329676461","filename":"file1"},{"photo_id":"1329676347","filename":"file0"},{"photo_id":"1329676493","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329676491":["hashtag1","hashtag2"]},{"1329676461":["hashtag1","hashtag2"]},{"1329676347":["hashtag1","hashtag2"]},{"1329676493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329676491, 1329676461, 1329676347, 1329676493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.94989633560181 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:52:02.475537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0003.jpg', '/home/pi/Desktop/images/18012025/05/51/image_18012025_05_51_02_247563_0000.jpg', '/home/pi/Desktop/images/18012025/05/51/image_18012025_05_51_02_247563_0001.jpg', '/home/pi/Desktop/images/18012025/05/51/image_18012025_05_51_02_247563_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/50/image_18012025_05_50_02_723422_0003.jpg
/home/pi/Desktop/images/18012025/05/51/image_18012025_05_51_02_247563_0000.jpg
/home/pi/Desktop/images/18012025/05/51/image_18012025_05_51_02_247563_0001.jpg
/home/pi/Desktop/images/18012025/05/51/image_18012025_05_51_02_247563_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329676579","1329676584","1329676580","1329676582"],"photo_ids_order":["1329676579","1329676580","1329676582","1329676584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/41b0970e05a783888dc2a35e4885885c.jpg","text":"TemporaryFile(/tmp/multipartBody247965350525840670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175993705,"filename":"image_18012025_05_50_02_723422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e036f5c60768b8bcd0e1d617ec717b0.jpg","text":"TemporaryFile(/tmp/multipartBody1583517533760108769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175993705,"filename":"image_18012025_05_51_02_247563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/507ad99d66f3230c88ab02d6c2c74347.jpg","text":"TemporaryFile(/tmp/multipartBody3383014235589507058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175993705,"filename":"image_18012025_05_51_02_247563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9159f75c53a628dc08da237ecaebabcb.jpg","text":"TemporaryFile(/tmp/multipartBody5355046409409471167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737175993705,"filename":"image_18012025_05_51_02_247563_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329676582","file1":"1329676580","file0":"1329676579","file3":"1329676584"},"map_files_photo_id_array":[{"photo_id":"1329676582","filename":"file2"},{"photo_id":"1329676580","filename":"file1"},{"photo_id":"1329676579","filename":"file0"},{"photo_id":"1329676584","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329676579":["hashtag1","hashtag2"]},{"1329676584":["hashtag1","hashtag2"]},{"1329676580":["hashtag1","hashtag2"]},{"1329676582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329676579, 1329676584, 1329676580, 1329676582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.091861963272095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:53:03.187738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/51/image_18012025_05_51_02_247563_0003.jpg', '/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0000.jpg', '/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0001.jpg', '/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/51/image_18012025_05_51_02_247563_0003.jpg
/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0000.jpg
/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0001.jpg
/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.003568887710571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:53:22.602092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/51/image_18012025_05_51_02_247563_0003.jpg', '/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0000.jpg', '/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0001.jpg', '/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0002.jpg', '/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0003.jpg', '/home/pi/Desktop/images/18012025/05/53/image_18012025_05_53_02_420107_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/51/image_18012025_05_51_02_247563_0003.jpg
/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0000.jpg
/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0001.jpg
/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0002.jpg
/home/pi/Desktop/images/18012025/05/52/image_18012025_05_52_02_839069_0003.jpg
/home/pi/Desktop/images/18012025/05/53/image_18012025_05_53_02_420107_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329676621","1329676627","1329676665","1329676667","1329676625","1329676681"],"photo_ids_order":["1329676621","1329676625","1329676627","1329676665","1329676667","1329676681"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9cb4ea17178f9a39fb894af8a0cddc1f.jpg","text":"TemporaryFile(/tmp/multipartBody2312700670692750941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176079347,"filename":"image_18012025_05_51_02_247563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dbfe19ff15ebee8002a8a73d0a88babe.jpg","text":"TemporaryFile(/tmp/multipartBody6960264538583187805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176079347,"filename":"image_18012025_05_52_02_839069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/432f736a70b9dd54e1f51a4bfed51e38.jpg","text":"TemporaryFile(/tmp/multipartBody3922771608678550096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176079347,"filename":"image_18012025_05_52_02_839069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e48114ac820ee30ba15122e8e94986bc.jpg","text":"TemporaryFile(/tmp/multipartBody5505635317051088991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176079347,"filename":"image_18012025_05_52_02_839069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/529978a19be8a912b28eb24952a50310.jpg","text":"TemporaryFile(/tmp/multipartBody8602502091112442832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176079347,"filename":"image_18012025_05_52_02_839069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96f5ea18a0b09d5ecda0cb23b4745a1e.jpg","text":"TemporaryFile(/tmp/multipartBody7542043068152745492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176079347,"filename":"image_18012025_05_53_02_420107_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329676627","file1":"1329676625","file0":"1329676621","file4":"1329676667","file5":"1329676681","file3":"1329676665"},"map_files_photo_id_array":[{"photo_id":"1329676681","filename":"file5"},{"photo_id":"1329676627","filename":"file2"},{"photo_id":"1329676667","filename":"file4"},{"photo_id":"1329676625","filename":"file1"},{"photo_id":"1329676621","filename":"file0"},{"photo_id":"1329676665","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329676621":["hashtag1","hashtag2"]},{"1329676627":["hashtag1","hashtag2"]},{"1329676665":["hashtag1","hashtag2"]},{"1329676667":["hashtag1","hashtag2"]},{"1329676625":["hashtag1","hashtag2"]},{"1329676681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329676621, 1329676627, 1329676665, 1329676667, 1329676625, 1329676681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.83476209640503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:54:22.240195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/53/image_18012025_05_53_02_420107_0001.jpg', '/home/pi/Desktop/images/18012025/05/53/image_18012025_05_53_02_420107_0002.jpg', '/home/pi/Desktop/images/18012025/05/53/image_18012025_05_53_02_420107_0003.jpg', '/home/pi/Desktop/images/18012025/05/54/image_18012025_05_54_02_931721_0000.jpg', '/home/pi/Desktop/images/18012025/05/54/image_18012025_05_54_02_931721_0001.jpg', '/home/pi/Desktop/images/18012025/05/54/image_18012025_05_54_02_931721_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/53/image_18012025_05_53_02_420107_0001.jpg
/home/pi/Desktop/images/18012025/05/53/image_18012025_05_53_02_420107_0002.jpg
/home/pi/Desktop/images/18012025/05/53/image_18012025_05_53_02_420107_0003.jpg
/home/pi/Desktop/images/18012025/05/54/image_18012025_05_54_02_931721_0000.jpg
/home/pi/Desktop/images/18012025/05/54/image_18012025_05_54_02_931721_0001.jpg
/home/pi/Desktop/images/18012025/05/54/image_18012025_05_54_02_931721_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329676729","1329676723","1329676754","1329676718","1329676795","1329676747"],"photo_ids_order":["1329676718","1329676723","1329676729","1329676747","1329676754","1329676795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/abedadc78c00d16c0fe7d920f0059bf0.jpg","text":"TemporaryFile(/tmp/multipartBody8592884875377747954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176138897,"filename":"image_18012025_05_53_02_420107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0060e9f941c1998ffd70ef00a1187c31.jpg","text":"TemporaryFile(/tmp/multipartBody8909768635593363090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176138897,"filename":"image_18012025_05_53_02_420107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c28dbae376fc98d90d7d180129a4b38.jpg","text":"TemporaryFile(/tmp/multipartBody1998036837304770481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176138897,"filename":"image_18012025_05_54_02_931721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d784dc3285b082de28b46a067ca6ac1.jpg","text":"TemporaryFile(/tmp/multipartBody2939620516039082567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176138897,"filename":"image_18012025_05_53_02_420107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1af8a0b67ed7c4ab3ba4362c4c23cfb1.jpg","text":"TemporaryFile(/tmp/multipartBody4877987514558566644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176138897,"filename":"image_18012025_05_54_02_931721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53079d1781fa7166a99a34050c345f19.jpg","text":"TemporaryFile(/tmp/multipartBody3637185903993742918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176138897,"filename":"image_18012025_05_54_02_931721_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329676729","file1":"1329676723","file0":"1329676718","file4":"1329676754","file5":"1329676795","file3":"1329676747"},"map_files_photo_id_array":[{"photo_id":"1329676795","filename":"file5"},{"photo_id":"1329676729","filename":"file2"},{"photo_id":"1329676754","filename":"file4"},{"photo_id":"1329676723","filename":"file1"},{"photo_id":"1329676718","filename":"file0"},{"photo_id":"1329676747","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329676729":["hashtag1","hashtag2"]},{"1329676723":["hashtag1","hashtag2"]},{"1329676754":["hashtag1","hashtag2"]},{"1329676718":["hashtag1","hashtag2"]},{"1329676795":["hashtag1","hashtag2"]},{"1329676747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329676729, 1329676723, 1329676754, 1329676718, 1329676795, 1329676747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.778597593307495 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:55:21.722645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/54/image_18012025_05_54_02_931721_0003.jpg', '/home/pi/Desktop/images/18012025/05/55/image_18012025_05_55_02_624277_0000.jpg', '/home/pi/Desktop/images/18012025/05/55/image_18012025_05_55_02_624277_0001.jpg', '/home/pi/Desktop/images/18012025/05/55/image_18012025_05_55_02_624277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/54/image_18012025_05_54_02_931721_0003.jpg
/home/pi/Desktop/images/18012025/05/55/image_18012025_05_55_02_624277_0000.jpg
/home/pi/Desktop/images/18012025/05/55/image_18012025_05_55_02_624277_0001.jpg
/home/pi/Desktop/images/18012025/05/55/image_18012025_05_55_02_624277_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329676822","1329676827","1329676818","1329676814"],"photo_ids_order":["1329676814","1329676818","1329676822","1329676827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/66278887217d676221c405d2a1572228.jpg","text":"TemporaryFile(/tmp/multipartBody1177908735527788108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176193316,"filename":"image_18012025_05_55_02_624277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3274f4548df0891f95ed4dbb6259b594.jpg","text":"TemporaryFile(/tmp/multipartBody8764386872029402493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176193316,"filename":"image_18012025_05_55_02_624277_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/10011bd756269139839c990f548db27e.jpg","text":"TemporaryFile(/tmp/multipartBody444682618216255522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176193316,"filename":"image_18012025_05_55_02_624277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d59c18a4ea2e3055f06a9c4abf79b94.jpg","text":"TemporaryFile(/tmp/multipartBody4189541745000928266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176193316,"filename":"image_18012025_05_54_02_931721_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329676822","file1":"1329676818","file0":"1329676814","file3":"1329676827"},"map_files_photo_id_array":[{"photo_id":"1329676822","filename":"file2"},{"photo_id":"1329676818","filename":"file1"},{"photo_id":"1329676814","filename":"file0"},{"photo_id":"1329676827","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329676822":["hashtag1","hashtag2"]},{"1329676827":["hashtag1","hashtag2"]},{"1329676818":["hashtag1","hashtag2"]},{"1329676814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329676822, 1329676827, 1329676818, 1329676814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.39514946937561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 05:56:22.258362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/55/image_18012025_05_55_02_624277_0003.jpg', '/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0000.jpg', '/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0001.jpg', '/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/55/image_18012025_05_55_02_624277_0003.jpg
/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0000.jpg
/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0001.jpg
/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.142135381698608 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:57:03.239125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/55/image_18012025_05_55_02_624277_0003.jpg', '/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0000.jpg', '/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0001.jpg', '/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/55/image_18012025_05_55_02_624277_0003.jpg
/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0000.jpg
/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0001.jpg
/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329676909","1329676929","1329676892","1329676891"],"photo_ids_order":["1329676891","1329676892","1329676909","1329676929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6bbb7080a923ae8928f314810e3d42b0.jpg","text":"TemporaryFile(/tmp/multipartBody2850606618242485555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176294968,"filename":"image_18012025_05_56_02_103811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fdf0bebd849a63e279c778647f3f3581.jpg","text":"TemporaryFile(/tmp/multipartBody4837918480696826052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176294968,"filename":"image_18012025_05_56_02_103811_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1639229519edbefa1e4826ee9ebf42ad.jpg","text":"TemporaryFile(/tmp/multipartBody3452433643754097286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176294968,"filename":"image_18012025_05_56_02_103811_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8603ba9be946bd215c948fa0fe0c5b3e.jpg","text":"TemporaryFile(/tmp/multipartBody8842238647661108364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176294968,"filename":"image_18012025_05_55_02_624277_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329676909","file1":"1329676892","file0":"1329676891","file3":"1329676929"},"map_files_photo_id_array":[{"photo_id":"1329676909","filename":"file2"},{"photo_id":"1329676892","filename":"file1"},{"photo_id":"1329676891","filename":"file0"},{"photo_id":"1329676929","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329676909":["hashtag1","hashtag2"]},{"1329676929":["hashtag1","hashtag2"]},{"1329676892":["hashtag1","hashtag2"]},{"1329676891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329676909, 1329676929, 1329676892, 1329676891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.52302813529968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 05:59:02.986572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0003.jpg', '/home/pi/Desktop/images/18012025/05/57/image_18012025_05_57_02_579270_0000.jpg', '/home/pi/Desktop/images/18012025/05/57/image_18012025_05_57_02_579270_0001.jpg', '/home/pi/Desktop/images/18012025/05/57/image_18012025_05_57_02_579270_0002.jpg', '/home/pi/Desktop/images/18012025/05/57/image_18012025_05_57_02_579270_0003.jpg', '/home/pi/Desktop/images/18012025/05/58/image_18012025_05_58_03_095403_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/56/image_18012025_05_56_02_103811_0003.jpg
/home/pi/Desktop/images/18012025/05/57/image_18012025_05_57_02_579270_0000.jpg
/home/pi/Desktop/images/18012025/05/57/image_18012025_05_57_02_579270_0001.jpg
/home/pi/Desktop/images/18012025/05/57/image_18012025_05_57_02_579270_0002.jpg
/home/pi/Desktop/images/18012025/05/57/image_18012025_05_57_02_579270_0003.jpg
/home/pi/Desktop/images/18012025/05/58/image_18012025_05_58_03_095403_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329677298","1329677301","1329677285","1329677279","1329677300","1329677293"],"photo_ids_order":["1329677279","1329677285","1329677293","1329677298","1329677300","1329677301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/12cfa59594e0e7bf90072fa793876569.jpg","text":"TemporaryFile(/tmp/multipartBody884632472283136720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176419882,"filename":"image_18012025_05_57_02_579270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/034b06e01bda87612996c4dcdddd00c3.jpg","text":"TemporaryFile(/tmp/multipartBody1008160091517126324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176419882,"filename":"image_18012025_05_58_03_095403_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5ccf33beb5b24482eafdde61bf4775c2.jpg","text":"TemporaryFile(/tmp/multipartBody3924114902908525329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176419882,"filename":"image_18012025_05_57_02_579270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9e0a9667b669e1ea83b9ff496835513a.jpg","text":"TemporaryFile(/tmp/multipartBody7469379106294277347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176419882,"filename":"image_18012025_05_56_02_103811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4b1c3cfaa2d7588f7559ec2dfa648244.jpg","text":"TemporaryFile(/tmp/multipartBody3238228191978195779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176419882,"filename":"image_18012025_05_57_02_579270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3169c9c17fe0eddb459d6d6f505063e9.jpg","text":"TemporaryFile(/tmp/multipartBody6550168471979193575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176419882,"filename":"image_18012025_05_57_02_579270_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329677293","file1":"1329677285","file0":"1329677279","file4":"1329677300","file5":"1329677301","file3":"1329677298"},"map_files_photo_id_array":[{"photo_id":"1329677301","filename":"file5"},{"photo_id":"1329677293","filename":"file2"},{"photo_id":"1329677300","filename":"file4"},{"photo_id":"1329677285","filename":"file1"},{"photo_id":"1329677279","filename":"file0"},{"photo_id":"1329677298","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329677298":["hashtag1","hashtag2"]},{"1329677301":["hashtag1","hashtag2"]},{"1329677285":["hashtag1","hashtag2"]},{"1329677279":["hashtag1","hashtag2"]},{"1329677300":["hashtag1","hashtag2"]},{"1329677293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329677298, 1329677301, 1329677285, 1329677279, 1329677300, 1329677293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.34147119522095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:00:02.756124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/58/image_18012025_05_58_03_095403_0001.jpg', '/home/pi/Desktop/images/18012025/05/58/image_18012025_05_58_03_095403_0002.jpg', '/home/pi/Desktop/images/18012025/05/58/image_18012025_05_58_03_095403_0003.jpg', '/home/pi/Desktop/images/18012025/05/59/image_18012025_05_59_02_779895_0000.jpg', '/home/pi/Desktop/images/18012025/05/59/image_18012025_05_59_02_779895_0001.jpg', '/home/pi/Desktop/images/18012025/05/59/image_18012025_05_59_02_779895_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/58/image_18012025_05_58_03_095403_0001.jpg
/home/pi/Desktop/images/18012025/05/58/image_18012025_05_58_03_095403_0002.jpg
/home/pi/Desktop/images/18012025/05/58/image_18012025_05_58_03_095403_0003.jpg
/home/pi/Desktop/images/18012025/05/59/image_18012025_05_59_02_779895_0000.jpg
/home/pi/Desktop/images/18012025/05/59/image_18012025_05_59_02_779895_0001.jpg
/home/pi/Desktop/images/18012025/05/59/image_18012025_05_59_02_779895_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329677357","1329677366","1329677449","1329677608","1329677536","1329677350"],"photo_ids_order":["1329677350","1329677357","1329677366","1329677449","1329677536","1329677608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/731e106251f6db04306c28307bdf6c7d.jpg","text":"TemporaryFile(/tmp/multipartBody705170717628164139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176478978,"filename":"image_18012025_05_58_03_095403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5bcbf78384344959eba36aa1a089b75a.jpg","text":"TemporaryFile(/tmp/multipartBody3090368003379980746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176478978,"filename":"image_18012025_05_58_03_095403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39aedb0c0c013b740747153e97a3514f.jpg","text":"TemporaryFile(/tmp/multipartBody7800113318059646733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176478978,"filename":"image_18012025_05_59_02_779895_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92565c7fcc45572610c3c2d72cee41f7.jpg","text":"TemporaryFile(/tmp/multipartBody5514584136785881702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176478978,"filename":"image_18012025_05_59_02_779895_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e435c7403874e98da188464b59d6a04c.jpg","text":"TemporaryFile(/tmp/multipartBody6650305554260326637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176478978,"filename":"image_18012025_05_59_02_779895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ea10b05f176f619dcdd683392446b93.jpg","text":"TemporaryFile(/tmp/multipartBody5003928977731520056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176478978,"filename":"image_18012025_05_58_03_095403_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329677366","file1":"1329677357","file0":"1329677350","file4":"1329677536","file5":"1329677608","file3":"1329677449"},"map_files_photo_id_array":[{"photo_id":"1329677608","filename":"file5"},{"photo_id":"1329677366","filename":"file2"},{"photo_id":"1329677536","filename":"file4"},{"photo_id":"1329677357","filename":"file1"},{"photo_id":"1329677350","filename":"file0"},{"photo_id":"1329677449","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329677357":["hashtag1","hashtag2"]},{"1329677366":["hashtag1","hashtag2"]},{"1329677449":["hashtag1","hashtag2"]},{"1329677608":["hashtag1","hashtag2"]},{"1329677536":["hashtag1","hashtag2"]},{"1329677350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329677357, 1329677366, 1329677449, 1329677608, 1329677536, 1329677350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.50917077064514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:01:03.231223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/05/59/image_18012025_05_59_02_779895_0003.jpg', '/home/pi/Desktop/images/18012025/06/00/image_18012025_06_00_02_871553_0000.jpg', '/home/pi/Desktop/images/18012025/06/00/image_18012025_06_00_02_871553_0001.jpg', '/home/pi/Desktop/images/18012025/06/00/image_18012025_06_00_02_871553_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/05/59/image_18012025_05_59_02_779895_0003.jpg
/home/pi/Desktop/images/18012025/06/00/image_18012025_06_00_02_871553_0000.jpg
/home/pi/Desktop/images/18012025/06/00/image_18012025_06_00_02_871553_0001.jpg
/home/pi/Desktop/images/18012025/06/00/image_18012025_06_00_02_871553_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329678059","1329678050","1329678055","1329678043"],"photo_ids_order":["1329678043","1329678050","1329678055","1329678059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/87a129380035a0e5fa386589efb68386.jpg","text":"TemporaryFile(/tmp/multipartBody9034149923293422680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176534710,"filename":"image_18012025_06_00_02_871553_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b05f5c6705b2b4e820af6eea069e125.jpg","text":"TemporaryFile(/tmp/multipartBody10418314693749345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176534710,"filename":"image_18012025_06_00_02_871553_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c76170441e878f722352ec5cae45c004.jpg","text":"TemporaryFile(/tmp/multipartBody3993906849029680335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176534710,"filename":"image_18012025_06_00_02_871553_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70f16ae1900c61abbf2ea7dc75ee27a9.jpg","text":"TemporaryFile(/tmp/multipartBody1585593220701890177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176534710,"filename":"image_18012025_05_59_02_779895_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329678055","file1":"1329678050","file0":"1329678043","file3":"1329678059"},"map_files_photo_id_array":[{"photo_id":"1329678055","filename":"file2"},{"photo_id":"1329678050","filename":"file1"},{"photo_id":"1329678043","filename":"file0"},{"photo_id":"1329678059","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329678059":["hashtag1","hashtag2"]},{"1329678050":["hashtag1","hashtag2"]},{"1329678055":["hashtag1","hashtag2"]},{"1329678043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329678059, 1329678050, 1329678055, 1329678043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.918623208999634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:02:02.699902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/00/image_18012025_06_00_02_871553_0003.jpg', '/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0000.jpg', '/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0001.jpg', '/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/00/image_18012025_06_00_02_871553_0003.jpg
/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0000.jpg
/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0001.jpg
/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.974194049835205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:02:22.356619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/00/image_18012025_06_00_02_871553_0003.jpg', '/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0000.jpg', '/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0001.jpg', '/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0002.jpg', '/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0003.jpg', '/home/pi/Desktop/images/18012025/06/02/image_18012025_06_02_03_074029_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/00/image_18012025_06_00_02_871553_0003.jpg
/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0000.jpg
/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0001.jpg
/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0002.jpg
/home/pi/Desktop/images/18012025/06/01/image_18012025_06_01_02_571610_0003.jpg
/home/pi/Desktop/images/18012025/06/02/image_18012025_06_02_03_074029_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":["1329678339","1329678398","1329678449","1329678443","1329678364","1329678334"],"photo_ids_order":["1329678334","1329678339","1329678364","1329678398","1329678443","1329678449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e73795ddc91eacb65c97c0fdd035f4b.jpg","text":"TemporaryFile(/tmp/multipartBody8715260784114303199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176618997,"filename":"image_18012025_06_01_02_571610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7f1f5ca00198c99d8af01bbb32f78cac.jpg","text":"TemporaryFile(/tmp/multipartBody4490684464780333959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176618997,"filename":"image_18012025_06_01_02_571610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0a4e3d9b559d2ebca193a1a312127bd.jpg","text":"TemporaryFile(/tmp/multipartBody4961384085425055264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176618997,"filename":"image_18012025_06_02_03_074029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/312d89f40d43acd6970867ae3aa0c002.jpg","text":"TemporaryFile(/tmp/multipartBody1357990806610249588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176618997,"filename":"image_18012025_06_01_02_571610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf29b73942deafe466cb28df2f6f2ff4.jpg","text":"TemporaryFile(/tmp/multipartBody490389231638724415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176618997,"filename":"image_18012025_06_01_02_571610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/704b8e33b5799bb0910afc5891750c8e.jpg","text":"TemporaryFile(/tmp/multipartBody69161912549503685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176618997,"filename":"image_18012025_06_00_02_871553_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329678364","file1":"1329678339","file0":"1329678334","file4":"1329678443","file5":"1329678449","file3":"1329678398"},"map_files_photo_id_array":[{"photo_id":"1329678449","filename":"file5"},{"photo_id":"1329678364","filename":"file2"},{"photo_id":"1329678443","filename":"file4"},{"photo_id":"1329678339","filename":"file1"},{"photo_id":"1329678334","filename":"file0"},{"photo_id":"1329678398","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329678339":["hashtag1","hashtag2"]},{"1329678398":["hashtag1","hashtag2"]},{"1329678449":["hashtag1","hashtag2"]},{"1329678443":["hashtag1","hashtag2"]},{"1329678364":["hashtag1","hashtag2"]},{"1329678334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329678339, 1329678398, 1329678449, 1329678443, 1329678364, 1329678334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.18253874778748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:04:02.837667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/02/image_18012025_06_02_03_074029_0001.jpg', '/home/pi/Desktop/images/18012025/06/02/image_18012025_06_02_03_074029_0002.jpg', '/home/pi/Desktop/images/18012025/06/02/image_18012025_06_02_03_074029_0003.jpg', '/home/pi/Desktop/images/18012025/06/03/image_18012025_06_03_02_750984_0000.jpg', '/home/pi/Desktop/images/18012025/06/03/image_18012025_06_03_02_750984_0001.jpg', '/home/pi/Desktop/images/18012025/06/03/image_18012025_06_03_02_750984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/02/image_18012025_06_02_03_074029_0001.jpg
/home/pi/Desktop/images/18012025/06/02/image_18012025_06_02_03_074029_0002.jpg
/home/pi/Desktop/images/18012025/06/02/image_18012025_06_02_03_074029_0003.jpg
/home/pi/Desktop/images/18012025/06/03/image_18012025_06_03_02_750984_0000.jpg
/home/pi/Desktop/images/18012025/06/03/image_18012025_06_03_02_750984_0001.jpg
/home/pi/Desktop/images/18012025/06/03/image_18012025_06_03_02_750984_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329678813","1329678800","1329678737","1329678772","1329678745","1329678808"],"photo_ids_order":["1329678737","1329678745","1329678772","1329678800","1329678808","1329678813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce92465f78aac610a2046095ff9cf229.jpg","text":"TemporaryFile(/tmp/multipartBody1415133604447600201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176719837,"filename":"image_18012025_06_03_02_750984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/22f2257654c3a8855735afe9d086b96f.jpg","text":"TemporaryFile(/tmp/multipartBody1557425689504476375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176719837,"filename":"image_18012025_06_03_02_750984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/683e75e74f1d49c1baa9343581c1cec0.jpg","text":"TemporaryFile(/tmp/multipartBody4117739660015791382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176719837,"filename":"image_18012025_06_02_03_074029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f16ac4e8aa6bc2e9baddec8d4a8d4b39.jpg","text":"TemporaryFile(/tmp/multipartBody2193044621522389458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176719837,"filename":"image_18012025_06_02_03_074029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a50843a6f2988d678900a7760881c62d.jpg","text":"TemporaryFile(/tmp/multipartBody3046072981067873907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176719837,"filename":"image_18012025_06_02_03_074029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f7028c546d20e0ff0cd4411c8dc2d35.jpg","text":"TemporaryFile(/tmp/multipartBody4927583280075215180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176719837,"filename":"image_18012025_06_03_02_750984_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329678772","file1":"1329678745","file0":"1329678737","file4":"1329678808","file5":"1329678813","file3":"1329678800"},"map_files_photo_id_array":[{"photo_id":"1329678813","filename":"file5"},{"photo_id":"1329678772","filename":"file2"},{"photo_id":"1329678808","filename":"file4"},{"photo_id":"1329678745","filename":"file1"},{"photo_id":"1329678737","filename":"file0"},{"photo_id":"1329678800","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329678813":["hashtag1","hashtag2"]},{"1329678800":["hashtag1","hashtag2"]},{"1329678737":["hashtag1","hashtag2"]},{"1329678772":["hashtag1","hashtag2"]},{"1329678745":["hashtag1","hashtag2"]},{"1329678808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329678813, 1329678800, 1329678737, 1329678772, 1329678745, 1329678808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.100075244903564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:05:21.976446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/03/image_18012025_06_03_02_750984_0003.jpg', '/home/pi/Desktop/images/18012025/06/04/image_18012025_06_04_02_281390_0000.jpg', '/home/pi/Desktop/images/18012025/06/04/image_18012025_06_04_02_281390_0001.jpg', '/home/pi/Desktop/images/18012025/06/04/image_18012025_06_04_02_281390_0002.jpg', '/home/pi/Desktop/images/18012025/06/04/image_18012025_06_04_02_281390_0003.jpg', '/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/03/image_18012025_06_03_02_750984_0003.jpg
/home/pi/Desktop/images/18012025/06/04/image_18012025_06_04_02_281390_0000.jpg
/home/pi/Desktop/images/18012025/06/04/image_18012025_06_04_02_281390_0001.jpg
/home/pi/Desktop/images/18012025/06/04/image_18012025_06_04_02_281390_0002.jpg
/home/pi/Desktop/images/18012025/06/04/image_18012025_06_04_02_281390_0003.jpg
/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_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":["1329678933","1329678942","1329678938","1329678947","1329678928","1329678945"],"photo_ids_order":["1329678928","1329678933","1329678938","1329678942","1329678945","1329678947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18162791eb5819df4019787b5a6752b3.jpg","text":"TemporaryFile(/tmp/multipartBody8417458595146859750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176798727,"filename":"image_18012025_06_04_02_281390_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3ad47b692623ada5fa3d88fb46c61ec7.jpg","text":"TemporaryFile(/tmp/multipartBody4486805767980565427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176798727,"filename":"image_18012025_06_04_02_281390_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3affd182194a2ed102d1d310c5b78d47.jpg","text":"TemporaryFile(/tmp/multipartBody8371448904918751434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176798727,"filename":"image_18012025_06_04_02_281390_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5baae8adaf14bbff6935e87c0f4d9611.jpg","text":"TemporaryFile(/tmp/multipartBody5429088380528193399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176798727,"filename":"image_18012025_06_05_02_762976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/27812b2cbc97d27aae94aefcfef97db2.jpg","text":"TemporaryFile(/tmp/multipartBody738132513467103467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176798727,"filename":"image_18012025_06_03_02_750984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/261fc53068b373dcff5e1f2c4ef066cd.jpg","text":"TemporaryFile(/tmp/multipartBody1273221645497170819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176798727,"filename":"image_18012025_06_04_02_281390_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329678938","file1":"1329678933","file0":"1329678928","file4":"1329678945","file5":"1329678947","file3":"1329678942"},"map_files_photo_id_array":[{"photo_id":"1329678947","filename":"file5"},{"photo_id":"1329678938","filename":"file2"},{"photo_id":"1329678945","filename":"file4"},{"photo_id":"1329678933","filename":"file1"},{"photo_id":"1329678928","filename":"file0"},{"photo_id":"1329678942","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329678933":["hashtag1","hashtag2"]},{"1329678942":["hashtag1","hashtag2"]},{"1329678938":["hashtag1","hashtag2"]},{"1329678947":["hashtag1","hashtag2"]},{"1329678928":["hashtag1","hashtag2"]},{"1329678945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329678933, 1329678942, 1329678938, 1329678947, 1329678928, 1329678945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.458996057510376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:07:02.575670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_0001.jpg', '/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_0002.jpg', '/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_0003.jpg', '/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0000.jpg', '/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0001.jpg', '/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_0001.jpg
/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_0002.jpg
/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_0003.jpg
/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0000.jpg
/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0001.jpg
/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.140609741210938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:07:21.942401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_0001.jpg', '/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_0002.jpg', '/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_0003.jpg', '/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0000.jpg', '/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0001.jpg', '/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_0001.jpg
/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_0002.jpg
/home/pi/Desktop/images/18012025/06/05/image_18012025_06_05_02_762976_0003.jpg
/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0000.jpg
/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0001.jpg
/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329679121","1329679103","1329679004","1329679109","1329679123","1329679119"],"photo_ids_order":["1329679004","1329679103","1329679109","1329679119","1329679121","1329679123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a8d9a241c14b7327d7406cebb0fb73a7.jpg","text":"TemporaryFile(/tmp/multipartBody45659021384222078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176918362,"filename":"image_18012025_06_06_02_325682_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a593fc04e3b567116f07d2cd091975b0.jpg","text":"TemporaryFile(/tmp/multipartBody7219034873315605225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176918362,"filename":"image_18012025_06_05_02_762976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ec4b33ab95392a6c20bd33217b38430.jpg","text":"TemporaryFile(/tmp/multipartBody1966513571656280240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176918362,"filename":"image_18012025_06_05_02_762976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53f2f5719799d4c25a2ab14120d343a0.jpg","text":"TemporaryFile(/tmp/multipartBody6894953577600188012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176918362,"filename":"image_18012025_06_05_02_762976_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/555e2e6a8798384405c47f938e9d1b19.jpg","text":"TemporaryFile(/tmp/multipartBody103883357382704178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176918362,"filename":"image_18012025_06_06_02_325682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c45601f335527512a298109e752718c3.jpg","text":"TemporaryFile(/tmp/multipartBody7612015589932063894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737176918362,"filename":"image_18012025_06_06_02_325682_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329679109","file1":"1329679103","file0":"1329679004","file4":"1329679121","file5":"1329679123","file3":"1329679119"},"map_files_photo_id_array":[{"photo_id":"1329679123","filename":"file5"},{"photo_id":"1329679109","filename":"file2"},{"photo_id":"1329679121","filename":"file4"},{"photo_id":"1329679103","filename":"file1"},{"photo_id":"1329679004","filename":"file0"},{"photo_id":"1329679119","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329679121":["hashtag1","hashtag2"]},{"1329679103":["hashtag1","hashtag2"]},{"1329679004":["hashtag1","hashtag2"]},{"1329679109":["hashtag1","hashtag2"]},{"1329679123":["hashtag1","hashtag2"]},{"1329679119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329679121, 1329679103, 1329679004, 1329679109, 1329679123, 1329679119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.91479778289795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:09:02.864217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0003.jpg', '/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0000.jpg', '/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0001.jpg', '/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0002.jpg', '/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0003.jpg', '/home/pi/Desktop/images/18012025/06/08/image_18012025_06_08_02_352309_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0003.jpg
/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0000.jpg
/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0001.jpg
/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0002.jpg
/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0003.jpg
/home/pi/Desktop/images/18012025/06/08/image_18012025_06_08_02_352309_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.29900574684143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:09:22.127337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0003.jpg', '/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0000.jpg', '/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0001.jpg', '/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0002.jpg', '/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0003.jpg', '/home/pi/Desktop/images/18012025/06/08/image_18012025_06_08_02_352309_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/06/image_18012025_06_06_02_325682_0003.jpg
/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0000.jpg
/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0001.jpg
/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0002.jpg
/home/pi/Desktop/images/18012025/06/07/image_18012025_06_07_02_853663_0003.jpg
/home/pi/Desktop/images/18012025/06/08/image_18012025_06_08_02_352309_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329679203","1329679214","1329679180","1329679192","1329679255","1329679188"],"photo_ids_order":["1329679180","1329679188","1329679192","1329679203","1329679214","1329679255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/47c5f11487f3d9bd53017c874b438a63.jpg","text":"TemporaryFile(/tmp/multipartBody3592213943964101814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177038740,"filename":"image_18012025_06_07_02_853663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5075d975f8225862930209b8a4465bf1.jpg","text":"TemporaryFile(/tmp/multipartBody338498519656826379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177038740,"filename":"image_18012025_06_07_02_853663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e70121eb3dc340d0b171b28b8ebb749.jpg","text":"TemporaryFile(/tmp/multipartBody6374958171032839822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177038740,"filename":"image_18012025_06_06_02_325682_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f6814b83f4f9b7b68573ab9d743e0f92.jpg","text":"TemporaryFile(/tmp/multipartBody4355395650604095819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177038740,"filename":"image_18012025_06_07_02_853663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/51ef1e374342a7aece509c04545e68e4.jpg","text":"TemporaryFile(/tmp/multipartBody718165193553169218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177038740,"filename":"image_18012025_06_08_02_352309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/234c8387c6b7cc8f9115b4daa986934d.jpg","text":"TemporaryFile(/tmp/multipartBody7627330437654821295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177038740,"filename":"image_18012025_06_07_02_853663_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329679192","file1":"1329679188","file0":"1329679180","file4":"1329679214","file5":"1329679255","file3":"1329679203"},"map_files_photo_id_array":[{"photo_id":"1329679255","filename":"file5"},{"photo_id":"1329679192","filename":"file2"},{"photo_id":"1329679214","filename":"file4"},{"photo_id":"1329679188","filename":"file1"},{"photo_id":"1329679180","filename":"file0"},{"photo_id":"1329679203","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329679203":["hashtag1","hashtag2"]},{"1329679214":["hashtag1","hashtag2"]},{"1329679180":["hashtag1","hashtag2"]},{"1329679192":["hashtag1","hashtag2"]},{"1329679255":["hashtag1","hashtag2"]},{"1329679188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329679203, 1329679214, 1329679180, 1329679192, 1329679255, 1329679188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.43724703788757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:10:21.782269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/08/image_18012025_06_08_02_352309_0001.jpg', '/home/pi/Desktop/images/18012025/06/08/image_18012025_06_08_02_352309_0002.jpg', '/home/pi/Desktop/images/18012025/06/08/image_18012025_06_08_02_352309_0003.jpg', '/home/pi/Desktop/images/18012025/06/09/image_18012025_06_09_03_000086_0000.jpg', '/home/pi/Desktop/images/18012025/06/09/image_18012025_06_09_03_000086_0001.jpg', '/home/pi/Desktop/images/18012025/06/09/image_18012025_06_09_03_000086_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/08/image_18012025_06_08_02_352309_0001.jpg
/home/pi/Desktop/images/18012025/06/08/image_18012025_06_08_02_352309_0002.jpg
/home/pi/Desktop/images/18012025/06/08/image_18012025_06_08_02_352309_0003.jpg
/home/pi/Desktop/images/18012025/06/09/image_18012025_06_09_03_000086_0000.jpg
/home/pi/Desktop/images/18012025/06/09/image_18012025_06_09_03_000086_0001.jpg
/home/pi/Desktop/images/18012025/06/09/image_18012025_06_09_03_000086_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329679754","1329680384","1329680060","1329680528","1329680225","1329679929"],"photo_ids_order":["1329679754","1329679929","1329680060","1329680225","1329680384","1329680528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7cfa982cb790becf52309e708e7afefd.jpg","text":"TemporaryFile(/tmp/multipartBody9061618324455559075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177098400,"filename":"image_18012025_06_08_02_352309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8fceaf123cf5c6bd105583d3c39d7d54.jpg","text":"TemporaryFile(/tmp/multipartBody8385031314279810273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177098400,"filename":"image_18012025_06_09_03_000086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c89ad72e8329584b816147c9f82c19b.jpg","text":"TemporaryFile(/tmp/multipartBody3443788052119568118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177098400,"filename":"image_18012025_06_08_02_352309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e57406951167e9a00ba1872149b57882.jpg","text":"TemporaryFile(/tmp/multipartBody5852585543825361047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177098400,"filename":"image_18012025_06_09_03_000086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf729bb2a8afbec8367cc30106d6bd63.jpg","text":"TemporaryFile(/tmp/multipartBody962655397798738218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177098400,"filename":"image_18012025_06_09_03_000086_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e536c9ccfdbdfef4f67a601b2147a463.jpg","text":"TemporaryFile(/tmp/multipartBody417127085258475339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177098400,"filename":"image_18012025_06_08_02_352309_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329680060","file1":"1329679929","file0":"1329679754","file4":"1329680384","file5":"1329680528","file3":"1329680225"},"map_files_photo_id_array":[{"photo_id":"1329680528","filename":"file5"},{"photo_id":"1329680060","filename":"file2"},{"photo_id":"1329680384","filename":"file4"},{"photo_id":"1329679929","filename":"file1"},{"photo_id":"1329679754","filename":"file0"},{"photo_id":"1329680225","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329679754":["hashtag1","hashtag2"]},{"1329680384":["hashtag1","hashtag2"]},{"1329680060":["hashtag1","hashtag2"]},{"1329680528":["hashtag1","hashtag2"]},{"1329680225":["hashtag1","hashtag2"]},{"1329679929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329679754, 1329680384, 1329680060, 1329680528, 1329680225, 1329679929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.951754570007324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:12:02.221760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/09/image_18012025_06_09_03_000086_0003.jpg', '/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0000.jpg', '/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0001.jpg', '/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0002.jpg', '/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0003.jpg', '/home/pi/Desktop/images/18012025/06/11/image_18012025_06_11_02_159503_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/09/image_18012025_06_09_03_000086_0003.jpg
/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0000.jpg
/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0001.jpg
/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0002.jpg
/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0003.jpg
/home/pi/Desktop/images/18012025/06/11/image_18012025_06_11_02_159503_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.234742641448975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:12:21.756300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/09/image_18012025_06_09_03_000086_0003.jpg', '/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0000.jpg', '/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0001.jpg', '/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0002.jpg', '/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0003.jpg', '/home/pi/Desktop/images/18012025/06/11/image_18012025_06_11_02_159503_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/09/image_18012025_06_09_03_000086_0003.jpg
/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0000.jpg
/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0001.jpg
/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0002.jpg
/home/pi/Desktop/images/18012025/06/10/image_18012025_06_10_02_506154_0003.jpg
/home/pi/Desktop/images/18012025/06/11/image_18012025_06_11_02_159503_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329681086","1329680708","1329680857","1329681078","1329680704","1329681162"],"photo_ids_order":["1329680704","1329680708","1329680857","1329681078","1329681086","1329681162"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/080f6cc6380d1de3f6e9cc9a6fc6c6af.jpg","text":"TemporaryFile(/tmp/multipartBody2880279576948206894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177218322,"filename":"image_18012025_06_10_02_506154_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c523c12bfcc1e4a77b29c5d620eaa810.jpg","text":"TemporaryFile(/tmp/multipartBody1964172962482406583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177218322,"filename":"image_18012025_06_10_02_506154_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c78335cf421b815f094e6e136d4cdfcb.jpg","text":"TemporaryFile(/tmp/multipartBody1119425293047468563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177218322,"filename":"image_18012025_06_10_02_506154_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dbab87eafcf8b0838b1149bbee33a899.jpg","text":"TemporaryFile(/tmp/multipartBody5579648648982802795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177218322,"filename":"image_18012025_06_10_02_506154_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6a9b422f63937b3a88fb479cbd18d2a.jpg","text":"TemporaryFile(/tmp/multipartBody8350326337076679630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177218322,"filename":"image_18012025_06_09_03_000086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5159b99440856fc78e5d22ddb0e26330.jpg","text":"TemporaryFile(/tmp/multipartBody8150369645719269446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177218322,"filename":"image_18012025_06_11_02_159503_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329680857","file1":"1329680708","file0":"1329680704","file4":"1329681086","file5":"1329681162","file3":"1329681078"},"map_files_photo_id_array":[{"photo_id":"1329681162","filename":"file5"},{"photo_id":"1329680857","filename":"file2"},{"photo_id":"1329681086","filename":"file4"},{"photo_id":"1329680708","filename":"file1"},{"photo_id":"1329680704","filename":"file0"},{"photo_id":"1329681078","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329681086":["hashtag1","hashtag2"]},{"1329680708":["hashtag1","hashtag2"]},{"1329680857":["hashtag1","hashtag2"]},{"1329681078":["hashtag1","hashtag2"]},{"1329680704":["hashtag1","hashtag2"]},{"1329681162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329681086, 1329680708, 1329680857, 1329681078, 1329680704, 1329681162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.34217071533203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:13:22.283936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/11/image_18012025_06_11_02_159503_0001.jpg', '/home/pi/Desktop/images/18012025/06/11/image_18012025_06_11_02_159503_0002.jpg', '/home/pi/Desktop/images/18012025/06/11/image_18012025_06_11_02_159503_0003.jpg', '/home/pi/Desktop/images/18012025/06/12/image_18012025_06_12_02_671591_0000.jpg', '/home/pi/Desktop/images/18012025/06/12/image_18012025_06_12_02_671591_0001.jpg', '/home/pi/Desktop/images/18012025/06/12/image_18012025_06_12_02_671591_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/11/image_18012025_06_11_02_159503_0001.jpg
/home/pi/Desktop/images/18012025/06/11/image_18012025_06_11_02_159503_0002.jpg
/home/pi/Desktop/images/18012025/06/11/image_18012025_06_11_02_159503_0003.jpg
/home/pi/Desktop/images/18012025/06/12/image_18012025_06_12_02_671591_0000.jpg
/home/pi/Desktop/images/18012025/06/12/image_18012025_06_12_02_671591_0001.jpg
/home/pi/Desktop/images/18012025/06/12/image_18012025_06_12_02_671591_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329681242","1329681251","1329681239","1329681259","1329681247","1329681255"],"photo_ids_order":["1329681239","1329681242","1329681247","1329681251","1329681255","1329681259"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6cd944466947b1116a0d92004298ffdd.jpg","text":"TemporaryFile(/tmp/multipartBody5554111455473380254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177279301,"filename":"image_18012025_06_11_02_159503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da7878bb54986f4f53b026f7b169f300.jpg","text":"TemporaryFile(/tmp/multipartBody267323766030255432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177279301,"filename":"image_18012025_06_12_02_671591_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c35e9c755b743d677ac6dfeaaa23e845.jpg","text":"TemporaryFile(/tmp/multipartBody5156775782680868987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177279301,"filename":"image_18012025_06_11_02_159503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/78a7f824afe2df36c33883e92d25815b.jpg","text":"TemporaryFile(/tmp/multipartBody1394584034204991362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177279301,"filename":"image_18012025_06_12_02_671591_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/30ea4cc310efb535444aea98c162455d.jpg","text":"TemporaryFile(/tmp/multipartBody8610421250994317411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177279301,"filename":"image_18012025_06_11_02_159503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0d01d91d70deb79201fe6ccc30f4c7bc.jpg","text":"TemporaryFile(/tmp/multipartBody68604520220606615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177279301,"filename":"image_18012025_06_12_02_671591_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329681247","file1":"1329681242","file0":"1329681239","file4":"1329681255","file5":"1329681259","file3":"1329681251"},"map_files_photo_id_array":[{"photo_id":"1329681259","filename":"file5"},{"photo_id":"1329681247","filename":"file2"},{"photo_id":"1329681255","filename":"file4"},{"photo_id":"1329681242","filename":"file1"},{"photo_id":"1329681239","filename":"file0"},{"photo_id":"1329681251","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329681242":["hashtag1","hashtag2"]},{"1329681251":["hashtag1","hashtag2"]},{"1329681239":["hashtag1","hashtag2"]},{"1329681259":["hashtag1","hashtag2"]},{"1329681247":["hashtag1","hashtag2"]},{"1329681255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329681242, 1329681251, 1329681239, 1329681259, 1329681247, 1329681255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.839404582977295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:14:21.798717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/12/image_18012025_06_12_02_671591_0003.jpg', '/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0000.jpg', '/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0001.jpg', '/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0002.jpg', '/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0003.jpg', '/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/12/image_18012025_06_12_02_671591_0003.jpg
/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0000.jpg
/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0001.jpg
/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0002.jpg
/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0003.jpg
/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.346640825271606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:15:02.991431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/12/image_18012025_06_12_02_671591_0003.jpg', '/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0000.jpg', '/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0001.jpg', '/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0002.jpg', '/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0003.jpg', '/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/12/image_18012025_06_12_02_671591_0003.jpg
/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0000.jpg
/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0001.jpg
/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0002.jpg
/home/pi/Desktop/images/18012025/06/13/image_18012025_06_13_02_147157_0003.jpg
/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_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":["1329681362","1329681341","1329681335","1329681338","1329681331","1329681304"],"photo_ids_order":["1329681304","1329681331","1329681335","1329681338","1329681341","1329681362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/43c501ae9e3b065de6dc090bc2001af5.jpg","text":"TemporaryFile(/tmp/multipartBody8439144698745002440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177379787,"filename":"image_18012025_06_14_02_669392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ceff726d6e0b32529cb21d1a0dd7fd1.jpg","text":"TemporaryFile(/tmp/multipartBody7354079599117279487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177379787,"filename":"image_18012025_06_13_02_147157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f145b69249c5a668b57802112373a78d.jpg","text":"TemporaryFile(/tmp/multipartBody979750075568126813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177379787,"filename":"image_18012025_06_13_02_147157_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/127aa85915d67660bf32d13dbeedcad3.jpg","text":"TemporaryFile(/tmp/multipartBody832025071684003586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177379787,"filename":"image_18012025_06_13_02_147157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe75e970bc001859ddc08a5337bc9859.jpg","text":"TemporaryFile(/tmp/multipartBody6878601057430916133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177379787,"filename":"image_18012025_06_13_02_147157_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fce7ea95e1be4f3f53b1f953ad75925a.jpg","text":"TemporaryFile(/tmp/multipartBody7695220420835703880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177379787,"filename":"image_18012025_06_12_02_671591_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329681335","file1":"1329681331","file0":"1329681304","file4":"1329681341","file5":"1329681362","file3":"1329681338"},"map_files_photo_id_array":[{"photo_id":"1329681362","filename":"file5"},{"photo_id":"1329681335","filename":"file2"},{"photo_id":"1329681341","filename":"file4"},{"photo_id":"1329681331","filename":"file1"},{"photo_id":"1329681304","filename":"file0"},{"photo_id":"1329681338","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329681362":["hashtag1","hashtag2"]},{"1329681341":["hashtag1","hashtag2"]},{"1329681335":["hashtag1","hashtag2"]},{"1329681338":["hashtag1","hashtag2"]},{"1329681331":["hashtag1","hashtag2"]},{"1329681304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329681362, 1329681341, 1329681335, 1329681338, 1329681331, 1329681304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.69504523277283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:16:21.957934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0001.jpg', '/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0002.jpg', '/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0003.jpg', '/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0000.jpg', '/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0001.jpg', '/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0001.jpg
/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0002.jpg
/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0003.jpg
/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0000.jpg
/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0001.jpg
/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.956089735031128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:17:02.992783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0001.jpg', '/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0002.jpg', '/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0003.jpg', '/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0000.jpg', '/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0001.jpg', '/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0001.jpg
/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0002.jpg
/home/pi/Desktop/images/18012025/06/14/image_18012025_06_14_02_669392_0003.jpg
/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0000.jpg
/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0001.jpg
/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329681425","1329681419","1329681413","1329681436","1329681415","1329681430"],"photo_ids_order":["1329681413","1329681415","1329681419","1329681425","1329681430","1329681436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/427a75d5469c041e83e4fe538b45b1e6.jpg","text":"TemporaryFile(/tmp/multipartBody8913544977519510822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177499418,"filename":"image_18012025_06_15_02_148352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/116261b0999d0dcec1d93595fc4ad88b.jpg","text":"TemporaryFile(/tmp/multipartBody3022098619042410246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177499418,"filename":"image_18012025_06_14_02_669392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a367503ee1e79be4dd857393e81b59fb.jpg","text":"TemporaryFile(/tmp/multipartBody88672444016359426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177499418,"filename":"image_18012025_06_14_02_669392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/45894d6eb0bd363eb3e0564827799b7b.jpg","text":"TemporaryFile(/tmp/multipartBody6607148567273409560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177499418,"filename":"image_18012025_06_15_02_148352_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39310bf5e554d98c1af0cac1e707276d.jpg","text":"TemporaryFile(/tmp/multipartBody5908125702258022602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177499418,"filename":"image_18012025_06_14_02_669392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/47e4d932d19ca5438d19b2cccb5f3869.jpg","text":"TemporaryFile(/tmp/multipartBody5835145509466259838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177499418,"filename":"image_18012025_06_15_02_148352_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329681419","file1":"1329681415","file0":"1329681413","file4":"1329681430","file5":"1329681436","file3":"1329681425"},"map_files_photo_id_array":[{"photo_id":"1329681436","filename":"file5"},{"photo_id":"1329681419","filename":"file2"},{"photo_id":"1329681430","filename":"file4"},{"photo_id":"1329681415","filename":"file1"},{"photo_id":"1329681413","filename":"file0"},{"photo_id":"1329681425","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329681425":["hashtag1","hashtag2"]},{"1329681419":["hashtag1","hashtag2"]},{"1329681413":["hashtag1","hashtag2"]},{"1329681436":["hashtag1","hashtag2"]},{"1329681415":["hashtag1","hashtag2"]},{"1329681430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329681425, 1329681419, 1329681413, 1329681436, 1329681415, 1329681430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.9225594997406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:18:02.622895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0003.jpg', '/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0000.jpg', '/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0001.jpg', '/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0002.jpg', '/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0003.jpg', '/home/pi/Desktop/images/18012025/06/17/image_18012025_06_17_02_364767_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0003.jpg
/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0000.jpg
/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0001.jpg
/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0002.jpg
/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0003.jpg
/home/pi/Desktop/images/18012025/06/17/image_18012025_06_17_02_364767_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.29652214050293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:18:22.226763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0003.jpg', '/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0000.jpg', '/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0001.jpg', '/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0002.jpg', '/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0003.jpg', '/home/pi/Desktop/images/18012025/06/17/image_18012025_06_17_02_364767_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/15/image_18012025_06_15_02_148352_0003.jpg
/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0000.jpg
/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0001.jpg
/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0002.jpg
/home/pi/Desktop/images/18012025/06/16/image_18012025_06_16_02_733911_0003.jpg
/home/pi/Desktop/images/18012025/06/17/image_18012025_06_17_02_364767_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":["1329681869","1329681782","1329681592","1329681496","1329681492","1329681486"],"photo_ids_order":["1329681486","1329681492","1329681496","1329681592","1329681782","1329681869"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16305e719a843ac5882002126225ab51.jpg","text":"TemporaryFile(/tmp/multipartBody3072963531219396069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177578891,"filename":"image_18012025_06_17_02_364767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/551af957293c8d45dbe430753ffb1358.jpg","text":"TemporaryFile(/tmp/multipartBody2715375156831739813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177578891,"filename":"image_18012025_06_16_02_733911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d58ab1fbe22a2fed418d4d403651f4a.jpg","text":"TemporaryFile(/tmp/multipartBody1784808717885204099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177578891,"filename":"image_18012025_06_16_02_733911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9155f0e3234c67f8b7e8d8e82a3bd882.jpg","text":"TemporaryFile(/tmp/multipartBody8104882271812030120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177578891,"filename":"image_18012025_06_16_02_733911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d28660577431101ae6fa48258e9b2c9e.jpg","text":"TemporaryFile(/tmp/multipartBody5391150958331431923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177578891,"filename":"image_18012025_06_16_02_733911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0687a43a9e982a9ec40078abbdcfc27c.jpg","text":"TemporaryFile(/tmp/multipartBody1741606781858974184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177578891,"filename":"image_18012025_06_15_02_148352_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329681496","file1":"1329681492","file0":"1329681486","file4":"1329681782","file5":"1329681869","file3":"1329681592"},"map_files_photo_id_array":[{"photo_id":"1329681869","filename":"file5"},{"photo_id":"1329681496","filename":"file2"},{"photo_id":"1329681782","filename":"file4"},{"photo_id":"1329681492","filename":"file1"},{"photo_id":"1329681486","filename":"file0"},{"photo_id":"1329681592","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329681869":["hashtag1","hashtag2"]},{"1329681782":["hashtag1","hashtag2"]},{"1329681592":["hashtag1","hashtag2"]},{"1329681496":["hashtag1","hashtag2"]},{"1329681492":["hashtag1","hashtag2"]},{"1329681486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329681869, 1329681782, 1329681592, 1329681496, 1329681492, 1329681486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.75700354576111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:20:02.576772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/17/image_18012025_06_17_02_364767_0001.jpg', '/home/pi/Desktop/images/18012025/06/17/image_18012025_06_17_02_364767_0002.jpg', '/home/pi/Desktop/images/18012025/06/17/image_18012025_06_17_02_364767_0003.jpg', '/home/pi/Desktop/images/18012025/06/18/image_18012025_06_18_02_896278_0000.jpg', '/home/pi/Desktop/images/18012025/06/18/image_18012025_06_18_02_896278_0001.jpg', '/home/pi/Desktop/images/18012025/06/18/image_18012025_06_18_02_896278_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/17/image_18012025_06_17_02_364767_0001.jpg
/home/pi/Desktop/images/18012025/06/17/image_18012025_06_17_02_364767_0002.jpg
/home/pi/Desktop/images/18012025/06/17/image_18012025_06_17_02_364767_0003.jpg
/home/pi/Desktop/images/18012025/06/18/image_18012025_06_18_02_896278_0000.jpg
/home/pi/Desktop/images/18012025/06/18/image_18012025_06_18_02_896278_0001.jpg
/home/pi/Desktop/images/18012025/06/18/image_18012025_06_18_02_896278_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329682415","1329682424","1329682393","1329682398","1329682402","1329682419"],"photo_ids_order":["1329682393","1329682398","1329682402","1329682415","1329682419","1329682424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c837bafb366cd2def8182eb4b89dfe9c.jpg","text":"TemporaryFile(/tmp/multipartBody6063786762193001881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177679532,"filename":"image_18012025_06_18_02_896278_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4a9bb8ea80f87cfb7f7122a2a103993.jpg","text":"TemporaryFile(/tmp/multipartBody2481611493093070632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177679532,"filename":"image_18012025_06_18_02_896278_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3ee824a9bc9b20fe3a5dda6ff782cdd4.jpg","text":"TemporaryFile(/tmp/multipartBody8867187085785575427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177679532,"filename":"image_18012025_06_17_02_364767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f6510b26a9826f92230763e6deaa367c.jpg","text":"TemporaryFile(/tmp/multipartBody4845440092347760788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177679532,"filename":"image_18012025_06_17_02_364767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b536e7585428b6d8ed4e827d0122fca.jpg","text":"TemporaryFile(/tmp/multipartBody1055973294632645013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177679532,"filename":"image_18012025_06_17_02_364767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fce416dc3b3a682143ff1cdc63817a69.jpg","text":"TemporaryFile(/tmp/multipartBody7128961952704453010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177679532,"filename":"image_18012025_06_18_02_896278_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329682402","file1":"1329682398","file0":"1329682393","file4":"1329682419","file5":"1329682424","file3":"1329682415"},"map_files_photo_id_array":[{"photo_id":"1329682424","filename":"file5"},{"photo_id":"1329682402","filename":"file2"},{"photo_id":"1329682419","filename":"file4"},{"photo_id":"1329682398","filename":"file1"},{"photo_id":"1329682393","filename":"file0"},{"photo_id":"1329682415","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329682415":["hashtag1","hashtag2"]},{"1329682424":["hashtag1","hashtag2"]},{"1329682393":["hashtag1","hashtag2"]},{"1329682398":["hashtag1","hashtag2"]},{"1329682402":["hashtag1","hashtag2"]},{"1329682419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329682415, 1329682424, 1329682393, 1329682398, 1329682402, 1329682419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.58307242393494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:21:03.387440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/18/image_18012025_06_18_02_896278_0003.jpg', '/home/pi/Desktop/images/18012025/06/19/image_18012025_06_19_02_581580_0000.jpg', '/home/pi/Desktop/images/18012025/06/19/image_18012025_06_19_02_581580_0001.jpg', '/home/pi/Desktop/images/18012025/06/19/image_18012025_06_19_02_581580_0002.jpg', '/home/pi/Desktop/images/18012025/06/19/image_18012025_06_19_02_581580_0003.jpg', '/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/18/image_18012025_06_18_02_896278_0003.jpg
/home/pi/Desktop/images/18012025/06/19/image_18012025_06_19_02_581580_0000.jpg
/home/pi/Desktop/images/18012025/06/19/image_18012025_06_19_02_581580_0001.jpg
/home/pi/Desktop/images/18012025/06/19/image_18012025_06_19_02_581580_0002.jpg
/home/pi/Desktop/images/18012025/06/19/image_18012025_06_19_02_581580_0003.jpg
/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329682526","1329682468","1329682459","1329682510","1329682488","1329682512"],"photo_ids_order":["1329682459","1329682468","1329682488","1329682510","1329682512","1329682526"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e0b697d4334535860216af1f34604cd.jpg","text":"TemporaryFile(/tmp/multipartBody1715205916263357692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177739455,"filename":"image_18012025_06_20_03_128941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b56b2af5fc2c58af1b5afd174c6ddba2.jpg","text":"TemporaryFile(/tmp/multipartBody3343475840897336921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177739455,"filename":"image_18012025_06_19_02_581580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dcc39ba97eb8dff57c35acecbf322f72.jpg","text":"TemporaryFile(/tmp/multipartBody8247574286808432537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177739455,"filename":"image_18012025_06_18_02_896278_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0ffdf0547b3c199845837f86d5a5aae.jpg","text":"TemporaryFile(/tmp/multipartBody2058187935468870110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177739455,"filename":"image_18012025_06_19_02_581580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e73cf95433935d9b8ed70d558d7b0c0c.jpg","text":"TemporaryFile(/tmp/multipartBody5584531858415961991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177739455,"filename":"image_18012025_06_19_02_581580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be81f95006e8e6f911c6e6edf9f3420f.jpg","text":"TemporaryFile(/tmp/multipartBody1628019717027075505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177739455,"filename":"image_18012025_06_19_02_581580_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329682488","file1":"1329682468","file0":"1329682459","file4":"1329682512","file5":"1329682526","file3":"1329682510"},"map_files_photo_id_array":[{"photo_id":"1329682526","filename":"file5"},{"photo_id":"1329682488","filename":"file2"},{"photo_id":"1329682512","filename":"file4"},{"photo_id":"1329682468","filename":"file1"},{"photo_id":"1329682459","filename":"file0"},{"photo_id":"1329682510","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329682526":["hashtag1","hashtag2"]},{"1329682468":["hashtag1","hashtag2"]},{"1329682459":["hashtag1","hashtag2"]},{"1329682510":["hashtag1","hashtag2"]},{"1329682488":["hashtag1","hashtag2"]},{"1329682512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329682526, 1329682468, 1329682459, 1329682510, 1329682488, 1329682512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.27271008491516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:22:02.848620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0001.jpg', '/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0002.jpg', '/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0003.jpg', '/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0000.jpg', '/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0001.jpg', '/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0001.jpg
/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0002.jpg
/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0003.jpg
/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0000.jpg
/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0001.jpg
/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.85489273071289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:22:22.314581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0001.jpg', '/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0002.jpg', '/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0003.jpg', '/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0000.jpg', '/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0001.jpg', '/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0001.jpg
/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0002.jpg
/home/pi/Desktop/images/18012025/06/20/image_18012025_06_20_03_128941_0003.jpg
/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0000.jpg
/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0001.jpg
/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329682568","1329682552","1329682566","1329682562","1329682556","1329682571"],"photo_ids_order":["1329682552","1329682556","1329682562","1329682566","1329682568","1329682571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/acb804ba51c393c831b7f4032dbb889f.jpg","text":"TemporaryFile(/tmp/multipartBody1872674556248718636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177818537,"filename":"image_18012025_06_21_02_604749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/397c15eea4e06ccbeb5c9b56846c566b.jpg","text":"TemporaryFile(/tmp/multipartBody4690488649974064364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177818537,"filename":"image_18012025_06_20_03_128941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84b84323feb99ada13d73127236f38ab.jpg","text":"TemporaryFile(/tmp/multipartBody2725213961995528302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177818537,"filename":"image_18012025_06_21_02_604749_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba7b01f76731c62e3445f1a4726e5468.jpg","text":"TemporaryFile(/tmp/multipartBody8349603441495879315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177818537,"filename":"image_18012025_06_20_03_128941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c31ebdbe293004c9521b3e55caf62b4b.jpg","text":"TemporaryFile(/tmp/multipartBody5002828374917224197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177818537,"filename":"image_18012025_06_20_03_128941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d45578c21b28613a7b1f1adfdc839254.jpg","text":"TemporaryFile(/tmp/multipartBody6570658908678982724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177818537,"filename":"image_18012025_06_21_02_604749_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329682562","file1":"1329682556","file0":"1329682552","file4":"1329682568","file5":"1329682571","file3":"1329682566"},"map_files_photo_id_array":[{"photo_id":"1329682571","filename":"file5"},{"photo_id":"1329682562","filename":"file2"},{"photo_id":"1329682568","filename":"file4"},{"photo_id":"1329682556","filename":"file1"},{"photo_id":"1329682552","filename":"file0"},{"photo_id":"1329682566","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329682568":["hashtag1","hashtag2"]},{"1329682552":["hashtag1","hashtag2"]},{"1329682566":["hashtag1","hashtag2"]},{"1329682562":["hashtag1","hashtag2"]},{"1329682556":["hashtag1","hashtag2"]},{"1329682571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329682568, 1329682552, 1329682566, 1329682562, 1329682556, 1329682571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.52046823501587 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:23:21.896964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0003.jpg', '/home/pi/Desktop/images/18012025/06/22/image_18012025_06_22_03_134086_0000.jpg', '/home/pi/Desktop/images/18012025/06/22/image_18012025_06_22_03_134086_0001.jpg', '/home/pi/Desktop/images/18012025/06/22/image_18012025_06_22_03_134086_0002.jpg', '/home/pi/Desktop/images/18012025/06/22/image_18012025_06_22_03_134086_0003.jpg', '/home/pi/Desktop/images/18012025/06/23/image_18012025_06_23_02_785410_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/21/image_18012025_06_21_02_604749_0003.jpg
/home/pi/Desktop/images/18012025/06/22/image_18012025_06_22_03_134086_0000.jpg
/home/pi/Desktop/images/18012025/06/22/image_18012025_06_22_03_134086_0001.jpg
/home/pi/Desktop/images/18012025/06/22/image_18012025_06_22_03_134086_0002.jpg
/home/pi/Desktop/images/18012025/06/22/image_18012025_06_22_03_134086_0003.jpg
/home/pi/Desktop/images/18012025/06/23/image_18012025_06_23_02_785410_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329682838","1329682954","1329682843","1329682857","1329683007","1329682829"],"photo_ids_order":["1329682829","1329682838","1329682843","1329682857","1329682954","1329683007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/153262725b17ce3c4ede247b3d4a1597.jpg","text":"TemporaryFile(/tmp/multipartBody6794336739108268979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177879016,"filename":"image_18012025_06_22_03_134086_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cef1ec9981017579193e59a8fb952fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3887831473082978878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177879016,"filename":"image_18012025_06_22_03_134086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e95d08479f716b2a9150bc6e68ec465c.jpg","text":"TemporaryFile(/tmp/multipartBody2017187328825341970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177879016,"filename":"image_18012025_06_22_03_134086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5886e9bbfafe79542e5b4af68fadde55.jpg","text":"TemporaryFile(/tmp/multipartBody7283566994944413454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177879016,"filename":"image_18012025_06_22_03_134086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7248f115b5162aa07624f03c45179b70.jpg","text":"TemporaryFile(/tmp/multipartBody1185128979554434911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177879016,"filename":"image_18012025_06_23_02_785410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aae1a8820c3421a1a2d428c9cec3555e.jpg","text":"TemporaryFile(/tmp/multipartBody4657260796711090509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177879016,"filename":"image_18012025_06_21_02_604749_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329682843","file1":"1329682838","file0":"1329682829","file4":"1329682954","file5":"1329683007","file3":"1329682857"},"map_files_photo_id_array":[{"photo_id":"1329683007","filename":"file5"},{"photo_id":"1329682843","filename":"file2"},{"photo_id":"1329682954","filename":"file4"},{"photo_id":"1329682838","filename":"file1"},{"photo_id":"1329682829","filename":"file0"},{"photo_id":"1329682857","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329682838":["hashtag1","hashtag2"]},{"1329682954":["hashtag1","hashtag2"]},{"1329682843":["hashtag1","hashtag2"]},{"1329682857":["hashtag1","hashtag2"]},{"1329683007":["hashtag1","hashtag2"]},{"1329682829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329682838, 1329682954, 1329682843, 1329682857, 1329683007, 1329682829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.88852858543396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:24:22.394966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/23/image_18012025_06_23_02_785410_0001.jpg', '/home/pi/Desktop/images/18012025/06/23/image_18012025_06_23_02_785410_0002.jpg', '/home/pi/Desktop/images/18012025/06/23/image_18012025_06_23_02_785410_0003.jpg', '/home/pi/Desktop/images/18012025/06/24/image_18012025_06_24_02_267209_0000.jpg', '/home/pi/Desktop/images/18012025/06/24/image_18012025_06_24_02_267209_0001.jpg', '/home/pi/Desktop/images/18012025/06/24/image_18012025_06_24_02_267209_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/23/image_18012025_06_23_02_785410_0001.jpg
/home/pi/Desktop/images/18012025/06/23/image_18012025_06_23_02_785410_0002.jpg
/home/pi/Desktop/images/18012025/06/23/image_18012025_06_23_02_785410_0003.jpg
/home/pi/Desktop/images/18012025/06/24/image_18012025_06_24_02_267209_0000.jpg
/home/pi/Desktop/images/18012025/06/24/image_18012025_06_24_02_267209_0001.jpg
/home/pi/Desktop/images/18012025/06/24/image_18012025_06_24_02_267209_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329683173","1329683095","1329683152","1329683160","1329683183","1329683072"],"photo_ids_order":["1329683072","1329683095","1329683152","1329683160","1329683173","1329683183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cdb657065b00ed281e1918bbad5a2447.jpg","text":"TemporaryFile(/tmp/multipartBody6834915054462392961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177938953,"filename":"image_18012025_06_24_02_267209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54a4e7dcb8875425419cde1db9ca0fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1090196055923276729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177938953,"filename":"image_18012025_06_23_02_785410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3ae36833f44edb11b747b93a07830ff.jpg","text":"TemporaryFile(/tmp/multipartBody1973334177521915658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177938953,"filename":"image_18012025_06_23_02_785410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/98e795026bb8aafa67958895685800c6.jpg","text":"TemporaryFile(/tmp/multipartBody1119649846999441934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177938953,"filename":"image_18012025_06_24_02_267209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/845d7abe8a9973dc91a564e69e1c3bc6.jpg","text":"TemporaryFile(/tmp/multipartBody2995197078273317359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177938953,"filename":"image_18012025_06_24_02_267209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e294556dd833f78d316e08a7812e92e.jpg","text":"TemporaryFile(/tmp/multipartBody4099852127823922146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177938953,"filename":"image_18012025_06_23_02_785410_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329683152","file1":"1329683095","file0":"1329683072","file4":"1329683173","file5":"1329683183","file3":"1329683160"},"map_files_photo_id_array":[{"photo_id":"1329683183","filename":"file5"},{"photo_id":"1329683152","filename":"file2"},{"photo_id":"1329683173","filename":"file4"},{"photo_id":"1329683095","filename":"file1"},{"photo_id":"1329683072","filename":"file0"},{"photo_id":"1329683160","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329683173":["hashtag1","hashtag2"]},{"1329683095":["hashtag1","hashtag2"]},{"1329683152":["hashtag1","hashtag2"]},{"1329683160":["hashtag1","hashtag2"]},{"1329683183":["hashtag1","hashtag2"]},{"1329683072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329683173, 1329683095, 1329683152, 1329683160, 1329683183, 1329683072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.41165018081665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:25:21.868142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/24/image_18012025_06_24_02_267209_0003.jpg', '/home/pi/Desktop/images/18012025/06/25/image_18012025_06_25_02_821057_0000.jpg', '/home/pi/Desktop/images/18012025/06/25/image_18012025_06_25_02_821057_0001.jpg', '/home/pi/Desktop/images/18012025/06/25/image_18012025_06_25_02_821057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/24/image_18012025_06_24_02_267209_0003.jpg
/home/pi/Desktop/images/18012025/06/25/image_18012025_06_25_02_821057_0000.jpg
/home/pi/Desktop/images/18012025/06/25/image_18012025_06_25_02_821057_0001.jpg
/home/pi/Desktop/images/18012025/06/25/image_18012025_06_25_02_821057_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329683251","1329683245","1329683241","1329683285"],"photo_ids_order":["1329683241","1329683245","1329683251","1329683285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/136089ad12252a04a3916ec1100c1d42.jpg","text":"TemporaryFile(/tmp/multipartBody839906487720488639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177992893,"filename":"image_18012025_06_25_02_821057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a855daf49f17e384406c4ce7f330012a.jpg","text":"TemporaryFile(/tmp/multipartBody8363518119552373790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177992893,"filename":"image_18012025_06_25_02_821057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c49aaee6bcc3561cb744d407a548138.jpg","text":"TemporaryFile(/tmp/multipartBody7063465307828439741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177992893,"filename":"image_18012025_06_24_02_267209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13743fb542b38c2cde90dde9542b979d.jpg","text":"TemporaryFile(/tmp/multipartBody925455395534394309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737177992893,"filename":"image_18012025_06_25_02_821057_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329683251","file1":"1329683245","file0":"1329683241","file3":"1329683285"},"map_files_photo_id_array":[{"photo_id":"1329683251","filename":"file2"},{"photo_id":"1329683245","filename":"file1"},{"photo_id":"1329683241","filename":"file0"},{"photo_id":"1329683285","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329683251":["hashtag1","hashtag2"]},{"1329683245":["hashtag1","hashtag2"]},{"1329683241":["hashtag1","hashtag2"]},{"1329683285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329683251, 1329683245, 1329683241, 1329683285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.97428894042969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:26:22.436487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/25/image_18012025_06_25_02_821057_0003.jpg', '/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0000.jpg', '/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0001.jpg', '/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/25/image_18012025_06_25_02_821057_0003.jpg
/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0000.jpg
/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0001.jpg
/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.832627773284912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:27:02.607607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/25/image_18012025_06_25_02_821057_0003.jpg', '/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0000.jpg', '/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0001.jpg', '/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/25/image_18012025_06_25_02_821057_0003.jpg
/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0000.jpg
/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0001.jpg
/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329683571","1329683559","1329683555","1329683564"],"photo_ids_order":["1329683555","1329683559","1329683564","1329683571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a30b4a3f700e959ac9263d06e733820f.jpg","text":"TemporaryFile(/tmp/multipartBody4167414178004408199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178093889,"filename":"image_18012025_06_26_02_285859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/76bebfcabf2f2f2c7a0f1935e1a18b13.jpg","text":"TemporaryFile(/tmp/multipartBody2786615219121131333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178093889,"filename":"image_18012025_06_26_02_285859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8222e739072165510d33735cc1ef9d44.jpg","text":"TemporaryFile(/tmp/multipartBody546252887648021423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178093889,"filename":"image_18012025_06_25_02_821057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2eb472ece21f9a02ade8cf97a1546eca.jpg","text":"TemporaryFile(/tmp/multipartBody7818376437022313795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178093889,"filename":"image_18012025_06_26_02_285859_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329683564","file1":"1329683559","file0":"1329683555","file3":"1329683571"},"map_files_photo_id_array":[{"photo_id":"1329683564","filename":"file2"},{"photo_id":"1329683559","filename":"file1"},{"photo_id":"1329683555","filename":"file0"},{"photo_id":"1329683571","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329683571":["hashtag1","hashtag2"]},{"1329683559":["hashtag1","hashtag2"]},{"1329683555":["hashtag1","hashtag2"]},{"1329683564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329683571, 1329683559, 1329683555, 1329683564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.15059041976929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:28:03.042246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0003.jpg', '/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0000.jpg', '/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0001.jpg', '/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0003.jpg
/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0000.jpg
/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0001.jpg
/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.863881587982178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:28:22.596137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0003.jpg', '/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0000.jpg', '/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0001.jpg', '/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0002.jpg', '/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0003.jpg', '/home/pi/Desktop/images/18012025/06/28/image_18012025_06_28_02_348918_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/26/image_18012025_06_26_02_285859_0003.jpg
/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0000.jpg
/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0001.jpg
/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0002.jpg
/home/pi/Desktop/images/18012025/06/27/image_18012025_06_27_02_785063_0003.jpg
/home/pi/Desktop/images/18012025/06/28/image_18012025_06_28_02_348918_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329683758","1329683766","1329683763","1329683736","1329683771","1329683732"],"photo_ids_order":["1329683732","1329683736","1329683758","1329683763","1329683766","1329683771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/590b95097793ccd70d359f241c4be9f8.jpg","text":"TemporaryFile(/tmp/multipartBody6684050345929280831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178179418,"filename":"image_18012025_06_27_02_785063_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5b372cddbb89a7dee9e6057544d323d1.jpg","text":"TemporaryFile(/tmp/multipartBody7701670509836711118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178179418,"filename":"image_18012025_06_27_02_785063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9d627821a5c19817e290737b0a7b120.jpg","text":"TemporaryFile(/tmp/multipartBody5953836427339751950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178179418,"filename":"image_18012025_06_27_02_785063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/06efeab453da270d6e5af841630e0e74.jpg","text":"TemporaryFile(/tmp/multipartBody4144495905332123462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178179418,"filename":"image_18012025_06_27_02_785063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba7eaa8b7c04c3fe6d01629391eaaf4a.jpg","text":"TemporaryFile(/tmp/multipartBody7432297688091774206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178179418,"filename":"image_18012025_06_28_02_348918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c991319c0f5ba2555150cb1197587a9.jpg","text":"TemporaryFile(/tmp/multipartBody3427131475063965045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178179418,"filename":"image_18012025_06_26_02_285859_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329683758","file1":"1329683736","file0":"1329683732","file4":"1329683766","file5":"1329683771","file3":"1329683763"},"map_files_photo_id_array":[{"photo_id":"1329683771","filename":"file5"},{"photo_id":"1329683758","filename":"file2"},{"photo_id":"1329683766","filename":"file4"},{"photo_id":"1329683736","filename":"file1"},{"photo_id":"1329683732","filename":"file0"},{"photo_id":"1329683763","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329683758":["hashtag1","hashtag2"]},{"1329683766":["hashtag1","hashtag2"]},{"1329683763":["hashtag1","hashtag2"]},{"1329683736":["hashtag1","hashtag2"]},{"1329683771":["hashtag1","hashtag2"]},{"1329683732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329683758, 1329683766, 1329683763, 1329683736, 1329683771, 1329683732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.003923654556274 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-18 06:30:03.203378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/28/image_18012025_06_28_02_348918_0001.jpg', '/home/pi/Desktop/images/18012025/06/28/image_18012025_06_28_02_348918_0002.jpg', '/home/pi/Desktop/images/18012025/06/28/image_18012025_06_28_02_348918_0003.jpg', '/home/pi/Desktop/images/18012025/06/29/image_18012025_06_29_03_070602_0000.jpg', '/home/pi/Desktop/images/18012025/06/29/image_18012025_06_29_03_070602_0001.jpg', '/home/pi/Desktop/images/18012025/06/29/image_18012025_06_29_03_070602_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/28/image_18012025_06_28_02_348918_0001.jpg
/home/pi/Desktop/images/18012025/06/28/image_18012025_06_28_02_348918_0002.jpg
/home/pi/Desktop/images/18012025/06/28/image_18012025_06_28_02_348918_0003.jpg
/home/pi/Desktop/images/18012025/06/29/image_18012025_06_29_03_070602_0000.jpg
/home/pi/Desktop/images/18012025/06/29/image_18012025_06_29_03_070602_0001.jpg
/home/pi/Desktop/images/18012025/06/29/image_18012025_06_29_03_070602_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329683854","1329683857","1329683865","1329683868","1329683862","1329683850"],"photo_ids_order":["1329683850","1329683854","1329683857","1329683862","1329683865","1329683868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f46d0046a16c4c5232cef15aed8e8d6e.jpg","text":"TemporaryFile(/tmp/multipartBody8102348219053266363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178279461,"filename":"image_18012025_06_28_02_348918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73fa245e517257bf6dc2468d014461a6.jpg","text":"TemporaryFile(/tmp/multipartBody5294254440456232054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178279461,"filename":"image_18012025_06_28_02_348918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/792810e3bcb59236a532beb782d29a35.jpg","text":"TemporaryFile(/tmp/multipartBody1352447970151829427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178279461,"filename":"image_18012025_06_29_03_070602_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9eec7f873e4948b206f84f7272d4f36d.jpg","text":"TemporaryFile(/tmp/multipartBody6124139958098670785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178279461,"filename":"image_18012025_06_29_03_070602_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6b9082f69ed8374e282a2570ca54d8d.jpg","text":"TemporaryFile(/tmp/multipartBody3799670441488204864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178279461,"filename":"image_18012025_06_29_03_070602_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c22efad1c56c9579a53f1ad59474cbaf.jpg","text":"TemporaryFile(/tmp/multipartBody7904012484142112771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178279461,"filename":"image_18012025_06_28_02_348918_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329683857","file1":"1329683854","file0":"1329683850","file4":"1329683865","file5":"1329683868","file3":"1329683862"},"map_files_photo_id_array":[{"photo_id":"1329683868","filename":"file5"},{"photo_id":"1329683857","filename":"file2"},{"photo_id":"1329683865","filename":"file4"},{"photo_id":"1329683854","filename":"file1"},{"photo_id":"1329683850","filename":"file0"},{"photo_id":"1329683862","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329683854":["hashtag1","hashtag2"]},{"1329683857":["hashtag1","hashtag2"]},{"1329683865":["hashtag1","hashtag2"]},{"1329683868":["hashtag1","hashtag2"]},{"1329683862":["hashtag1","hashtag2"]},{"1329683850":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329683854, 1329683857, 1329683865, 1329683868, 1329683862, 1329683850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.00525188446045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:31:22.144832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/29/image_18012025_06_29_03_070602_0003.jpg', '/home/pi/Desktop/images/18012025/06/30/image_18012025_06_30_02_578641_0000.jpg', '/home/pi/Desktop/images/18012025/06/30/image_18012025_06_30_02_578641_0001.jpg', '/home/pi/Desktop/images/18012025/06/30/image_18012025_06_30_02_578641_0002.jpg', '/home/pi/Desktop/images/18012025/06/30/image_18012025_06_30_02_578641_0003.jpg', '/home/pi/Desktop/images/18012025/06/31/image_18012025_06_31_03_083634_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/29/image_18012025_06_29_03_070602_0003.jpg
/home/pi/Desktop/images/18012025/06/30/image_18012025_06_30_02_578641_0000.jpg
/home/pi/Desktop/images/18012025/06/30/image_18012025_06_30_02_578641_0001.jpg
/home/pi/Desktop/images/18012025/06/30/image_18012025_06_30_02_578641_0002.jpg
/home/pi/Desktop/images/18012025/06/30/image_18012025_06_30_02_578641_0003.jpg
/home/pi/Desktop/images/18012025/06/31/image_18012025_06_31_03_083634_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329683923","1329683920","1329683979","1329683955","1329683960","1329683890"],"photo_ids_order":["1329683890","1329683920","1329683923","1329683955","1329683960","1329683979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff3a75ed9a716c4dbe6fb78bb56d2de1.jpg","text":"TemporaryFile(/tmp/multipartBody4716853425749008881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178358589,"filename":"image_18012025_06_30_02_578641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e967d3c5faa5709b56589b9f6ab7963d.jpg","text":"TemporaryFile(/tmp/multipartBody5229193449376105426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178358589,"filename":"image_18012025_06_30_02_578641_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b343992e3160f4b5828174a0a43311ce.jpg","text":"TemporaryFile(/tmp/multipartBody7186844207038552250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178358589,"filename":"image_18012025_06_31_03_083634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd3950821caba28fac331fe21f5df2b2.jpg","text":"TemporaryFile(/tmp/multipartBody5793761366031322283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178358589,"filename":"image_18012025_06_30_02_578641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9754cb87c42b8743bd707ecfe7ad82cd.jpg","text":"TemporaryFile(/tmp/multipartBody6649822169155622297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178358589,"filename":"image_18012025_06_30_02_578641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/176416f02a162003f9b776771ec78c06.jpg","text":"TemporaryFile(/tmp/multipartBody3456661351060168883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178358589,"filename":"image_18012025_06_29_03_070602_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329683923","file1":"1329683920","file0":"1329683890","file4":"1329683960","file5":"1329683979","file3":"1329683955"},"map_files_photo_id_array":[{"photo_id":"1329683979","filename":"file5"},{"photo_id":"1329683923","filename":"file2"},{"photo_id":"1329683960","filename":"file4"},{"photo_id":"1329683920","filename":"file1"},{"photo_id":"1329683890","filename":"file0"},{"photo_id":"1329683955","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329683923":["hashtag1","hashtag2"]},{"1329683920":["hashtag1","hashtag2"]},{"1329683979":["hashtag1","hashtag2"]},{"1329683955":["hashtag1","hashtag2"]},{"1329683960":["hashtag1","hashtag2"]},{"1329683890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329683923, 1329683920, 1329683979, 1329683955, 1329683960, 1329683890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.16907525062561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:32:22.689473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/31/image_18012025_06_31_03_083634_0001.jpg', '/home/pi/Desktop/images/18012025/06/31/image_18012025_06_31_03_083634_0002.jpg', '/home/pi/Desktop/images/18012025/06/31/image_18012025_06_31_03_083634_0003.jpg', '/home/pi/Desktop/images/18012025/06/32/image_18012025_06_32_02_562016_0000.jpg', '/home/pi/Desktop/images/18012025/06/32/image_18012025_06_32_02_562016_0001.jpg', '/home/pi/Desktop/images/18012025/06/32/image_18012025_06_32_02_562016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/31/image_18012025_06_31_03_083634_0001.jpg
/home/pi/Desktop/images/18012025/06/31/image_18012025_06_31_03_083634_0002.jpg
/home/pi/Desktop/images/18012025/06/31/image_18012025_06_31_03_083634_0003.jpg
/home/pi/Desktop/images/18012025/06/32/image_18012025_06_32_02_562016_0000.jpg
/home/pi/Desktop/images/18012025/06/32/image_18012025_06_32_02_562016_0001.jpg
/home/pi/Desktop/images/18012025/06/32/image_18012025_06_32_02_562016_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329684007","1329683997","1329684033","1329684015","1329684011","1329684002"],"photo_ids_order":["1329683997","1329684002","1329684007","1329684011","1329684015","1329684033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0735280c11d8b2e77e4301a3025a5500.jpg","text":"TemporaryFile(/tmp/multipartBody628554587332200215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178418888,"filename":"image_18012025_06_31_03_083634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0d39d3a4ad906d63693ff267170e38d4.jpg","text":"TemporaryFile(/tmp/multipartBody60773796576498974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178418888,"filename":"image_18012025_06_31_03_083634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e41549416f290eab32ab2e1a97d0a3db.jpg","text":"TemporaryFile(/tmp/multipartBody2847405727304095003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178418888,"filename":"image_18012025_06_32_02_562016_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d30316f20647305f4b7ca941cfc41c0d.jpg","text":"TemporaryFile(/tmp/multipartBody1678919699431870917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178418888,"filename":"image_18012025_06_32_02_562016_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7ab92efe0a144811a892e71dea11db2.jpg","text":"TemporaryFile(/tmp/multipartBody230341049939030772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178418888,"filename":"image_18012025_06_32_02_562016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf7c0f332dc29f56f8ba55c5368bbf83.jpg","text":"TemporaryFile(/tmp/multipartBody8994488424799481768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178418888,"filename":"image_18012025_06_31_03_083634_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329684007","file1":"1329684002","file0":"1329683997","file4":"1329684015","file5":"1329684033","file3":"1329684011"},"map_files_photo_id_array":[{"photo_id":"1329684033","filename":"file5"},{"photo_id":"1329684007","filename":"file2"},{"photo_id":"1329684015","filename":"file4"},{"photo_id":"1329684002","filename":"file1"},{"photo_id":"1329683997","filename":"file0"},{"photo_id":"1329684011","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329684007":["hashtag1","hashtag2"]},{"1329683997":["hashtag1","hashtag2"]},{"1329684033":["hashtag1","hashtag2"]},{"1329684015":["hashtag1","hashtag2"]},{"1329684011":["hashtag1","hashtag2"]},{"1329684002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329684007, 1329683997, 1329684033, 1329684015, 1329684011, 1329684002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.09415364265442 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:34:03.167878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/32/image_18012025_06_32_02_562016_0003.jpg', '/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0000.jpg', '/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0001.jpg', '/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/32/image_18012025_06_32_02_562016_0003.jpg
/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0000.jpg
/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0001.jpg
/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.911132574081421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:34:22.709644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/32/image_18012025_06_32_02_562016_0003.jpg', '/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0000.jpg', '/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0001.jpg', '/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0002.jpg', '/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0003.jpg', '/home/pi/Desktop/images/18012025/06/34/image_18012025_06_34_02_536716_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/32/image_18012025_06_32_02_562016_0003.jpg
/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0000.jpg
/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0001.jpg
/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0002.jpg
/home/pi/Desktop/images/18012025/06/33/image_18012025_06_33_03_064163_0003.jpg
/home/pi/Desktop/images/18012025/06/34/image_18012025_06_34_02_536716_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329684214","1329684223","1329684219","1329684224","1329684227","1329684206"],"photo_ids_order":["1329684206","1329684214","1329684219","1329684223","1329684224","1329684227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eff338f038a6a8712c3a947c4fa9637a.jpg","text":"TemporaryFile(/tmp/multipartBody6861263213501536785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178539448,"filename":"image_18012025_06_33_03_064163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e191b3f6f4a84efa204fa1f7bbcfd3ce.jpg","text":"TemporaryFile(/tmp/multipartBody56365127535089750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178539448,"filename":"image_18012025_06_33_03_064163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/baef9406c096a277fa25ccec07bd5a60.jpg","text":"TemporaryFile(/tmp/multipartBody2492616166897794868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178539448,"filename":"image_18012025_06_33_03_064163_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1878facaf3eaad2a57a319dbed6fc720.jpg","text":"TemporaryFile(/tmp/multipartBody7564416514454432310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178539448,"filename":"image_18012025_06_33_03_064163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fa25a5b84a9b5d03444ed674e9e3dd5f.jpg","text":"TemporaryFile(/tmp/multipartBody7616063201664162349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178539448,"filename":"image_18012025_06_34_02_536716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/789b3275a98659a0299ad916b9d84385.jpg","text":"TemporaryFile(/tmp/multipartBody6514355496611927417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178539448,"filename":"image_18012025_06_32_02_562016_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329684219","file1":"1329684214","file0":"1329684206","file4":"1329684224","file5":"1329684227","file3":"1329684223"},"map_files_photo_id_array":[{"photo_id":"1329684227","filename":"file5"},{"photo_id":"1329684219","filename":"file2"},{"photo_id":"1329684224","filename":"file4"},{"photo_id":"1329684214","filename":"file1"},{"photo_id":"1329684206","filename":"file0"},{"photo_id":"1329684223","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329684214":["hashtag1","hashtag2"]},{"1329684223":["hashtag1","hashtag2"]},{"1329684219":["hashtag1","hashtag2"]},{"1329684224":["hashtag1","hashtag2"]},{"1329684227":["hashtag1","hashtag2"]},{"1329684206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329684214, 1329684223, 1329684219, 1329684224, 1329684227, 1329684206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.682671546936035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:35:22.175761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/34/image_18012025_06_34_02_536716_0001.jpg', '/home/pi/Desktop/images/18012025/06/34/image_18012025_06_34_02_536716_0002.jpg', '/home/pi/Desktop/images/18012025/06/34/image_18012025_06_34_02_536716_0003.jpg', '/home/pi/Desktop/images/18012025/06/35/image_18012025_06_35_03_047078_0000.jpg', '/home/pi/Desktop/images/18012025/06/35/image_18012025_06_35_03_047078_0001.jpg', '/home/pi/Desktop/images/18012025/06/35/image_18012025_06_35_03_047078_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/34/image_18012025_06_34_02_536716_0001.jpg
/home/pi/Desktop/images/18012025/06/34/image_18012025_06_34_02_536716_0002.jpg
/home/pi/Desktop/images/18012025/06/34/image_18012025_06_34_02_536716_0003.jpg
/home/pi/Desktop/images/18012025/06/35/image_18012025_06_35_03_047078_0000.jpg
/home/pi/Desktop/images/18012025/06/35/image_18012025_06_35_03_047078_0001.jpg
/home/pi/Desktop/images/18012025/06/35/image_18012025_06_35_03_047078_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329684334","1329684343","1329684294","1329684276","1329684347","1329684263"],"photo_ids_order":["1329684263","1329684276","1329684294","1329684334","1329684343","1329684347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5f078d05402a7186e276e956889b7bb0.jpg","text":"TemporaryFile(/tmp/multipartBody429496403305220996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178598647,"filename":"image_18012025_06_35_03_047078_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/68f8048e19339e130ba84926c3145e89.jpg","text":"TemporaryFile(/tmp/multipartBody3341011246552613754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178598647,"filename":"image_18012025_06_35_03_047078_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3ead44b77f26d88ab5daaabfb4ae80fd.jpg","text":"TemporaryFile(/tmp/multipartBody2913786131904940255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178598647,"filename":"image_18012025_06_34_02_536716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc9b568e8a1b81db744b494b0f96dbe0.jpg","text":"TemporaryFile(/tmp/multipartBody298631751452432629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178598647,"filename":"image_18012025_06_34_02_536716_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/57e42bec991ad41a6aad00eb12cffa28.jpg","text":"TemporaryFile(/tmp/multipartBody5985696278985934651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178598647,"filename":"image_18012025_06_35_03_047078_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/711fe951323f2c07561166013d5487e6.jpg","text":"TemporaryFile(/tmp/multipartBody4827022980074870101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178598647,"filename":"image_18012025_06_34_02_536716_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329684294","file1":"1329684276","file0":"1329684263","file4":"1329684343","file5":"1329684347","file3":"1329684334"},"map_files_photo_id_array":[{"photo_id":"1329684347","filename":"file5"},{"photo_id":"1329684294","filename":"file2"},{"photo_id":"1329684343","filename":"file4"},{"photo_id":"1329684276","filename":"file1"},{"photo_id":"1329684263","filename":"file0"},{"photo_id":"1329684334","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329684334":["hashtag1","hashtag2"]},{"1329684343":["hashtag1","hashtag2"]},{"1329684294":["hashtag1","hashtag2"]},{"1329684276":["hashtag1","hashtag2"]},{"1329684347":["hashtag1","hashtag2"]},{"1329684263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329684334, 1329684343, 1329684294, 1329684276, 1329684347, 1329684263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.25528430938721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:37:02.842725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/35/image_18012025_06_35_03_047078_0003.jpg', '/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0000.jpg', '/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0001.jpg', '/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/35/image_18012025_06_35_03_047078_0003.jpg
/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0000.jpg
/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0001.jpg
/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.78954029083252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:37:22.333173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/35/image_18012025_06_35_03_047078_0003.jpg', '/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0000.jpg', '/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0001.jpg', '/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0002.jpg', '/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0003.jpg', '/home/pi/Desktop/images/18012025/06/37/image_18012025_06_37_03_142564_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/35/image_18012025_06_35_03_047078_0003.jpg
/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0000.jpg
/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0001.jpg
/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0002.jpg
/home/pi/Desktop/images/18012025/06/36/image_18012025_06_36_02_587701_0003.jpg
/home/pi/Desktop/images/18012025/06/37/image_18012025_06_37_03_142564_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329684567","1329684576","1329684561","1329684581","1329684572","1329684586"],"photo_ids_order":["1329684561","1329684567","1329684572","1329684576","1329684581","1329684586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9639d7ad9e59188a3b184ca1c5200d0.jpg","text":"TemporaryFile(/tmp/multipartBody1491561986714598327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178718713,"filename":"image_18012025_06_36_02_587701_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/619478cccc77f9b46b5e4a4af9e8b1a8.jpg","text":"TemporaryFile(/tmp/multipartBody6946905265807509615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178718713,"filename":"image_18012025_06_36_02_587701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2fa0e8a8009aa18450c5568c944dae20.jpg","text":"TemporaryFile(/tmp/multipartBody6153050040904583775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178718713,"filename":"image_18012025_06_35_03_047078_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c3314e7b5166f944ae0cfcf3e396f2a.jpg","text":"TemporaryFile(/tmp/multipartBody8117858072106816801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178718713,"filename":"image_18012025_06_36_02_587701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2ea402feaaa7a1ad94aada2724bb425f.jpg","text":"TemporaryFile(/tmp/multipartBody1899337703553962308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178718713,"filename":"image_18012025_06_36_02_587701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c5855cebbae66a8db0dcc476d315f64.jpg","text":"TemporaryFile(/tmp/multipartBody7428372512730718106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178718713,"filename":"image_18012025_06_37_03_142564_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329684572","file1":"1329684567","file0":"1329684561","file4":"1329684581","file5":"1329684586","file3":"1329684576"},"map_files_photo_id_array":[{"photo_id":"1329684586","filename":"file5"},{"photo_id":"1329684572","filename":"file2"},{"photo_id":"1329684581","filename":"file4"},{"photo_id":"1329684567","filename":"file1"},{"photo_id":"1329684561","filename":"file0"},{"photo_id":"1329684576","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329684567":["hashtag1","hashtag2"]},{"1329684576":["hashtag1","hashtag2"]},{"1329684561":["hashtag1","hashtag2"]},{"1329684581":["hashtag1","hashtag2"]},{"1329684572":["hashtag1","hashtag2"]},{"1329684586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329684567, 1329684576, 1329684561, 1329684581, 1329684572, 1329684586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.9597647190094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:38:22.036341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/37/image_18012025_06_37_03_142564_0001.jpg', '/home/pi/Desktop/images/18012025/06/37/image_18012025_06_37_03_142564_0002.jpg', '/home/pi/Desktop/images/18012025/06/37/image_18012025_06_37_03_142564_0003.jpg', '/home/pi/Desktop/images/18012025/06/38/image_18012025_06_38_02_680674_0000.jpg', '/home/pi/Desktop/images/18012025/06/38/image_18012025_06_38_02_680674_0001.jpg', '/home/pi/Desktop/images/18012025/06/38/image_18012025_06_38_02_680674_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/37/image_18012025_06_37_03_142564_0001.jpg
/home/pi/Desktop/images/18012025/06/37/image_18012025_06_37_03_142564_0002.jpg
/home/pi/Desktop/images/18012025/06/37/image_18012025_06_37_03_142564_0003.jpg
/home/pi/Desktop/images/18012025/06/38/image_18012025_06_38_02_680674_0000.jpg
/home/pi/Desktop/images/18012025/06/38/image_18012025_06_38_02_680674_0001.jpg
/home/pi/Desktop/images/18012025/06/38/image_18012025_06_38_02_680674_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329684616","1329684636","1329684650","1329684809","1329684611","1329684655"],"photo_ids_order":["1329684611","1329684616","1329684636","1329684650","1329684655","1329684809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fa38c5111bf9c96cd56f7a56eb1a41a1.jpg","text":"TemporaryFile(/tmp/multipartBody973294703598738926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178778254,"filename":"image_18012025_06_37_03_142564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9ce4ccf793f9a805d0fd9bbab928aef.jpg","text":"TemporaryFile(/tmp/multipartBody6873067980710426149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178778254,"filename":"image_18012025_06_37_03_142564_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9858e0fa9bc4696b2da8f14810bdc7c2.jpg","text":"TemporaryFile(/tmp/multipartBody2283094548763612134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178778254,"filename":"image_18012025_06_38_02_680674_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/38fa99f778f2d4b4802c83a471cddaae.jpg","text":"TemporaryFile(/tmp/multipartBody2320116216373138189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178778254,"filename":"image_18012025_06_38_02_680674_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7f1dd6cb8478d6ba9816ff334720cf79.jpg","text":"TemporaryFile(/tmp/multipartBody8706250827707506880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178778254,"filename":"image_18012025_06_37_03_142564_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2da83e49a88e4294808a525ebb15f6fb.jpg","text":"TemporaryFile(/tmp/multipartBody9156667862022098689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178778254,"filename":"image_18012025_06_38_02_680674_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329684636","file1":"1329684616","file0":"1329684611","file4":"1329684655","file5":"1329684809","file3":"1329684650"},"map_files_photo_id_array":[{"photo_id":"1329684809","filename":"file5"},{"photo_id":"1329684636","filename":"file2"},{"photo_id":"1329684655","filename":"file4"},{"photo_id":"1329684616","filename":"file1"},{"photo_id":"1329684611","filename":"file0"},{"photo_id":"1329684650","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329684616":["hashtag1","hashtag2"]},{"1329684636":["hashtag1","hashtag2"]},{"1329684650":["hashtag1","hashtag2"]},{"1329684809":["hashtag1","hashtag2"]},{"1329684611":["hashtag1","hashtag2"]},{"1329684655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329684616, 1329684636, 1329684650, 1329684809, 1329684611, 1329684655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.508872985839844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:39:22.520622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/38/image_18012025_06_38_02_680674_0003.jpg', '/home/pi/Desktop/images/18012025/06/39/image_18012025_06_39_02_428257_0000.jpg', '/home/pi/Desktop/images/18012025/06/39/image_18012025_06_39_02_428257_0001.jpg', '/home/pi/Desktop/images/18012025/06/39/image_18012025_06_39_02_428257_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/38/image_18012025_06_38_02_680674_0003.jpg
/home/pi/Desktop/images/18012025/06/39/image_18012025_06_39_02_428257_0000.jpg
/home/pi/Desktop/images/18012025/06/39/image_18012025_06_39_02_428257_0001.jpg
/home/pi/Desktop/images/18012025/06/39/image_18012025_06_39_02_428257_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329685347","1329685476","1329685664","1329685424"],"photo_ids_order":["1329685347","1329685424","1329685476","1329685664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/37be91af5bad9e2fc88d2ebf9729501b.jpg","text":"TemporaryFile(/tmp/multipartBody5464735286097600577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178834100,"filename":"image_18012025_06_38_02_680674_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fec9881fc15c9ec06dac0527ee881199.jpg","text":"TemporaryFile(/tmp/multipartBody8164066611659302361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178834100,"filename":"image_18012025_06_39_02_428257_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a70762774ae21dcff10d1f5465b6662.jpg","text":"TemporaryFile(/tmp/multipartBody6166281518310126442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178834100,"filename":"image_18012025_06_39_02_428257_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d954344a96e0165361b601ad99e5d1e.jpg","text":"TemporaryFile(/tmp/multipartBody4763785405883303590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178834100,"filename":"image_18012025_06_39_02_428257_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329685476","file1":"1329685424","file0":"1329685347","file3":"1329685664"},"map_files_photo_id_array":[{"photo_id":"1329685476","filename":"file2"},{"photo_id":"1329685424","filename":"file1"},{"photo_id":"1329685347","filename":"file0"},{"photo_id":"1329685664","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329685347":["hashtag1","hashtag2"]},{"1329685476":["hashtag1","hashtag2"]},{"1329685664":["hashtag1","hashtag2"]},{"1329685424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329685347, 1329685476, 1329685664, 1329685424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.04344725608826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:40:22.139386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/39/image_18012025_06_39_02_428257_0003.jpg', '/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0000.jpg', '/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0001.jpg', '/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/39/image_18012025_06_39_02_428257_0003.jpg
/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0000.jpg
/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0001.jpg
/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.96359634399414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:41:03.393875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/39/image_18012025_06_39_02_428257_0003.jpg', '/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0000.jpg', '/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0001.jpg', '/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/39/image_18012025_06_39_02_428257_0003.jpg
/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0000.jpg
/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0001.jpg
/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329685740","1329685803","1329685961","1329686119"],"photo_ids_order":["1329685740","1329685803","1329685961","1329686119"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/027187da660038d855752696398fc36d.jpg","text":"TemporaryFile(/tmp/multipartBody5034407752149182522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178934803,"filename":"image_18012025_06_39_02_428257_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6481b5b979e624a62876018d2ff4f3d.jpg","text":"TemporaryFile(/tmp/multipartBody870105783961892458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178934803,"filename":"image_18012025_06_40_02_988906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8bb9fd88df41ed42e29e8fcc1d7cebb4.jpg","text":"TemporaryFile(/tmp/multipartBody4858092469481960610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178934803,"filename":"image_18012025_06_40_02_988906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f7badcef4ff131cbe1a910928b0d5c5.jpg","text":"TemporaryFile(/tmp/multipartBody7264435003503614963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737178934803,"filename":"image_18012025_06_40_02_988906_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329685961","file1":"1329685803","file0":"1329685740","file3":"1329686119"},"map_files_photo_id_array":[{"photo_id":"1329685961","filename":"file2"},{"photo_id":"1329685803","filename":"file1"},{"photo_id":"1329685740","filename":"file0"},{"photo_id":"1329686119","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329685740":["hashtag1","hashtag2"]},{"1329685803":["hashtag1","hashtag2"]},{"1329685961":["hashtag1","hashtag2"]},{"1329686119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329685740, 1329685803, 1329685961, 1329686119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.11768364906311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:42:02.614799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0003.jpg', '/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0000.jpg', '/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0001.jpg', '/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0003.jpg
/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0000.jpg
/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0001.jpg
/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.725858449935913 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:42:22.237671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0003.jpg', '/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0000.jpg', '/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0001.jpg', '/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0002.jpg', '/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0003.jpg', '/home/pi/Desktop/images/18012025/06/42/image_18012025_06_42_03_009710_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/40/image_18012025_06_40_02_988906_0003.jpg
/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0000.jpg
/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0001.jpg
/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0002.jpg
/home/pi/Desktop/images/18012025/06/41/image_18012025_06_41_02_502189_0003.jpg
/home/pi/Desktop/images/18012025/06/42/image_18012025_06_42_03_009710_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":["1329686751","1329686486","1329686584","1329686539","1329686380","1329686655"],"photo_ids_order":["1329686380","1329686486","1329686539","1329686584","1329686655","1329686751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8d17b1022953b367044ccb4f2b7b1197.jpg","text":"TemporaryFile(/tmp/multipartBody5822183362300189520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179018636,"filename":"image_18012025_06_42_03_009710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46b20a05e001a622f948d17173e18bd0.jpg","text":"TemporaryFile(/tmp/multipartBody5640526918603330066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179018636,"filename":"image_18012025_06_41_02_502189_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc721bd22209646b4db76d1a3d7308c7.jpg","text":"TemporaryFile(/tmp/multipartBody4433822353639003344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179018636,"filename":"image_18012025_06_41_02_502189_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/136ffc54562458b6b87aac4a82035e76.jpg","text":"TemporaryFile(/tmp/multipartBody1448476541067565017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179018636,"filename":"image_18012025_06_41_02_502189_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/79a6e9d67aaa56c1ca0609628a0b6a36.jpg","text":"TemporaryFile(/tmp/multipartBody6239785325788479264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179018636,"filename":"image_18012025_06_40_02_988906_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/736ee599cdc5dc20a45910fb74e7fd53.jpg","text":"TemporaryFile(/tmp/multipartBody4585479781789822138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179018636,"filename":"image_18012025_06_41_02_502189_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329686539","file1":"1329686486","file0":"1329686380","file4":"1329686655","file5":"1329686751","file3":"1329686584"},"map_files_photo_id_array":[{"photo_id":"1329686751","filename":"file5"},{"photo_id":"1329686539","filename":"file2"},{"photo_id":"1329686655","filename":"file4"},{"photo_id":"1329686486","filename":"file1"},{"photo_id":"1329686380","filename":"file0"},{"photo_id":"1329686584","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329686751":["hashtag1","hashtag2"]},{"1329686486":["hashtag1","hashtag2"]},{"1329686584":["hashtag1","hashtag2"]},{"1329686539":["hashtag1","hashtag2"]},{"1329686380":["hashtag1","hashtag2"]},{"1329686655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329686751, 1329686486, 1329686584, 1329686539, 1329686380, 1329686655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.24272847175598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:44:02.739683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/42/image_18012025_06_42_03_009710_0001.jpg', '/home/pi/Desktop/images/18012025/06/42/image_18012025_06_42_03_009710_0002.jpg', '/home/pi/Desktop/images/18012025/06/42/image_18012025_06_42_03_009710_0003.jpg', '/home/pi/Desktop/images/18012025/06/43/image_18012025_06_43_02_646803_0000.jpg', '/home/pi/Desktop/images/18012025/06/43/image_18012025_06_43_02_646803_0001.jpg', '/home/pi/Desktop/images/18012025/06/43/image_18012025_06_43_02_646803_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/42/image_18012025_06_42_03_009710_0001.jpg
/home/pi/Desktop/images/18012025/06/42/image_18012025_06_42_03_009710_0002.jpg
/home/pi/Desktop/images/18012025/06/42/image_18012025_06_42_03_009710_0003.jpg
/home/pi/Desktop/images/18012025/06/43/image_18012025_06_43_02_646803_0000.jpg
/home/pi/Desktop/images/18012025/06/43/image_18012025_06_43_02_646803_0001.jpg
/home/pi/Desktop/images/18012025/06/43/image_18012025_06_43_02_646803_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329687938","1329687839","1329687751","1329688036","1329687676","1329688131"],"photo_ids_order":["1329687676","1329687751","1329687839","1329687938","1329688036","1329688131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c311751fe724cff00212bc4e49e729f5.jpg","text":"TemporaryFile(/tmp/multipartBody3505450256429415919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179119182,"filename":"image_18012025_06_43_02_646803_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c470be71e1c05e2acf3e7cc37e9322d0.jpg","text":"TemporaryFile(/tmp/multipartBody4649041592050988100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179119182,"filename":"image_18012025_06_42_03_009710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/52f5e64783d5b2e4c1d16dd5711eb02c.jpg","text":"TemporaryFile(/tmp/multipartBody8015275122958725200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179119182,"filename":"image_18012025_06_42_03_009710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e4a91b008d3ca8b8284fca1d062433be.jpg","text":"TemporaryFile(/tmp/multipartBody6658477157154110810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179119182,"filename":"image_18012025_06_43_02_646803_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d90cfbf8881e57d19f4e8ad1ad6e3682.jpg","text":"TemporaryFile(/tmp/multipartBody5059149699734655763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179119182,"filename":"image_18012025_06_42_03_009710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/07eb4ecd5665fe36d174fb0c34766354.jpg","text":"TemporaryFile(/tmp/multipartBody6955837339673498936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179119182,"filename":"image_18012025_06_43_02_646803_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329687839","file1":"1329687751","file0":"1329687676","file4":"1329688036","file5":"1329688131","file3":"1329687938"},"map_files_photo_id_array":[{"photo_id":"1329688131","filename":"file5"},{"photo_id":"1329687839","filename":"file2"},{"photo_id":"1329688036","filename":"file4"},{"photo_id":"1329687751","filename":"file1"},{"photo_id":"1329687676","filename":"file0"},{"photo_id":"1329687938","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329687938":["hashtag1","hashtag2"]},{"1329687839":["hashtag1","hashtag2"]},{"1329687751":["hashtag1","hashtag2"]},{"1329688036":["hashtag1","hashtag2"]},{"1329687676":["hashtag1","hashtag2"]},{"1329688131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329687938, 1329687839, 1329687751, 1329688036, 1329687676, 1329688131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.09292721748352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:45:03.403531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/43/image_18012025_06_43_02_646803_0003.jpg', '/home/pi/Desktop/images/18012025/06/44/image_18012025_06_44_02_137236_0000.jpg', '/home/pi/Desktop/images/18012025/06/44/image_18012025_06_44_02_137236_0001.jpg', '/home/pi/Desktop/images/18012025/06/44/image_18012025_06_44_02_137236_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/43/image_18012025_06_43_02_646803_0003.jpg
/home/pi/Desktop/images/18012025/06/44/image_18012025_06_44_02_137236_0000.jpg
/home/pi/Desktop/images/18012025/06/44/image_18012025_06_44_02_137236_0001.jpg
/home/pi/Desktop/images/18012025/06/44/image_18012025_06_44_02_137236_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329688164","1329688163","1329688166","1329688169"],"photo_ids_order":["1329688163","1329688164","1329688166","1329688169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3ddb40b9b20f3431383072c05ce1393.jpg","text":"TemporaryFile(/tmp/multipartBody3749305306206568734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179174900,"filename":"image_18012025_06_44_02_137236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5544b7a35db833083007704197812dd9.jpg","text":"TemporaryFile(/tmp/multipartBody4436998510729057345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179174900,"filename":"image_18012025_06_43_02_646803_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a220e323d5ee21f8484d749cb3de656.jpg","text":"TemporaryFile(/tmp/multipartBody594186385856785809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179174900,"filename":"image_18012025_06_44_02_137236_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/712e13bc4e5b1cb0985660b37830b580.jpg","text":"TemporaryFile(/tmp/multipartBody8718327922801950059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179174900,"filename":"image_18012025_06_44_02_137236_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329688166","file1":"1329688164","file0":"1329688163","file3":"1329688169"},"map_files_photo_id_array":[{"photo_id":"1329688166","filename":"file2"},{"photo_id":"1329688164","filename":"file1"},{"photo_id":"1329688163","filename":"file0"},{"photo_id":"1329688169","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329688164":["hashtag1","hashtag2"]},{"1329688163":["hashtag1","hashtag2"]},{"1329688166":["hashtag1","hashtag2"]},{"1329688169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329688164, 1329688163, 1329688166, 1329688169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.47823882102966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:46:02.707450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/44/image_18012025_06_44_02_137236_0003.jpg', '/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0000.jpg', '/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0001.jpg', '/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/44/image_18012025_06_44_02_137236_0003.jpg
/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0000.jpg
/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0001.jpg
/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.11242938041687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:46:22.366238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/44/image_18012025_06_44_02_137236_0003.jpg', '/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0000.jpg', '/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0001.jpg', '/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0002.jpg', '/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0003.jpg', '/home/pi/Desktop/images/18012025/06/46/image_18012025_06_46_03_111315_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/44/image_18012025_06_44_02_137236_0003.jpg
/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0000.jpg
/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0001.jpg
/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0002.jpg
/home/pi/Desktop/images/18012025/06/45/image_18012025_06_45_02_608589_0003.jpg
/home/pi/Desktop/images/18012025/06/46/image_18012025_06_46_03_111315_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329688454","1329688192","1329688338","1329688196","1329688568","1329688232"],"photo_ids_order":["1329688192","1329688196","1329688232","1329688338","1329688454","1329688568"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7289a65d457d0446e9c0f08c6e55e122.jpg","text":"TemporaryFile(/tmp/multipartBody4358798243607274407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179258886,"filename":"image_18012025_06_45_02_608589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1edbfe7291916e657b483eed3fcc5a04.jpg","text":"TemporaryFile(/tmp/multipartBody8719820100752669606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179258886,"filename":"image_18012025_06_44_02_137236_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3e680536d037c41706853166adaaf7f.jpg","text":"TemporaryFile(/tmp/multipartBody3510381453746379319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179258886,"filename":"image_18012025_06_45_02_608589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17cce5c420a05fd7fe41435ba1f0f47c.jpg","text":"TemporaryFile(/tmp/multipartBody7856140766726071445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179258886,"filename":"image_18012025_06_45_02_608589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6fe0d3099c3edb4c45284de5bfc347df.jpg","text":"TemporaryFile(/tmp/multipartBody823323630483321582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179258886,"filename":"image_18012025_06_46_03_111315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a15967f8025e79d48fad4149c69c620b.jpg","text":"TemporaryFile(/tmp/multipartBody2445471553539532705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179258886,"filename":"image_18012025_06_45_02_608589_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329688232","file1":"1329688196","file0":"1329688192","file4":"1329688454","file5":"1329688568","file3":"1329688338"},"map_files_photo_id_array":[{"photo_id":"1329688568","filename":"file5"},{"photo_id":"1329688232","filename":"file2"},{"photo_id":"1329688454","filename":"file4"},{"photo_id":"1329688196","filename":"file1"},{"photo_id":"1329688192","filename":"file0"},{"photo_id":"1329688338","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329688454":["hashtag1","hashtag2"]},{"1329688192":["hashtag1","hashtag2"]},{"1329688338":["hashtag1","hashtag2"]},{"1329688196":["hashtag1","hashtag2"]},{"1329688568":["hashtag1","hashtag2"]},{"1329688232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329688454, 1329688192, 1329688338, 1329688196, 1329688568, 1329688232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.96042561531067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:47:21.903989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/46/image_18012025_06_46_03_111315_0001.jpg', '/home/pi/Desktop/images/18012025/06/46/image_18012025_06_46_03_111315_0002.jpg', '/home/pi/Desktop/images/18012025/06/46/image_18012025_06_46_03_111315_0003.jpg', '/home/pi/Desktop/images/18012025/06/47/image_18012025_06_47_02_758814_0000.jpg', '/home/pi/Desktop/images/18012025/06/47/image_18012025_06_47_02_758814_0001.jpg', '/home/pi/Desktop/images/18012025/06/47/image_18012025_06_47_02_758814_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/46/image_18012025_06_46_03_111315_0001.jpg
/home/pi/Desktop/images/18012025/06/46/image_18012025_06_46_03_111315_0002.jpg
/home/pi/Desktop/images/18012025/06/46/image_18012025_06_46_03_111315_0003.jpg
/home/pi/Desktop/images/18012025/06/47/image_18012025_06_47_02_758814_0000.jpg
/home/pi/Desktop/images/18012025/06/47/image_18012025_06_47_02_758814_0001.jpg
/home/pi/Desktop/images/18012025/06/47/image_18012025_06_47_02_758814_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329688899","1329688872","1329688896","1329688917","1329688851","1329688880"],"photo_ids_order":["1329688851","1329688872","1329688880","1329688896","1329688899","1329688917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a93dc33ad9a209694c5a69ce79be365.jpg","text":"TemporaryFile(/tmp/multipartBody4569606400893811361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179318214,"filename":"image_18012025_06_47_02_758814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea6a6646eb5e6fc694ceddcd7632691c.jpg","text":"TemporaryFile(/tmp/multipartBody6057330114816321333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179318214,"filename":"image_18012025_06_46_03_111315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/988677cb651f171470d48c9082f92606.jpg","text":"TemporaryFile(/tmp/multipartBody5980297398807250559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179318214,"filename":"image_18012025_06_47_02_758814_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2cd33e9a14977f3388ba18a9a60fea21.jpg","text":"TemporaryFile(/tmp/multipartBody2208842944126827139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179318214,"filename":"image_18012025_06_47_02_758814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0dfa104a6b7e97472c8cf810bcf8741d.jpg","text":"TemporaryFile(/tmp/multipartBody3665689014603993930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179318214,"filename":"image_18012025_06_46_03_111315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9e104089a9875d24b7f28788a502489c.jpg","text":"TemporaryFile(/tmp/multipartBody4053073764089490083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179318214,"filename":"image_18012025_06_46_03_111315_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329688880","file1":"1329688872","file0":"1329688851","file4":"1329688899","file5":"1329688917","file3":"1329688896"},"map_files_photo_id_array":[{"photo_id":"1329688917","filename":"file5"},{"photo_id":"1329688880","filename":"file2"},{"photo_id":"1329688899","filename":"file4"},{"photo_id":"1329688872","filename":"file1"},{"photo_id":"1329688851","filename":"file0"},{"photo_id":"1329688896","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329688899":["hashtag1","hashtag2"]},{"1329688872":["hashtag1","hashtag2"]},{"1329688896":["hashtag1","hashtag2"]},{"1329688917":["hashtag1","hashtag2"]},{"1329688851":["hashtag1","hashtag2"]},{"1329688880":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329688899, 1329688872, 1329688896, 1329688917, 1329688851, 1329688880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25192070007324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:48:22.370879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/47/image_18012025_06_47_02_758814_0003.jpg', '/home/pi/Desktop/images/18012025/06/48/image_18012025_06_48_02_248430_0000.jpg', '/home/pi/Desktop/images/18012025/06/48/image_18012025_06_48_02_248430_0001.jpg', '/home/pi/Desktop/images/18012025/06/48/image_18012025_06_48_02_248430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/47/image_18012025_06_47_02_758814_0003.jpg
/home/pi/Desktop/images/18012025/06/48/image_18012025_06_48_02_248430_0000.jpg
/home/pi/Desktop/images/18012025/06/48/image_18012025_06_48_02_248430_0001.jpg
/home/pi/Desktop/images/18012025/06/48/image_18012025_06_48_02_248430_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329689140","1329689133","1329689136","1329689147"],"photo_ids_order":["1329689133","1329689136","1329689140","1329689147"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dbaa8c7449a8d6942626356bb9435f1e.jpg","text":"TemporaryFile(/tmp/multipartBody6600125183669437177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179373198,"filename":"image_18012025_06_48_02_248430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ebc26d198ba01a703d4ef66989becc9.jpg","text":"TemporaryFile(/tmp/multipartBody257604554875502024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179373198,"filename":"image_18012025_06_47_02_758814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89de99f0aa1230d4cd92246f986d461c.jpg","text":"TemporaryFile(/tmp/multipartBody3373465677288173633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179373198,"filename":"image_18012025_06_48_02_248430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd52a6bfe46f1864b47b2a11a8051025.jpg","text":"TemporaryFile(/tmp/multipartBody6548795409887228624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179373198,"filename":"image_18012025_06_48_02_248430_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329689140","file1":"1329689136","file0":"1329689133","file3":"1329689147"},"map_files_photo_id_array":[{"photo_id":"1329689140","filename":"file2"},{"photo_id":"1329689136","filename":"file1"},{"photo_id":"1329689133","filename":"file0"},{"photo_id":"1329689147","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329689140":["hashtag1","hashtag2"]},{"1329689133":["hashtag1","hashtag2"]},{"1329689136":["hashtag1","hashtag2"]},{"1329689147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329689140, 1329689133, 1329689136, 1329689147)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.10707330703735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 06:49:21.847504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/48/image_18012025_06_48_02_248430_0003.jpg', '/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0000.jpg', '/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0001.jpg', '/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/48/image_18012025_06_48_02_248430_0003.jpg
/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0000.jpg
/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0001.jpg
/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.929808139801025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:50:02.871726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/48/image_18012025_06_48_02_248430_0003.jpg', '/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0000.jpg', '/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0001.jpg', '/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/48/image_18012025_06_48_02_248430_0003.jpg
/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0000.jpg
/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0001.jpg
/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329689484","1329689486","1329689489","1329689482"],"photo_ids_order":["1329689482","1329689484","1329689486","1329689489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/136c14feed9bc2bde6d300348d9c3194.jpg","text":"TemporaryFile(/tmp/multipartBody4536840223563063587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179474210,"filename":"image_18012025_06_49_02_753699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ac8c59b836b32a80d4c4be0e9891eee.jpg","text":"TemporaryFile(/tmp/multipartBody3824960306501034909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179474210,"filename":"image_18012025_06_49_02_753699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86a7e9ad78e5d80c36870ec5ca21c5d3.jpg","text":"TemporaryFile(/tmp/multipartBody2278668199287640717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179474210,"filename":"image_18012025_06_49_02_753699_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be01a3bca51b769c373d01125e8c7a54.jpg","text":"TemporaryFile(/tmp/multipartBody856903083078524238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179474210,"filename":"image_18012025_06_48_02_248430_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329689486","file1":"1329689484","file0":"1329689482","file3":"1329689489"},"map_files_photo_id_array":[{"photo_id":"1329689486","filename":"file2"},{"photo_id":"1329689484","filename":"file1"},{"photo_id":"1329689482","filename":"file0"},{"photo_id":"1329689489","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329689484":["hashtag1","hashtag2"]},{"1329689486":["hashtag1","hashtag2"]},{"1329689489":["hashtag1","hashtag2"]},{"1329689482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329689484, 1329689486, 1329689489, 1329689482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.649550437927246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:51:02.543191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0003.jpg', '/home/pi/Desktop/images/18012025/06/50/image_18012025_06_50_02_295146_0000.jpg', '/home/pi/Desktop/images/18012025/06/50/image_18012025_06_50_02_295146_0001.jpg', '/home/pi/Desktop/images/18012025/06/50/image_18012025_06_50_02_295146_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/49/image_18012025_06_49_02_753699_0003.jpg
/home/pi/Desktop/images/18012025/06/50/image_18012025_06_50_02_295146_0000.jpg
/home/pi/Desktop/images/18012025/06/50/image_18012025_06_50_02_295146_0001.jpg
/home/pi/Desktop/images/18012025/06/50/image_18012025_06_50_02_295146_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329689557","1329689551","1329689553","1329689567"],"photo_ids_order":["1329689551","1329689553","1329689557","1329689567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4579b4d106ba91cb611a4d89dfc9986f.jpg","text":"TemporaryFile(/tmp/multipartBody8305169943305125714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179534214,"filename":"image_18012025_06_50_02_295146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c7fa5912a294bcb5fcea6b63e84bedcf.jpg","text":"TemporaryFile(/tmp/multipartBody2310758676340843540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179534214,"filename":"image_18012025_06_49_02_753699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e69086a742b390e868f85bb56eaa3e1b.jpg","text":"TemporaryFile(/tmp/multipartBody8206421038660820341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179534214,"filename":"image_18012025_06_50_02_295146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ce300841b49d0ca322698128228775a.jpg","text":"TemporaryFile(/tmp/multipartBody691385156259817471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179534214,"filename":"image_18012025_06_50_02_295146_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329689557","file1":"1329689553","file0":"1329689551","file3":"1329689567"},"map_files_photo_id_array":[{"photo_id":"1329689557","filename":"file2"},{"photo_id":"1329689553","filename":"file1"},{"photo_id":"1329689551","filename":"file0"},{"photo_id":"1329689567","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329689557":["hashtag1","hashtag2"]},{"1329689551":["hashtag1","hashtag2"]},{"1329689553":["hashtag1","hashtag2"]},{"1329689567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329689557, 1329689551, 1329689553, 1329689567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.15818738937378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:52:03.096745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/50/image_18012025_06_50_02_295146_0003.jpg', '/home/pi/Desktop/images/18012025/06/51/image_18012025_06_51_02_788128_0000.jpg', '/home/pi/Desktop/images/18012025/06/51/image_18012025_06_51_02_788128_0001.jpg', '/home/pi/Desktop/images/18012025/06/51/image_18012025_06_51_02_788128_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/50/image_18012025_06_50_02_295146_0003.jpg
/home/pi/Desktop/images/18012025/06/51/image_18012025_06_51_02_788128_0000.jpg
/home/pi/Desktop/images/18012025/06/51/image_18012025_06_51_02_788128_0001.jpg
/home/pi/Desktop/images/18012025/06/51/image_18012025_06_51_02_788128_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329689608","1329689598","1329689613","1329689591"],"photo_ids_order":["1329689591","1329689598","1329689608","1329689613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4cd2b9fccdedcd170d2bd46dcf1ebd6.jpg","text":"TemporaryFile(/tmp/multipartBody4005241950470363522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179594612,"filename":"image_18012025_06_51_02_788128_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/85306165de81a5f02427ee703f624d2d.jpg","text":"TemporaryFile(/tmp/multipartBody4082790160570461482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179594612,"filename":"image_18012025_06_51_02_788128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef47edbc7f06bb89833554d98c4eb78a.jpg","text":"TemporaryFile(/tmp/multipartBody9118477804134744571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179594612,"filename":"image_18012025_06_51_02_788128_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/420bc12689f9bd0cfc13c1dfee4eee4f.jpg","text":"TemporaryFile(/tmp/multipartBody2614569178475738630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179594612,"filename":"image_18012025_06_50_02_295146_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329689608","file1":"1329689598","file0":"1329689591","file3":"1329689613"},"map_files_photo_id_array":[{"photo_id":"1329689608","filename":"file2"},{"photo_id":"1329689598","filename":"file1"},{"photo_id":"1329689591","filename":"file0"},{"photo_id":"1329689613","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329689608":["hashtag1","hashtag2"]},{"1329689598":["hashtag1","hashtag2"]},{"1329689613":["hashtag1","hashtag2"]},{"1329689591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329689608, 1329689598, 1329689613, 1329689591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57683777809143 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:53:02.561648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/51/image_18012025_06_51_02_788128_0003.jpg', '/home/pi/Desktop/images/18012025/06/52/image_18012025_06_52_02_326100_0000.jpg', '/home/pi/Desktop/images/18012025/06/52/image_18012025_06_52_02_326100_0001.jpg', '/home/pi/Desktop/images/18012025/06/52/image_18012025_06_52_02_326100_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/51/image_18012025_06_51_02_788128_0003.jpg
/home/pi/Desktop/images/18012025/06/52/image_18012025_06_52_02_326100_0000.jpg
/home/pi/Desktop/images/18012025/06/52/image_18012025_06_52_02_326100_0001.jpg
/home/pi/Desktop/images/18012025/06/52/image_18012025_06_52_02_326100_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329689662","1329689644","1329689640","1329689658"],"photo_ids_order":["1329689640","1329689644","1329689658","1329689662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c2094af774a37a011fbad6547cf4365.jpg","text":"TemporaryFile(/tmp/multipartBody4461770058146690872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179654353,"filename":"image_18012025_06_52_02_326100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ef77ed43ae5286e3e78f91dc57ab5ab.jpg","text":"TemporaryFile(/tmp/multipartBody131222334317664467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179654353,"filename":"image_18012025_06_52_02_326100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ddfe7001af7454e0b84c245ef99789b9.jpg","text":"TemporaryFile(/tmp/multipartBody6791578504700716312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179654353,"filename":"image_18012025_06_51_02_788128_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/db8fdfdf53fcb9899923ff3b5bdca2b4.jpg","text":"TemporaryFile(/tmp/multipartBody1096501578910064022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179654353,"filename":"image_18012025_06_52_02_326100_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329689658","file1":"1329689644","file0":"1329689640","file3":"1329689662"},"map_files_photo_id_array":[{"photo_id":"1329689658","filename":"file2"},{"photo_id":"1329689644","filename":"file1"},{"photo_id":"1329689640","filename":"file0"},{"photo_id":"1329689662","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329689662":["hashtag1","hashtag2"]},{"1329689644":["hashtag1","hashtag2"]},{"1329689640":["hashtag1","hashtag2"]},{"1329689658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329689662, 1329689644, 1329689640, 1329689658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.62016677856445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:54:02.408707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/52/image_18012025_06_52_02_326100_0003.jpg', '/home/pi/Desktop/images/18012025/06/53/image_18012025_06_53_03_022999_0000.jpg', '/home/pi/Desktop/images/18012025/06/53/image_18012025_06_53_03_022999_0001.jpg', '/home/pi/Desktop/images/18012025/06/53/image_18012025_06_53_03_022999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/52/image_18012025_06_52_02_326100_0003.jpg
/home/pi/Desktop/images/18012025/06/53/image_18012025_06_53_03_022999_0000.jpg
/home/pi/Desktop/images/18012025/06/53/image_18012025_06_53_03_022999_0001.jpg
/home/pi/Desktop/images/18012025/06/53/image_18012025_06_53_03_022999_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329689763","1329689771","1329689765","1329689767"],"photo_ids_order":["1329689763","1329689765","1329689767","1329689771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6027bb1f1e0e5d4b65fbe8f7720c107d.jpg","text":"TemporaryFile(/tmp/multipartBody534675660849057802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179713488,"filename":"image_18012025_06_52_02_326100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ea062bf5300187856e5742b5f7ed8fc.jpg","text":"TemporaryFile(/tmp/multipartBody5320799186383289257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179713488,"filename":"image_18012025_06_53_03_022999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9e0fd516098ddb84346a6fe98a138c2c.jpg","text":"TemporaryFile(/tmp/multipartBody2761448259081746675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179713488,"filename":"image_18012025_06_53_03_022999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f20391ff053df86700aa7835a1f4ff44.jpg","text":"TemporaryFile(/tmp/multipartBody4051337925924168760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179713488,"filename":"image_18012025_06_53_03_022999_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329689767","file1":"1329689765","file0":"1329689763","file3":"1329689771"},"map_files_photo_id_array":[{"photo_id":"1329689767","filename":"file2"},{"photo_id":"1329689765","filename":"file1"},{"photo_id":"1329689763","filename":"file0"},{"photo_id":"1329689771","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329689763":["hashtag1","hashtag2"]},{"1329689771":["hashtag1","hashtag2"]},{"1329689765":["hashtag1","hashtag2"]},{"1329689767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329689763, 1329689771, 1329689765, 1329689767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.633811235427856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:55:03.025907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/53/image_18012025_06_53_03_022999_0003.jpg', '/home/pi/Desktop/images/18012025/06/54/image_18012025_06_54_02_641503_0000.jpg', '/home/pi/Desktop/images/18012025/06/54/image_18012025_06_54_02_641503_0001.jpg', '/home/pi/Desktop/images/18012025/06/54/image_18012025_06_54_02_641503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/53/image_18012025_06_53_03_022999_0003.jpg
/home/pi/Desktop/images/18012025/06/54/image_18012025_06_54_02_641503_0000.jpg
/home/pi/Desktop/images/18012025/06/54/image_18012025_06_54_02_641503_0001.jpg
/home/pi/Desktop/images/18012025/06/54/image_18012025_06_54_02_641503_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329689803","1329689806","1329689809","1329689799"],"photo_ids_order":["1329689799","1329689803","1329689806","1329689809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a5b0f93ff0005bf27f36ad04f3a00de.jpg","text":"TemporaryFile(/tmp/multipartBody4252813039724375721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179774710,"filename":"image_18012025_06_54_02_641503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e624346d584274f4dd1d5e1657b6255.jpg","text":"TemporaryFile(/tmp/multipartBody3594731122146552750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179774710,"filename":"image_18012025_06_54_02_641503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e83bc23471fc0e2ed93d86d2165faad0.jpg","text":"TemporaryFile(/tmp/multipartBody1245095631672492302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179774710,"filename":"image_18012025_06_54_02_641503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95464c362c88a730ea80a58e67728a46.jpg","text":"TemporaryFile(/tmp/multipartBody8411193206499088793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179774710,"filename":"image_18012025_06_53_03_022999_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329689806","file1":"1329689803","file0":"1329689799","file3":"1329689809"},"map_files_photo_id_array":[{"photo_id":"1329689806","filename":"file2"},{"photo_id":"1329689803","filename":"file1"},{"photo_id":"1329689799","filename":"file0"},{"photo_id":"1329689809","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329689803":["hashtag1","hashtag2"]},{"1329689806":["hashtag1","hashtag2"]},{"1329689809":["hashtag1","hashtag2"]},{"1329689799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329689803, 1329689806, 1329689809, 1329689799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.676451206207275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:56:02.546021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/54/image_18012025_06_54_02_641503_0003.jpg', '/home/pi/Desktop/images/18012025/06/55/image_18012025_06_55_02_299125_0000.jpg', '/home/pi/Desktop/images/18012025/06/55/image_18012025_06_55_02_299125_0001.jpg', '/home/pi/Desktop/images/18012025/06/55/image_18012025_06_55_02_299125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/54/image_18012025_06_54_02_641503_0003.jpg
/home/pi/Desktop/images/18012025/06/55/image_18012025_06_55_02_299125_0000.jpg
/home/pi/Desktop/images/18012025/06/55/image_18012025_06_55_02_299125_0001.jpg
/home/pi/Desktop/images/18012025/06/55/image_18012025_06_55_02_299125_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329690079","1329690037","1329690112","1329690092"],"photo_ids_order":["1329690037","1329690079","1329690092","1329690112"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/911184f120d86477ceb5b6f40ac5a3d5.jpg","text":"TemporaryFile(/tmp/multipartBody4182051937229561971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179833773,"filename":"image_18012025_06_55_02_299125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f7884556e1fb2e10c34d04c098af461.jpg","text":"TemporaryFile(/tmp/multipartBody3034505912697466897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179833773,"filename":"image_18012025_06_54_02_641503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5b1d9c4835a42c6787208c662da5676c.jpg","text":"TemporaryFile(/tmp/multipartBody3654068123162901858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179833773,"filename":"image_18012025_06_55_02_299125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/569fcf8f71a8884c1392ffdf5b02c65b.jpg","text":"TemporaryFile(/tmp/multipartBody5259846273112963375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179833773,"filename":"image_18012025_06_55_02_299125_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329690092","file1":"1329690079","file0":"1329690037","file3":"1329690112"},"map_files_photo_id_array":[{"photo_id":"1329690092","filename":"file2"},{"photo_id":"1329690079","filename":"file1"},{"photo_id":"1329690037","filename":"file0"},{"photo_id":"1329690112","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329690079":["hashtag1","hashtag2"]},{"1329690037":["hashtag1","hashtag2"]},{"1329690112":["hashtag1","hashtag2"]},{"1329690092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329690079, 1329690037, 1329690112, 1329690092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.65779089927673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:57:03.216206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/55/image_18012025_06_55_02_299125_0003.jpg', '/home/pi/Desktop/images/18012025/06/56/image_18012025_06_56_02_809373_0000.jpg', '/home/pi/Desktop/images/18012025/06/56/image_18012025_06_56_02_809373_0001.jpg', '/home/pi/Desktop/images/18012025/06/56/image_18012025_06_56_02_809373_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/55/image_18012025_06_55_02_299125_0003.jpg
/home/pi/Desktop/images/18012025/06/56/image_18012025_06_56_02_809373_0000.jpg
/home/pi/Desktop/images/18012025/06/56/image_18012025_06_56_02_809373_0001.jpg
/home/pi/Desktop/images/18012025/06/56/image_18012025_06_56_02_809373_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329690175","1329690183","1329690188","1329690179"],"photo_ids_order":["1329690175","1329690179","1329690183","1329690188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7e3b74503807c34a8c0b80ce22678fe.jpg","text":"TemporaryFile(/tmp/multipartBody7166377686779924182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179894152,"filename":"image_18012025_06_55_02_299125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/20fb2feae463f05eadc0fbad4e813819.jpg","text":"TemporaryFile(/tmp/multipartBody7553751032605006556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179894152,"filename":"image_18012025_06_56_02_809373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92b163badbf8a9ec1775df99db8be14c.jpg","text":"TemporaryFile(/tmp/multipartBody75827463579799397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179894152,"filename":"image_18012025_06_56_02_809373_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f3d2d8bcda7f34353d9d1fdc031f18c.jpg","text":"TemporaryFile(/tmp/multipartBody1814156741869842946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737179894152,"filename":"image_18012025_06_56_02_809373_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329690183","file1":"1329690179","file0":"1329690175","file3":"1329690188"},"map_files_photo_id_array":[{"photo_id":"1329690183","filename":"file2"},{"photo_id":"1329690179","filename":"file1"},{"photo_id":"1329690175","filename":"file0"},{"photo_id":"1329690188","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329690175":["hashtag1","hashtag2"]},{"1329690183":["hashtag1","hashtag2"]},{"1329690188":["hashtag1","hashtag2"]},{"1329690179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329690175, 1329690183, 1329690188, 1329690179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.90395259857178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 06:59:03.359508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/56/image_18012025_06_56_02_809373_0003.jpg', '/home/pi/Desktop/images/18012025/06/57/image_18012025_06_57_02_516103_0000.jpg', '/home/pi/Desktop/images/18012025/06/57/image_18012025_06_57_02_516103_0001.jpg', '/home/pi/Desktop/images/18012025/06/57/image_18012025_06_57_02_516103_0002.jpg', '/home/pi/Desktop/images/18012025/06/57/image_18012025_06_57_02_516103_0003.jpg', '/home/pi/Desktop/images/18012025/06/58/image_18012025_06_58_03_114361_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/56/image_18012025_06_56_02_809373_0003.jpg
/home/pi/Desktop/images/18012025/06/57/image_18012025_06_57_02_516103_0000.jpg
/home/pi/Desktop/images/18012025/06/57/image_18012025_06_57_02_516103_0001.jpg
/home/pi/Desktop/images/18012025/06/57/image_18012025_06_57_02_516103_0002.jpg
/home/pi/Desktop/images/18012025/06/57/image_18012025_06_57_02_516103_0003.jpg
/home/pi/Desktop/images/18012025/06/58/image_18012025_06_58_03_114361_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":["1329690224","1329690250","1329690244","1329690247","1329690232","1329690238"],"photo_ids_order":["1329690224","1329690232","1329690238","1329690244","1329690247","1329690250"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7093b62976a9b1d0d10a0a32895ec212.jpg","text":"TemporaryFile(/tmp/multipartBody3763969327718959984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180019924,"filename":"image_18012025_06_56_02_809373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eb28e3f434f1f1b2b80412060ef74957.jpg","text":"TemporaryFile(/tmp/multipartBody191877459514326723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180019924,"filename":"image_18012025_06_58_03_114361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b916949e2df2a2acb4bc40443a3dde0e.jpg","text":"TemporaryFile(/tmp/multipartBody3146938285602304726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180019924,"filename":"image_18012025_06_57_02_516103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0d4ad9d484355642979acf7e289efb58.jpg","text":"TemporaryFile(/tmp/multipartBody187657318823387080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180019924,"filename":"image_18012025_06_57_02_516103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b46e648004fc6e20ed823a4eed05575.jpg","text":"TemporaryFile(/tmp/multipartBody5350874363737826693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180019924,"filename":"image_18012025_06_57_02_516103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2a9b0f74acdafc34fd4ea33340815c6.jpg","text":"TemporaryFile(/tmp/multipartBody754134161520625894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180019924,"filename":"image_18012025_06_57_02_516103_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329690238","file1":"1329690232","file0":"1329690224","file4":"1329690247","file5":"1329690250","file3":"1329690244"},"map_files_photo_id_array":[{"photo_id":"1329690250","filename":"file5"},{"photo_id":"1329690238","filename":"file2"},{"photo_id":"1329690247","filename":"file4"},{"photo_id":"1329690232","filename":"file1"},{"photo_id":"1329690224","filename":"file0"},{"photo_id":"1329690244","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329690224":["hashtag1","hashtag2"]},{"1329690250":["hashtag1","hashtag2"]},{"1329690244":["hashtag1","hashtag2"]},{"1329690247":["hashtag1","hashtag2"]},{"1329690232":["hashtag1","hashtag2"]},{"1329690238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329690224, 1329690250, 1329690244, 1329690247, 1329690232, 1329690238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.93034505844116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:00:22.273456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/58/image_18012025_06_58_03_114361_0001.jpg', '/home/pi/Desktop/images/18012025/06/58/image_18012025_06_58_03_114361_0002.jpg', '/home/pi/Desktop/images/18012025/06/58/image_18012025_06_58_03_114361_0003.jpg', '/home/pi/Desktop/images/18012025/06/59/image_18012025_06_59_02_820942_0000.jpg', '/home/pi/Desktop/images/18012025/06/59/image_18012025_06_59_02_820942_0001.jpg', '/home/pi/Desktop/images/18012025/06/59/image_18012025_06_59_02_820942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/58/image_18012025_06_58_03_114361_0001.jpg
/home/pi/Desktop/images/18012025/06/58/image_18012025_06_58_03_114361_0002.jpg
/home/pi/Desktop/images/18012025/06/58/image_18012025_06_58_03_114361_0003.jpg
/home/pi/Desktop/images/18012025/06/59/image_18012025_06_59_02_820942_0000.jpg
/home/pi/Desktop/images/18012025/06/59/image_18012025_06_59_02_820942_0001.jpg
/home/pi/Desktop/images/18012025/06/59/image_18012025_06_59_02_820942_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329690317","1329690292","1329690336","1329690306","1329690321","1329690287"],"photo_ids_order":["1329690287","1329690292","1329690306","1329690317","1329690321","1329690336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0d606055f1dd23f2cfbbf1a3ad11056.jpg","text":"TemporaryFile(/tmp/multipartBody4827569181786393356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180098952,"filename":"image_18012025_06_59_02_820942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/440215dd5b507a71ac0740dac249ddf3.jpg","text":"TemporaryFile(/tmp/multipartBody2941392729877954308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180098952,"filename":"image_18012025_06_58_03_114361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/27c4dee6b6525bf1fb507e13dcf35851.jpg","text":"TemporaryFile(/tmp/multipartBody3097782101785857118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180098952,"filename":"image_18012025_06_59_02_820942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd181e248b15859b3e110c242bd63668.jpg","text":"TemporaryFile(/tmp/multipartBody3880143501443156027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180098952,"filename":"image_18012025_06_58_03_114361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1487f685760d6feae10ff94eb16c8e1.jpg","text":"TemporaryFile(/tmp/multipartBody8798048199157398307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180098952,"filename":"image_18012025_06_59_02_820942_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67616438eb65c7dc4dd7c26c01c1c241.jpg","text":"TemporaryFile(/tmp/multipartBody8340119661996818233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180098952,"filename":"image_18012025_06_58_03_114361_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329690306","file1":"1329690292","file0":"1329690287","file4":"1329690321","file5":"1329690336","file3":"1329690317"},"map_files_photo_id_array":[{"photo_id":"1329690336","filename":"file5"},{"photo_id":"1329690306","filename":"file2"},{"photo_id":"1329690321","filename":"file4"},{"photo_id":"1329690292","filename":"file1"},{"photo_id":"1329690287","filename":"file0"},{"photo_id":"1329690317","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329690317":["hashtag1","hashtag2"]},{"1329690292":["hashtag1","hashtag2"]},{"1329690336":["hashtag1","hashtag2"]},{"1329690306":["hashtag1","hashtag2"]},{"1329690321":["hashtag1","hashtag2"]},{"1329690287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329690317, 1329690292, 1329690336, 1329690306, 1329690321, 1329690287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.00743842124939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:02:03.061160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/59/image_18012025_06_59_02_820942_0003.jpg', '/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0000.jpg', '/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0001.jpg', '/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0002.jpg', '/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0003.jpg', '/home/pi/Desktop/images/18012025/07/01/image_18012025_07_01_02_678343_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/59/image_18012025_06_59_02_820942_0003.jpg
/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0000.jpg
/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0001.jpg
/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0002.jpg
/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0003.jpg
/home/pi/Desktop/images/18012025/07/01/image_18012025_07_01_02_678343_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.44406795501709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:02:22.616539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/06/59/image_18012025_06_59_02_820942_0003.jpg', '/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0000.jpg', '/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0001.jpg', '/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0002.jpg', '/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0003.jpg', '/home/pi/Desktop/images/18012025/07/01/image_18012025_07_01_02_678343_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/06/59/image_18012025_06_59_02_820942_0003.jpg
/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0000.jpg
/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0001.jpg
/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0002.jpg
/home/pi/Desktop/images/18012025/07/00/image_18012025_07_00_02_980992_0003.jpg
/home/pi/Desktop/images/18012025/07/01/image_18012025_07_01_02_678343_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":["1329690410","1329690413","1329690400","1329690417","1329690405","1329690408"],"photo_ids_order":["1329690400","1329690405","1329690408","1329690410","1329690413","1329690417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/37ef2ce8cb6a9a84d179036680f5bd09.jpg","text":"TemporaryFile(/tmp/multipartBody4869666826472973786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180219460,"filename":"image_18012025_07_00_02_980992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ebd94ad973bda57a69377e79444eff30.jpg","text":"TemporaryFile(/tmp/multipartBody6188824592674800179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180219460,"filename":"image_18012025_07_00_02_980992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e4aca8edaaac52049452cdceaf7c8c0.jpg","text":"TemporaryFile(/tmp/multipartBody1875978435437483286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180219460,"filename":"image_18012025_06_59_02_820942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/197cc055c8aa777a26922372aace8889.jpg","text":"TemporaryFile(/tmp/multipartBody5327318592973645340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180219460,"filename":"image_18012025_07_01_02_678343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ad7dd51e7fe866bb6f8e38ef3c4aa4a.jpg","text":"TemporaryFile(/tmp/multipartBody5883165410951982390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180219460,"filename":"image_18012025_07_00_02_980992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a5c15dc47e0ff8f8007958307c4c237.jpg","text":"TemporaryFile(/tmp/multipartBody4116823748982520319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180219460,"filename":"image_18012025_07_00_02_980992_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329690408","file1":"1329690405","file0":"1329690400","file4":"1329690413","file5":"1329690417","file3":"1329690410"},"map_files_photo_id_array":[{"photo_id":"1329690417","filename":"file5"},{"photo_id":"1329690408","filename":"file2"},{"photo_id":"1329690413","filename":"file4"},{"photo_id":"1329690405","filename":"file1"},{"photo_id":"1329690400","filename":"file0"},{"photo_id":"1329690410","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329690410":["hashtag1","hashtag2"]},{"1329690413":["hashtag1","hashtag2"]},{"1329690400":["hashtag1","hashtag2"]},{"1329690417":["hashtag1","hashtag2"]},{"1329690405":["hashtag1","hashtag2"]},{"1329690408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329690410, 1329690413, 1329690400, 1329690417, 1329690405, 1329690408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.309274673461914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:04:03.179825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/01/image_18012025_07_01_02_678343_0001.jpg', '/home/pi/Desktop/images/18012025/07/01/image_18012025_07_01_02_678343_0002.jpg', '/home/pi/Desktop/images/18012025/07/01/image_18012025_07_01_02_678343_0003.jpg', '/home/pi/Desktop/images/18012025/07/02/image_18012025_07_02_02_222781_0000.jpg', '/home/pi/Desktop/images/18012025/07/02/image_18012025_07_02_02_222781_0001.jpg', '/home/pi/Desktop/images/18012025/07/02/image_18012025_07_02_02_222781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/01/image_18012025_07_01_02_678343_0001.jpg
/home/pi/Desktop/images/18012025/07/01/image_18012025_07_01_02_678343_0002.jpg
/home/pi/Desktop/images/18012025/07/01/image_18012025_07_01_02_678343_0003.jpg
/home/pi/Desktop/images/18012025/07/02/image_18012025_07_02_02_222781_0000.jpg
/home/pi/Desktop/images/18012025/07/02/image_18012025_07_02_02_222781_0001.jpg
/home/pi/Desktop/images/18012025/07/02/image_18012025_07_02_02_222781_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329690493","1329690454","1329690514","1329690498","1329690479","1329690473"],"photo_ids_order":["1329690454","1329690473","1329690479","1329690493","1329690498","1329690514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/625c62a1e4c709d3392aadf4a9800b8b.jpg","text":"TemporaryFile(/tmp/multipartBody4273887843787904397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180319774,"filename":"image_18012025_07_02_02_222781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39c205c5c897ab7f28f6ba1b4ab8a91d.jpg","text":"TemporaryFile(/tmp/multipartBody4367837629809482491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180319774,"filename":"image_18012025_07_01_02_678343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ffde46625bf78a65223ecd3f7aa05987.jpg","text":"TemporaryFile(/tmp/multipartBody846026360768560800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180319774,"filename":"image_18012025_07_02_02_222781_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/daa3d77862f502318e0d4cd37b7e289d.jpg","text":"TemporaryFile(/tmp/multipartBody3851560166962862708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180319774,"filename":"image_18012025_07_02_02_222781_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/25a5c05b557dbc6ee9024609cf04a9ea.jpg","text":"TemporaryFile(/tmp/multipartBody5767034989683346697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180319774,"filename":"image_18012025_07_01_02_678343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b24895427409342750e342b9f5f754b.jpg","text":"TemporaryFile(/tmp/multipartBody3436773917382113746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180319774,"filename":"image_18012025_07_01_02_678343_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329690479","file1":"1329690473","file0":"1329690454","file4":"1329690498","file5":"1329690514","file3":"1329690493"},"map_files_photo_id_array":[{"photo_id":"1329690514","filename":"file5"},{"photo_id":"1329690479","filename":"file2"},{"photo_id":"1329690498","filename":"file4"},{"photo_id":"1329690473","filename":"file1"},{"photo_id":"1329690454","filename":"file0"},{"photo_id":"1329690493","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329690493":["hashtag1","hashtag2"]},{"1329690454":["hashtag1","hashtag2"]},{"1329690514":["hashtag1","hashtag2"]},{"1329690498":["hashtag1","hashtag2"]},{"1329690479":["hashtag1","hashtag2"]},{"1329690473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329690493, 1329690454, 1329690514, 1329690498, 1329690479, 1329690473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.739635944366455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:05:02.976774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/02/image_18012025_07_02_02_222781_0003.jpg', '/home/pi/Desktop/images/18012025/07/03/image_18012025_07_03_03_058058_0000.jpg', '/home/pi/Desktop/images/18012025/07/03/image_18012025_07_03_03_058058_0001.jpg', '/home/pi/Desktop/images/18012025/07/03/image_18012025_07_03_03_058058_0002.jpg', '/home/pi/Desktop/images/18012025/07/03/image_18012025_07_03_03_058058_0003.jpg', '/home/pi/Desktop/images/18012025/07/04/image_18012025_07_04_02_613644_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/02/image_18012025_07_02_02_222781_0003.jpg
/home/pi/Desktop/images/18012025/07/03/image_18012025_07_03_03_058058_0000.jpg
/home/pi/Desktop/images/18012025/07/03/image_18012025_07_03_03_058058_0001.jpg
/home/pi/Desktop/images/18012025/07/03/image_18012025_07_03_03_058058_0002.jpg
/home/pi/Desktop/images/18012025/07/03/image_18012025_07_03_03_058058_0003.jpg
/home/pi/Desktop/images/18012025/07/04/image_18012025_07_04_02_613644_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329690529","1329690552","1329690543","1329690537","1329690548","1329690533"],"photo_ids_order":["1329690529","1329690533","1329690537","1329690543","1329690548","1329690552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0ad07e5de868bc49eb8c9d3dc4ab802.jpg","text":"TemporaryFile(/tmp/multipartBody1443238706470387440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180379585,"filename":"image_18012025_07_02_02_222781_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/76a4d13927827f0b05c8ed13857b7891.jpg","text":"TemporaryFile(/tmp/multipartBody8542559201095795617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180379585,"filename":"image_18012025_07_04_02_613644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a26925db0613bfc3cb69071c99e2d5f5.jpg","text":"TemporaryFile(/tmp/multipartBody414664784390746660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180379585,"filename":"image_18012025_07_03_03_058058_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9cbbdf840c8c6bf4fd8100c29bdfb5c6.jpg","text":"TemporaryFile(/tmp/multipartBody4327448472317294737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180379585,"filename":"image_18012025_07_03_03_058058_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/45045fd117ffcf26b9b89c1ed47cf9cf.jpg","text":"TemporaryFile(/tmp/multipartBody2097843025573966820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180379585,"filename":"image_18012025_07_03_03_058058_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/889caab2bf1c5e4d49a56a1a6f3060ed.jpg","text":"TemporaryFile(/tmp/multipartBody16247325910771214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180379585,"filename":"image_18012025_07_03_03_058058_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329690537","file1":"1329690533","file0":"1329690529","file4":"1329690548","file5":"1329690552","file3":"1329690543"},"map_files_photo_id_array":[{"photo_id":"1329690552","filename":"file5"},{"photo_id":"1329690537","filename":"file2"},{"photo_id":"1329690548","filename":"file4"},{"photo_id":"1329690533","filename":"file1"},{"photo_id":"1329690529","filename":"file0"},{"photo_id":"1329690543","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329690529":["hashtag1","hashtag2"]},{"1329690552":["hashtag1","hashtag2"]},{"1329690543":["hashtag1","hashtag2"]},{"1329690537":["hashtag1","hashtag2"]},{"1329690548":["hashtag1","hashtag2"]},{"1329690533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329690529, 1329690552, 1329690543, 1329690537, 1329690548, 1329690533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.813737630844116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:06:02.258011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/04/image_18012025_07_04_02_613644_0001.jpg', '/home/pi/Desktop/images/18012025/07/04/image_18012025_07_04_02_613644_0002.jpg', '/home/pi/Desktop/images/18012025/07/04/image_18012025_07_04_02_613644_0003.jpg', '/home/pi/Desktop/images/18012025/07/05/image_18012025_07_05_03_119838_0000.jpg', '/home/pi/Desktop/images/18012025/07/05/image_18012025_07_05_03_119838_0001.jpg', '/home/pi/Desktop/images/18012025/07/05/image_18012025_07_05_03_119838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/04/image_18012025_07_04_02_613644_0001.jpg
/home/pi/Desktop/images/18012025/07/04/image_18012025_07_04_02_613644_0002.jpg
/home/pi/Desktop/images/18012025/07/04/image_18012025_07_04_02_613644_0003.jpg
/home/pi/Desktop/images/18012025/07/05/image_18012025_07_05_03_119838_0000.jpg
/home/pi/Desktop/images/18012025/07/05/image_18012025_07_05_03_119838_0001.jpg
/home/pi/Desktop/images/18012025/07/05/image_18012025_07_05_03_119838_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329691339","1329691213","1329691315","1329691201","1329691323","1329691209"],"photo_ids_order":["1329691201","1329691209","1329691213","1329691315","1329691323","1329691339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cbd33ed28b04599472cad74202080070.jpg","text":"TemporaryFile(/tmp/multipartBody2168842965385739858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180437784,"filename":"image_18012025_07_05_03_119838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4791a7af1be242ce00394733c1db248e.jpg","text":"TemporaryFile(/tmp/multipartBody2176201815441624904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180437784,"filename":"image_18012025_07_04_02_613644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af50437d86c7a25bfc451b09660e59e7.jpg","text":"TemporaryFile(/tmp/multipartBody8062482312256929210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180437784,"filename":"image_18012025_07_05_03_119838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d6120170f21b98baf6dc32c8f0f5054.jpg","text":"TemporaryFile(/tmp/multipartBody6016608073450734956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180437784,"filename":"image_18012025_07_04_02_613644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b84a6eb45516d0f46a5e4d78b9b01760.jpg","text":"TemporaryFile(/tmp/multipartBody383768336264531420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180437784,"filename":"image_18012025_07_05_03_119838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c593645c168e6706480151b417c6e01b.jpg","text":"TemporaryFile(/tmp/multipartBody2133452659647471857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180437784,"filename":"image_18012025_07_04_02_613644_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329691213","file1":"1329691209","file0":"1329691201","file4":"1329691323","file5":"1329691339","file3":"1329691315"},"map_files_photo_id_array":[{"photo_id":"1329691339","filename":"file5"},{"photo_id":"1329691213","filename":"file2"},{"photo_id":"1329691323","filename":"file4"},{"photo_id":"1329691209","filename":"file1"},{"photo_id":"1329691201","filename":"file0"},{"photo_id":"1329691315","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329691339":["hashtag1","hashtag2"]},{"1329691213":["hashtag1","hashtag2"]},{"1329691315":["hashtag1","hashtag2"]},{"1329691201":["hashtag1","hashtag2"]},{"1329691323":["hashtag1","hashtag2"]},{"1329691209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329691339, 1329691213, 1329691315, 1329691201, 1329691323, 1329691209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.552934885025024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:07:03.067194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/05/image_18012025_07_05_03_119838_0003.jpg', '/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0000.jpg', '/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0001.jpg', '/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/05/image_18012025_07_05_03_119838_0003.jpg
/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0000.jpg
/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0001.jpg
/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.71816349029541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:07:22.305243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/05/image_18012025_07_05_03_119838_0003.jpg', '/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0000.jpg', '/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0001.jpg', '/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0002.jpg', '/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0003.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/05/image_18012025_07_05_03_119838_0003.jpg
/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0000.jpg
/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0001.jpg
/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0002.jpg
/home/pi/Desktop/images/18012025/07/06/image_18012025_07_06_02_571915_0003.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329691786","1329691915","1329691812","1329691728","1329691821","1329691724"],"photo_ids_order":["1329691724","1329691728","1329691786","1329691812","1329691821","1329691915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd03f640f918054069dd20cb5537ef9f.jpg","text":"TemporaryFile(/tmp/multipartBody5684500218079338840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180518549,"filename":"image_18012025_07_06_02_571915_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c19eb7f4f9e9fd3a839d590b5fa8d1e.jpg","text":"TemporaryFile(/tmp/multipartBody2389272269926356578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180518549,"filename":"image_18012025_07_07_02_186227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f5cf1e72511da7f0a1dcb1484da9e51f.jpg","text":"TemporaryFile(/tmp/multipartBody4925224760675990058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180518549,"filename":"image_18012025_07_06_02_571915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/68a865d0c450a768d385653d0933178d.jpg","text":"TemporaryFile(/tmp/multipartBody9153579185263364315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180518549,"filename":"image_18012025_07_06_02_571915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a414f88206cd8f5a26d3bb741262b0d8.jpg","text":"TemporaryFile(/tmp/multipartBody2391172570821052971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180518549,"filename":"image_18012025_07_06_02_571915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/997c73cef931286813122b3c52b60869.jpg","text":"TemporaryFile(/tmp/multipartBody1631761208929290485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180518549,"filename":"image_18012025_07_05_03_119838_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329691786","file1":"1329691728","file0":"1329691724","file4":"1329691821","file5":"1329691915","file3":"1329691812"},"map_files_photo_id_array":[{"photo_id":"1329691915","filename":"file5"},{"photo_id":"1329691786","filename":"file2"},{"photo_id":"1329691821","filename":"file4"},{"photo_id":"1329691728","filename":"file1"},{"photo_id":"1329691724","filename":"file0"},{"photo_id":"1329691812","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329691786":["hashtag1","hashtag2"]},{"1329691915":["hashtag1","hashtag2"]},{"1329691812":["hashtag1","hashtag2"]},{"1329691728":["hashtag1","hashtag2"]},{"1329691821":["hashtag1","hashtag2"]},{"1329691724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329691786, 1329691915, 1329691812, 1329691728, 1329691821, 1329691724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.60776448249817 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:08:21.989987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.746990203857422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:09:03.341258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_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>887ca59f3</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>887ca59f3</strong>.
uploaded 0 photos
time to upload: 45.77797484397888 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:10:02.517964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_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>887ca8j3h</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>887ca8j3h</strong>.
uploaded 0 photos
time to upload: 45.7926390171051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:11:03.173169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_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>887cac4n1</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>887cac4n1</strong>.
uploaded 0 photos
time to upload: 45.80646347999573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:12:02.635192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_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>887cafel0</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>887cafel0</strong>.
uploaded 0 photos
time to upload: 45.78028964996338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:13:02.338972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_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>887caip4b</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>887caip4b</strong>.
uploaded 0 photos
time to upload: 45.81095600128174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:14:03.029489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.751158714294434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:14:22.526055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg', '/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg', '/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0001.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0002.jpg
/home/pi/Desktop/images/18012025/07/07/image_18012025_07_07_02_186227_0003.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0000.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0001.jpg
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329692394","1329692388","1329692415","1329692402","1329692411","1329692408"],"photo_ids_order":["1329692388","1329692394","1329692402","1329692408","1329692411","1329692415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/511af62b08810925bcb26dc5fe7742b7.jpg","text":"TemporaryFile(/tmp/multipartBody8491725559957938542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180938638,"filename":"image_18012025_07_07_02_186227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f21641f9a9904e61b9e7c91ecc0fd5c.jpg","text":"TemporaryFile(/tmp/multipartBody1630374875470949067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180938638,"filename":"image_18012025_07_07_02_186227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c9a7733bfb84f20673b137b8b25656e3.jpg","text":"TemporaryFile(/tmp/multipartBody25772813330246363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180938638,"filename":"image_18012025_07_08_02_716025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ddf7c434606fe10e4575529b7a75d09d.jpg","text":"TemporaryFile(/tmp/multipartBody2446430634096902838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180938638,"filename":"image_18012025_07_07_02_186227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e80d8d3b4073efa74231a98edd5db944.jpg","text":"TemporaryFile(/tmp/multipartBody154711088456439672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180938638,"filename":"image_18012025_07_08_02_716025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dbb283d0beccaefaf4737672d818ceb3.jpg","text":"TemporaryFile(/tmp/multipartBody6374555581165739242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737180938638,"filename":"image_18012025_07_08_02_716025_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329692402","file1":"1329692394","file0":"1329692388","file4":"1329692411","file5":"1329692415","file3":"1329692408"},"map_files_photo_id_array":[{"photo_id":"1329692415","filename":"file5"},{"photo_id":"1329692402","filename":"file2"},{"photo_id":"1329692411","filename":"file4"},{"photo_id":"1329692394","filename":"file1"},{"photo_id":"1329692388","filename":"file0"},{"photo_id":"1329692408","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329692394":["hashtag1","hashtag2"]},{"1329692388":["hashtag1","hashtag2"]},{"1329692415":["hashtag1","hashtag2"]},{"1329692402":["hashtag1","hashtag2"]},{"1329692411":["hashtag1","hashtag2"]},{"1329692408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329692394, 1329692388, 1329692415, 1329692402, 1329692411, 1329692408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.37751770019531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:16:03.128348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0003.jpg', '/home/pi/Desktop/images/18012025/07/09/image_18012025_07_09_02_402503_0000.jpg', '/home/pi/Desktop/images/18012025/07/09/image_18012025_07_09_02_402503_0001.jpg', '/home/pi/Desktop/images/18012025/07/09/image_18012025_07_09_02_402503_0002.jpg', '/home/pi/Desktop/images/18012025/07/09/image_18012025_07_09_02_402503_0003.jpg', '/home/pi/Desktop/images/18012025/07/10/image_18012025_07_10_02_914625_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/08/image_18012025_07_08_02_716025_0003.jpg
/home/pi/Desktop/images/18012025/07/09/image_18012025_07_09_02_402503_0000.jpg
/home/pi/Desktop/images/18012025/07/09/image_18012025_07_09_02_402503_0001.jpg
/home/pi/Desktop/images/18012025/07/09/image_18012025_07_09_02_402503_0002.jpg
/home/pi/Desktop/images/18012025/07/09/image_18012025_07_09_02_402503_0003.jpg
/home/pi/Desktop/images/18012025/07/10/image_18012025_07_10_02_914625_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329692691","1329692568","1329692696","1329692663","1329692687","1329692660"],"photo_ids_order":["1329692568","1329692660","1329692663","1329692687","1329692691","1329692696"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4b21ecb76dfb5fa35601c5ae291af68b.jpg","text":"TemporaryFile(/tmp/multipartBody1196298841074929790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181039400,"filename":"image_18012025_07_09_02_402503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ab716a28705871e8f74e59b42169873b.jpg","text":"TemporaryFile(/tmp/multipartBody6304176809467278029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181039400,"filename":"image_18012025_07_08_02_716025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1aaeff6020ad2ac7a8b68aeef33651dd.jpg","text":"TemporaryFile(/tmp/multipartBody653660779491769069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181039400,"filename":"image_18012025_07_10_02_914625_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ae699047b138ef14c593ea7a070d9469.jpg","text":"TemporaryFile(/tmp/multipartBody6487726567831714559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181039400,"filename":"image_18012025_07_09_02_402503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5f403e08e500d475a1902ad27c68f13.jpg","text":"TemporaryFile(/tmp/multipartBody4764586596662515545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181039400,"filename":"image_18012025_07_09_02_402503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/216513333bcebb1fd672812d307c4f44.jpg","text":"TemporaryFile(/tmp/multipartBody2669696130784866663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181039400,"filename":"image_18012025_07_09_02_402503_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329692663","file1":"1329692660","file0":"1329692568","file4":"1329692691","file5":"1329692696","file3":"1329692687"},"map_files_photo_id_array":[{"photo_id":"1329692696","filename":"file5"},{"photo_id":"1329692663","filename":"file2"},{"photo_id":"1329692691","filename":"file4"},{"photo_id":"1329692660","filename":"file1"},{"photo_id":"1329692568","filename":"file0"},{"photo_id":"1329692687","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329692691":["hashtag1","hashtag2"]},{"1329692568":["hashtag1","hashtag2"]},{"1329692696":["hashtag1","hashtag2"]},{"1329692663":["hashtag1","hashtag2"]},{"1329692687":["hashtag1","hashtag2"]},{"1329692660":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329692691, 1329692568, 1329692696, 1329692663, 1329692687, 1329692660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.52299618721008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:17:02.812204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/10/image_18012025_07_10_02_914625_0001.jpg', '/home/pi/Desktop/images/18012025/07/10/image_18012025_07_10_02_914625_0002.jpg', '/home/pi/Desktop/images/18012025/07/10/image_18012025_07_10_02_914625_0003.jpg', '/home/pi/Desktop/images/18012025/07/11/image_18012025_07_11_02_467842_0000.jpg', '/home/pi/Desktop/images/18012025/07/11/image_18012025_07_11_02_467842_0001.jpg', '/home/pi/Desktop/images/18012025/07/11/image_18012025_07_11_02_467842_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/10/image_18012025_07_10_02_914625_0001.jpg
/home/pi/Desktop/images/18012025/07/10/image_18012025_07_10_02_914625_0002.jpg
/home/pi/Desktop/images/18012025/07/10/image_18012025_07_10_02_914625_0003.jpg
/home/pi/Desktop/images/18012025/07/11/image_18012025_07_11_02_467842_0000.jpg
/home/pi/Desktop/images/18012025/07/11/image_18012025_07_11_02_467842_0001.jpg
/home/pi/Desktop/images/18012025/07/11/image_18012025_07_11_02_467842_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329692799","1329692805","1329692714","1329692810","1329692711","1329692755"],"photo_ids_order":["1329692711","1329692714","1329692755","1329692799","1329692805","1329692810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ba3d873d04e0330a3f04ccc7e1ea6cb.jpg","text":"TemporaryFile(/tmp/multipartBody1359007123575195755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181099298,"filename":"image_18012025_07_11_02_467842_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e71cc60ea654cd79f1ed5752b109b6dd.jpg","text":"TemporaryFile(/tmp/multipartBody2893579510646360729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181099298,"filename":"image_18012025_07_11_02_467842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/66975b01b35a53d8e9a7a69add52d1a5.jpg","text":"TemporaryFile(/tmp/multipartBody3598625229860343415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181099298,"filename":"image_18012025_07_10_02_914625_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a00da4847cc52cb1f38515cd80f02528.jpg","text":"TemporaryFile(/tmp/multipartBody6737230483714947180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181099298,"filename":"image_18012025_07_11_02_467842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/071a349561a81975f942638d0c385937.jpg","text":"TemporaryFile(/tmp/multipartBody264992534869549169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181099298,"filename":"image_18012025_07_10_02_914625_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/42f8c0ed729d7d2263c58d2d4b18aa85.jpg","text":"TemporaryFile(/tmp/multipartBody4942795668442930867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181099298,"filename":"image_18012025_07_10_02_914625_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329692755","file1":"1329692714","file0":"1329692711","file4":"1329692805","file5":"1329692810","file3":"1329692799"},"map_files_photo_id_array":[{"photo_id":"1329692810","filename":"file5"},{"photo_id":"1329692755","filename":"file2"},{"photo_id":"1329692805","filename":"file4"},{"photo_id":"1329692714","filename":"file1"},{"photo_id":"1329692711","filename":"file0"},{"photo_id":"1329692799","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329692799":["hashtag1","hashtag2"]},{"1329692805":["hashtag1","hashtag2"]},{"1329692714":["hashtag1","hashtag2"]},{"1329692810":["hashtag1","hashtag2"]},{"1329692711":["hashtag1","hashtag2"]},{"1329692755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329692799, 1329692805, 1329692714, 1329692810, 1329692711, 1329692755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.4883394241333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:18:03.114565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/11/image_18012025_07_11_02_467842_0003.jpg', '/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0000.jpg', '/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0001.jpg', '/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0002.jpg', '/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0003.jpg', '/home/pi/Desktop/images/18012025/07/13/image_18012025_07_13_02_646718_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/11/image_18012025_07_11_02_467842_0003.jpg
/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0000.jpg
/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0001.jpg
/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0002.jpg
/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0003.jpg
/home/pi/Desktop/images/18012025/07/13/image_18012025_07_13_02_646718_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.99851369857788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:18:22.680782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/11/image_18012025_07_11_02_467842_0003.jpg', '/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0000.jpg', '/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0001.jpg', '/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0002.jpg', '/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0003.jpg', '/home/pi/Desktop/images/18012025/07/13/image_18012025_07_13_02_646718_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/11/image_18012025_07_11_02_467842_0003.jpg
/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0000.jpg
/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0001.jpg
/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0002.jpg
/home/pi/Desktop/images/18012025/07/12/image_18012025_07_12_02_960424_0003.jpg
/home/pi/Desktop/images/18012025/07/13/image_18012025_07_13_02_646718_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329692926","1329692914","1329692907","1329692918","1329692921","1329692923"],"photo_ids_order":["1329692907","1329692914","1329692918","1329692921","1329692923","1329692926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c9705edf524bf8028afd172aac34427e.jpg","text":"TemporaryFile(/tmp/multipartBody7247536677947896814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181179004,"filename":"image_18012025_07_13_02_646718_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f367faa28dc96a411e50869de428412c.jpg","text":"TemporaryFile(/tmp/multipartBody2079605570490105305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181179004,"filename":"image_18012025_07_12_02_960424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6fa0b6bfd351bf756eaad67def3e88f6.jpg","text":"TemporaryFile(/tmp/multipartBody4619602122373511698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181179004,"filename":"image_18012025_07_11_02_467842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d863cbfbba531d0ed1ce944c1db8bb42.jpg","text":"TemporaryFile(/tmp/multipartBody5883806687806729621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181179004,"filename":"image_18012025_07_12_02_960424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89edf53d5a2a1d23c6b193b750748b2e.jpg","text":"TemporaryFile(/tmp/multipartBody5338854692139391950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181179004,"filename":"image_18012025_07_12_02_960424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5aec633133d2cadb07919f55c976319d.jpg","text":"TemporaryFile(/tmp/multipartBody6327216807272762336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181179004,"filename":"image_18012025_07_12_02_960424_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329692918","file1":"1329692914","file0":"1329692907","file4":"1329692923","file5":"1329692926","file3":"1329692921"},"map_files_photo_id_array":[{"photo_id":"1329692926","filename":"file5"},{"photo_id":"1329692918","filename":"file2"},{"photo_id":"1329692923","filename":"file4"},{"photo_id":"1329692914","filename":"file1"},{"photo_id":"1329692907","filename":"file0"},{"photo_id":"1329692921","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329692926":["hashtag1","hashtag2"]},{"1329692914":["hashtag1","hashtag2"]},{"1329692907":["hashtag1","hashtag2"]},{"1329692918":["hashtag1","hashtag2"]},{"1329692921":["hashtag1","hashtag2"]},{"1329692923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329692926, 1329692914, 1329692907, 1329692918, 1329692921, 1329692923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.42819595336914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:19:22.206497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/13/image_18012025_07_13_02_646718_0001.jpg', '/home/pi/Desktop/images/18012025/07/13/image_18012025_07_13_02_646718_0002.jpg', '/home/pi/Desktop/images/18012025/07/13/image_18012025_07_13_02_646718_0003.jpg', '/home/pi/Desktop/images/18012025/07/14/image_18012025_07_14_02_124795_0000.jpg', '/home/pi/Desktop/images/18012025/07/14/image_18012025_07_14_02_124795_0001.jpg', '/home/pi/Desktop/images/18012025/07/14/image_18012025_07_14_02_124795_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/13/image_18012025_07_13_02_646718_0001.jpg
/home/pi/Desktop/images/18012025/07/13/image_18012025_07_13_02_646718_0002.jpg
/home/pi/Desktop/images/18012025/07/13/image_18012025_07_13_02_646718_0003.jpg
/home/pi/Desktop/images/18012025/07/14/image_18012025_07_14_02_124795_0000.jpg
/home/pi/Desktop/images/18012025/07/14/image_18012025_07_14_02_124795_0001.jpg
/home/pi/Desktop/images/18012025/07/14/image_18012025_07_14_02_124795_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329692975","1329692978","1329692957","1329693014","1329693010","1329693007"],"photo_ids_order":["1329692957","1329692975","1329692978","1329693007","1329693010","1329693014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8b4f5efd6d6b23e2c3831a1a6f099e5.jpg","text":"TemporaryFile(/tmp/multipartBody8603250870058557414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181237930,"filename":"image_18012025_07_13_02_646718_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/713851fb9de4dfd26452a77635c9b353.jpg","text":"TemporaryFile(/tmp/multipartBody508016152675167679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181237930,"filename":"image_18012025_07_13_02_646718_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17374aef320539ed65561414ed23985f.jpg","text":"TemporaryFile(/tmp/multipartBody4836087619535004819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181237930,"filename":"image_18012025_07_13_02_646718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/27564a772df7dca60100bce2e64a52da.jpg","text":"TemporaryFile(/tmp/multipartBody274048904688149500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181237930,"filename":"image_18012025_07_14_02_124795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7cb78c22c8c782a2c141bdcd36405e76.jpg","text":"TemporaryFile(/tmp/multipartBody1025302278503832649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181237930,"filename":"image_18012025_07_14_02_124795_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/656a94aa4370e8b3870ce7a4b0b49281.jpg","text":"TemporaryFile(/tmp/multipartBody5819482780655592147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181237930,"filename":"image_18012025_07_14_02_124795_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329692978","file1":"1329692975","file0":"1329692957","file4":"1329693010","file5":"1329693014","file3":"1329693007"},"map_files_photo_id_array":[{"photo_id":"1329693014","filename":"file5"},{"photo_id":"1329692978","filename":"file2"},{"photo_id":"1329693010","filename":"file4"},{"photo_id":"1329692975","filename":"file1"},{"photo_id":"1329692957","filename":"file0"},{"photo_id":"1329693007","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329692975":["hashtag1","hashtag2"]},{"1329692978":["hashtag1","hashtag2"]},{"1329692957":["hashtag1","hashtag2"]},{"1329693014":["hashtag1","hashtag2"]},{"1329693010":["hashtag1","hashtag2"]},{"1329693007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329692975, 1329692978, 1329692957, 1329693014, 1329693010, 1329693007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.8543119430542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:20:22.706373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/14/image_18012025_07_14_02_124795_0003.jpg', '/home/pi/Desktop/images/18012025/07/15/image_18012025_07_15_02_988610_0000.jpg', '/home/pi/Desktop/images/18012025/07/15/image_18012025_07_15_02_988610_0001.jpg', '/home/pi/Desktop/images/18012025/07/15/image_18012025_07_15_02_988610_0002.jpg', '/home/pi/Desktop/images/18012025/07/15/image_18012025_07_15_02_988610_0003.jpg', '/home/pi/Desktop/images/18012025/07/16/image_18012025_07_16_02_473137_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/14/image_18012025_07_14_02_124795_0003.jpg
/home/pi/Desktop/images/18012025/07/15/image_18012025_07_15_02_988610_0000.jpg
/home/pi/Desktop/images/18012025/07/15/image_18012025_07_15_02_988610_0001.jpg
/home/pi/Desktop/images/18012025/07/15/image_18012025_07_15_02_988610_0002.jpg
/home/pi/Desktop/images/18012025/07/15/image_18012025_07_15_02_988610_0003.jpg
/home/pi/Desktop/images/18012025/07/16/image_18012025_07_16_02_473137_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":["1329693045","1329693041","1329693035","1329693050","1329693038","1329693055"],"photo_ids_order":["1329693035","1329693038","1329693041","1329693045","1329693050","1329693055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/51a9a828a7f85fb1147e0324899b31f4.jpg","text":"TemporaryFile(/tmp/multipartBody8963101676474971358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181299216,"filename":"image_18012025_07_15_02_988610_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/35aa808c87f1cc0c42f01266a236c988.jpg","text":"TemporaryFile(/tmp/multipartBody5756991248055343430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181299216,"filename":"image_18012025_07_15_02_988610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a90205b703987a6d8791342ee5f800f.jpg","text":"TemporaryFile(/tmp/multipartBody5265124430975447378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181299216,"filename":"image_18012025_07_14_02_124795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5ec41e57cb10a53692586317345508a6.jpg","text":"TemporaryFile(/tmp/multipartBody5188919169002886570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181299216,"filename":"image_18012025_07_15_02_988610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3a1a968f20f70f0aabcfc696038691dd.jpg","text":"TemporaryFile(/tmp/multipartBody8355195848950934363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181299216,"filename":"image_18012025_07_15_02_988610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/00576a16c271b4dfd2810afadcf6b4bb.jpg","text":"TemporaryFile(/tmp/multipartBody5197189713162160376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181299216,"filename":"image_18012025_07_16_02_473137_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329693041","file1":"1329693038","file0":"1329693035","file4":"1329693050","file5":"1329693055","file3":"1329693045"},"map_files_photo_id_array":[{"photo_id":"1329693055","filename":"file5"},{"photo_id":"1329693041","filename":"file2"},{"photo_id":"1329693050","filename":"file4"},{"photo_id":"1329693038","filename":"file1"},{"photo_id":"1329693035","filename":"file0"},{"photo_id":"1329693045","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329693045":["hashtag1","hashtag2"]},{"1329693041":["hashtag1","hashtag2"]},{"1329693035":["hashtag1","hashtag2"]},{"1329693050":["hashtag1","hashtag2"]},{"1329693038":["hashtag1","hashtag2"]},{"1329693055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329693045, 1329693041, 1329693035, 1329693050, 1329693038, 1329693055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.4914002418518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:22:03.178675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/16/image_18012025_07_16_02_473137_0001.jpg', '/home/pi/Desktop/images/18012025/07/16/image_18012025_07_16_02_473137_0002.jpg', '/home/pi/Desktop/images/18012025/07/16/image_18012025_07_16_02_473137_0003.jpg', '/home/pi/Desktop/images/18012025/07/17/image_18012025_07_17_02_981271_0000.jpg', '/home/pi/Desktop/images/18012025/07/17/image_18012025_07_17_02_981271_0001.jpg', '/home/pi/Desktop/images/18012025/07/17/image_18012025_07_17_02_981271_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/16/image_18012025_07_16_02_473137_0001.jpg
/home/pi/Desktop/images/18012025/07/16/image_18012025_07_16_02_473137_0002.jpg
/home/pi/Desktop/images/18012025/07/16/image_18012025_07_16_02_473137_0003.jpg
/home/pi/Desktop/images/18012025/07/17/image_18012025_07_17_02_981271_0000.jpg
/home/pi/Desktop/images/18012025/07/17/image_18012025_07_17_02_981271_0001.jpg
/home/pi/Desktop/images/18012025/07/17/image_18012025_07_17_02_981271_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329693141","1329693134","1329693151","1329693145","1329693127","1329693130"],"photo_ids_order":["1329693127","1329693130","1329693134","1329693141","1329693145","1329693151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c5f1e6d77d6f0bebfa6d5c5994d1dc9.jpg","text":"TemporaryFile(/tmp/multipartBody5164489853973733327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181399868,"filename":"image_18012025_07_17_02_981271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d087be1ffab627018217e0b0a6d97530.jpg","text":"TemporaryFile(/tmp/multipartBody75258401099694378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181399868,"filename":"image_18012025_07_16_02_473137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c58b895d541adec951806cc9a40453b6.jpg","text":"TemporaryFile(/tmp/multipartBody8607239078624589156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181399868,"filename":"image_18012025_07_17_02_981271_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d18083c0580fbed7dac6b4afc9959e52.jpg","text":"TemporaryFile(/tmp/multipartBody4045143049822859459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181399868,"filename":"image_18012025_07_17_02_981271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ddc6b89cfba961694b1b3e77922bebcd.jpg","text":"TemporaryFile(/tmp/multipartBody7132438038817961010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181399868,"filename":"image_18012025_07_16_02_473137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08d16fbfa9473b62a331fa64f79b4dac.jpg","text":"TemporaryFile(/tmp/multipartBody5628185307683590300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181399868,"filename":"image_18012025_07_16_02_473137_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329693134","file1":"1329693130","file0":"1329693127","file4":"1329693145","file5":"1329693151","file3":"1329693141"},"map_files_photo_id_array":[{"photo_id":"1329693151","filename":"file5"},{"photo_id":"1329693134","filename":"file2"},{"photo_id":"1329693145","filename":"file4"},{"photo_id":"1329693130","filename":"file1"},{"photo_id":"1329693127","filename":"file0"},{"photo_id":"1329693141","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329693141":["hashtag1","hashtag2"]},{"1329693134":["hashtag1","hashtag2"]},{"1329693151":["hashtag1","hashtag2"]},{"1329693145":["hashtag1","hashtag2"]},{"1329693127":["hashtag1","hashtag2"]},{"1329693130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329693141, 1329693134, 1329693151, 1329693145, 1329693127, 1329693130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.1966233253479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:23:02.838435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/17/image_18012025_07_17_02_981271_0003.jpg', '/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0000.jpg', '/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0001.jpg', '/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0002.jpg', '/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0003.jpg', '/home/pi/Desktop/images/18012025/07/19/image_18012025_07_19_03_073018_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/17/image_18012025_07_17_02_981271_0003.jpg
/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0000.jpg
/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0001.jpg
/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0002.jpg
/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0003.jpg
/home/pi/Desktop/images/18012025/07/19/image_18012025_07_19_03_073018_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.352324962615967 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:23:22.176984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/17/image_18012025_07_17_02_981271_0003.jpg', '/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0000.jpg', '/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0001.jpg', '/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0002.jpg', '/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0003.jpg', '/home/pi/Desktop/images/18012025/07/19/image_18012025_07_19_03_073018_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/17/image_18012025_07_17_02_981271_0003.jpg
/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0000.jpg
/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0001.jpg
/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0002.jpg
/home/pi/Desktop/images/18012025/07/18/image_18012025_07_18_02_424501_0003.jpg
/home/pi/Desktop/images/18012025/07/19/image_18012025_07_19_03_073018_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":["1329693219","1329693207","1329693215","1329693227","1329693232","1329693211"],"photo_ids_order":["1329693207","1329693211","1329693215","1329693219","1329693227","1329693232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cfc7e1737301bbfa2c404d6f7eb157c2.jpg","text":"TemporaryFile(/tmp/multipartBody3905192647880736431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181478791,"filename":"image_18012025_07_18_02_424501_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89550ff684a1d6e55665e51276da9855.jpg","text":"TemporaryFile(/tmp/multipartBody3611318411317750187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181478791,"filename":"image_18012025_07_17_02_981271_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46e49ce203ecad01cc76c4c7df64022f.jpg","text":"TemporaryFile(/tmp/multipartBody5190140963983104321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181478791,"filename":"image_18012025_07_18_02_424501_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d14ade6358d238272f4efc54abd8c899.jpg","text":"TemporaryFile(/tmp/multipartBody4851906745622995668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181478791,"filename":"image_18012025_07_18_02_424501_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/38f7af9354461b8e34bc2493f2bf3d09.jpg","text":"TemporaryFile(/tmp/multipartBody5012485405943246020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181478791,"filename":"image_18012025_07_19_03_073018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b9de4e1553a3fdd987c4e12ae286a0e.jpg","text":"TemporaryFile(/tmp/multipartBody5091041906482827705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181478791,"filename":"image_18012025_07_18_02_424501_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329693215","file1":"1329693211","file0":"1329693207","file4":"1329693227","file5":"1329693232","file3":"1329693219"},"map_files_photo_id_array":[{"photo_id":"1329693232","filename":"file5"},{"photo_id":"1329693215","filename":"file2"},{"photo_id":"1329693227","filename":"file4"},{"photo_id":"1329693211","filename":"file1"},{"photo_id":"1329693207","filename":"file0"},{"photo_id":"1329693219","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329693219":["hashtag1","hashtag2"]},{"1329693207":["hashtag1","hashtag2"]},{"1329693215":["hashtag1","hashtag2"]},{"1329693227":["hashtag1","hashtag2"]},{"1329693232":["hashtag1","hashtag2"]},{"1329693211":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329693219, 1329693207, 1329693215, 1329693227, 1329693232, 1329693211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.13522171974182 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:25:03.143861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/19/image_18012025_07_19_03_073018_0001.jpg', '/home/pi/Desktop/images/18012025/07/19/image_18012025_07_19_03_073018_0002.jpg', '/home/pi/Desktop/images/18012025/07/19/image_18012025_07_19_03_073018_0003.jpg', '/home/pi/Desktop/images/18012025/07/20/image_18012025_07_20_02_565828_0000.jpg', '/home/pi/Desktop/images/18012025/07/20/image_18012025_07_20_02_565828_0001.jpg', '/home/pi/Desktop/images/18012025/07/20/image_18012025_07_20_02_565828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/19/image_18012025_07_19_03_073018_0001.jpg
/home/pi/Desktop/images/18012025/07/19/image_18012025_07_19_03_073018_0002.jpg
/home/pi/Desktop/images/18012025/07/19/image_18012025_07_19_03_073018_0003.jpg
/home/pi/Desktop/images/18012025/07/20/image_18012025_07_20_02_565828_0000.jpg
/home/pi/Desktop/images/18012025/07/20/image_18012025_07_20_02_565828_0001.jpg
/home/pi/Desktop/images/18012025/07/20/image_18012025_07_20_02_565828_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329693278","1329693272","1329693281","1329693275","1329693301","1329693288"],"photo_ids_order":["1329693272","1329693275","1329693278","1329693281","1329693288","1329693301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b136b1cc307ce792874b513bcfee54d1.jpg","text":"TemporaryFile(/tmp/multipartBody7660544993428986222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181579099,"filename":"image_18012025_07_19_03_073018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd6e8a24286b6453e041a8f807f4c869.jpg","text":"TemporaryFile(/tmp/multipartBody306020815697388736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181579099,"filename":"image_18012025_07_19_03_073018_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be64857dcc6d9963d6f047d6dfc59aa3.jpg","text":"TemporaryFile(/tmp/multipartBody2153727344426895587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181579099,"filename":"image_18012025_07_20_02_565828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a20e932c723413751711f288cc4f8b1.jpg","text":"TemporaryFile(/tmp/multipartBody7019823455928451058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181579099,"filename":"image_18012025_07_19_03_073018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d86382f00110e06554cd033cc72aaf4f.jpg","text":"TemporaryFile(/tmp/multipartBody4941168015962967481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181579099,"filename":"image_18012025_07_20_02_565828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70b20be877a605ff8ccacc596db476f9.jpg","text":"TemporaryFile(/tmp/multipartBody3830829948832231431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181579099,"filename":"image_18012025_07_20_02_565828_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329693278","file1":"1329693275","file0":"1329693272","file4":"1329693288","file5":"1329693301","file3":"1329693281"},"map_files_photo_id_array":[{"photo_id":"1329693301","filename":"file5"},{"photo_id":"1329693278","filename":"file2"},{"photo_id":"1329693288","filename":"file4"},{"photo_id":"1329693275","filename":"file1"},{"photo_id":"1329693272","filename":"file0"},{"photo_id":"1329693281","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329693278":["hashtag1","hashtag2"]},{"1329693272":["hashtag1","hashtag2"]},{"1329693281":["hashtag1","hashtag2"]},{"1329693275":["hashtag1","hashtag2"]},{"1329693301":["hashtag1","hashtag2"]},{"1329693288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329693278, 1329693272, 1329693281, 1329693275, 1329693301, 1329693288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.84123706817627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:26:02.475305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/20/image_18012025_07_20_02_565828_0003.jpg', '/home/pi/Desktop/images/18012025/07/21/image_18012025_07_21_03_061914_0000.jpg', '/home/pi/Desktop/images/18012025/07/21/image_18012025_07_21_03_061914_0001.jpg', '/home/pi/Desktop/images/18012025/07/21/image_18012025_07_21_03_061914_0002.jpg', '/home/pi/Desktop/images/18012025/07/21/image_18012025_07_21_03_061914_0003.jpg', '/home/pi/Desktop/images/18012025/07/22/image_18012025_07_22_02_598084_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/20/image_18012025_07_20_02_565828_0003.jpg
/home/pi/Desktop/images/18012025/07/21/image_18012025_07_21_03_061914_0000.jpg
/home/pi/Desktop/images/18012025/07/21/image_18012025_07_21_03_061914_0001.jpg
/home/pi/Desktop/images/18012025/07/21/image_18012025_07_21_03_061914_0002.jpg
/home/pi/Desktop/images/18012025/07/21/image_18012025_07_21_03_061914_0003.jpg
/home/pi/Desktop/images/18012025/07/22/image_18012025_07_22_02_598084_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329693354","1329693348","1329693336","1329693339","1329693365","1329693359"],"photo_ids_order":["1329693336","1329693339","1329693348","1329693354","1329693359","1329693365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/38803be7f9416e20c0271e3e91b5168d.jpg","text":"TemporaryFile(/tmp/multipartBody4290610381004137496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181638724,"filename":"image_18012025_07_21_03_061914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8858efb80b6e5f0b52826799eb2a8f0d.jpg","text":"TemporaryFile(/tmp/multipartBody655120151906806578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181638724,"filename":"image_18012025_07_21_03_061914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b6318dd91d5454fe4eb83ba368e7e64.jpg","text":"TemporaryFile(/tmp/multipartBody5656474790198981693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181638724,"filename":"image_18012025_07_20_02_565828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c7cd52d8e2163c8be3a0635a26a43aa8.jpg","text":"TemporaryFile(/tmp/multipartBody3613697205741316139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181638724,"filename":"image_18012025_07_21_03_061914_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c694a23e41ac50c244a2967d4ce8ff65.jpg","text":"TemporaryFile(/tmp/multipartBody616719514902812381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181638724,"filename":"image_18012025_07_22_02_598084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f5033231a68d995bb1f3183aaf1b996.jpg","text":"TemporaryFile(/tmp/multipartBody7485668853844331695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181638724,"filename":"image_18012025_07_21_03_061914_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329693348","file1":"1329693339","file0":"1329693336","file4":"1329693359","file5":"1329693365","file3":"1329693354"},"map_files_photo_id_array":[{"photo_id":"1329693365","filename":"file5"},{"photo_id":"1329693348","filename":"file2"},{"photo_id":"1329693359","filename":"file4"},{"photo_id":"1329693339","filename":"file1"},{"photo_id":"1329693336","filename":"file0"},{"photo_id":"1329693354","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329693354":["hashtag1","hashtag2"]},{"1329693348":["hashtag1","hashtag2"]},{"1329693336":["hashtag1","hashtag2"]},{"1329693339":["hashtag1","hashtag2"]},{"1329693365":["hashtag1","hashtag2"]},{"1329693359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329693354, 1329693348, 1329693336, 1329693339, 1329693365, 1329693359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.0354585647583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:27:03.292969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/22/image_18012025_07_22_02_598084_0001.jpg', '/home/pi/Desktop/images/18012025/07/22/image_18012025_07_22_02_598084_0002.jpg', '/home/pi/Desktop/images/18012025/07/22/image_18012025_07_22_02_598084_0003.jpg', '/home/pi/Desktop/images/18012025/07/23/image_18012025_07_23_03_089137_0000.jpg', '/home/pi/Desktop/images/18012025/07/23/image_18012025_07_23_03_089137_0001.jpg', '/home/pi/Desktop/images/18012025/07/23/image_18012025_07_23_03_089137_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/22/image_18012025_07_22_02_598084_0001.jpg
/home/pi/Desktop/images/18012025/07/22/image_18012025_07_22_02_598084_0002.jpg
/home/pi/Desktop/images/18012025/07/22/image_18012025_07_22_02_598084_0003.jpg
/home/pi/Desktop/images/18012025/07/23/image_18012025_07_23_03_089137_0000.jpg
/home/pi/Desktop/images/18012025/07/23/image_18012025_07_23_03_089137_0001.jpg
/home/pi/Desktop/images/18012025/07/23/image_18012025_07_23_03_089137_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329693402","1329693380","1329693391","1329693397","1329693384","1329693387"],"photo_ids_order":["1329693380","1329693384","1329693387","1329693391","1329693397","1329693402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f411d17c2dcd57d6adc8fe8f8e4fc479.jpg","text":"TemporaryFile(/tmp/multipartBody2947529222591095083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181699303,"filename":"image_18012025_07_23_03_089137_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2566be59543266c7f5dcacdd96ecad7f.jpg","text":"TemporaryFile(/tmp/multipartBody771304203591309710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181699303,"filename":"image_18012025_07_22_02_598084_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d222a9a6d41b83b53d9c2fa25af4373.jpg","text":"TemporaryFile(/tmp/multipartBody3401495392180228786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181699303,"filename":"image_18012025_07_23_03_089137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a889f9bc20b36b4f310a285fe9f0461f.jpg","text":"TemporaryFile(/tmp/multipartBody4985256708636032071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181699303,"filename":"image_18012025_07_23_03_089137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54addcd5b49bcf6e642c27d780d3aef8.jpg","text":"TemporaryFile(/tmp/multipartBody1677150238160470631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181699303,"filename":"image_18012025_07_22_02_598084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/56515d2d9edcc64b94c5201ca499cf1b.jpg","text":"TemporaryFile(/tmp/multipartBody4804198156898273747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181699303,"filename":"image_18012025_07_22_02_598084_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329693387","file1":"1329693384","file0":"1329693380","file4":"1329693397","file5":"1329693402","file3":"1329693391"},"map_files_photo_id_array":[{"photo_id":"1329693402","filename":"file5"},{"photo_id":"1329693387","filename":"file2"},{"photo_id":"1329693397","filename":"file4"},{"photo_id":"1329693384","filename":"file1"},{"photo_id":"1329693380","filename":"file0"},{"photo_id":"1329693391","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329693402":["hashtag1","hashtag2"]},{"1329693380":["hashtag1","hashtag2"]},{"1329693391":["hashtag1","hashtag2"]},{"1329693397":["hashtag1","hashtag2"]},{"1329693384":["hashtag1","hashtag2"]},{"1329693387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329693402, 1329693380, 1329693391, 1329693397, 1329693384, 1329693387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.10639810562134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:28:02.737316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/23/image_18012025_07_23_03_089137_0003.jpg', '/home/pi/Desktop/images/18012025/07/24/image_18012025_07_24_02_704099_0000.jpg', '/home/pi/Desktop/images/18012025/07/24/image_18012025_07_24_02_704099_0001.jpg', '/home/pi/Desktop/images/18012025/07/24/image_18012025_07_24_02_704099_0002.jpg', '/home/pi/Desktop/images/18012025/07/24/image_18012025_07_24_02_704099_0003.jpg', '/home/pi/Desktop/images/18012025/07/25/image_18012025_07_25_02_278403_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/23/image_18012025_07_23_03_089137_0003.jpg
/home/pi/Desktop/images/18012025/07/24/image_18012025_07_24_02_704099_0000.jpg
/home/pi/Desktop/images/18012025/07/24/image_18012025_07_24_02_704099_0001.jpg
/home/pi/Desktop/images/18012025/07/24/image_18012025_07_24_02_704099_0002.jpg
/home/pi/Desktop/images/18012025/07/24/image_18012025_07_24_02_704099_0003.jpg
/home/pi/Desktop/images/18012025/07/25/image_18012025_07_25_02_278403_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":["1329693420","1329693423","1329693417","1329693426","1329693446","1329693451"],"photo_ids_order":["1329693417","1329693420","1329693423","1329693426","1329693446","1329693451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f94f05a0790e43d13daf8a3152fdecbb.jpg","text":"TemporaryFile(/tmp/multipartBody8449788047827294368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181759278,"filename":"image_18012025_07_24_02_704099_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6374a5b06649955c86c708ad3f4e1ea7.jpg","text":"TemporaryFile(/tmp/multipartBody6519212055708224385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181759278,"filename":"image_18012025_07_24_02_704099_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e769ef215a04808d7f62e03bb4ba2b69.jpg","text":"TemporaryFile(/tmp/multipartBody5099258444317742895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181759278,"filename":"image_18012025_07_23_03_089137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92fc44ee26782723cfdaf69692e524dd.jpg","text":"TemporaryFile(/tmp/multipartBody531995450263697892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181759278,"filename":"image_18012025_07_24_02_704099_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c38c9009b4b95979b15fedf8b1539461.jpg","text":"TemporaryFile(/tmp/multipartBody7872671310044112173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181759278,"filename":"image_18012025_07_24_02_704099_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e37ca6c46afb570febfaed433bc573da.jpg","text":"TemporaryFile(/tmp/multipartBody2633227188784454537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181759278,"filename":"image_18012025_07_25_02_278403_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329693423","file1":"1329693420","file0":"1329693417","file4":"1329693446","file5":"1329693451","file3":"1329693426"},"map_files_photo_id_array":[{"photo_id":"1329693451","filename":"file5"},{"photo_id":"1329693423","filename":"file2"},{"photo_id":"1329693446","filename":"file4"},{"photo_id":"1329693420","filename":"file1"},{"photo_id":"1329693417","filename":"file0"},{"photo_id":"1329693426","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329693420":["hashtag1","hashtag2"]},{"1329693423":["hashtag1","hashtag2"]},{"1329693417":["hashtag1","hashtag2"]},{"1329693426":["hashtag1","hashtag2"]},{"1329693446":["hashtag1","hashtag2"]},{"1329693451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329693420, 1329693423, 1329693417, 1329693426, 1329693446, 1329693451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.29307293891907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:29:21.925708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/25/image_18012025_07_25_02_278403_0001.jpg', '/home/pi/Desktop/images/18012025/07/25/image_18012025_07_25_02_278403_0002.jpg', '/home/pi/Desktop/images/18012025/07/25/image_18012025_07_25_02_278403_0003.jpg', '/home/pi/Desktop/images/18012025/07/26/image_18012025_07_26_02_804743_0000.jpg', '/home/pi/Desktop/images/18012025/07/26/image_18012025_07_26_02_804743_0001.jpg', '/home/pi/Desktop/images/18012025/07/26/image_18012025_07_26_02_804743_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/25/image_18012025_07_25_02_278403_0001.jpg
/home/pi/Desktop/images/18012025/07/25/image_18012025_07_25_02_278403_0002.jpg
/home/pi/Desktop/images/18012025/07/25/image_18012025_07_25_02_278403_0003.jpg
/home/pi/Desktop/images/18012025/07/26/image_18012025_07_26_02_804743_0000.jpg
/home/pi/Desktop/images/18012025/07/26/image_18012025_07_26_02_804743_0001.jpg
/home/pi/Desktop/images/18012025/07/26/image_18012025_07_26_02_804743_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329693651","1329693549","1329693612","1329693563","1329693653","1329693649"],"photo_ids_order":["1329693549","1329693563","1329693612","1329693649","1329693651","1329693653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d5a206eab2557ec0ea0c1ad1f5d828b.jpg","text":"TemporaryFile(/tmp/multipartBody5955409975947785574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181838534,"filename":"image_18012025_07_26_02_804743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f0144cd5093f9cebfb0fb5cda0c47f28.jpg","text":"TemporaryFile(/tmp/multipartBody7986057498690083254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181838534,"filename":"image_18012025_07_25_02_278403_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3ce41247e2509f1be016d2ff7a3a3e26.jpg","text":"TemporaryFile(/tmp/multipartBody5823618004980098561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181838534,"filename":"image_18012025_07_25_02_278403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c17dca7febd44dc4550aec6455466d74.jpg","text":"TemporaryFile(/tmp/multipartBody1942796906073278346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181838534,"filename":"image_18012025_07_25_02_278403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/840d8acf9300557852267579785a09b8.jpg","text":"TemporaryFile(/tmp/multipartBody6287606370125078431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181838534,"filename":"image_18012025_07_26_02_804743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0d771cc7423c79e43212cbe94d96a04.jpg","text":"TemporaryFile(/tmp/multipartBody5071337676063189620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181838534,"filename":"image_18012025_07_26_02_804743_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329693612","file1":"1329693563","file0":"1329693549","file4":"1329693651","file5":"1329693653","file3":"1329693649"},"map_files_photo_id_array":[{"photo_id":"1329693653","filename":"file5"},{"photo_id":"1329693612","filename":"file2"},{"photo_id":"1329693651","filename":"file4"},{"photo_id":"1329693563","filename":"file1"},{"photo_id":"1329693549","filename":"file0"},{"photo_id":"1329693649","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329693651":["hashtag1","hashtag2"]},{"1329693549":["hashtag1","hashtag2"]},{"1329693612":["hashtag1","hashtag2"]},{"1329693563":["hashtag1","hashtag2"]},{"1329693653":["hashtag1","hashtag2"]},{"1329693649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329693651, 1329693549, 1329693612, 1329693563, 1329693653, 1329693649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.21578359603882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:30:22.434138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/26/image_18012025_07_26_02_804743_0003.jpg', '/home/pi/Desktop/images/18012025/07/27/image_18012025_07_27_02_488565_0000.jpg', '/home/pi/Desktop/images/18012025/07/27/image_18012025_07_27_02_488565_0001.jpg', '/home/pi/Desktop/images/18012025/07/27/image_18012025_07_27_02_488565_0002.jpg', '/home/pi/Desktop/images/18012025/07/27/image_18012025_07_27_02_488565_0003.jpg', '/home/pi/Desktop/images/18012025/07/28/image_18012025_07_28_03_022596_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/26/image_18012025_07_26_02_804743_0003.jpg
/home/pi/Desktop/images/18012025/07/27/image_18012025_07_27_02_488565_0000.jpg
/home/pi/Desktop/images/18012025/07/27/image_18012025_07_27_02_488565_0001.jpg
/home/pi/Desktop/images/18012025/07/27/image_18012025_07_27_02_488565_0002.jpg
/home/pi/Desktop/images/18012025/07/27/image_18012025_07_27_02_488565_0003.jpg
/home/pi/Desktop/images/18012025/07/28/image_18012025_07_28_03_022596_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329693726","1329693692","1329693698","1329693722","1329693704","1329693724"],"photo_ids_order":["1329693692","1329693698","1329693704","1329693722","1329693724","1329693726"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f560f99f50fa0c3ec789b34c0bb7b85.jpg","text":"TemporaryFile(/tmp/multipartBody3878400506042337759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181898432,"filename":"image_18012025_07_28_03_022596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/894897198a4d9cbf8adb702e11a78ba9.jpg","text":"TemporaryFile(/tmp/multipartBody1605939265148720033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181898432,"filename":"image_18012025_07_26_02_804743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c92cb5d8640f2885934880fc5430038a.jpg","text":"TemporaryFile(/tmp/multipartBody2915417422586494181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181898432,"filename":"image_18012025_07_27_02_488565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3fd11997ff79b657eeadacc4d67051da.jpg","text":"TemporaryFile(/tmp/multipartBody1606959822468729060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181898432,"filename":"image_18012025_07_27_02_488565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1828aec3bf1cae0813a1de6304aeeb02.jpg","text":"TemporaryFile(/tmp/multipartBody8985885038568720558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181898432,"filename":"image_18012025_07_27_02_488565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/509f4688ce36c5e3ad977bb2c4bf5af8.jpg","text":"TemporaryFile(/tmp/multipartBody6084274527219187879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181898432,"filename":"image_18012025_07_27_02_488565_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329693704","file1":"1329693698","file0":"1329693692","file4":"1329693724","file5":"1329693726","file3":"1329693722"},"map_files_photo_id_array":[{"photo_id":"1329693726","filename":"file5"},{"photo_id":"1329693704","filename":"file2"},{"photo_id":"1329693724","filename":"file4"},{"photo_id":"1329693698","filename":"file1"},{"photo_id":"1329693692","filename":"file0"},{"photo_id":"1329693722","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329693726":["hashtag1","hashtag2"]},{"1329693692":["hashtag1","hashtag2"]},{"1329693698":["hashtag1","hashtag2"]},{"1329693722":["hashtag1","hashtag2"]},{"1329693704":["hashtag1","hashtag2"]},{"1329693724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329693726, 1329693692, 1329693698, 1329693722, 1329693704, 1329693724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.95671319961548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:31:21.874006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/28/image_18012025_07_28_03_022596_0001.jpg', '/home/pi/Desktop/images/18012025/07/28/image_18012025_07_28_03_022596_0002.jpg', '/home/pi/Desktop/images/18012025/07/28/image_18012025_07_28_03_022596_0003.jpg', '/home/pi/Desktop/images/18012025/07/29/image_18012025_07_29_02_791046_0000.jpg', '/home/pi/Desktop/images/18012025/07/29/image_18012025_07_29_02_791046_0001.jpg', '/home/pi/Desktop/images/18012025/07/29/image_18012025_07_29_02_791046_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/28/image_18012025_07_28_03_022596_0001.jpg
/home/pi/Desktop/images/18012025/07/28/image_18012025_07_28_03_022596_0002.jpg
/home/pi/Desktop/images/18012025/07/28/image_18012025_07_28_03_022596_0003.jpg
/home/pi/Desktop/images/18012025/07/29/image_18012025_07_29_02_791046_0000.jpg
/home/pi/Desktop/images/18012025/07/29/image_18012025_07_29_02_791046_0001.jpg
/home/pi/Desktop/images/18012025/07/29/image_18012025_07_29_02_791046_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329693759","1329693755","1329693743","1329693752","1329693748","1329693739"],"photo_ids_order":["1329693739","1329693743","1329693748","1329693752","1329693755","1329693759"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0141ae3c1f25a61ba92be1983bbf4f4d.jpg","text":"TemporaryFile(/tmp/multipartBody8537449722572985280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181958670,"filename":"image_18012025_07_29_02_791046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/633c2b08b239ee4419ac1419a00f516d.jpg","text":"TemporaryFile(/tmp/multipartBody1448354655862657404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181958670,"filename":"image_18012025_07_29_02_791046_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da77227eb7ae99ae9e169878bd252416.jpg","text":"TemporaryFile(/tmp/multipartBody8171822959057234892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181958670,"filename":"image_18012025_07_28_03_022596_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c3aeb9b9bb529ca70617fed22e65b8a.jpg","text":"TemporaryFile(/tmp/multipartBody6689260362561027908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181958670,"filename":"image_18012025_07_29_02_791046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/52b0b5a933178771199a2e60f4b1561d.jpg","text":"TemporaryFile(/tmp/multipartBody5680788762742296499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181958670,"filename":"image_18012025_07_28_03_022596_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2dd8177dd424617e5442044d73403e5.jpg","text":"TemporaryFile(/tmp/multipartBody7454274005787236074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737181958670,"filename":"image_18012025_07_28_03_022596_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329693748","file1":"1329693743","file0":"1329693739","file4":"1329693755","file5":"1329693759","file3":"1329693752"},"map_files_photo_id_array":[{"photo_id":"1329693759","filename":"file5"},{"photo_id":"1329693748","filename":"file2"},{"photo_id":"1329693755","filename":"file4"},{"photo_id":"1329693743","filename":"file1"},{"photo_id":"1329693739","filename":"file0"},{"photo_id":"1329693752","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329693759":["hashtag1","hashtag2"]},{"1329693755":["hashtag1","hashtag2"]},{"1329693743":["hashtag1","hashtag2"]},{"1329693752":["hashtag1","hashtag2"]},{"1329693748":["hashtag1","hashtag2"]},{"1329693739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329693759, 1329693755, 1329693743, 1329693752, 1329693748, 1329693739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.05865716934204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:32:22.459366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/29/image_18012025_07_29_02_791046_0003.jpg', '/home/pi/Desktop/images/18012025/07/30/image_18012025_07_30_02_283748_0000.jpg', '/home/pi/Desktop/images/18012025/07/30/image_18012025_07_30_02_283748_0001.jpg', '/home/pi/Desktop/images/18012025/07/30/image_18012025_07_30_02_283748_0002.jpg', '/home/pi/Desktop/images/18012025/07/30/image_18012025_07_30_02_283748_0003.jpg', '/home/pi/Desktop/images/18012025/07/31/image_18012025_07_31_02_774689_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/29/image_18012025_07_29_02_791046_0003.jpg
/home/pi/Desktop/images/18012025/07/30/image_18012025_07_30_02_283748_0000.jpg
/home/pi/Desktop/images/18012025/07/30/image_18012025_07_30_02_283748_0001.jpg
/home/pi/Desktop/images/18012025/07/30/image_18012025_07_30_02_283748_0002.jpg
/home/pi/Desktop/images/18012025/07/30/image_18012025_07_30_02_283748_0003.jpg
/home/pi/Desktop/images/18012025/07/31/image_18012025_07_31_02_774689_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329693849","1329693863","1329693842","1329693824","1329693818","1329693829"],"photo_ids_order":["1329693818","1329693824","1329693829","1329693842","1329693849","1329693863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f9f911f766cce20c20feb2e53a986c90.jpg","text":"TemporaryFile(/tmp/multipartBody8858722938754355789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182018801,"filename":"image_18012025_07_30_02_283748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e2dac97e9bd8f5521c0a9cff60cccfc.jpg","text":"TemporaryFile(/tmp/multipartBody1138453233580442464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182018801,"filename":"image_18012025_07_31_02_774689_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5488524e95a152b04f74e28a095d80c0.jpg","text":"TemporaryFile(/tmp/multipartBody4444743317238173886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182018801,"filename":"image_18012025_07_30_02_283748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93feba45889372b9ea8e9e9451a81e74.jpg","text":"TemporaryFile(/tmp/multipartBody4420086165468508527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182018801,"filename":"image_18012025_07_30_02_283748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a1c7fc4fca9f1046451b533425776ee4.jpg","text":"TemporaryFile(/tmp/multipartBody158543823694236616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182018801,"filename":"image_18012025_07_29_02_791046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/71119ebb368dfd90e554b3a11199cf04.jpg","text":"TemporaryFile(/tmp/multipartBody8659080350147171219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182018801,"filename":"image_18012025_07_30_02_283748_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329693829","file1":"1329693824","file0":"1329693818","file4":"1329693849","file5":"1329693863","file3":"1329693842"},"map_files_photo_id_array":[{"photo_id":"1329693863","filename":"file5"},{"photo_id":"1329693829","filename":"file2"},{"photo_id":"1329693849","filename":"file4"},{"photo_id":"1329693824","filename":"file1"},{"photo_id":"1329693818","filename":"file0"},{"photo_id":"1329693842","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329693849":["hashtag1","hashtag2"]},{"1329693863":["hashtag1","hashtag2"]},{"1329693842":["hashtag1","hashtag2"]},{"1329693824":["hashtag1","hashtag2"]},{"1329693818":["hashtag1","hashtag2"]},{"1329693829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329693849, 1329693863, 1329693842, 1329693824, 1329693818, 1329693829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.06167721748352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:33:21.968035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/31/image_18012025_07_31_02_774689_0001.jpg', '/home/pi/Desktop/images/18012025/07/31/image_18012025_07_31_02_774689_0002.jpg', '/home/pi/Desktop/images/18012025/07/31/image_18012025_07_31_02_774689_0003.jpg', '/home/pi/Desktop/images/18012025/07/32/image_18012025_07_32_02_330209_0000.jpg', '/home/pi/Desktop/images/18012025/07/32/image_18012025_07_32_02_330209_0001.jpg', '/home/pi/Desktop/images/18012025/07/32/image_18012025_07_32_02_330209_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/31/image_18012025_07_31_02_774689_0001.jpg
/home/pi/Desktop/images/18012025/07/31/image_18012025_07_31_02_774689_0002.jpg
/home/pi/Desktop/images/18012025/07/31/image_18012025_07_31_02_774689_0003.jpg
/home/pi/Desktop/images/18012025/07/32/image_18012025_07_32_02_330209_0000.jpg
/home/pi/Desktop/images/18012025/07/32/image_18012025_07_32_02_330209_0001.jpg
/home/pi/Desktop/images/18012025/07/32/image_18012025_07_32_02_330209_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329693936","1329693903","1329693932","1329693926","1329693908","1329693913"],"photo_ids_order":["1329693903","1329693908","1329693913","1329693926","1329693932","1329693936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08aed051344e7ef184b88c502bd55818.jpg","text":"TemporaryFile(/tmp/multipartBody3152685242932639470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182077916,"filename":"image_18012025_07_32_02_330209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3cf8d1b42ce7687e8b6ec677b7b643d9.jpg","text":"TemporaryFile(/tmp/multipartBody2545383172222104137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182077916,"filename":"image_18012025_07_31_02_774689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/773e53f617cc60b5c3775e09d2c2e471.jpg","text":"TemporaryFile(/tmp/multipartBody1250132543951727686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182077916,"filename":"image_18012025_07_32_02_330209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f35488554796dde2a79044a60460e89a.jpg","text":"TemporaryFile(/tmp/multipartBody5015095542863056486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182077916,"filename":"image_18012025_07_32_02_330209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d31ffe49b46970366d75891a6816032.jpg","text":"TemporaryFile(/tmp/multipartBody7189563136607351726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182077916,"filename":"image_18012025_07_31_02_774689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/71e8bcdb0d66b3cd33c0f977f1e23955.jpg","text":"TemporaryFile(/tmp/multipartBody6863942955927706877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182077916,"filename":"image_18012025_07_31_02_774689_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329693913","file1":"1329693908","file0":"1329693903","file4":"1329693932","file5":"1329693936","file3":"1329693926"},"map_files_photo_id_array":[{"photo_id":"1329693936","filename":"file5"},{"photo_id":"1329693913","filename":"file2"},{"photo_id":"1329693932","filename":"file4"},{"photo_id":"1329693908","filename":"file1"},{"photo_id":"1329693903","filename":"file0"},{"photo_id":"1329693926","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329693936":["hashtag1","hashtag2"]},{"1329693903":["hashtag1","hashtag2"]},{"1329693932":["hashtag1","hashtag2"]},{"1329693926":["hashtag1","hashtag2"]},{"1329693908":["hashtag1","hashtag2"]},{"1329693913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329693936, 1329693903, 1329693932, 1329693926, 1329693908, 1329693913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.06451368331909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:34:22.440448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/32/image_18012025_07_32_02_330209_0003.jpg', '/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0000.jpg', '/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0001.jpg', '/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0002.jpg', '/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0003.jpg', '/home/pi/Desktop/images/18012025/07/34/image_18012025_07_34_02_338751_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/32/image_18012025_07_32_02_330209_0003.jpg
/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0000.jpg
/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0001.jpg
/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0002.jpg
/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0003.jpg
/home/pi/Desktop/images/18012025/07/34/image_18012025_07_34_02_338751_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.27931833267212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:35:02.539341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/32/image_18012025_07_32_02_330209_0003.jpg', '/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0000.jpg', '/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0001.jpg', '/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0002.jpg', '/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0003.jpg', '/home/pi/Desktop/images/18012025/07/34/image_18012025_07_34_02_338751_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/32/image_18012025_07_32_02_330209_0003.jpg
/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0000.jpg
/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0001.jpg
/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0002.jpg
/home/pi/Desktop/images/18012025/07/33/image_18012025_07_33_02_873090_0003.jpg
/home/pi/Desktop/images/18012025/07/34/image_18012025_07_34_02_338751_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329694734","1329694815","1329694892","1329694871","1329694723","1329694719"],"photo_ids_order":["1329694719","1329694723","1329694734","1329694815","1329694871","1329694892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b3b18d6a1060a6454416eece3bccd8f.jpg","text":"TemporaryFile(/tmp/multipartBody7755554292785435598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182179328,"filename":"image_18012025_07_33_02_873090_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/62919e46920cb100143bc3862f8b6561.jpg","text":"TemporaryFile(/tmp/multipartBody8691401141107276898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182179328,"filename":"image_18012025_07_33_02_873090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/765ac6493a95b7abea9ce4fc25faae54.jpg","text":"TemporaryFile(/tmp/multipartBody5732814838037378815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182179328,"filename":"image_18012025_07_34_02_338751_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c651a02964bb7b14431cf7c13fbd3961.jpg","text":"TemporaryFile(/tmp/multipartBody8718036772152341127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182179328,"filename":"image_18012025_07_33_02_873090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1565ccd0eaa60ae807c229a1f0a869c.jpg","text":"TemporaryFile(/tmp/multipartBody3495745766093160783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182179328,"filename":"image_18012025_07_33_02_873090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95818ecca9cde87e1d9e5efb6511e76a.jpg","text":"TemporaryFile(/tmp/multipartBody3554550692493047158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182179328,"filename":"image_18012025_07_32_02_330209_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329694734","file1":"1329694723","file0":"1329694719","file4":"1329694871","file5":"1329694892","file3":"1329694815"},"map_files_photo_id_array":[{"photo_id":"1329694892","filename":"file5"},{"photo_id":"1329694734","filename":"file2"},{"photo_id":"1329694871","filename":"file4"},{"photo_id":"1329694723","filename":"file1"},{"photo_id":"1329694719","filename":"file0"},{"photo_id":"1329694815","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329694734":["hashtag1","hashtag2"]},{"1329694815":["hashtag1","hashtag2"]},{"1329694892":["hashtag1","hashtag2"]},{"1329694871":["hashtag1","hashtag2"]},{"1329694723":["hashtag1","hashtag2"]},{"1329694719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329694734, 1329694815, 1329694892, 1329694871, 1329694723, 1329694719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.74900841712952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:36:02.949935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/34/image_18012025_07_34_02_338751_0001.jpg', '/home/pi/Desktop/images/18012025/07/34/image_18012025_07_34_02_338751_0002.jpg', '/home/pi/Desktop/images/18012025/07/34/image_18012025_07_34_02_338751_0003.jpg', '/home/pi/Desktop/images/18012025/07/35/image_18012025_07_35_02_818972_0000.jpg', '/home/pi/Desktop/images/18012025/07/35/image_18012025_07_35_02_818972_0001.jpg', '/home/pi/Desktop/images/18012025/07/35/image_18012025_07_35_02_818972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/34/image_18012025_07_34_02_338751_0001.jpg
/home/pi/Desktop/images/18012025/07/34/image_18012025_07_34_02_338751_0002.jpg
/home/pi/Desktop/images/18012025/07/34/image_18012025_07_34_02_338751_0003.jpg
/home/pi/Desktop/images/18012025/07/35/image_18012025_07_35_02_818972_0000.jpg
/home/pi/Desktop/images/18012025/07/35/image_18012025_07_35_02_818972_0001.jpg
/home/pi/Desktop/images/18012025/07/35/image_18012025_07_35_02_818972_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329694946","1329694931","1329694954","1329694942","1329694935","1329694950"],"photo_ids_order":["1329694931","1329694935","1329694942","1329694946","1329694950","1329694954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70bf716c67f4536d569b59a5c2a3bac6.jpg","text":"TemporaryFile(/tmp/multipartBody6505753738354778291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182239819,"filename":"image_18012025_07_35_02_818972_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be72a947dfc051809d8ad5cd2f1df047.jpg","text":"TemporaryFile(/tmp/multipartBody5308906395507020558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182239819,"filename":"image_18012025_07_34_02_338751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5056af93b8102edcef8c09d764f803d6.jpg","text":"TemporaryFile(/tmp/multipartBody919426657815017017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182239819,"filename":"image_18012025_07_35_02_818972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a48dc27d456486f44b32fcff645b7a0.jpg","text":"TemporaryFile(/tmp/multipartBody6466987376869492146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182239819,"filename":"image_18012025_07_34_02_338751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96c3fdc04e5e5a62df9945891acc9587.jpg","text":"TemporaryFile(/tmp/multipartBody3560610824005759803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182239819,"filename":"image_18012025_07_34_02_338751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e12b6969de72315ba4d3b69e7353550f.jpg","text":"TemporaryFile(/tmp/multipartBody6551256358081750490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182239819,"filename":"image_18012025_07_35_02_818972_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329694942","file1":"1329694935","file0":"1329694931","file4":"1329694950","file5":"1329694954","file3":"1329694946"},"map_files_photo_id_array":[{"photo_id":"1329694954","filename":"file5"},{"photo_id":"1329694942","filename":"file2"},{"photo_id":"1329694950","filename":"file4"},{"photo_id":"1329694935","filename":"file1"},{"photo_id":"1329694931","filename":"file0"},{"photo_id":"1329694946","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329694946":["hashtag1","hashtag2"]},{"1329694931":["hashtag1","hashtag2"]},{"1329694954":["hashtag1","hashtag2"]},{"1329694942":["hashtag1","hashtag2"]},{"1329694935":["hashtag1","hashtag2"]},{"1329694950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329694946, 1329694931, 1329694954, 1329694942, 1329694935, 1329694950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.38643479347229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:37:02.522069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/35/image_18012025_07_35_02_818972_0003.jpg', '/home/pi/Desktop/images/18012025/07/36/image_18012025_07_36_02_306375_0000.jpg', '/home/pi/Desktop/images/18012025/07/36/image_18012025_07_36_02_306375_0001.jpg', '/home/pi/Desktop/images/18012025/07/36/image_18012025_07_36_02_306375_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/35/image_18012025_07_35_02_818972_0003.jpg
/home/pi/Desktop/images/18012025/07/36/image_18012025_07_36_02_306375_0000.jpg
/home/pi/Desktop/images/18012025/07/36/image_18012025_07_36_02_306375_0001.jpg
/home/pi/Desktop/images/18012025/07/36/image_18012025_07_36_02_306375_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329694964","1329694973","1329694977","1329694968"],"photo_ids_order":["1329694964","1329694968","1329694973","1329694977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/77e1b79928c8f5d2085081fb1064b408.jpg","text":"TemporaryFile(/tmp/multipartBody170371504564966385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182294044,"filename":"image_18012025_07_35_02_818972_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/68b4154338231963eb580f2b3bd2e17c.jpg","text":"TemporaryFile(/tmp/multipartBody6350869767068341413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182294044,"filename":"image_18012025_07_36_02_306375_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2788a6f6c32c5b3700e7d623d222beb2.jpg","text":"TemporaryFile(/tmp/multipartBody3149544309292815129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182294044,"filename":"image_18012025_07_36_02_306375_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5968ec28fc7f43b673ab81af8b211619.jpg","text":"TemporaryFile(/tmp/multipartBody3133392703478572962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182294044,"filename":"image_18012025_07_36_02_306375_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329694973","file1":"1329694968","file0":"1329694964","file3":"1329694977"},"map_files_photo_id_array":[{"photo_id":"1329694973","filename":"file2"},{"photo_id":"1329694968","filename":"file1"},{"photo_id":"1329694964","filename":"file0"},{"photo_id":"1329694977","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329694964":["hashtag1","hashtag2"]},{"1329694973":["hashtag1","hashtag2"]},{"1329694977":["hashtag1","hashtag2"]},{"1329694968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329694964, 1329694973, 1329694977, 1329694968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.08680725097656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:38:02.150933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/36/image_18012025_07_36_02_306375_0003.jpg', '/home/pi/Desktop/images/18012025/07/37/image_18012025_07_37_02_957192_0000.jpg', '/home/pi/Desktop/images/18012025/07/37/image_18012025_07_37_02_957192_0001.jpg', '/home/pi/Desktop/images/18012025/07/37/image_18012025_07_37_02_957192_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/36/image_18012025_07_36_02_306375_0003.jpg
/home/pi/Desktop/images/18012025/07/37/image_18012025_07_37_02_957192_0000.jpg
/home/pi/Desktop/images/18012025/07/37/image_18012025_07_37_02_957192_0001.jpg
/home/pi/Desktop/images/18012025/07/37/image_18012025_07_37_02_957192_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329694996","1329695001","1329695010","1329695007"],"photo_ids_order":["1329694996","1329695001","1329695007","1329695010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d680342493eb0e9dafee86f620ebf94.jpg","text":"TemporaryFile(/tmp/multipartBody8500751997504985622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182353566,"filename":"image_18012025_07_36_02_306375_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c32ab62c58f2274e6cb038e060e7c84c.jpg","text":"TemporaryFile(/tmp/multipartBody9134076073558981765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182353566,"filename":"image_18012025_07_37_02_957192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8573e9c4ee8c9cc7a0d716f9e1b94938.jpg","text":"TemporaryFile(/tmp/multipartBody4142695861100116137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182353566,"filename":"image_18012025_07_37_02_957192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da577dc45010ec7614a3bf7704a86456.jpg","text":"TemporaryFile(/tmp/multipartBody3724423947256355447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182353566,"filename":"image_18012025_07_37_02_957192_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329695007","file1":"1329695001","file0":"1329694996","file3":"1329695010"},"map_files_photo_id_array":[{"photo_id":"1329695007","filename":"file2"},{"photo_id":"1329695001","filename":"file1"},{"photo_id":"1329694996","filename":"file0"},{"photo_id":"1329695010","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329694996":["hashtag1","hashtag2"]},{"1329695001":["hashtag1","hashtag2"]},{"1329695010":["hashtag1","hashtag2"]},{"1329695007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329694996, 1329695001, 1329695010, 1329695007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.83574676513672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:39:02.961006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/37/image_18012025_07_37_02_957192_0003.jpg', '/home/pi/Desktop/images/18012025/07/38/image_18012025_07_38_02_484398_0000.jpg', '/home/pi/Desktop/images/18012025/07/38/image_18012025_07_38_02_484398_0001.jpg', '/home/pi/Desktop/images/18012025/07/38/image_18012025_07_38_02_484398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/37/image_18012025_07_37_02_957192_0003.jpg
/home/pi/Desktop/images/18012025/07/38/image_18012025_07_38_02_484398_0000.jpg
/home/pi/Desktop/images/18012025/07/38/image_18012025_07_38_02_484398_0001.jpg
/home/pi/Desktop/images/18012025/07/38/image_18012025_07_38_02_484398_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329695251","1329695233","1329695238","1329695247"],"photo_ids_order":["1329695233","1329695238","1329695247","1329695251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5dfd92655d9ded1806e3d1e17d15c082.jpg","text":"TemporaryFile(/tmp/multipartBody8074556517083473286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182414447,"filename":"image_18012025_07_38_02_484398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/724a871bf76c170fd7a429008fe5b868.jpg","text":"TemporaryFile(/tmp/multipartBody6315160988986806272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182414447,"filename":"image_18012025_07_37_02_957192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7dc6d3a6b3635a44f18ef52181608c26.jpg","text":"TemporaryFile(/tmp/multipartBody2540093917526453606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182414447,"filename":"image_18012025_07_38_02_484398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a9f73aa120084a5446a170aab478c3d0.jpg","text":"TemporaryFile(/tmp/multipartBody7679149896569262350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182414447,"filename":"image_18012025_07_38_02_484398_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329695247","file1":"1329695238","file0":"1329695233","file3":"1329695251"},"map_files_photo_id_array":[{"photo_id":"1329695247","filename":"file2"},{"photo_id":"1329695238","filename":"file1"},{"photo_id":"1329695233","filename":"file0"},{"photo_id":"1329695251","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329695251":["hashtag1","hashtag2"]},{"1329695233":["hashtag1","hashtag2"]},{"1329695238":["hashtag1","hashtag2"]},{"1329695247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329695251, 1329695233, 1329695238, 1329695247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.520708084106445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:40:02.415667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/38/image_18012025_07_38_02_484398_0003.jpg', '/home/pi/Desktop/images/18012025/07/39/image_18012025_07_39_02_167922_0000.jpg', '/home/pi/Desktop/images/18012025/07/39/image_18012025_07_39_02_167922_0001.jpg', '/home/pi/Desktop/images/18012025/07/39/image_18012025_07_39_02_167922_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/38/image_18012025_07_38_02_484398_0003.jpg
/home/pi/Desktop/images/18012025/07/39/image_18012025_07_39_02_167922_0000.jpg
/home/pi/Desktop/images/18012025/07/39/image_18012025_07_39_02_167922_0001.jpg
/home/pi/Desktop/images/18012025/07/39/image_18012025_07_39_02_167922_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329695479","1329695470","1329695467","1329695475"],"photo_ids_order":["1329695467","1329695470","1329695475","1329695479"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/417d3684361c2c97c469fabf4c988512.jpg","text":"TemporaryFile(/tmp/multipartBody4899133784319094205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182473739,"filename":"image_18012025_07_39_02_167922_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e625ed8df0721ba2b973fe095a08fab0.jpg","text":"TemporaryFile(/tmp/multipartBody3299501297984012851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182473739,"filename":"image_18012025_07_39_02_167922_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93ef77b0adb2459b2d89d331957e4b59.jpg","text":"TemporaryFile(/tmp/multipartBody2632227244499516489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182473739,"filename":"image_18012025_07_38_02_484398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/df86bcecab0e7cfe25efbfd2d8d03d92.jpg","text":"TemporaryFile(/tmp/multipartBody7625812534998582234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182473739,"filename":"image_18012025_07_39_02_167922_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329695475","file1":"1329695470","file0":"1329695467","file3":"1329695479"},"map_files_photo_id_array":[{"photo_id":"1329695475","filename":"file2"},{"photo_id":"1329695470","filename":"file1"},{"photo_id":"1329695467","filename":"file0"},{"photo_id":"1329695479","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329695479":["hashtag1","hashtag2"]},{"1329695470":["hashtag1","hashtag2"]},{"1329695467":["hashtag1","hashtag2"]},{"1329695475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329695479, 1329695470, 1329695467, 1329695475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.54176926612854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:41:03.107400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/39/image_18012025_07_39_02_167922_0003.jpg', '/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0000.jpg', '/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0001.jpg', '/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/39/image_18012025_07_39_02_167922_0003.jpg
/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0000.jpg
/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0001.jpg
/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.085379123687744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:41:22.551401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/39/image_18012025_07_39_02_167922_0003.jpg', '/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0000.jpg', '/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0001.jpg', '/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0002.jpg', '/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0003.jpg', '/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/39/image_18012025_07_39_02_167922_0003.jpg
/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0000.jpg
/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0001.jpg
/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0002.jpg
/home/pi/Desktop/images/18012025/07/40/image_18012025_07_40_02_771695_0003.jpg
/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329695552","1329695545","1329695539","1329695530","1329695533","1329695541"],"photo_ids_order":["1329695530","1329695533","1329695539","1329695541","1329695545","1329695552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/24c5c81f686f14fc7a33f66c90ab1702.jpg","text":"TemporaryFile(/tmp/multipartBody196026310067142932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182559332,"filename":"image_18012025_07_41_02_377347_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2baa914276a4aea68373678040fac3cb.jpg","text":"TemporaryFile(/tmp/multipartBody2140178780012489889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182559332,"filename":"image_18012025_07_40_02_771695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e883f47bd4efed808d858b073eb7d1d1.jpg","text":"TemporaryFile(/tmp/multipartBody901113986538111301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182559332,"filename":"image_18012025_07_40_02_771695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/078e0fb082ea202cbf73b04e96a06f6b.jpg","text":"TemporaryFile(/tmp/multipartBody719161137880159897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182559332,"filename":"image_18012025_07_39_02_167922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa3bcf85f9b92c510fa299c7bf6f17cf.jpg","text":"TemporaryFile(/tmp/multipartBody6287319392765947873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182559332,"filename":"image_18012025_07_40_02_771695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92de2e82f71cbc83cdb19c4013bd44d3.jpg","text":"TemporaryFile(/tmp/multipartBody5393162736992675243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182559332,"filename":"image_18012025_07_40_02_771695_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329695539","file1":"1329695533","file0":"1329695530","file4":"1329695545","file5":"1329695552","file3":"1329695541"},"map_files_photo_id_array":[{"photo_id":"1329695552","filename":"file5"},{"photo_id":"1329695539","filename":"file2"},{"photo_id":"1329695545","filename":"file4"},{"photo_id":"1329695533","filename":"file1"},{"photo_id":"1329695530","filename":"file0"},{"photo_id":"1329695541","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329695552":["hashtag1","hashtag2"]},{"1329695545":["hashtag1","hashtag2"]},{"1329695539":["hashtag1","hashtag2"]},{"1329695530":["hashtag1","hashtag2"]},{"1329695533":["hashtag1","hashtag2"]},{"1329695541":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329695552, 1329695545, 1329695539, 1329695530, 1329695533, 1329695541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.6739935874939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:42:22.153687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0001.jpg', '/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0002.jpg', '/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0003.jpg', '/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0000.jpg', '/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0001.jpg', '/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0001.jpg
/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0002.jpg
/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0003.jpg
/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0000.jpg
/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0001.jpg
/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.575084447860718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:43:03.210449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0001.jpg', '/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0002.jpg', '/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0003.jpg', '/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0000.jpg', '/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0001.jpg', '/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0001.jpg
/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0002.jpg
/home/pi/Desktop/images/18012025/07/41/image_18012025_07_41_02_377347_0003.jpg
/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0000.jpg
/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0001.jpg
/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329695672","1329695665","1329695650","1329695653","1329695678","1329695657"],"photo_ids_order":["1329695650","1329695653","1329695657","1329695665","1329695672","1329695678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c894d40a7be95905f43d41f13665d4fe.jpg","text":"TemporaryFile(/tmp/multipartBody5649796405237566175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182659228,"filename":"image_18012025_07_42_02_921606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4fae1141ba4b4269097bebb792a4b213.jpg","text":"TemporaryFile(/tmp/multipartBody3600281211821447316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182659228,"filename":"image_18012025_07_42_02_921606_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2bcde3c458b0d9e8165c2f170b8a04aa.jpg","text":"TemporaryFile(/tmp/multipartBody3598366393706572466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182659228,"filename":"image_18012025_07_41_02_377347_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f01315284e4ec9b464dfcd724660bee7.jpg","text":"TemporaryFile(/tmp/multipartBody8475989088581381520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182659228,"filename":"image_18012025_07_41_02_377347_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/12637276a52d4ef23f54ac5fa94d8e7e.jpg","text":"TemporaryFile(/tmp/multipartBody403134315178393865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182659228,"filename":"image_18012025_07_42_02_921606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d56a13a6dd670d5910190e416d48aa69.jpg","text":"TemporaryFile(/tmp/multipartBody598185817789810618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182659228,"filename":"image_18012025_07_41_02_377347_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329695657","file1":"1329695653","file0":"1329695650","file4":"1329695672","file5":"1329695678","file3":"1329695665"},"map_files_photo_id_array":[{"photo_id":"1329695678","filename":"file5"},{"photo_id":"1329695657","filename":"file2"},{"photo_id":"1329695672","filename":"file4"},{"photo_id":"1329695653","filename":"file1"},{"photo_id":"1329695650","filename":"file0"},{"photo_id":"1329695665","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329695672":["hashtag1","hashtag2"]},{"1329695665":["hashtag1","hashtag2"]},{"1329695650":["hashtag1","hashtag2"]},{"1329695653":["hashtag1","hashtag2"]},{"1329695678":["hashtag1","hashtag2"]},{"1329695657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329695672, 1329695665, 1329695650, 1329695653, 1329695678, 1329695657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.0072968006134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:44:02.593928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0003.jpg', '/home/pi/Desktop/images/18012025/07/43/image_18012025_07_43_02_552419_0000.jpg', '/home/pi/Desktop/images/18012025/07/43/image_18012025_07_43_02_552419_0001.jpg', '/home/pi/Desktop/images/18012025/07/43/image_18012025_07_43_02_552419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/42/image_18012025_07_42_02_921606_0003.jpg
/home/pi/Desktop/images/18012025/07/43/image_18012025_07_43_02_552419_0000.jpg
/home/pi/Desktop/images/18012025/07/43/image_18012025_07_43_02_552419_0001.jpg
/home/pi/Desktop/images/18012025/07/43/image_18012025_07_43_02_552419_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329695687","1329695704","1329695685","1329695693"],"photo_ids_order":["1329695685","1329695687","1329695693","1329695704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e010ec458fe82c9d2ffbf37ebba2adb.jpg","text":"TemporaryFile(/tmp/multipartBody3161520373116345638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182713215,"filename":"image_18012025_07_43_02_552419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f0890634e74e786844a0f3339a953592.jpg","text":"TemporaryFile(/tmp/multipartBody5687942228407688486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182713215,"filename":"image_18012025_07_43_02_552419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b08ab2b33d2cb38ab137e3b88f25be09.jpg","text":"TemporaryFile(/tmp/multipartBody1545619936693998905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182713215,"filename":"image_18012025_07_42_02_921606_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63ad869354c6151bb0f65f5bd0427da7.jpg","text":"TemporaryFile(/tmp/multipartBody8487613086514531824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182713215,"filename":"image_18012025_07_43_02_552419_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329695693","file1":"1329695687","file0":"1329695685","file3":"1329695704"},"map_files_photo_id_array":[{"photo_id":"1329695693","filename":"file2"},{"photo_id":"1329695687","filename":"file1"},{"photo_id":"1329695685","filename":"file0"},{"photo_id":"1329695704","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329695687":["hashtag1","hashtag2"]},{"1329695704":["hashtag1","hashtag2"]},{"1329695685":["hashtag1","hashtag2"]},{"1329695693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329695687, 1329695704, 1329695685, 1329695693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.802380323410034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:45:02.412018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/43/image_18012025_07_43_02_552419_0003.jpg', '/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0000.jpg', '/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0001.jpg', '/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/43/image_18012025_07_43_02_552419_0003.jpg
/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0000.jpg
/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0001.jpg
/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.711934566497803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:45:21.769103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/43/image_18012025_07_43_02_552419_0003.jpg', '/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0000.jpg', '/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0001.jpg', '/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0002.jpg', '/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0003.jpg', '/home/pi/Desktop/images/18012025/07/45/image_18012025_07_45_02_692421_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/43/image_18012025_07_43_02_552419_0003.jpg
/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0000.jpg
/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0001.jpg
/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0002.jpg
/home/pi/Desktop/images/18012025/07/44/image_18012025_07_44_03_107638_0003.jpg
/home/pi/Desktop/images/18012025/07/45/image_18012025_07_45_02_692421_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329695831","1329695833","1329695827","1329695847","1329695820","1329695823"],"photo_ids_order":["1329695820","1329695823","1329695827","1329695831","1329695833","1329695847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96b816d3b9d77b734476eaa18af88e8a.jpg","text":"TemporaryFile(/tmp/multipartBody8704721560087682606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182798040,"filename":"image_18012025_07_44_03_107638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b71eb569315f90c577c9d01698b9434f.jpg","text":"TemporaryFile(/tmp/multipartBody8385412005229643242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182798040,"filename":"image_18012025_07_44_03_107638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/656bf8a90a554fa0013161100421c990.jpg","text":"TemporaryFile(/tmp/multipartBody4864911416748618370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182798040,"filename":"image_18012025_07_44_03_107638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6da23ad764d433155177ca9381245dd.jpg","text":"TemporaryFile(/tmp/multipartBody5322123686500532996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182798040,"filename":"image_18012025_07_45_02_692421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba993835c7033a4cec457877ebb70e59.jpg","text":"TemporaryFile(/tmp/multipartBody4474457996976521296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182798040,"filename":"image_18012025_07_43_02_552419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1870cf88f1649486e1b63dccac0a5580.jpg","text":"TemporaryFile(/tmp/multipartBody4087712376131689480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182798040,"filename":"image_18012025_07_44_03_107638_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329695827","file1":"1329695823","file0":"1329695820","file4":"1329695833","file5":"1329695847","file3":"1329695831"},"map_files_photo_id_array":[{"photo_id":"1329695847","filename":"file5"},{"photo_id":"1329695827","filename":"file2"},{"photo_id":"1329695833","filename":"file4"},{"photo_id":"1329695823","filename":"file1"},{"photo_id":"1329695820","filename":"file0"},{"photo_id":"1329695831","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329695831":["hashtag1","hashtag2"]},{"1329695833":["hashtag1","hashtag2"]},{"1329695827":["hashtag1","hashtag2"]},{"1329695847":["hashtag1","hashtag2"]},{"1329695820":["hashtag1","hashtag2"]},{"1329695823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329695831, 1329695833, 1329695827, 1329695847, 1329695820, 1329695823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.889792680740356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:46:22.552585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/45/image_18012025_07_45_02_692421_0001.jpg', '/home/pi/Desktop/images/18012025/07/45/image_18012025_07_45_02_692421_0002.jpg', '/home/pi/Desktop/images/18012025/07/45/image_18012025_07_45_02_692421_0003.jpg', '/home/pi/Desktop/images/18012025/07/46/image_18012025_07_46_02_249212_0000.jpg', '/home/pi/Desktop/images/18012025/07/46/image_18012025_07_46_02_249212_0001.jpg', '/home/pi/Desktop/images/18012025/07/46/image_18012025_07_46_02_249212_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/45/image_18012025_07_45_02_692421_0001.jpg
/home/pi/Desktop/images/18012025/07/45/image_18012025_07_45_02_692421_0002.jpg
/home/pi/Desktop/images/18012025/07/45/image_18012025_07_45_02_692421_0003.jpg
/home/pi/Desktop/images/18012025/07/46/image_18012025_07_46_02_249212_0000.jpg
/home/pi/Desktop/images/18012025/07/46/image_18012025_07_46_02_249212_0001.jpg
/home/pi/Desktop/images/18012025/07/46/image_18012025_07_46_02_249212_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329696198","1329696223","1329696248","1329696176","1329696242","1329696143"],"photo_ids_order":["1329696143","1329696176","1329696198","1329696223","1329696242","1329696248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ef0e849a167f6abc1a3dd36f53ffa74.jpg","text":"TemporaryFile(/tmp/multipartBody5096990460454505295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182859200,"filename":"image_18012025_07_45_02_692421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2bdc54f6b7356b0f93fdd667dde8270f.jpg","text":"TemporaryFile(/tmp/multipartBody4181509672440984495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182859200,"filename":"image_18012025_07_46_02_249212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89831f4a326dd4fbc7499ecf8b08ec2b.jpg","text":"TemporaryFile(/tmp/multipartBody7943908660785215913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182859200,"filename":"image_18012025_07_46_02_249212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5a20e15c14025d185a72da0930bd90c.jpg","text":"TemporaryFile(/tmp/multipartBody9045886018047087472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182859200,"filename":"image_18012025_07_45_02_692421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b3dfe52e9cfd0c0632131a98b185801.jpg","text":"TemporaryFile(/tmp/multipartBody7852055914801015731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182859200,"filename":"image_18012025_07_46_02_249212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1d5b3391c83e1e0a7910fef3f8c0faf3.jpg","text":"TemporaryFile(/tmp/multipartBody3250082704269437323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182859200,"filename":"image_18012025_07_45_02_692421_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329696198","file1":"1329696176","file0":"1329696143","file4":"1329696242","file5":"1329696248","file3":"1329696223"},"map_files_photo_id_array":[{"photo_id":"1329696248","filename":"file5"},{"photo_id":"1329696198","filename":"file2"},{"photo_id":"1329696242","filename":"file4"},{"photo_id":"1329696176","filename":"file1"},{"photo_id":"1329696143","filename":"file0"},{"photo_id":"1329696223","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329696198":["hashtag1","hashtag2"]},{"1329696223":["hashtag1","hashtag2"]},{"1329696248":["hashtag1","hashtag2"]},{"1329696176":["hashtag1","hashtag2"]},{"1329696242":["hashtag1","hashtag2"]},{"1329696143":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329696198, 1329696223, 1329696248, 1329696176, 1329696242, 1329696143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.296133041381836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:48:03.016419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/46/image_18012025_07_46_02_249212_0003.jpg', '/home/pi/Desktop/images/18012025/07/47/image_18012025_07_47_02_955089_0000.jpg', '/home/pi/Desktop/images/18012025/07/47/image_18012025_07_47_02_955089_0001.jpg', '/home/pi/Desktop/images/18012025/07/47/image_18012025_07_47_02_955089_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/46/image_18012025_07_46_02_249212_0003.jpg
/home/pi/Desktop/images/18012025/07/47/image_18012025_07_47_02_955089_0000.jpg
/home/pi/Desktop/images/18012025/07/47/image_18012025_07_47_02_955089_0001.jpg
/home/pi/Desktop/images/18012025/07/47/image_18012025_07_47_02_955089_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329696385","1329696379","1329696375","1329696389"],"photo_ids_order":["1329696375","1329696379","1329696385","1329696389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3927e8d5d4374f5819a8ec1d1f75a85f.jpg","text":"TemporaryFile(/tmp/multipartBody6662728916000197423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182954414,"filename":"image_18012025_07_47_02_955089_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3fff6a8bd37ac3e356ca3c8deecf7a82.jpg","text":"TemporaryFile(/tmp/multipartBody5152929149837347119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182954414,"filename":"image_18012025_07_47_02_955089_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f555b3435dbf7be5986827290295ac60.jpg","text":"TemporaryFile(/tmp/multipartBody6862807793855604551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182954414,"filename":"image_18012025_07_46_02_249212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a5c4e73018a153c85684d0ca6a6147c.jpg","text":"TemporaryFile(/tmp/multipartBody7424482456583596408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737182954414,"filename":"image_18012025_07_47_02_955089_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329696385","file1":"1329696379","file0":"1329696375","file3":"1329696389"},"map_files_photo_id_array":[{"photo_id":"1329696385","filename":"file2"},{"photo_id":"1329696379","filename":"file1"},{"photo_id":"1329696375","filename":"file0"},{"photo_id":"1329696389","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329696385":["hashtag1","hashtag2"]},{"1329696379":["hashtag1","hashtag2"]},{"1329696375":["hashtag1","hashtag2"]},{"1329696389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329696385, 1329696379, 1329696375, 1329696389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.3734073638916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:49:02.663604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/47/image_18012025_07_47_02_955089_0003.jpg', '/home/pi/Desktop/images/18012025/07/48/image_18012025_07_48_02_447836_0000.jpg', '/home/pi/Desktop/images/18012025/07/48/image_18012025_07_48_02_447836_0001.jpg', '/home/pi/Desktop/images/18012025/07/48/image_18012025_07_48_02_447836_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/47/image_18012025_07_47_02_955089_0003.jpg
/home/pi/Desktop/images/18012025/07/48/image_18012025_07_48_02_447836_0000.jpg
/home/pi/Desktop/images/18012025/07/48/image_18012025_07_48_02_447836_0001.jpg
/home/pi/Desktop/images/18012025/07/48/image_18012025_07_48_02_447836_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329696436","1329696439","1329696443","1329696434"],"photo_ids_order":["1329696434","1329696436","1329696439","1329696443"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4e402d62466c4eb09b967d46cc0a69a9.jpg","text":"TemporaryFile(/tmp/multipartBody5714366274490070779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183013810,"filename":"image_18012025_07_48_02_447836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4a32edb534733eefa11ea0374415a9e8.jpg","text":"TemporaryFile(/tmp/multipartBody345516799296399981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183013810,"filename":"image_18012025_07_48_02_447836_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/031b991eadaa3399ee598e56a63e18ec.jpg","text":"TemporaryFile(/tmp/multipartBody1352090670806746051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183013810,"filename":"image_18012025_07_48_02_447836_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a7a3519d7ba694f9ec1a0726df7619a.jpg","text":"TemporaryFile(/tmp/multipartBody8803757713214187932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183013810,"filename":"image_18012025_07_47_02_955089_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329696439","file1":"1329696436","file0":"1329696434","file3":"1329696443"},"map_files_photo_id_array":[{"photo_id":"1329696439","filename":"file2"},{"photo_id":"1329696436","filename":"file1"},{"photo_id":"1329696434","filename":"file0"},{"photo_id":"1329696443","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329696436":["hashtag1","hashtag2"]},{"1329696439":["hashtag1","hashtag2"]},{"1329696443":["hashtag1","hashtag2"]},{"1329696434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329696436, 1329696439, 1329696443, 1329696434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.75873351097107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:50:03.257818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/48/image_18012025_07_48_02_447836_0003.jpg', '/home/pi/Desktop/images/18012025/07/49/image_18012025_07_49_02_937555_0000.jpg', '/home/pi/Desktop/images/18012025/07/49/image_18012025_07_49_02_937555_0001.jpg', '/home/pi/Desktop/images/18012025/07/49/image_18012025_07_49_02_937555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/48/image_18012025_07_48_02_447836_0003.jpg
/home/pi/Desktop/images/18012025/07/49/image_18012025_07_49_02_937555_0000.jpg
/home/pi/Desktop/images/18012025/07/49/image_18012025_07_49_02_937555_0001.jpg
/home/pi/Desktop/images/18012025/07/49/image_18012025_07_49_02_937555_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329696598","1329696466","1329696463","1329696604"],"photo_ids_order":["1329696463","1329696466","1329696598","1329696604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/961dc56728398ee770a9b278f9966a33.jpg","text":"TemporaryFile(/tmp/multipartBody403397851777578453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183074570,"filename":"image_18012025_07_49_02_937555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fbcb83903387c63a52049cc00d681138.jpg","text":"TemporaryFile(/tmp/multipartBody8905135755558178388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183074570,"filename":"image_18012025_07_49_02_937555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/671b68a89f1fc5d1e18add566f071cb6.jpg","text":"TemporaryFile(/tmp/multipartBody2593984089668486460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183074570,"filename":"image_18012025_07_48_02_447836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e286525a4b3737cd17e19d03f8c72694.jpg","text":"TemporaryFile(/tmp/multipartBody3749130985334464184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183074570,"filename":"image_18012025_07_49_02_937555_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329696598","file1":"1329696466","file0":"1329696463","file3":"1329696604"},"map_files_photo_id_array":[{"photo_id":"1329696598","filename":"file2"},{"photo_id":"1329696466","filename":"file1"},{"photo_id":"1329696463","filename":"file0"},{"photo_id":"1329696604","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329696598":["hashtag1","hashtag2"]},{"1329696466":["hashtag1","hashtag2"]},{"1329696463":["hashtag1","hashtag2"]},{"1329696604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329696598, 1329696466, 1329696463, 1329696604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.98859095573425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:51:02.878107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/49/image_18012025_07_49_02_937555_0003.jpg', '/home/pi/Desktop/images/18012025/07/50/image_18012025_07_50_02_495687_0000.jpg', '/home/pi/Desktop/images/18012025/07/50/image_18012025_07_50_02_495687_0001.jpg', '/home/pi/Desktop/images/18012025/07/50/image_18012025_07_50_02_495687_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/49/image_18012025_07_49_02_937555_0003.jpg
/home/pi/Desktop/images/18012025/07/50/image_18012025_07_50_02_495687_0000.jpg
/home/pi/Desktop/images/18012025/07/50/image_18012025_07_50_02_495687_0001.jpg
/home/pi/Desktop/images/18012025/07/50/image_18012025_07_50_02_495687_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329696673","1329696676","1329696654","1329696656"],"photo_ids_order":["1329696654","1329696656","1329696673","1329696676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dff4527b894bbcf4ffeba6b6dc222acc.jpg","text":"TemporaryFile(/tmp/multipartBody7901642143254028268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183133901,"filename":"image_18012025_07_50_02_495687_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f3e0212cd24521422b3ac99c5fa9b62d.jpg","text":"TemporaryFile(/tmp/multipartBody7013554651358643079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183133901,"filename":"image_18012025_07_50_02_495687_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d0f95340f5ccd3e5f9c67c7e4a8161d.jpg","text":"TemporaryFile(/tmp/multipartBody5113065588487867988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183133901,"filename":"image_18012025_07_49_02_937555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ab34e0fce23792f5246db5097fe0c565.jpg","text":"TemporaryFile(/tmp/multipartBody6559605618062696066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183133901,"filename":"image_18012025_07_50_02_495687_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329696673","file1":"1329696656","file0":"1329696654","file3":"1329696676"},"map_files_photo_id_array":[{"photo_id":"1329696673","filename":"file2"},{"photo_id":"1329696656","filename":"file1"},{"photo_id":"1329696654","filename":"file0"},{"photo_id":"1329696676","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329696673":["hashtag1","hashtag2"]},{"1329696676":["hashtag1","hashtag2"]},{"1329696654":["hashtag1","hashtag2"]},{"1329696656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329696673, 1329696676, 1329696654, 1329696656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.6719868183136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:52:02.248707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/50/image_18012025_07_50_02_495687_0003.jpg', '/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0000.jpg', '/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0001.jpg', '/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/50/image_18012025_07_50_02_495687_0003.jpg
/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0000.jpg
/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0001.jpg
/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.91599440574646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:52:21.786327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/50/image_18012025_07_50_02_495687_0003.jpg', '/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0000.jpg', '/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0001.jpg', '/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0002.jpg', '/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0003.jpg', '/home/pi/Desktop/images/18012025/07/52/image_18012025_07_52_02_626286_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/50/image_18012025_07_50_02_495687_0003.jpg
/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0000.jpg
/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0001.jpg
/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0002.jpg
/home/pi/Desktop/images/18012025/07/51/image_18012025_07_51_03_101864_0003.jpg
/home/pi/Desktop/images/18012025/07/52/image_18012025_07_52_02_626286_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":["1329696756","1329696753","1329696711","1329696720","1329696708","1329696716"],"photo_ids_order":["1329696708","1329696711","1329696716","1329696720","1329696753","1329696756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2311a4d893b712d9fe29c474ebc79d50.jpg","text":"TemporaryFile(/tmp/multipartBody309766370936073708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183218134,"filename":"image_18012025_07_52_02_626286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3a57e08c05ad54c7d03fba9a0185adc.jpg","text":"TemporaryFile(/tmp/multipartBody954021668202530256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183218134,"filename":"image_18012025_07_51_03_101864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04cdf1a89279fb0181f4f8ba6a1385ac.jpg","text":"TemporaryFile(/tmp/multipartBody5914414198585840211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183218134,"filename":"image_18012025_07_51_03_101864_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f9d7a94ccec9a8114588787279d0474.jpg","text":"TemporaryFile(/tmp/multipartBody8056500654170803580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183218134,"filename":"image_18012025_07_51_03_101864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16809078269d23bd65a8331664b9a956.jpg","text":"TemporaryFile(/tmp/multipartBody8290647557865774828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183218134,"filename":"image_18012025_07_50_02_495687_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2877f9ae0ba5946faaeaf54e5a0e0b2b.jpg","text":"TemporaryFile(/tmp/multipartBody3663772963191593279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183218134,"filename":"image_18012025_07_51_03_101864_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329696716","file1":"1329696711","file0":"1329696708","file4":"1329696753","file5":"1329696756","file3":"1329696720"},"map_files_photo_id_array":[{"photo_id":"1329696756","filename":"file5"},{"photo_id":"1329696716","filename":"file2"},{"photo_id":"1329696753","filename":"file4"},{"photo_id":"1329696711","filename":"file1"},{"photo_id":"1329696708","filename":"file0"},{"photo_id":"1329696720","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329696756":["hashtag1","hashtag2"]},{"1329696753":["hashtag1","hashtag2"]},{"1329696711":["hashtag1","hashtag2"]},{"1329696720":["hashtag1","hashtag2"]},{"1329696708":["hashtag1","hashtag2"]},{"1329696716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329696756, 1329696753, 1329696711, 1329696720, 1329696708, 1329696716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.12363147735596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:54:03.049000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/52/image_18012025_07_52_02_626286_0001.jpg', '/home/pi/Desktop/images/18012025/07/52/image_18012025_07_52_02_626286_0002.jpg', '/home/pi/Desktop/images/18012025/07/52/image_18012025_07_52_02_626286_0003.jpg', '/home/pi/Desktop/images/18012025/07/53/image_18012025_07_53_02_112800_0000.jpg', '/home/pi/Desktop/images/18012025/07/53/image_18012025_07_53_02_112800_0001.jpg', '/home/pi/Desktop/images/18012025/07/53/image_18012025_07_53_02_112800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/52/image_18012025_07_52_02_626286_0001.jpg
/home/pi/Desktop/images/18012025/07/52/image_18012025_07_52_02_626286_0002.jpg
/home/pi/Desktop/images/18012025/07/52/image_18012025_07_52_02_626286_0003.jpg
/home/pi/Desktop/images/18012025/07/53/image_18012025_07_53_02_112800_0000.jpg
/home/pi/Desktop/images/18012025/07/53/image_18012025_07_53_02_112800_0001.jpg
/home/pi/Desktop/images/18012025/07/53/image_18012025_07_53_02_112800_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329696883","1329696865","1329696849","1329696843","1329696825","1329696857"],"photo_ids_order":["1329696825","1329696843","1329696849","1329696857","1329696865","1329696883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0cd5a0b6441f0e86995637a0f7cd0e48.jpg","text":"TemporaryFile(/tmp/multipartBody6523488211021744529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183319651,"filename":"image_18012025_07_53_02_112800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f8f41d9ae608101cdbac94043879a6f3.jpg","text":"TemporaryFile(/tmp/multipartBody11322841759319660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183319651,"filename":"image_18012025_07_53_02_112800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ab89265af29d5af145c0db945b865114.jpg","text":"TemporaryFile(/tmp/multipartBody7591154661586454417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183319651,"filename":"image_18012025_07_52_02_626286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ac77a52df31358c4545ad5e152e7644.jpg","text":"TemporaryFile(/tmp/multipartBody3146380153880872471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183319651,"filename":"image_18012025_07_52_02_626286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b45136a7c055daf1a1bf853663ac1c9c.jpg","text":"TemporaryFile(/tmp/multipartBody7121126871947478137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183319651,"filename":"image_18012025_07_52_02_626286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c20f2eedf93aeff4d5cbe24749b92eb8.jpg","text":"TemporaryFile(/tmp/multipartBody7036281929783948855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183319651,"filename":"image_18012025_07_53_02_112800_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329696849","file1":"1329696843","file0":"1329696825","file4":"1329696865","file5":"1329696883","file3":"1329696857"},"map_files_photo_id_array":[{"photo_id":"1329696883","filename":"file5"},{"photo_id":"1329696849","filename":"file2"},{"photo_id":"1329696865","filename":"file4"},{"photo_id":"1329696843","filename":"file1"},{"photo_id":"1329696825","filename":"file0"},{"photo_id":"1329696857","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329696883":["hashtag1","hashtag2"]},{"1329696865":["hashtag1","hashtag2"]},{"1329696849":["hashtag1","hashtag2"]},{"1329696843":["hashtag1","hashtag2"]},{"1329696825":["hashtag1","hashtag2"]},{"1329696857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329696883, 1329696865, 1329696849, 1329696843, 1329696825, 1329696857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.27110195159912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:55:02.869947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/53/image_18012025_07_53_02_112800_0003.jpg', '/home/pi/Desktop/images/18012025/07/54/image_18012025_07_54_02_627902_0000.jpg', '/home/pi/Desktop/images/18012025/07/54/image_18012025_07_54_02_627902_0001.jpg', '/home/pi/Desktop/images/18012025/07/54/image_18012025_07_54_02_627902_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/53/image_18012025_07_53_02_112800_0003.jpg
/home/pi/Desktop/images/18012025/07/54/image_18012025_07_54_02_627902_0000.jpg
/home/pi/Desktop/images/18012025/07/54/image_18012025_07_54_02_627902_0001.jpg
/home/pi/Desktop/images/18012025/07/54/image_18012025_07_54_02_627902_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329696905","1329696908","1329696903","1329696938"],"photo_ids_order":["1329696903","1329696905","1329696908","1329696938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/edc49603e0b024e12335c9cf15ab8e33.jpg","text":"TemporaryFile(/tmp/multipartBody2149537764919812478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183374080,"filename":"image_18012025_07_54_02_627902_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/72343a8829d06e487323b18b9bdd809e.jpg","text":"TemporaryFile(/tmp/multipartBody4364173433214137308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183374080,"filename":"image_18012025_07_54_02_627902_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f0573c78ded57bcc4513c51cdbfd6410.jpg","text":"TemporaryFile(/tmp/multipartBody542463961727181209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183374080,"filename":"image_18012025_07_53_02_112800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/79a40d0997d6ea17510104c7ce96da0e.jpg","text":"TemporaryFile(/tmp/multipartBody6212328934488152694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183374080,"filename":"image_18012025_07_54_02_627902_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329696908","file1":"1329696905","file0":"1329696903","file3":"1329696938"},"map_files_photo_id_array":[{"photo_id":"1329696908","filename":"file2"},{"photo_id":"1329696905","filename":"file1"},{"photo_id":"1329696903","filename":"file0"},{"photo_id":"1329696938","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329696905":["hashtag1","hashtag2"]},{"1329696908":["hashtag1","hashtag2"]},{"1329696903":["hashtag1","hashtag2"]},{"1329696938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329696905, 1329696908, 1329696903, 1329696938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.80042386054993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:56:02.410238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/54/image_18012025_07_54_02_627902_0003.jpg', '/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0000.jpg', '/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0001.jpg', '/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/54/image_18012025_07_54_02_627902_0003.jpg
/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0000.jpg
/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0001.jpg
/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.124483823776245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 07:56:21.902206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/54/image_18012025_07_54_02_627902_0003.jpg', '/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0000.jpg', '/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0001.jpg', '/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0002.jpg', '/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0003.jpg', '/home/pi/Desktop/images/18012025/07/56/image_18012025_07_56_02_602045_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/54/image_18012025_07_54_02_627902_0003.jpg
/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0000.jpg
/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0001.jpg
/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0002.jpg
/home/pi/Desktop/images/18012025/07/55/image_18012025_07_55_03_105963_0003.jpg
/home/pi/Desktop/images/18012025/07/56/image_18012025_07_56_02_602045_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":["1329697114","1329697102","1329697110","1329697124","1329697106","1329697096"],"photo_ids_order":["1329697096","1329697102","1329697106","1329697110","1329697114","1329697124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74cf71ba15e40c3762c17940873a5508.jpg","text":"TemporaryFile(/tmp/multipartBody1699640764654384871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183458761,"filename":"image_18012025_07_55_03_105963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf9b20eca71f4de29040b64e1633adc5.jpg","text":"TemporaryFile(/tmp/multipartBody1795805180712481697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183458761,"filename":"image_18012025_07_55_03_105963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/80e542f4b5a66e425abc8bd484cb62c7.jpg","text":"TemporaryFile(/tmp/multipartBody7752309345043135450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183458761,"filename":"image_18012025_07_55_03_105963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8e8b7ed8c5219d052b0f08b231c8237.jpg","text":"TemporaryFile(/tmp/multipartBody8018170782900758441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183458761,"filename":"image_18012025_07_56_02_602045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ac444e4e1ace825ef8c0bb3996248e8.jpg","text":"TemporaryFile(/tmp/multipartBody1628975423146283277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183458761,"filename":"image_18012025_07_55_03_105963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28a11792bbe5bcd2200c009ca36d97ff.jpg","text":"TemporaryFile(/tmp/multipartBody1148165581652535142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183458761,"filename":"image_18012025_07_54_02_627902_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329697106","file1":"1329697102","file0":"1329697096","file4":"1329697114","file5":"1329697124","file3":"1329697110"},"map_files_photo_id_array":[{"photo_id":"1329697124","filename":"file5"},{"photo_id":"1329697106","filename":"file2"},{"photo_id":"1329697114","filename":"file4"},{"photo_id":"1329697102","filename":"file1"},{"photo_id":"1329697096","filename":"file0"},{"photo_id":"1329697110","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329697114":["hashtag1","hashtag2"]},{"1329697102":["hashtag1","hashtag2"]},{"1329697110":["hashtag1","hashtag2"]},{"1329697124":["hashtag1","hashtag2"]},{"1329697106":["hashtag1","hashtag2"]},{"1329697096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329697114, 1329697102, 1329697110, 1329697124, 1329697106, 1329697096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.23129630088806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 07:59:03.002659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 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-18 07:59:22.197917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/56/image_18012025_07_56_02_602045_0001.jpg', '/home/pi/Desktop/images/18012025/07/56/image_18012025_07_56_02_602045_0002.jpg', '/home/pi/Desktop/images/18012025/07/56/image_18012025_07_56_02_602045_0003.jpg', '/home/pi/Desktop/images/18012025/07/57/image_18012025_07_57_02_362197_0000.jpg', '/home/pi/Desktop/images/18012025/07/57/image_18012025_07_57_02_362197_0001.jpg', '/home/pi/Desktop/images/18012025/07/57/image_18012025_07_57_02_362197_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/56/image_18012025_07_56_02_602045_0001.jpg
/home/pi/Desktop/images/18012025/07/56/image_18012025_07_56_02_602045_0002.jpg
/home/pi/Desktop/images/18012025/07/56/image_18012025_07_56_02_602045_0003.jpg
/home/pi/Desktop/images/18012025/07/57/image_18012025_07_57_02_362197_0000.jpg
/home/pi/Desktop/images/18012025/07/57/image_18012025_07_57_02_362197_0001.jpg
/home/pi/Desktop/images/18012025/07/57/image_18012025_07_57_02_362197_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329697234","1329697196","1329697211","1329697229","1329697208","1329697202"],"photo_ids_order":["1329697196","1329697202","1329697208","1329697211","1329697229","1329697234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c488c84c1fa18c64724c09ea5111203a.jpg","text":"TemporaryFile(/tmp/multipartBody1714525860629562769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183638834,"filename":"image_18012025_07_57_02_362197_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/757b2b2966309d5199226543a92e8271.jpg","text":"TemporaryFile(/tmp/multipartBody4916890733704722489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183638834,"filename":"image_18012025_07_56_02_602045_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ccea6450f54e93621b3f10ce222b11cb.jpg","text":"TemporaryFile(/tmp/multipartBody5985087270396840649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183638834,"filename":"image_18012025_07_57_02_362197_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ceee814712c0d077d9c3ae4476ad7f5a.jpg","text":"TemporaryFile(/tmp/multipartBody3402138061993109509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183638834,"filename":"image_18012025_07_57_02_362197_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9c7116b84f91a11770bd21a678a8291.jpg","text":"TemporaryFile(/tmp/multipartBody6600881380772877551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183638834,"filename":"image_18012025_07_56_02_602045_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eb682bca0f86e7532c72e69fec9aca39.jpg","text":"TemporaryFile(/tmp/multipartBody6692851759038833485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183638834,"filename":"image_18012025_07_56_02_602045_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329697208","file1":"1329697202","file0":"1329697196","file4":"1329697229","file5":"1329697234","file3":"1329697211"},"map_files_photo_id_array":[{"photo_id":"1329697234","filename":"file5"},{"photo_id":"1329697208","filename":"file2"},{"photo_id":"1329697229","filename":"file4"},{"photo_id":"1329697202","filename":"file1"},{"photo_id":"1329697196","filename":"file0"},{"photo_id":"1329697211","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329697234":["hashtag1","hashtag2"]},{"1329697196":["hashtag1","hashtag2"]},{"1329697211":["hashtag1","hashtag2"]},{"1329697229":["hashtag1","hashtag2"]},{"1329697208":["hashtag1","hashtag2"]},{"1329697202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329697234, 1329697196, 1329697211, 1329697229, 1329697208, 1329697202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.029536724090576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:00:21.774490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/57/image_18012025_07_57_02_362197_0003.jpg', '/home/pi/Desktop/images/18012025/07/58/image_18012025_07_58_02_896162_0000.jpg', '/home/pi/Desktop/images/18012025/07/58/image_18012025_07_58_02_896162_0001.jpg', '/home/pi/Desktop/images/18012025/07/58/image_18012025_07_58_02_896162_0002.jpg', '/home/pi/Desktop/images/18012025/07/58/image_18012025_07_58_02_896162_0003.jpg', '/home/pi/Desktop/images/18012025/07/59/image_18012025_07_59_02_380528_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/57/image_18012025_07_57_02_362197_0003.jpg
/home/pi/Desktop/images/18012025/07/58/image_18012025_07_58_02_896162_0000.jpg
/home/pi/Desktop/images/18012025/07/58/image_18012025_07_58_02_896162_0001.jpg
/home/pi/Desktop/images/18012025/07/58/image_18012025_07_58_02_896162_0002.jpg
/home/pi/Desktop/images/18012025/07/58/image_18012025_07_58_02_896162_0003.jpg
/home/pi/Desktop/images/18012025/07/59/image_18012025_07_59_02_380528_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329697333","1329697321","1329697391","1329697307","1329697301","1329697267"],"photo_ids_order":["1329697267","1329697301","1329697307","1329697321","1329697333","1329697391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a953f00e5711fe30ad167827a08b90a.jpg","text":"TemporaryFile(/tmp/multipartBody1872132213626644102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183698139,"filename":"image_18012025_07_58_02_896162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ba423d753f5b920699f2b073da1227c.jpg","text":"TemporaryFile(/tmp/multipartBody3491267011713472907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183698139,"filename":"image_18012025_07_58_02_896162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97fe7765e52ac30bc0a6e547cd5f7953.jpg","text":"TemporaryFile(/tmp/multipartBody7841164912780992731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183698139,"filename":"image_18012025_07_59_02_380528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ea4fc433924d86c34b521e3c296d015.jpg","text":"TemporaryFile(/tmp/multipartBody2975286186337602699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183698139,"filename":"image_18012025_07_58_02_896162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd1a22979676d9ccf5709298aff7de77.jpg","text":"TemporaryFile(/tmp/multipartBody3537601394286580866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183698139,"filename":"image_18012025_07_58_02_896162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03db705226271492d0b45517324254aa.jpg","text":"TemporaryFile(/tmp/multipartBody8939573909569089207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183698139,"filename":"image_18012025_07_57_02_362197_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329697307","file1":"1329697301","file0":"1329697267","file4":"1329697333","file5":"1329697391","file3":"1329697321"},"map_files_photo_id_array":[{"photo_id":"1329697391","filename":"file5"},{"photo_id":"1329697307","filename":"file2"},{"photo_id":"1329697333","filename":"file4"},{"photo_id":"1329697301","filename":"file1"},{"photo_id":"1329697267","filename":"file0"},{"photo_id":"1329697321","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329697333":["hashtag1","hashtag2"]},{"1329697321":["hashtag1","hashtag2"]},{"1329697391":["hashtag1","hashtag2"]},{"1329697307":["hashtag1","hashtag2"]},{"1329697301":["hashtag1","hashtag2"]},{"1329697267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329697333, 1329697321, 1329697391, 1329697307, 1329697301, 1329697267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.92974877357483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:01:22.400125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/07/59/image_18012025_07_59_02_380528_0001.jpg', '/home/pi/Desktop/images/18012025/07/59/image_18012025_07_59_02_380528_0002.jpg', '/home/pi/Desktop/images/18012025/07/59/image_18012025_07_59_02_380528_0003.jpg', '/home/pi/Desktop/images/18012025/08/00/image_18012025_08_00_02_568698_0000.jpg', '/home/pi/Desktop/images/18012025/08/00/image_18012025_08_00_02_568698_0001.jpg', '/home/pi/Desktop/images/18012025/08/00/image_18012025_08_00_02_568698_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/07/59/image_18012025_07_59_02_380528_0001.jpg
/home/pi/Desktop/images/18012025/07/59/image_18012025_07_59_02_380528_0002.jpg
/home/pi/Desktop/images/18012025/07/59/image_18012025_07_59_02_380528_0003.jpg
/home/pi/Desktop/images/18012025/08/00/image_18012025_08_00_02_568698_0000.jpg
/home/pi/Desktop/images/18012025/08/00/image_18012025_08_00_02_568698_0001.jpg
/home/pi/Desktop/images/18012025/08/00/image_18012025_08_00_02_568698_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329697468","1329697453","1329697464","1329697443","1329697466","1329697460"],"photo_ids_order":["1329697443","1329697453","1329697460","1329697464","1329697466","1329697468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed833bb657e2a4a6f345d5382ac20062.jpg","text":"TemporaryFile(/tmp/multipartBody3294416358630551558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183758495,"filename":"image_18012025_08_00_02_568698_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/332fb027387cf3c4b2dec4576ff6b57f.jpg","text":"TemporaryFile(/tmp/multipartBody6552554315269760706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183758495,"filename":"image_18012025_07_59_02_380528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb1de44ceb6dc4195b351fa8593491e1.jpg","text":"TemporaryFile(/tmp/multipartBody6499839182142311889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183758495,"filename":"image_18012025_08_00_02_568698_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f0b65bf877109c3138f8b9a765159300.jpg","text":"TemporaryFile(/tmp/multipartBody1369492522005413808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183758495,"filename":"image_18012025_07_59_02_380528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cfc891efe6d1fde721940f93388acd89.jpg","text":"TemporaryFile(/tmp/multipartBody7172555972662314468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183758495,"filename":"image_18012025_08_00_02_568698_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/02f1b47956ce80ac215f0c0672afe3b6.jpg","text":"TemporaryFile(/tmp/multipartBody659750785451152479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183758495,"filename":"image_18012025_07_59_02_380528_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329697460","file1":"1329697453","file0":"1329697443","file4":"1329697466","file5":"1329697468","file3":"1329697464"},"map_files_photo_id_array":[{"photo_id":"1329697468","filename":"file5"},{"photo_id":"1329697460","filename":"file2"},{"photo_id":"1329697466","filename":"file4"},{"photo_id":"1329697453","filename":"file1"},{"photo_id":"1329697443","filename":"file0"},{"photo_id":"1329697464","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329697468":["hashtag1","hashtag2"]},{"1329697453":["hashtag1","hashtag2"]},{"1329697464":["hashtag1","hashtag2"]},{"1329697443":["hashtag1","hashtag2"]},{"1329697466":["hashtag1","hashtag2"]},{"1329697460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329697468, 1329697453, 1329697464, 1329697443, 1329697466, 1329697460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.40317726135254 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:03:02.855262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/00/image_18012025_08_00_02_568698_0003.jpg', '/home/pi/Desktop/images/18012025/08/01/image_18012025_08_01_02_207123_0000.jpg', '/home/pi/Desktop/images/18012025/08/01/image_18012025_08_01_02_207123_0001.jpg', '/home/pi/Desktop/images/18012025/08/01/image_18012025_08_01_02_207123_0002.jpg', '/home/pi/Desktop/images/18012025/08/01/image_18012025_08_01_02_207123_0003.jpg', '/home/pi/Desktop/images/18012025/08/02/image_18012025_08_02_02_671868_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/00/image_18012025_08_00_02_568698_0003.jpg
/home/pi/Desktop/images/18012025/08/01/image_18012025_08_01_02_207123_0000.jpg
/home/pi/Desktop/images/18012025/08/01/image_18012025_08_01_02_207123_0001.jpg
/home/pi/Desktop/images/18012025/08/01/image_18012025_08_01_02_207123_0002.jpg
/home/pi/Desktop/images/18012025/08/01/image_18012025_08_01_02_207123_0003.jpg
/home/pi/Desktop/images/18012025/08/02/image_18012025_08_02_02_671868_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":["1329697660","1329697653","1329697646","1329697640","1329697634","1329697631"],"photo_ids_order":["1329697631","1329697634","1329697640","1329697646","1329697653","1329697660"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a7624378df2403cba96044c0601ca9ab.jpg","text":"TemporaryFile(/tmp/multipartBody5426388235737207974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183860002,"filename":"image_18012025_08_02_02_671868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/12a5a6f046c5d0ba06d84e2ac45782d0.jpg","text":"TemporaryFile(/tmp/multipartBody3191384769251689095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183860002,"filename":"image_18012025_08_01_02_207123_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/05adf9de20d4e71073f7b502b15053f6.jpg","text":"TemporaryFile(/tmp/multipartBody1746154023044121503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183860002,"filename":"image_18012025_08_01_02_207123_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c351bc2c1655595ffefda5ca6d3f6ae.jpg","text":"TemporaryFile(/tmp/multipartBody1908982334643748391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183860002,"filename":"image_18012025_08_01_02_207123_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c17ff8b996bee840cb9118048aa604ad.jpg","text":"TemporaryFile(/tmp/multipartBody6472061044555436619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183860002,"filename":"image_18012025_08_01_02_207123_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b93e0b328d11345a4e9a0e638a27c889.jpg","text":"TemporaryFile(/tmp/multipartBody2433033063107635507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183860002,"filename":"image_18012025_08_00_02_568698_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329697640","file1":"1329697634","file0":"1329697631","file4":"1329697653","file5":"1329697660","file3":"1329697646"},"map_files_photo_id_array":[{"photo_id":"1329697660","filename":"file5"},{"photo_id":"1329697640","filename":"file2"},{"photo_id":"1329697653","filename":"file4"},{"photo_id":"1329697634","filename":"file1"},{"photo_id":"1329697631","filename":"file0"},{"photo_id":"1329697646","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329697660":["hashtag1","hashtag2"]},{"1329697653":["hashtag1","hashtag2"]},{"1329697646":["hashtag1","hashtag2"]},{"1329697640":["hashtag1","hashtag2"]},{"1329697634":["hashtag1","hashtag2"]},{"1329697631":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329697660, 1329697653, 1329697646, 1329697640, 1329697634, 1329697631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.62916398048401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:04:22.015710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/02/image_18012025_08_02_02_671868_0001.jpg', '/home/pi/Desktop/images/18012025/08/02/image_18012025_08_02_02_671868_0002.jpg', '/home/pi/Desktop/images/18012025/08/02/image_18012025_08_02_02_671868_0003.jpg', '/home/pi/Desktop/images/18012025/08/03/image_18012025_08_03_02_254162_0000.jpg', '/home/pi/Desktop/images/18012025/08/03/image_18012025_08_03_02_254162_0001.jpg', '/home/pi/Desktop/images/18012025/08/03/image_18012025_08_03_02_254162_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/02/image_18012025_08_02_02_671868_0001.jpg
/home/pi/Desktop/images/18012025/08/02/image_18012025_08_02_02_671868_0002.jpg
/home/pi/Desktop/images/18012025/08/02/image_18012025_08_02_02_671868_0003.jpg
/home/pi/Desktop/images/18012025/08/03/image_18012025_08_03_02_254162_0000.jpg
/home/pi/Desktop/images/18012025/08/03/image_18012025_08_03_02_254162_0001.jpg
/home/pi/Desktop/images/18012025/08/03/image_18012025_08_03_02_254162_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329697738","1329697761","1329697827","1329697697","1329697769","1329697757"],"photo_ids_order":["1329697697","1329697738","1329697757","1329697761","1329697769","1329697827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/150c0cdc5c9d3ebb78956f1bd00f7a2d.jpg","text":"TemporaryFile(/tmp/multipartBody8944863568730904955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183939105,"filename":"image_18012025_08_02_02_671868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63e45aa764d71112e0006862fef6658e.jpg","text":"TemporaryFile(/tmp/multipartBody7148425843269375107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183939105,"filename":"image_18012025_08_03_02_254162_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea5010f2e4daa5cb0ba0b2af83051759.jpg","text":"TemporaryFile(/tmp/multipartBody6550502824226898231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183939105,"filename":"image_18012025_08_03_02_254162_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/807261dc682184778a04165745f5218e.jpg","text":"TemporaryFile(/tmp/multipartBody2404960874251032841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183939105,"filename":"image_18012025_08_02_02_671868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a56c2f6c1b381bed9354264e459b1c0c.jpg","text":"TemporaryFile(/tmp/multipartBody8583884506224848565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183939105,"filename":"image_18012025_08_03_02_254162_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9e3019c152f0106dde71f04e157ca0b7.jpg","text":"TemporaryFile(/tmp/multipartBody4468101027562306499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737183939105,"filename":"image_18012025_08_02_02_671868_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329697757","file1":"1329697738","file0":"1329697697","file4":"1329697769","file5":"1329697827","file3":"1329697761"},"map_files_photo_id_array":[{"photo_id":"1329697827","filename":"file5"},{"photo_id":"1329697757","filename":"file2"},{"photo_id":"1329697769","filename":"file4"},{"photo_id":"1329697738","filename":"file1"},{"photo_id":"1329697697","filename":"file0"},{"photo_id":"1329697761","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329697738":["hashtag1","hashtag2"]},{"1329697761":["hashtag1","hashtag2"]},{"1329697827":["hashtag1","hashtag2"]},{"1329697697":["hashtag1","hashtag2"]},{"1329697769":["hashtag1","hashtag2"]},{"1329697757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329697738, 1329697761, 1329697827, 1329697697, 1329697769, 1329697757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.80574631690979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:06:02.535697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/03/image_18012025_08_03_02_254162_0003.jpg', '/home/pi/Desktop/images/18012025/08/04/image_18012025_08_04_02_755293_0000.jpg', '/home/pi/Desktop/images/18012025/08/04/image_18012025_08_04_02_755293_0001.jpg', '/home/pi/Desktop/images/18012025/08/04/image_18012025_08_04_02_755293_0002.jpg', '/home/pi/Desktop/images/18012025/08/04/image_18012025_08_04_02_755293_0003.jpg', '/home/pi/Desktop/images/18012025/08/05/image_18012025_08_05_02_394731_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/03/image_18012025_08_03_02_254162_0003.jpg
/home/pi/Desktop/images/18012025/08/04/image_18012025_08_04_02_755293_0000.jpg
/home/pi/Desktop/images/18012025/08/04/image_18012025_08_04_02_755293_0001.jpg
/home/pi/Desktop/images/18012025/08/04/image_18012025_08_04_02_755293_0002.jpg
/home/pi/Desktop/images/18012025/08/04/image_18012025_08_04_02_755293_0003.jpg
/home/pi/Desktop/images/18012025/08/05/image_18012025_08_05_02_394731_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329698094","1329698085","1329698079","1329698069","1329698089","1329698074"],"photo_ids_order":["1329698069","1329698074","1329698079","1329698085","1329698089","1329698094"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/41caf428b6b0ac452018e9e5f0288574.jpg","text":"TemporaryFile(/tmp/multipartBody5604004566527264542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184039772,"filename":"image_18012025_08_05_02_394731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ff16abace9a2e0a30f172614621c764.jpg","text":"TemporaryFile(/tmp/multipartBody1456558972453025460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184039772,"filename":"image_18012025_08_04_02_755293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fa5ef8af9705cc494331d8d9c7a6455c.jpg","text":"TemporaryFile(/tmp/multipartBody2748504008051617006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184039772,"filename":"image_18012025_08_04_02_755293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c78083f6c4173a654402ce481f5d3f5.jpg","text":"TemporaryFile(/tmp/multipartBody5899666877178760302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184039772,"filename":"image_18012025_08_03_02_254162_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4105b68866bd85a4e4612c75aa67c4bc.jpg","text":"TemporaryFile(/tmp/multipartBody4247082009887486027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184039772,"filename":"image_18012025_08_04_02_755293_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/98f7a212bdaa3e0b143252fcf0d59db4.jpg","text":"TemporaryFile(/tmp/multipartBody7838042365480304244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184039772,"filename":"image_18012025_08_04_02_755293_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329698079","file1":"1329698074","file0":"1329698069","file4":"1329698089","file5":"1329698094","file3":"1329698085"},"map_files_photo_id_array":[{"photo_id":"1329698094","filename":"file5"},{"photo_id":"1329698079","filename":"file2"},{"photo_id":"1329698089","filename":"file4"},{"photo_id":"1329698074","filename":"file1"},{"photo_id":"1329698069","filename":"file0"},{"photo_id":"1329698085","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329698094":["hashtag1","hashtag2"]},{"1329698085":["hashtag1","hashtag2"]},{"1329698079":["hashtag1","hashtag2"]},{"1329698069":["hashtag1","hashtag2"]},{"1329698089":["hashtag1","hashtag2"]},{"1329698074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329698094, 1329698085, 1329698079, 1329698069, 1329698089, 1329698074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.90499258041382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:07:03.191577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/05/image_18012025_08_05_02_394731_0001.jpg', '/home/pi/Desktop/images/18012025/08/05/image_18012025_08_05_02_394731_0002.jpg', '/home/pi/Desktop/images/18012025/08/05/image_18012025_08_05_02_394731_0003.jpg', '/home/pi/Desktop/images/18012025/08/06/image_18012025_08_06_02_894767_0000.jpg', '/home/pi/Desktop/images/18012025/08/06/image_18012025_08_06_02_894767_0001.jpg', '/home/pi/Desktop/images/18012025/08/06/image_18012025_08_06_02_894767_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/05/image_18012025_08_05_02_394731_0001.jpg
/home/pi/Desktop/images/18012025/08/05/image_18012025_08_05_02_394731_0002.jpg
/home/pi/Desktop/images/18012025/08/05/image_18012025_08_05_02_394731_0003.jpg
/home/pi/Desktop/images/18012025/08/06/image_18012025_08_06_02_894767_0000.jpg
/home/pi/Desktop/images/18012025/08/06/image_18012025_08_06_02_894767_0001.jpg
/home/pi/Desktop/images/18012025/08/06/image_18012025_08_06_02_894767_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329698313","1329698123","1329698117","1329698318","1329698299","1329698146"],"photo_ids_order":["1329698117","1329698123","1329698146","1329698299","1329698313","1329698318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/abe8502456894ca9e995f15a9317721e.jpg","text":"TemporaryFile(/tmp/multipartBody382687525412890309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184099831,"filename":"image_18012025_08_06_02_894767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ddcb20da5ed9c7c3138f967a534cb998.jpg","text":"TemporaryFile(/tmp/multipartBody4103810463862041176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184099831,"filename":"image_18012025_08_05_02_394731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7f60dde0452f1502f19522dda237379.jpg","text":"TemporaryFile(/tmp/multipartBody7009753924914682861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184099831,"filename":"image_18012025_08_05_02_394731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c976f52847cc63afb0998a3d0ce32bb4.jpg","text":"TemporaryFile(/tmp/multipartBody8060920666502602496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184099831,"filename":"image_18012025_08_06_02_894767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/517e6056d76cbf2e01da1bd66f1607c7.jpg","text":"TemporaryFile(/tmp/multipartBody6468033860753120601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184099831,"filename":"image_18012025_08_06_02_894767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bb5df3bb251a6ac8df4e963e53989bee.jpg","text":"TemporaryFile(/tmp/multipartBody1421812160788458470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184099831,"filename":"image_18012025_08_05_02_394731_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329698146","file1":"1329698123","file0":"1329698117","file4":"1329698313","file5":"1329698318","file3":"1329698299"},"map_files_photo_id_array":[{"photo_id":"1329698318","filename":"file5"},{"photo_id":"1329698146","filename":"file2"},{"photo_id":"1329698313","filename":"file4"},{"photo_id":"1329698123","filename":"file1"},{"photo_id":"1329698117","filename":"file0"},{"photo_id":"1329698299","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329698313":["hashtag1","hashtag2"]},{"1329698123":["hashtag1","hashtag2"]},{"1329698117":["hashtag1","hashtag2"]},{"1329698318":["hashtag1","hashtag2"]},{"1329698299":["hashtag1","hashtag2"]},{"1329698146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329698313, 1329698123, 1329698117, 1329698318, 1329698299, 1329698146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.95403552055359 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:08:02.646845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/06/image_18012025_08_06_02_894767_0003.jpg', '/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0000.jpg', '/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0001.jpg', '/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/06/image_18012025_08_06_02_894767_0003.jpg
/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0000.jpg
/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0001.jpg
/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.207447528839111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:08:22.358446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/06/image_18012025_08_06_02_894767_0003.jpg', '/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0000.jpg', '/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0001.jpg', '/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0002.jpg', '/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0003.jpg', '/home/pi/Desktop/images/18012025/08/08/image_18012025_08_08_03_003954_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/06/image_18012025_08_06_02_894767_0003.jpg
/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0000.jpg
/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0001.jpg
/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0002.jpg
/home/pi/Desktop/images/18012025/08/07/image_18012025_08_07_02_461463_0003.jpg
/home/pi/Desktop/images/18012025/08/08/image_18012025_08_08_03_003954_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329698361","1329698349","1329698370","1329698381","1329698356","1329698365"],"photo_ids_order":["1329698349","1329698356","1329698361","1329698365","1329698370","1329698381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18f8951155a795afa370e17b3d2e0e11.jpg","text":"TemporaryFile(/tmp/multipartBody8792233972203035754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184179488,"filename":"image_18012025_08_07_02_461463_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a7175eb3da8a2aa580c9ad146a24a544.jpg","text":"TemporaryFile(/tmp/multipartBody4966840683106148202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184179488,"filename":"image_18012025_08_06_02_894767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ccda66085a7e8589bc85e5711746861.jpg","text":"TemporaryFile(/tmp/multipartBody8480528561136218557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184179488,"filename":"image_18012025_08_07_02_461463_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/59213cadda5aa86f8546b36f9fca63b5.jpg","text":"TemporaryFile(/tmp/multipartBody2882932532349204710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184179488,"filename":"image_18012025_08_08_03_003954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec52855cb30d593e795423f8482cb434.jpg","text":"TemporaryFile(/tmp/multipartBody188659344461857316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184179488,"filename":"image_18012025_08_07_02_461463_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f39687878691946c5821b32c2eaf2f97.jpg","text":"TemporaryFile(/tmp/multipartBody4439130756133570410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184179488,"filename":"image_18012025_08_07_02_461463_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329698361","file1":"1329698356","file0":"1329698349","file4":"1329698370","file5":"1329698381","file3":"1329698365"},"map_files_photo_id_array":[{"photo_id":"1329698381","filename":"file5"},{"photo_id":"1329698361","filename":"file2"},{"photo_id":"1329698370","filename":"file4"},{"photo_id":"1329698356","filename":"file1"},{"photo_id":"1329698349","filename":"file0"},{"photo_id":"1329698365","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329698361":["hashtag1","hashtag2"]},{"1329698349":["hashtag1","hashtag2"]},{"1329698370":["hashtag1","hashtag2"]},{"1329698381":["hashtag1","hashtag2"]},{"1329698356":["hashtag1","hashtag2"]},{"1329698365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329698361, 1329698349, 1329698370, 1329698381, 1329698356, 1329698365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.65780735015869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:09:21.751831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/08/image_18012025_08_08_03_003954_0001.jpg', '/home/pi/Desktop/images/18012025/08/08/image_18012025_08_08_03_003954_0002.jpg', '/home/pi/Desktop/images/18012025/08/08/image_18012025_08_08_03_003954_0003.jpg', '/home/pi/Desktop/images/18012025/08/09/image_18012025_08_09_02_666402_0000.jpg', '/home/pi/Desktop/images/18012025/08/09/image_18012025_08_09_02_666402_0001.jpg', '/home/pi/Desktop/images/18012025/08/09/image_18012025_08_09_02_666402_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/08/image_18012025_08_08_03_003954_0001.jpg
/home/pi/Desktop/images/18012025/08/08/image_18012025_08_08_03_003954_0002.jpg
/home/pi/Desktop/images/18012025/08/08/image_18012025_08_08_03_003954_0003.jpg
/home/pi/Desktop/images/18012025/08/09/image_18012025_08_09_02_666402_0000.jpg
/home/pi/Desktop/images/18012025/08/09/image_18012025_08_09_02_666402_0001.jpg
/home/pi/Desktop/images/18012025/08/09/image_18012025_08_09_02_666402_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329698418","1329698412","1329698432","1329698435","1329698423","1329698428"],"photo_ids_order":["1329698412","1329698418","1329698423","1329698428","1329698432","1329698435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/440f4ab4471b89e0d2afa30ba4f766b1.jpg","text":"TemporaryFile(/tmp/multipartBody4507664055052378525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184238597,"filename":"image_18012025_08_08_03_003954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9e8303fca7dbaf9ab5115c2efa9a25e.jpg","text":"TemporaryFile(/tmp/multipartBody2390466368167229145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184238597,"filename":"image_18012025_08_08_03_003954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/30b9eee912c66c9160fd0fdbf4447895.jpg","text":"TemporaryFile(/tmp/multipartBody8763170461875859594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184238597,"filename":"image_18012025_08_09_02_666402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13cdc0e14fbdeabd6865b38f0c022ee5.jpg","text":"TemporaryFile(/tmp/multipartBody5744964593712133851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184238597,"filename":"image_18012025_08_09_02_666402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/77254ecb53aa4bcb984eeab58c4f2543.jpg","text":"TemporaryFile(/tmp/multipartBody1118383801816679842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184238597,"filename":"image_18012025_08_08_03_003954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4a2b55d5584ce9d8abccb0b8bd93756.jpg","text":"TemporaryFile(/tmp/multipartBody3448321671221640021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184238597,"filename":"image_18012025_08_09_02_666402_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329698423","file1":"1329698418","file0":"1329698412","file4":"1329698432","file5":"1329698435","file3":"1329698428"},"map_files_photo_id_array":[{"photo_id":"1329698435","filename":"file5"},{"photo_id":"1329698423","filename":"file2"},{"photo_id":"1329698432","filename":"file4"},{"photo_id":"1329698418","filename":"file1"},{"photo_id":"1329698412","filename":"file0"},{"photo_id":"1329698428","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329698418":["hashtag1","hashtag2"]},{"1329698412":["hashtag1","hashtag2"]},{"1329698432":["hashtag1","hashtag2"]},{"1329698435":["hashtag1","hashtag2"]},{"1329698423":["hashtag1","hashtag2"]},{"1329698428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329698418, 1329698412, 1329698432, 1329698435, 1329698423, 1329698428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.75233316421509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:11:02.520935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/09/image_18012025_08_09_02_666402_0003.jpg', '/home/pi/Desktop/images/18012025/08/10/image_18012025_08_10_02_235433_0000.jpg', '/home/pi/Desktop/images/18012025/08/10/image_18012025_08_10_02_235433_0001.jpg', '/home/pi/Desktop/images/18012025/08/10/image_18012025_08_10_02_235433_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/09/image_18012025_08_09_02_666402_0003.jpg
/home/pi/Desktop/images/18012025/08/10/image_18012025_08_10_02_235433_0000.jpg
/home/pi/Desktop/images/18012025/08/10/image_18012025_08_10_02_235433_0001.jpg
/home/pi/Desktop/images/18012025/08/10/image_18012025_08_10_02_235433_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329699870","1329700004","1329700023","1329699597"],"photo_ids_order":["1329699597","1329699870","1329700004","1329700023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad67ee62546b4dce2572e646852d322f.jpg","text":"TemporaryFile(/tmp/multipartBody1530050824852520982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184334306,"filename":"image_18012025_08_10_02_235433_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d771c61c9ceb54ac35456873a12de7d.jpg","text":"TemporaryFile(/tmp/multipartBody4491992122893092484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184334306,"filename":"image_18012025_08_10_02_235433_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c79a29c989376a0f6d2bca2e3a82b0a.jpg","text":"TemporaryFile(/tmp/multipartBody7632173561696453589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184334306,"filename":"image_18012025_08_10_02_235433_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2cfae6d755bb8041687da1c1c99478d.jpg","text":"TemporaryFile(/tmp/multipartBody5301177312136576831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184334306,"filename":"image_18012025_08_09_02_666402_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329700004","file1":"1329699870","file0":"1329699597","file3":"1329700023"},"map_files_photo_id_array":[{"photo_id":"1329700004","filename":"file2"},{"photo_id":"1329699870","filename":"file1"},{"photo_id":"1329699597","filename":"file0"},{"photo_id":"1329700023","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329699870":["hashtag1","hashtag2"]},{"1329700004":["hashtag1","hashtag2"]},{"1329700023":["hashtag1","hashtag2"]},{"1329699597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329699870, 1329700004, 1329700023, 1329699597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.50415396690369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:12:02.964911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/10/image_18012025_08_10_02_235433_0003.jpg', '/home/pi/Desktop/images/18012025/08/11/image_18012025_08_11_02_734937_0000.jpg', '/home/pi/Desktop/images/18012025/08/11/image_18012025_08_11_02_734937_0001.jpg', '/home/pi/Desktop/images/18012025/08/11/image_18012025_08_11_02_734937_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/10/image_18012025_08_10_02_235433_0003.jpg
/home/pi/Desktop/images/18012025/08/11/image_18012025_08_11_02_734937_0000.jpg
/home/pi/Desktop/images/18012025/08/11/image_18012025_08_11_02_734937_0001.jpg
/home/pi/Desktop/images/18012025/08/11/image_18012025_08_11_02_734937_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329700066","1329700063","1329700057","1329700059"],"photo_ids_order":["1329700057","1329700059","1329700063","1329700066"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70e74b54b8a6aa5af12d41f54b383d65.jpg","text":"TemporaryFile(/tmp/multipartBody674958829230989571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184394121,"filename":"image_18012025_08_11_02_734937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d56579850767bedc8cbcfd3fc920baf.jpg","text":"TemporaryFile(/tmp/multipartBody8289312847066526267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184394121,"filename":"image_18012025_08_11_02_734937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b136bedd1437a4d2292245de642fbdde.jpg","text":"TemporaryFile(/tmp/multipartBody7249449737897730024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184394121,"filename":"image_18012025_08_10_02_235433_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c60ac3b41d7dbe8cd61be43a7b5f1d87.jpg","text":"TemporaryFile(/tmp/multipartBody3545464230950348414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184394121,"filename":"image_18012025_08_11_02_734937_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329700063","file1":"1329700059","file0":"1329700057","file3":"1329700066"},"map_files_photo_id_array":[{"photo_id":"1329700063","filename":"file2"},{"photo_id":"1329700059","filename":"file1"},{"photo_id":"1329700057","filename":"file0"},{"photo_id":"1329700066","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329700066":["hashtag1","hashtag2"]},{"1329700063":["hashtag1","hashtag2"]},{"1329700057":["hashtag1","hashtag2"]},{"1329700059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329700066, 1329700063, 1329700057, 1329700059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.06513166427612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:13:02.694602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/11/image_18012025_08_11_02_734937_0003.jpg', '/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0000.jpg', '/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0001.jpg', '/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/11/image_18012025_08_11_02_734937_0003.jpg
/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0000.jpg
/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0001.jpg
/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.56298041343689 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:13:22.085039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/11/image_18012025_08_11_02_734937_0003.jpg', '/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0000.jpg', '/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0001.jpg', '/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0002.jpg', '/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0003.jpg', '/home/pi/Desktop/images/18012025/08/13/image_18012025_08_13_02_947315_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/11/image_18012025_08_11_02_734937_0003.jpg
/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0000.jpg
/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0001.jpg
/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0002.jpg
/home/pi/Desktop/images/18012025/08/12/image_18012025_08_12_02_330992_0003.jpg
/home/pi/Desktop/images/18012025/08/13/image_18012025_08_13_02_947315_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329700679","1329700670","1329700601","1329700612","1329700673","1329700608"],"photo_ids_order":["1329700601","1329700608","1329700612","1329700670","1329700673","1329700679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0abf26a995798fadcdf6f0ab9e41e42d.jpg","text":"TemporaryFile(/tmp/multipartBody2977804634189863552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184477993,"filename":"image_18012025_08_13_02_947315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e59ce03e793bd7ade5d5b4130fcb68ec.jpg","text":"TemporaryFile(/tmp/multipartBody6681256077566083817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184477993,"filename":"image_18012025_08_12_02_330992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/108021548481a00ab309f5746a6e7ca9.jpg","text":"TemporaryFile(/tmp/multipartBody4076827141127867351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184477993,"filename":"image_18012025_08_11_02_734937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd9c5991f18e2f7e1cc8092884fb3bd2.jpg","text":"TemporaryFile(/tmp/multipartBody2166520508301211038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184477993,"filename":"image_18012025_08_12_02_330992_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5057f8e4c85a9e9517259504cdcbb49c.jpg","text":"TemporaryFile(/tmp/multipartBody8376708253611709397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184477993,"filename":"image_18012025_08_12_02_330992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e86b24765d084ba0ffe698b7713d85b4.jpg","text":"TemporaryFile(/tmp/multipartBody7088981018573578213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184477993,"filename":"image_18012025_08_12_02_330992_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329700612","file1":"1329700608","file0":"1329700601","file4":"1329700673","file5":"1329700679","file3":"1329700670"},"map_files_photo_id_array":[{"photo_id":"1329700679","filename":"file5"},{"photo_id":"1329700612","filename":"file2"},{"photo_id":"1329700673","filename":"file4"},{"photo_id":"1329700608","filename":"file1"},{"photo_id":"1329700601","filename":"file0"},{"photo_id":"1329700670","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329700679":["hashtag1","hashtag2"]},{"1329700670":["hashtag1","hashtag2"]},{"1329700601":["hashtag1","hashtag2"]},{"1329700612":["hashtag1","hashtag2"]},{"1329700673":["hashtag1","hashtag2"]},{"1329700608":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329700679, 1329700670, 1329700601, 1329700612, 1329700673, 1329700608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.05197811126709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:14:22.837626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/13/image_18012025_08_13_02_947315_0001.jpg', '/home/pi/Desktop/images/18012025/08/13/image_18012025_08_13_02_947315_0002.jpg', '/home/pi/Desktop/images/18012025/08/13/image_18012025_08_13_02_947315_0003.jpg', '/home/pi/Desktop/images/18012025/08/14/image_18012025_08_14_02_437615_0000.jpg', '/home/pi/Desktop/images/18012025/08/14/image_18012025_08_14_02_437615_0001.jpg', '/home/pi/Desktop/images/18012025/08/14/image_18012025_08_14_02_437615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/13/image_18012025_08_13_02_947315_0001.jpg
/home/pi/Desktop/images/18012025/08/13/image_18012025_08_13_02_947315_0002.jpg
/home/pi/Desktop/images/18012025/08/13/image_18012025_08_13_02_947315_0003.jpg
/home/pi/Desktop/images/18012025/08/14/image_18012025_08_14_02_437615_0000.jpg
/home/pi/Desktop/images/18012025/08/14/image_18012025_08_14_02_437615_0001.jpg
/home/pi/Desktop/images/18012025/08/14/image_18012025_08_14_02_437615_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329700805","1329700798","1329700802","1329700794","1329700785","1329700790"],"photo_ids_order":["1329700785","1329700790","1329700794","1329700798","1329700802","1329700805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0c59002bf1132bef677adbeef861bb5.jpg","text":"TemporaryFile(/tmp/multipartBody685618196431644710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184539606,"filename":"image_18012025_08_14_02_437615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7be0f4da17e8dbdf095e07a50f3b69c3.jpg","text":"TemporaryFile(/tmp/multipartBody4415996619078710303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184539606,"filename":"image_18012025_08_14_02_437615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/05245cb83c0e24d5ecc73044f2ee5faf.jpg","text":"TemporaryFile(/tmp/multipartBody1721841145173723418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184539606,"filename":"image_18012025_08_14_02_437615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5eca1aeb1f04114e5d801318297c7784.jpg","text":"TemporaryFile(/tmp/multipartBody1093541582776537041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184539606,"filename":"image_18012025_08_13_02_947315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/64a27470f852be976894a49b2474e781.jpg","text":"TemporaryFile(/tmp/multipartBody1038035977711902568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184539606,"filename":"image_18012025_08_13_02_947315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e8ea21becd1d1607bf4f51b1dc00596.jpg","text":"TemporaryFile(/tmp/multipartBody9096124278195354378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184539606,"filename":"image_18012025_08_13_02_947315_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329700794","file1":"1329700790","file0":"1329700785","file4":"1329700802","file5":"1329700805","file3":"1329700798"},"map_files_photo_id_array":[{"photo_id":"1329700805","filename":"file5"},{"photo_id":"1329700794","filename":"file2"},{"photo_id":"1329700802","filename":"file4"},{"photo_id":"1329700790","filename":"file1"},{"photo_id":"1329700785","filename":"file0"},{"photo_id":"1329700798","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329700805":["hashtag1","hashtag2"]},{"1329700798":["hashtag1","hashtag2"]},{"1329700802":["hashtag1","hashtag2"]},{"1329700794":["hashtag1","hashtag2"]},{"1329700785":["hashtag1","hashtag2"]},{"1329700790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329700805, 1329700798, 1329700802, 1329700794, 1329700785, 1329700790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.79759764671326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:15:22.226183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/14/image_18012025_08_14_02_437615_0003.jpg', '/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0000.jpg', '/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0001.jpg', '/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/14/image_18012025_08_14_02_437615_0003.jpg
/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0000.jpg
/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0001.jpg
/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.05033826828003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:16:03.014634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/14/image_18012025_08_14_02_437615_0003.jpg', '/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0000.jpg', '/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0001.jpg', '/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/14/image_18012025_08_14_02_437615_0003.jpg
/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0000.jpg
/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0001.jpg
/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329701056","1329701082","1329701142","1329701078"],"photo_ids_order":["1329701056","1329701078","1329701082","1329701142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c7cab3a483d600f29bab59e5d4209c38.jpg","text":"TemporaryFile(/tmp/multipartBody6827009364458159974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184634451,"filename":"image_18012025_08_14_02_437615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/761f6ff10820f742c057f1cfa6622cce.jpg","text":"TemporaryFile(/tmp/multipartBody5644038577550982186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184634451,"filename":"image_18012025_08_15_03_063809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e6b6bc65d0973a64364dfb1aa6957ea.jpg","text":"TemporaryFile(/tmp/multipartBody4314012447558764212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184634451,"filename":"image_18012025_08_15_03_063809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ad36fa0ee6bfef97049d9c2e43b349c.jpg","text":"TemporaryFile(/tmp/multipartBody2480249526657062625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184634451,"filename":"image_18012025_08_15_03_063809_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329701082","file1":"1329701078","file0":"1329701056","file3":"1329701142"},"map_files_photo_id_array":[{"photo_id":"1329701082","filename":"file2"},{"photo_id":"1329701078","filename":"file1"},{"photo_id":"1329701056","filename":"file0"},{"photo_id":"1329701142","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329701056":["hashtag1","hashtag2"]},{"1329701082":["hashtag1","hashtag2"]},{"1329701142":["hashtag1","hashtag2"]},{"1329701078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329701056, 1329701082, 1329701142, 1329701078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.366695404052734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:17:02.955813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0003.jpg', '/home/pi/Desktop/images/18012025/08/16/image_18012025_08_16_02_555972_0000.jpg', '/home/pi/Desktop/images/18012025/08/16/image_18012025_08_16_02_555972_0001.jpg', '/home/pi/Desktop/images/18012025/08/16/image_18012025_08_16_02_555972_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/15/image_18012025_08_15_03_063809_0003.jpg
/home/pi/Desktop/images/18012025/08/16/image_18012025_08_16_02_555972_0000.jpg
/home/pi/Desktop/images/18012025/08/16/image_18012025_08_16_02_555972_0001.jpg
/home/pi/Desktop/images/18012025/08/16/image_18012025_08_16_02_555972_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329701167","1329701175","1329701171","1329701165"],"photo_ids_order":["1329701165","1329701167","1329701171","1329701175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f115a1d831f60682a955ff5b17025805.jpg","text":"TemporaryFile(/tmp/multipartBody4563432771397122083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184694409,"filename":"image_18012025_08_16_02_555972_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4304637c8401a9f18b2d279d7f304b81.jpg","text":"TemporaryFile(/tmp/multipartBody3414052402246926523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184694409,"filename":"image_18012025_08_16_02_555972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7380a50fbc25178a81033538a7b2b9ac.jpg","text":"TemporaryFile(/tmp/multipartBody2345104978436602323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184694409,"filename":"image_18012025_08_16_02_555972_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f160a232d50dbb630828457e7d22d951.jpg","text":"TemporaryFile(/tmp/multipartBody1503303947610089302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184694409,"filename":"image_18012025_08_15_03_063809_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329701171","file1":"1329701167","file0":"1329701165","file3":"1329701175"},"map_files_photo_id_array":[{"photo_id":"1329701171","filename":"file2"},{"photo_id":"1329701167","filename":"file1"},{"photo_id":"1329701165","filename":"file0"},{"photo_id":"1329701175","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329701167":["hashtag1","hashtag2"]},{"1329701175":["hashtag1","hashtag2"]},{"1329701171":["hashtag1","hashtag2"]},{"1329701165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329701167, 1329701175, 1329701171, 1329701165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.26453614234924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:18:02.342755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/16/image_18012025_08_16_02_555972_0003.jpg', '/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0000.jpg', '/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0001.jpg', '/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/16/image_18012025_08_16_02_555972_0003.jpg
/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0000.jpg
/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0001.jpg
/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.043014526367188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:18:21.969009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/16/image_18012025_08_16_02_555972_0003.jpg', '/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0000.jpg', '/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0001.jpg', '/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0002.jpg', '/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0003.jpg', '/home/pi/Desktop/images/18012025/08/18/image_18012025_08_18_02_611185_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/16/image_18012025_08_16_02_555972_0003.jpg
/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0000.jpg
/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0001.jpg
/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0002.jpg
/home/pi/Desktop/images/18012025/08/17/image_18012025_08_17_03_101595_0003.jpg
/home/pi/Desktop/images/18012025/08/18/image_18012025_08_18_02_611185_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":["1329701251","1329701265","1329701253","1329701258","1329701246","1329701255"],"photo_ids_order":["1329701246","1329701251","1329701253","1329701255","1329701258","1329701265"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5cffb1b0165c696e8abc730387ddddfe.jpg","text":"TemporaryFile(/tmp/multipartBody1424016711734810571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184778655,"filename":"image_18012025_08_17_03_101595_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5278d7d5198ac302d023b48021053173.jpg","text":"TemporaryFile(/tmp/multipartBody5031348664626680500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184778655,"filename":"image_18012025_08_18_02_611185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6fb46776ccbf8e19cc07300b3a104531.jpg","text":"TemporaryFile(/tmp/multipartBody571350334045124256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184778655,"filename":"image_18012025_08_17_03_101595_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/527eae66edf629d1879c4ceb07e604e2.jpg","text":"TemporaryFile(/tmp/multipartBody1711481360110639738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184778655,"filename":"image_18012025_08_17_03_101595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe71f1f2f5112aa3530dc5e69902b44f.jpg","text":"TemporaryFile(/tmp/multipartBody7178073152104068590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184778655,"filename":"image_18012025_08_16_02_555972_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a7cec7be02d08d43a40ec417ad90f2e.jpg","text":"TemporaryFile(/tmp/multipartBody251803553567519800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184778655,"filename":"image_18012025_08_17_03_101595_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329701253","file1":"1329701251","file0":"1329701246","file4":"1329701258","file5":"1329701265","file3":"1329701255"},"map_files_photo_id_array":[{"photo_id":"1329701265","filename":"file5"},{"photo_id":"1329701253","filename":"file2"},{"photo_id":"1329701258","filename":"file4"},{"photo_id":"1329701251","filename":"file1"},{"photo_id":"1329701246","filename":"file0"},{"photo_id":"1329701255","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329701251":["hashtag1","hashtag2"]},{"1329701265":["hashtag1","hashtag2"]},{"1329701253":["hashtag1","hashtag2"]},{"1329701258":["hashtag1","hashtag2"]},{"1329701246":["hashtag1","hashtag2"]},{"1329701255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329701251, 1329701265, 1329701253, 1329701258, 1329701246, 1329701255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.94923424720764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:20:02.207326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/18/image_18012025_08_18_02_611185_0001.jpg', '/home/pi/Desktop/images/18012025/08/18/image_18012025_08_18_02_611185_0002.jpg', '/home/pi/Desktop/images/18012025/08/18/image_18012025_08_18_02_611185_0003.jpg', '/home/pi/Desktop/images/18012025/08/19/image_18012025_08_19_02_287164_0000.jpg', '/home/pi/Desktop/images/18012025/08/19/image_18012025_08_19_02_287164_0001.jpg', '/home/pi/Desktop/images/18012025/08/19/image_18012025_08_19_02_287164_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/18/image_18012025_08_18_02_611185_0001.jpg
/home/pi/Desktop/images/18012025/08/18/image_18012025_08_18_02_611185_0002.jpg
/home/pi/Desktop/images/18012025/08/18/image_18012025_08_18_02_611185_0003.jpg
/home/pi/Desktop/images/18012025/08/19/image_18012025_08_19_02_287164_0000.jpg
/home/pi/Desktop/images/18012025/08/19/image_18012025_08_19_02_287164_0001.jpg
/home/pi/Desktop/images/18012025/08/19/image_18012025_08_19_02_287164_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329701342","1329701434","1329701388","1329701301","1329701444","1329701354"],"photo_ids_order":["1329701301","1329701342","1329701354","1329701388","1329701434","1329701444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96de132bc5a525cf5eb31ff0e4e821be.jpg","text":"TemporaryFile(/tmp/multipartBody8035179431797713792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184878863,"filename":"image_18012025_08_18_02_611185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c11a627ba3fda73a567802b25c8b9a9.jpg","text":"TemporaryFile(/tmp/multipartBody2492410902323895850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184878863,"filename":"image_18012025_08_19_02_287164_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3d9a3a0591eb616e56345190a811293.jpg","text":"TemporaryFile(/tmp/multipartBody7928100080688295901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184878863,"filename":"image_18012025_08_19_02_287164_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c746da8087e38d2035f72ece4b9ce250.jpg","text":"TemporaryFile(/tmp/multipartBody4379459547456594832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184878863,"filename":"image_18012025_08_18_02_611185_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/550b113e3e324c04f8a80132c8e8c547.jpg","text":"TemporaryFile(/tmp/multipartBody1857175777687885453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184878863,"filename":"image_18012025_08_19_02_287164_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4bfb26edd2e43543030dcf4c521f8555.jpg","text":"TemporaryFile(/tmp/multipartBody8946161215522336339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184878863,"filename":"image_18012025_08_18_02_611185_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329701354","file1":"1329701342","file0":"1329701301","file4":"1329701434","file5":"1329701444","file3":"1329701388"},"map_files_photo_id_array":[{"photo_id":"1329701444","filename":"file5"},{"photo_id":"1329701354","filename":"file2"},{"photo_id":"1329701434","filename":"file4"},{"photo_id":"1329701342","filename":"file1"},{"photo_id":"1329701301","filename":"file0"},{"photo_id":"1329701388","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329701342":["hashtag1","hashtag2"]},{"1329701434":["hashtag1","hashtag2"]},{"1329701388":["hashtag1","hashtag2"]},{"1329701301":["hashtag1","hashtag2"]},{"1329701444":["hashtag1","hashtag2"]},{"1329701354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329701342, 1329701434, 1329701388, 1329701301, 1329701444, 1329701354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.72069478034973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:21:03.074123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/19/image_18012025_08_19_02_287164_0003.jpg', '/home/pi/Desktop/images/18012025/08/20/image_18012025_08_20_02_817111_0000.jpg', '/home/pi/Desktop/images/18012025/08/20/image_18012025_08_20_02_817111_0001.jpg', '/home/pi/Desktop/images/18012025/08/20/image_18012025_08_20_02_817111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/19/image_18012025_08_19_02_287164_0003.jpg
/home/pi/Desktop/images/18012025/08/20/image_18012025_08_20_02_817111_0000.jpg
/home/pi/Desktop/images/18012025/08/20/image_18012025_08_20_02_817111_0001.jpg
/home/pi/Desktop/images/18012025/08/20/image_18012025_08_20_02_817111_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329701518","1329701496","1329701483","1329701465"],"photo_ids_order":["1329701465","1329701483","1329701496","1329701518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f012bd7ecd3e968f3a61149fbc800609.jpg","text":"TemporaryFile(/tmp/multipartBody4129626658512301165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184934351,"filename":"image_18012025_08_20_02_817111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3cd6d52d2c44667706eababefa5e1104.jpg","text":"TemporaryFile(/tmp/multipartBody7227523096361217482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184934351,"filename":"image_18012025_08_20_02_817111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0887d63a9f64c53a49e864a7bc2ee37f.jpg","text":"TemporaryFile(/tmp/multipartBody4731842093543302774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184934351,"filename":"image_18012025_08_20_02_817111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/306a8895b6da1f0880d1e367869f3aaf.jpg","text":"TemporaryFile(/tmp/multipartBody2367291690510717214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184934351,"filename":"image_18012025_08_19_02_287164_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329701496","file1":"1329701483","file0":"1329701465","file3":"1329701518"},"map_files_photo_id_array":[{"photo_id":"1329701496","filename":"file2"},{"photo_id":"1329701483","filename":"file1"},{"photo_id":"1329701465","filename":"file0"},{"photo_id":"1329701518","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329701518":["hashtag1","hashtag2"]},{"1329701496":["hashtag1","hashtag2"]},{"1329701483":["hashtag1","hashtag2"]},{"1329701465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329701518, 1329701496, 1329701483, 1329701465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.0342218875885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:22:02.393704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/20/image_18012025_08_20_02_817111_0003.jpg', '/home/pi/Desktop/images/18012025/08/21/image_18012025_08_21_02_331443_0000.jpg', '/home/pi/Desktop/images/18012025/08/21/image_18012025_08_21_02_331443_0001.jpg', '/home/pi/Desktop/images/18012025/08/21/image_18012025_08_21_02_331443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/20/image_18012025_08_20_02_817111_0003.jpg
/home/pi/Desktop/images/18012025/08/21/image_18012025_08_21_02_331443_0000.jpg
/home/pi/Desktop/images/18012025/08/21/image_18012025_08_21_02_331443_0001.jpg
/home/pi/Desktop/images/18012025/08/21/image_18012025_08_21_02_331443_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329702093","1329702479","1329702317","1329701864"],"photo_ids_order":["1329701864","1329702093","1329702317","1329702479"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7896e0c3093dd77eef7466eb083900ff.jpg","text":"TemporaryFile(/tmp/multipartBody1805563009561270194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184994275,"filename":"image_18012025_08_21_02_331443_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01b80015f627d756537fa57e05b5edb3.jpg","text":"TemporaryFile(/tmp/multipartBody2776811759611447670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184994275,"filename":"image_18012025_08_21_02_331443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3fa9c81efbcfcef3f79b974ad4a1eba6.jpg","text":"TemporaryFile(/tmp/multipartBody7487733301162125386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184994275,"filename":"image_18012025_08_21_02_331443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/338db4332a35630086ddbf3b3cb9982c.jpg","text":"TemporaryFile(/tmp/multipartBody7646722300155544648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737184994275,"filename":"image_18012025_08_20_02_817111_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329702317","file1":"1329702093","file0":"1329701864","file3":"1329702479"},"map_files_photo_id_array":[{"photo_id":"1329702317","filename":"file2"},{"photo_id":"1329702093","filename":"file1"},{"photo_id":"1329701864","filename":"file0"},{"photo_id":"1329702479","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329702093":["hashtag1","hashtag2"]},{"1329702479":["hashtag1","hashtag2"]},{"1329702317":["hashtag1","hashtag2"]},{"1329701864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329702093, 1329702479, 1329702317, 1329701864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15541172027588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:23:03.254567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/21/image_18012025_08_21_02_331443_0003.jpg', '/home/pi/Desktop/images/18012025/08/22/image_18012025_08_22_02_816360_0000.jpg', '/home/pi/Desktop/images/18012025/08/22/image_18012025_08_22_02_816360_0001.jpg', '/home/pi/Desktop/images/18012025/08/22/image_18012025_08_22_02_816360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/21/image_18012025_08_21_02_331443_0003.jpg
/home/pi/Desktop/images/18012025/08/22/image_18012025_08_22_02_816360_0000.jpg
/home/pi/Desktop/images/18012025/08/22/image_18012025_08_22_02_816360_0001.jpg
/home/pi/Desktop/images/18012025/08/22/image_18012025_08_22_02_816360_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329702514","1329702603","1329702708","1329702512"],"photo_ids_order":["1329702512","1329702514","1329702603","1329702708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e2a851b08dfc7e53c808382122b8f537.jpg","text":"TemporaryFile(/tmp/multipartBody3426379129408308640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185054935,"filename":"image_18012025_08_22_02_816360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c28a26506f7b9cb0cd23e9c3122dcc80.jpg","text":"TemporaryFile(/tmp/multipartBody8599385239244186295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185054935,"filename":"image_18012025_08_22_02_816360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/80e09ea5fd1c53cfcb376dea51dc2f52.jpg","text":"TemporaryFile(/tmp/multipartBody1969859356089416351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185054935,"filename":"image_18012025_08_22_02_816360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ae65869b605beb0d54aa0ad6f24bd4ea.jpg","text":"TemporaryFile(/tmp/multipartBody5337605535209911057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185054935,"filename":"image_18012025_08_21_02_331443_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329702603","file1":"1329702514","file0":"1329702512","file3":"1329702708"},"map_files_photo_id_array":[{"photo_id":"1329702603","filename":"file2"},{"photo_id":"1329702514","filename":"file1"},{"photo_id":"1329702512","filename":"file0"},{"photo_id":"1329702708","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329702514":["hashtag1","hashtag2"]},{"1329702603":["hashtag1","hashtag2"]},{"1329702708":["hashtag1","hashtag2"]},{"1329702512":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329702514, 1329702603, 1329702708, 1329702512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.57372212409973 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:24:02.526736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/22/image_18012025_08_22_02_816360_0003.jpg', '/home/pi/Desktop/images/18012025/08/23/image_18012025_08_23_02_423460_0000.jpg', '/home/pi/Desktop/images/18012025/08/23/image_18012025_08_23_02_423460_0001.jpg', '/home/pi/Desktop/images/18012025/08/23/image_18012025_08_23_02_423460_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/22/image_18012025_08_22_02_816360_0003.jpg
/home/pi/Desktop/images/18012025/08/23/image_18012025_08_23_02_423460_0000.jpg
/home/pi/Desktop/images/18012025/08/23/image_18012025_08_23_02_423460_0001.jpg
/home/pi/Desktop/images/18012025/08/23/image_18012025_08_23_02_423460_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329703172","1329703252","1329703246","1329703174"],"photo_ids_order":["1329703172","1329703174","1329703246","1329703252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5b5841175eb307fc2644f3c227243b74.jpg","text":"TemporaryFile(/tmp/multipartBody8898509495402449437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185114186,"filename":"image_18012025_08_22_02_816360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d19ff7400a4ce2f0f20013a33b97b631.jpg","text":"TemporaryFile(/tmp/multipartBody5276891282513449838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185114186,"filename":"image_18012025_08_23_02_423460_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fba93c9502f15b402c199f3cfb877e5d.jpg","text":"TemporaryFile(/tmp/multipartBody5676215881149978986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185114186,"filename":"image_18012025_08_23_02_423460_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c903af300ef63c1b9664a9c5a8f34882.jpg","text":"TemporaryFile(/tmp/multipartBody3215935671182782273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185114186,"filename":"image_18012025_08_23_02_423460_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329703246","file1":"1329703174","file0":"1329703172","file3":"1329703252"},"map_files_photo_id_array":[{"photo_id":"1329703246","filename":"file2"},{"photo_id":"1329703174","filename":"file1"},{"photo_id":"1329703172","filename":"file0"},{"photo_id":"1329703252","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329703172":["hashtag1","hashtag2"]},{"1329703252":["hashtag1","hashtag2"]},{"1329703246":["hashtag1","hashtag2"]},{"1329703174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329703172, 1329703252, 1329703246, 1329703174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.47110295295715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:25:03.340070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/23/image_18012025_08_23_02_423460_0003.jpg', '/home/pi/Desktop/images/18012025/08/24/image_18012025_08_24_02_900707_0000.jpg', '/home/pi/Desktop/images/18012025/08/24/image_18012025_08_24_02_900707_0001.jpg', '/home/pi/Desktop/images/18012025/08/24/image_18012025_08_24_02_900707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/23/image_18012025_08_23_02_423460_0003.jpg
/home/pi/Desktop/images/18012025/08/24/image_18012025_08_24_02_900707_0000.jpg
/home/pi/Desktop/images/18012025/08/24/image_18012025_08_24_02_900707_0001.jpg
/home/pi/Desktop/images/18012025/08/24/image_18012025_08_24_02_900707_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329703318","1329703329","1329703314","1329703322"],"photo_ids_order":["1329703314","1329703318","1329703322","1329703329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a239bf5a68f64a8250dcab87b792267.jpg","text":"TemporaryFile(/tmp/multipartBody6717614112669953895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185174871,"filename":"image_18012025_08_24_02_900707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67773850e75df45b31f382c08255fef7.jpg","text":"TemporaryFile(/tmp/multipartBody8220984959498953344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185174871,"filename":"image_18012025_08_24_02_900707_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed89485e567fe660f1608dc783262566.jpg","text":"TemporaryFile(/tmp/multipartBody7684430846160685882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185174871,"filename":"image_18012025_08_23_02_423460_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aceb7f0674ea80d0ede4fa49e27c78d0.jpg","text":"TemporaryFile(/tmp/multipartBody286449666272816988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185174871,"filename":"image_18012025_08_24_02_900707_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329703322","file1":"1329703318","file0":"1329703314","file3":"1329703329"},"map_files_photo_id_array":[{"photo_id":"1329703322","filename":"file2"},{"photo_id":"1329703318","filename":"file1"},{"photo_id":"1329703314","filename":"file0"},{"photo_id":"1329703329","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329703318":["hashtag1","hashtag2"]},{"1329703329":["hashtag1","hashtag2"]},{"1329703314":["hashtag1","hashtag2"]},{"1329703322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329703318, 1329703329, 1329703314, 1329703322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13257026672363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:26:02.615839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/24/image_18012025_08_24_02_900707_0003.jpg', '/home/pi/Desktop/images/18012025/08/25/image_18012025_08_25_02_501239_0000.jpg', '/home/pi/Desktop/images/18012025/08/25/image_18012025_08_25_02_501239_0001.jpg', '/home/pi/Desktop/images/18012025/08/25/image_18012025_08_25_02_501239_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/24/image_18012025_08_24_02_900707_0003.jpg
/home/pi/Desktop/images/18012025/08/25/image_18012025_08_25_02_501239_0000.jpg
/home/pi/Desktop/images/18012025/08/25/image_18012025_08_25_02_501239_0001.jpg
/home/pi/Desktop/images/18012025/08/25/image_18012025_08_25_02_501239_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329703501","1329703359","1329703498","1329703418"],"photo_ids_order":["1329703359","1329703418","1329703498","1329703501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef5f205b99a1a9a9876dd6590defc961.jpg","text":"TemporaryFile(/tmp/multipartBody8476389903887157156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185233899,"filename":"image_18012025_08_25_02_501239_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8d855d2323f6163163bd84039350d7d8.jpg","text":"TemporaryFile(/tmp/multipartBody2839995342713140170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185233899,"filename":"image_18012025_08_24_02_900707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e2aeada6aec4c129174c6cc102c773d.jpg","text":"TemporaryFile(/tmp/multipartBody4156043122015032619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185233899,"filename":"image_18012025_08_25_02_501239_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e62ed6ca3474c32f9ef3f74f04ae554.jpg","text":"TemporaryFile(/tmp/multipartBody4673466082245603856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185233899,"filename":"image_18012025_08_25_02_501239_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329703498","file1":"1329703418","file0":"1329703359","file3":"1329703501"},"map_files_photo_id_array":[{"photo_id":"1329703498","filename":"file2"},{"photo_id":"1329703418","filename":"file1"},{"photo_id":"1329703359","filename":"file0"},{"photo_id":"1329703501","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329703501":["hashtag1","hashtag2"]},{"1329703359":["hashtag1","hashtag2"]},{"1329703498":["hashtag1","hashtag2"]},{"1329703418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329703501, 1329703359, 1329703498, 1329703418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63465428352356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:27:03.405274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/25/image_18012025_08_25_02_501239_0003.jpg', '/home/pi/Desktop/images/18012025/08/26/image_18012025_08_26_03_016152_0000.jpg', '/home/pi/Desktop/images/18012025/08/26/image_18012025_08_26_03_016152_0001.jpg', '/home/pi/Desktop/images/18012025/08/26/image_18012025_08_26_03_016152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/25/image_18012025_08_25_02_501239_0003.jpg
/home/pi/Desktop/images/18012025/08/26/image_18012025_08_26_03_016152_0000.jpg
/home/pi/Desktop/images/18012025/08/26/image_18012025_08_26_03_016152_0001.jpg
/home/pi/Desktop/images/18012025/08/26/image_18012025_08_26_03_016152_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329703686","1329703691","1329703697","1329703703"],"photo_ids_order":["1329703686","1329703691","1329703697","1329703703"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7ff53f60218e572828a394c7b045fc5.jpg","text":"TemporaryFile(/tmp/multipartBody4811729916833774195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185295190,"filename":"image_18012025_08_25_02_501239_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5898ce15d1b4d2b8cbc0fd388c9228eb.jpg","text":"TemporaryFile(/tmp/multipartBody4651165334823082228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185295190,"filename":"image_18012025_08_26_03_016152_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/38ae1246d6208da201d1fa80520971c9.jpg","text":"TemporaryFile(/tmp/multipartBody7241354356729411364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185295190,"filename":"image_18012025_08_26_03_016152_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/10a2395c4b0e662a710af88190aa6e3a.jpg","text":"TemporaryFile(/tmp/multipartBody1667102470996635560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185295190,"filename":"image_18012025_08_26_03_016152_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329703697","file1":"1329703691","file0":"1329703686","file3":"1329703703"},"map_files_photo_id_array":[{"photo_id":"1329703697","filename":"file2"},{"photo_id":"1329703691","filename":"file1"},{"photo_id":"1329703686","filename":"file0"},{"photo_id":"1329703703","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329703686":["hashtag1","hashtag2"]},{"1329703691":["hashtag1","hashtag2"]},{"1329703697":["hashtag1","hashtag2"]},{"1329703703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329703686, 1329703691, 1329703697, 1329703703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.12379860877991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:28:02.782621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/26/image_18012025_08_26_03_016152_0003.jpg', '/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0000.jpg', '/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0001.jpg', '/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/26/image_18012025_08_26_03_016152_0003.jpg
/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0000.jpg
/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0001.jpg
/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.910275936126709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:28:22.352678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/26/image_18012025_08_26_03_016152_0003.jpg', '/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0000.jpg', '/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0001.jpg', '/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0002.jpg', '/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0003.jpg', '/home/pi/Desktop/images/18012025/08/28/image_18012025_08_28_03_123580_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/26/image_18012025_08_26_03_016152_0003.jpg
/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0000.jpg
/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0001.jpg
/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0002.jpg
/home/pi/Desktop/images/18012025/08/27/image_18012025_08_27_02_581850_0003.jpg
/home/pi/Desktop/images/18012025/08/28/image_18012025_08_28_03_123580_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":["1329703779","1329703766","1329703769","1329703771","1329703774","1329703762"],"photo_ids_order":["1329703762","1329703766","1329703769","1329703771","1329703774","1329703779"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b98ba204f3a090e94814cbd7c84703f9.jpg","text":"TemporaryFile(/tmp/multipartBody8746263776775620134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185378991,"filename":"image_18012025_08_28_03_123580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17ce6db467470978c37b0f5af19f07d8.jpg","text":"TemporaryFile(/tmp/multipartBody3814946614968525394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185378991,"filename":"image_18012025_08_27_02_581850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92c1a79ce7bccaf671551576b55a1e66.jpg","text":"TemporaryFile(/tmp/multipartBody8767634285866942503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185378991,"filename":"image_18012025_08_27_02_581850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2cc7402ae193497fd04639d27e5dff2e.jpg","text":"TemporaryFile(/tmp/multipartBody7238614530096055907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185378991,"filename":"image_18012025_08_27_02_581850_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1d0733568245093a824801f0660ce244.jpg","text":"TemporaryFile(/tmp/multipartBody5436342888416119900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185378991,"filename":"image_18012025_08_27_02_581850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0113268d15aa6de3340e11a5e30b6774.jpg","text":"TemporaryFile(/tmp/multipartBody7666442152811998675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185378991,"filename":"image_18012025_08_26_03_016152_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329703769","file1":"1329703766","file0":"1329703762","file4":"1329703774","file5":"1329703779","file3":"1329703771"},"map_files_photo_id_array":[{"photo_id":"1329703779","filename":"file5"},{"photo_id":"1329703769","filename":"file2"},{"photo_id":"1329703774","filename":"file4"},{"photo_id":"1329703766","filename":"file1"},{"photo_id":"1329703762","filename":"file0"},{"photo_id":"1329703771","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329703779":["hashtag1","hashtag2"]},{"1329703766":["hashtag1","hashtag2"]},{"1329703769":["hashtag1","hashtag2"]},{"1329703771":["hashtag1","hashtag2"]},{"1329703774":["hashtag1","hashtag2"]},{"1329703762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329703779, 1329703766, 1329703769, 1329703771, 1329703774, 1329703762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.349634408950806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:30:02.866714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/28/image_18012025_08_28_03_123580_0001.jpg', '/home/pi/Desktop/images/18012025/08/28/image_18012025_08_28_03_123580_0002.jpg', '/home/pi/Desktop/images/18012025/08/28/image_18012025_08_28_03_123580_0003.jpg', '/home/pi/Desktop/images/18012025/08/29/image_18012025_08_29_02_691647_0000.jpg', '/home/pi/Desktop/images/18012025/08/29/image_18012025_08_29_02_691647_0001.jpg', '/home/pi/Desktop/images/18012025/08/29/image_18012025_08_29_02_691647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/28/image_18012025_08_28_03_123580_0001.jpg
/home/pi/Desktop/images/18012025/08/28/image_18012025_08_28_03_123580_0002.jpg
/home/pi/Desktop/images/18012025/08/28/image_18012025_08_28_03_123580_0003.jpg
/home/pi/Desktop/images/18012025/08/29/image_18012025_08_29_02_691647_0000.jpg
/home/pi/Desktop/images/18012025/08/29/image_18012025_08_29_02_691647_0001.jpg
/home/pi/Desktop/images/18012025/08/29/image_18012025_08_29_02_691647_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329703929","1329703809","1329703892","1329703856","1329703925","1329703913"],"photo_ids_order":["1329703809","1329703856","1329703892","1329703913","1329703925","1329703929"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a4447f290fe72c7c84785449453f067.jpg","text":"TemporaryFile(/tmp/multipartBody5683504714108875904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185479455,"filename":"image_18012025_08_29_02_691647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cc24f41eabb1e3160935a1d28d6bf2eb.jpg","text":"TemporaryFile(/tmp/multipartBody6966486781539251812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185479455,"filename":"image_18012025_08_28_03_123580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ea8f7823f7cfb84ed3d022ee64c2e4a.jpg","text":"TemporaryFile(/tmp/multipartBody5485890547996058703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185479455,"filename":"image_18012025_08_28_03_123580_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9cb16620906f99403716ad444ae9ce5d.jpg","text":"TemporaryFile(/tmp/multipartBody5082204969669357103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185479455,"filename":"image_18012025_08_28_03_123580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac1787bab0de49545e5898db277c0e0c.jpg","text":"TemporaryFile(/tmp/multipartBody5676991932269556763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185479455,"filename":"image_18012025_08_29_02_691647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca5c30538ce136bcbd2c2a4fdc21e980.jpg","text":"TemporaryFile(/tmp/multipartBody5590467108170274407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185479455,"filename":"image_18012025_08_29_02_691647_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329703892","file1":"1329703856","file0":"1329703809","file4":"1329703925","file5":"1329703929","file3":"1329703913"},"map_files_photo_id_array":[{"photo_id":"1329703929","filename":"file5"},{"photo_id":"1329703892","filename":"file2"},{"photo_id":"1329703925","filename":"file4"},{"photo_id":"1329703856","filename":"file1"},{"photo_id":"1329703809","filename":"file0"},{"photo_id":"1329703913","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329703929":["hashtag1","hashtag2"]},{"1329703809":["hashtag1","hashtag2"]},{"1329703892":["hashtag1","hashtag2"]},{"1329703856":["hashtag1","hashtag2"]},{"1329703925":["hashtag1","hashtag2"]},{"1329703913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329703929, 1329703809, 1329703892, 1329703856, 1329703925, 1329703913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.61095070838928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:31:21.977995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/29/image_18012025_08_29_02_691647_0003.jpg', '/home/pi/Desktop/images/18012025/08/30/image_18012025_08_30_02_287482_0000.jpg', '/home/pi/Desktop/images/18012025/08/30/image_18012025_08_30_02_287482_0001.jpg', '/home/pi/Desktop/images/18012025/08/30/image_18012025_08_30_02_287482_0002.jpg', '/home/pi/Desktop/images/18012025/08/30/image_18012025_08_30_02_287482_0003.jpg', '/home/pi/Desktop/images/18012025/08/31/image_18012025_08_31_02_837644_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/29/image_18012025_08_29_02_691647_0003.jpg
/home/pi/Desktop/images/18012025/08/30/image_18012025_08_30_02_287482_0000.jpg
/home/pi/Desktop/images/18012025/08/30/image_18012025_08_30_02_287482_0001.jpg
/home/pi/Desktop/images/18012025/08/30/image_18012025_08_30_02_287482_0002.jpg
/home/pi/Desktop/images/18012025/08/30/image_18012025_08_30_02_287482_0003.jpg
/home/pi/Desktop/images/18012025/08/31/image_18012025_08_31_02_837644_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":["1329703953","1329703967","1329703949","1329703963","1329703957","1329703960"],"photo_ids_order":["1329703949","1329703953","1329703957","1329703960","1329703963","1329703967"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/948fd3aadfb57f6fcfd4e65909a25221.jpg","text":"TemporaryFile(/tmp/multipartBody4852388840814710092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185559050,"filename":"image_18012025_08_30_02_287482_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6eebb6c8cf78830e5036b88a7a393b6b.jpg","text":"TemporaryFile(/tmp/multipartBody2746602325647045733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185559050,"filename":"image_18012025_08_31_02_837644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/19f640ad7b2e015c4679da54ed78ff30.jpg","text":"TemporaryFile(/tmp/multipartBody5847563808448587089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185559050,"filename":"image_18012025_08_29_02_691647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/edbaaa079431a2ab2be2a98d3cd94c74.jpg","text":"TemporaryFile(/tmp/multipartBody2086245963501352009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185559050,"filename":"image_18012025_08_30_02_287482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/614ea655790173c89708700290e661f4.jpg","text":"TemporaryFile(/tmp/multipartBody1111386676558420753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185559050,"filename":"image_18012025_08_30_02_287482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be2a0f0161c53ef663359cfef01ae49d.jpg","text":"TemporaryFile(/tmp/multipartBody2763468971167756504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185559050,"filename":"image_18012025_08_30_02_287482_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329703957","file1":"1329703953","file0":"1329703949","file4":"1329703963","file5":"1329703967","file3":"1329703960"},"map_files_photo_id_array":[{"photo_id":"1329703967","filename":"file5"},{"photo_id":"1329703957","filename":"file2"},{"photo_id":"1329703963","filename":"file4"},{"photo_id":"1329703953","filename":"file1"},{"photo_id":"1329703949","filename":"file0"},{"photo_id":"1329703960","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329703953":["hashtag1","hashtag2"]},{"1329703967":["hashtag1","hashtag2"]},{"1329703949":["hashtag1","hashtag2"]},{"1329703963":["hashtag1","hashtag2"]},{"1329703957":["hashtag1","hashtag2"]},{"1329703960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329703953, 1329703967, 1329703949, 1329703963, 1329703957, 1329703960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.678834199905396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:33:02.745642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/31/image_18012025_08_31_02_837644_0001.jpg', '/home/pi/Desktop/images/18012025/08/31/image_18012025_08_31_02_837644_0002.jpg', '/home/pi/Desktop/images/18012025/08/31/image_18012025_08_31_02_837644_0003.jpg', '/home/pi/Desktop/images/18012025/08/32/image_18012025_08_32_02_395726_0000.jpg', '/home/pi/Desktop/images/18012025/08/32/image_18012025_08_32_02_395726_0001.jpg', '/home/pi/Desktop/images/18012025/08/32/image_18012025_08_32_02_395726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/31/image_18012025_08_31_02_837644_0001.jpg
/home/pi/Desktop/images/18012025/08/31/image_18012025_08_31_02_837644_0002.jpg
/home/pi/Desktop/images/18012025/08/31/image_18012025_08_31_02_837644_0003.jpg
/home/pi/Desktop/images/18012025/08/32/image_18012025_08_32_02_395726_0000.jpg
/home/pi/Desktop/images/18012025/08/32/image_18012025_08_32_02_395726_0001.jpg
/home/pi/Desktop/images/18012025/08/32/image_18012025_08_32_02_395726_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329703992","1329704019","1329704001","1329703996","1329704014","1329704008"],"photo_ids_order":["1329703992","1329703996","1329704001","1329704008","1329704014","1329704019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/201e6dcbda35ef0e3a1a5bc032df72c4.jpg","text":"TemporaryFile(/tmp/multipartBody1414975173801257959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185659666,"filename":"image_18012025_08_31_02_837644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5ec3440f5076b010b7a2b304697302cc.jpg","text":"TemporaryFile(/tmp/multipartBody2729614916640368887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185659666,"filename":"image_18012025_08_32_02_395726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d7048be363e39341fca0ec4f57d9472b.jpg","text":"TemporaryFile(/tmp/multipartBody3722613264293253513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185659666,"filename":"image_18012025_08_31_02_837644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f1457e4e5f46ac5e49efef4d64c080a6.jpg","text":"TemporaryFile(/tmp/multipartBody4573213164910783145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185659666,"filename":"image_18012025_08_31_02_837644_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8fa0ee9d33115ec086d0f5c318b222b.jpg","text":"TemporaryFile(/tmp/multipartBody7333610625441649708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185659666,"filename":"image_18012025_08_32_02_395726_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f7f8ce042f779c2d413e8ee3d086dce.jpg","text":"TemporaryFile(/tmp/multipartBody1534748327258047334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185659666,"filename":"image_18012025_08_32_02_395726_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329704001","file1":"1329703996","file0":"1329703992","file4":"1329704014","file5":"1329704019","file3":"1329704008"},"map_files_photo_id_array":[{"photo_id":"1329704019","filename":"file5"},{"photo_id":"1329704001","filename":"file2"},{"photo_id":"1329704014","filename":"file4"},{"photo_id":"1329703996","filename":"file1"},{"photo_id":"1329703992","filename":"file0"},{"photo_id":"1329704008","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329703992":["hashtag1","hashtag2"]},{"1329704019":["hashtag1","hashtag2"]},{"1329704001":["hashtag1","hashtag2"]},{"1329703996":["hashtag1","hashtag2"]},{"1329704014":["hashtag1","hashtag2"]},{"1329704008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329703992, 1329704019, 1329704001, 1329703996, 1329704014, 1329704008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.20427703857422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:34:03.046964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/32/image_18012025_08_32_02_395726_0003.jpg', '/home/pi/Desktop/images/18012025/08/33/image_18012025_08_33_02_920220_0000.jpg', '/home/pi/Desktop/images/18012025/08/33/image_18012025_08_33_02_920220_0001.jpg', '/home/pi/Desktop/images/18012025/08/33/image_18012025_08_33_02_920220_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/32/image_18012025_08_32_02_395726_0003.jpg
/home/pi/Desktop/images/18012025/08/33/image_18012025_08_33_02_920220_0000.jpg
/home/pi/Desktop/images/18012025/08/33/image_18012025_08_33_02_920220_0001.jpg
/home/pi/Desktop/images/18012025/08/33/image_18012025_08_33_02_920220_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329704061","1329704064","1329704045","1329704067"],"photo_ids_order":["1329704045","1329704061","1329704064","1329704067"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5ec65ec5c2b607c0c82f4f52661b153f.jpg","text":"TemporaryFile(/tmp/multipartBody6790809845514829966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185714672,"filename":"image_18012025_08_33_02_920220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e30399a458b07e2b651b91e85566fea4.jpg","text":"TemporaryFile(/tmp/multipartBody3990492090422376532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185714672,"filename":"image_18012025_08_33_02_920220_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7fe8392a9b24dad27f0f4b0e032f754.jpg","text":"TemporaryFile(/tmp/multipartBody7627136930408784193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185714672,"filename":"image_18012025_08_32_02_395726_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a6c08556d93df33f680ce2bcc288420.jpg","text":"TemporaryFile(/tmp/multipartBody2198175868346737773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185714672,"filename":"image_18012025_08_33_02_920220_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329704064","file1":"1329704061","file0":"1329704045","file3":"1329704067"},"map_files_photo_id_array":[{"photo_id":"1329704064","filename":"file2"},{"photo_id":"1329704061","filename":"file1"},{"photo_id":"1329704045","filename":"file0"},{"photo_id":"1329704067","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329704061":["hashtag1","hashtag2"]},{"1329704064":["hashtag1","hashtag2"]},{"1329704045":["hashtag1","hashtag2"]},{"1329704067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329704061, 1329704064, 1329704045, 1329704067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.44454026222229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:35:02.835164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/33/image_18012025_08_33_02_920220_0003.jpg', '/home/pi/Desktop/images/18012025/08/34/image_18012025_08_34_02_403400_0000.jpg', '/home/pi/Desktop/images/18012025/08/34/image_18012025_08_34_02_403400_0001.jpg', '/home/pi/Desktop/images/18012025/08/34/image_18012025_08_34_02_403400_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/33/image_18012025_08_33_02_920220_0003.jpg
/home/pi/Desktop/images/18012025/08/34/image_18012025_08_34_02_403400_0000.jpg
/home/pi/Desktop/images/18012025/08/34/image_18012025_08_34_02_403400_0001.jpg
/home/pi/Desktop/images/18012025/08/34/image_18012025_08_34_02_403400_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329704181","1329704111","1329704105","1329704158"],"photo_ids_order":["1329704105","1329704111","1329704158","1329704181"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b5bace78c92ea1bc34d829496d19443f.jpg","text":"TemporaryFile(/tmp/multipartBody8563803045845802334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185774074,"filename":"image_18012025_08_34_02_403400_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f3a9002179414604fd2682d447cf7afb.jpg","text":"TemporaryFile(/tmp/multipartBody2166916221070003810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185774074,"filename":"image_18012025_08_34_02_403400_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/69217332aeda224898708b3818de7b6c.jpg","text":"TemporaryFile(/tmp/multipartBody482900270640343023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185774074,"filename":"image_18012025_08_33_02_920220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6817ccf32b69cbd899f8ef69bce8aae7.jpg","text":"TemporaryFile(/tmp/multipartBody5348603554612007375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185774074,"filename":"image_18012025_08_34_02_403400_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329704158","file1":"1329704111","file0":"1329704105","file3":"1329704181"},"map_files_photo_id_array":[{"photo_id":"1329704158","filename":"file2"},{"photo_id":"1329704111","filename":"file1"},{"photo_id":"1329704105","filename":"file0"},{"photo_id":"1329704181","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329704181":["hashtag1","hashtag2"]},{"1329704111":["hashtag1","hashtag2"]},{"1329704105":["hashtag1","hashtag2"]},{"1329704158":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329704181, 1329704111, 1329704105, 1329704158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83199691772461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:36:02.321097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/34/image_18012025_08_34_02_403400_0003.jpg', '/home/pi/Desktop/images/18012025/08/35/image_18012025_08_35_03_093342_0000.jpg', '/home/pi/Desktop/images/18012025/08/35/image_18012025_08_35_03_093342_0001.jpg', '/home/pi/Desktop/images/18012025/08/35/image_18012025_08_35_03_093342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/34/image_18012025_08_34_02_403400_0003.jpg
/home/pi/Desktop/images/18012025/08/35/image_18012025_08_35_03_093342_0000.jpg
/home/pi/Desktop/images/18012025/08/35/image_18012025_08_35_03_093342_0001.jpg
/home/pi/Desktop/images/18012025/08/35/image_18012025_08_35_03_093342_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329704268","1329704270","1329704273","1329704275"],"photo_ids_order":["1329704268","1329704270","1329704273","1329704275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49db9bff7398f1b4136cfd056e26fecf.jpg","text":"TemporaryFile(/tmp/multipartBody844106657976246543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185833886,"filename":"image_18012025_08_34_02_403400_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ae5756a578cfb02dec83ea98242294d.jpg","text":"TemporaryFile(/tmp/multipartBody7007320858695197015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185833886,"filename":"image_18012025_08_35_03_093342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c55123e51b5f08eade351d490a12890.jpg","text":"TemporaryFile(/tmp/multipartBody8554431193660207956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185833886,"filename":"image_18012025_08_35_03_093342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f43031d8916df6b6776b4ccf64748be.jpg","text":"TemporaryFile(/tmp/multipartBody1769462349723332567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185833886,"filename":"image_18012025_08_35_03_093342_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329704273","file1":"1329704270","file0":"1329704268","file3":"1329704275"},"map_files_photo_id_array":[{"photo_id":"1329704273","filename":"file2"},{"photo_id":"1329704270","filename":"file1"},{"photo_id":"1329704268","filename":"file0"},{"photo_id":"1329704275","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329704268":["hashtag1","hashtag2"]},{"1329704270":["hashtag1","hashtag2"]},{"1329704273":["hashtag1","hashtag2"]},{"1329704275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329704268, 1329704270, 1329704273, 1329704275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.203014850616455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:37:03.103293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/35/image_18012025_08_35_03_093342_0003.jpg', '/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0000.jpg', '/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0001.jpg', '/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/35/image_18012025_08_35_03_093342_0003.jpg
/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0000.jpg
/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0001.jpg
/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.175215244293213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:37:22.461230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/35/image_18012025_08_35_03_093342_0003.jpg', '/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0000.jpg', '/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0001.jpg', '/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0002.jpg', '/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0003.jpg', '/home/pi/Desktop/images/18012025/08/37/image_18012025_08_37_02_303116_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/35/image_18012025_08_35_03_093342_0003.jpg
/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0000.jpg
/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0001.jpg
/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0002.jpg
/home/pi/Desktop/images/18012025/08/36/image_18012025_08_36_02_648268_0003.jpg
/home/pi/Desktop/images/18012025/08/37/image_18012025_08_37_02_303116_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":["1329704373","1329704371","1329704365","1329704380","1329704368","1329704376"],"photo_ids_order":["1329704365","1329704368","1329704371","1329704373","1329704376","1329704380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f4f3aa490b88bb2df15a823f3ee52d23.jpg","text":"TemporaryFile(/tmp/multipartBody5845723925325666655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185919375,"filename":"image_18012025_08_36_02_648268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c371589bf6511a48c40a594249314b0d.jpg","text":"TemporaryFile(/tmp/multipartBody1095306804290327699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185919375,"filename":"image_18012025_08_36_02_648268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9dc6f9cf0f6f4b0e47ade65bbfa1bd62.jpg","text":"TemporaryFile(/tmp/multipartBody579197811059400340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185919375,"filename":"image_18012025_08_35_03_093342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b7ed28b61637621cdf9acbda4864add.jpg","text":"TemporaryFile(/tmp/multipartBody6696566077205407248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185919375,"filename":"image_18012025_08_37_02_303116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e2ed0cdcd19a15f29b7043e2cc776913.jpg","text":"TemporaryFile(/tmp/multipartBody6593427065954543145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185919375,"filename":"image_18012025_08_36_02_648268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/edd6bd54a4d11772fe9dd46f51465a83.jpg","text":"TemporaryFile(/tmp/multipartBody4927783165682752996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737185919375,"filename":"image_18012025_08_36_02_648268_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329704371","file1":"1329704368","file0":"1329704365","file4":"1329704376","file5":"1329704380","file3":"1329704373"},"map_files_photo_id_array":[{"photo_id":"1329704380","filename":"file5"},{"photo_id":"1329704371","filename":"file2"},{"photo_id":"1329704376","filename":"file4"},{"photo_id":"1329704368","filename":"file1"},{"photo_id":"1329704365","filename":"file0"},{"photo_id":"1329704373","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329704373":["hashtag1","hashtag2"]},{"1329704371":["hashtag1","hashtag2"]},{"1329704365":["hashtag1","hashtag2"]},{"1329704380":["hashtag1","hashtag2"]},{"1329704368":["hashtag1","hashtag2"]},{"1329704376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329704373, 1329704371, 1329704365, 1329704380, 1329704368, 1329704376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.540865659713745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:39:03.332774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/37/image_18012025_08_37_02_303116_0001.jpg', '/home/pi/Desktop/images/18012025/08/37/image_18012025_08_37_02_303116_0002.jpg', '/home/pi/Desktop/images/18012025/08/37/image_18012025_08_37_02_303116_0003.jpg', '/home/pi/Desktop/images/18012025/08/38/image_18012025_08_38_02_874528_0000.jpg', '/home/pi/Desktop/images/18012025/08/38/image_18012025_08_38_02_874528_0001.jpg', '/home/pi/Desktop/images/18012025/08/38/image_18012025_08_38_02_874528_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/37/image_18012025_08_37_02_303116_0001.jpg
/home/pi/Desktop/images/18012025/08/37/image_18012025_08_37_02_303116_0002.jpg
/home/pi/Desktop/images/18012025/08/37/image_18012025_08_37_02_303116_0003.jpg
/home/pi/Desktop/images/18012025/08/38/image_18012025_08_38_02_874528_0000.jpg
/home/pi/Desktop/images/18012025/08/38/image_18012025_08_38_02_874528_0001.jpg
/home/pi/Desktop/images/18012025/08/38/image_18012025_08_38_02_874528_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329705609","1329705793","1329705787","1329705775","1329705798","1329705780"],"photo_ids_order":["1329705609","1329705775","1329705780","1329705787","1329705793","1329705798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/706823b88d473fe6138282f9d3d4c16c.jpg","text":"TemporaryFile(/tmp/multipartBody6157754205362193893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186020904,"filename":"image_18012025_08_37_02_303116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/702b5aba21cbeafa9da9a6d266acf824.jpg","text":"TemporaryFile(/tmp/multipartBody3072976107754728635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186020904,"filename":"image_18012025_08_38_02_874528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/52a0e4559fd998560bfc44265f09acaa.jpg","text":"TemporaryFile(/tmp/multipartBody310390318809050207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186020904,"filename":"image_18012025_08_38_02_874528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d6ee84ef5344896e4e8c678837a2d01.jpg","text":"TemporaryFile(/tmp/multipartBody1894931064595209342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186020904,"filename":"image_18012025_08_37_02_303116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5dabbf33b30bc4707e488ca29672141f.jpg","text":"TemporaryFile(/tmp/multipartBody1572743092925112126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186020904,"filename":"image_18012025_08_38_02_874528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b87e71cdaefc222a857ed6c5dafdf41.jpg","text":"TemporaryFile(/tmp/multipartBody403664467641011074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186020904,"filename":"image_18012025_08_37_02_303116_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329705780","file1":"1329705775","file0":"1329705609","file4":"1329705793","file5":"1329705798","file3":"1329705787"},"map_files_photo_id_array":[{"photo_id":"1329705798","filename":"file5"},{"photo_id":"1329705780","filename":"file2"},{"photo_id":"1329705793","filename":"file4"},{"photo_id":"1329705775","filename":"file1"},{"photo_id":"1329705609","filename":"file0"},{"photo_id":"1329705787","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329705609":["hashtag1","hashtag2"]},{"1329705793":["hashtag1","hashtag2"]},{"1329705787":["hashtag1","hashtag2"]},{"1329705775":["hashtag1","hashtag2"]},{"1329705798":["hashtag1","hashtag2"]},{"1329705780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329705609, 1329705793, 1329705787, 1329705775, 1329705798, 1329705780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.72460317611694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:40:22.261210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/38/image_18012025_08_38_02_874528_0003.jpg', '/home/pi/Desktop/images/18012025/08/39/image_18012025_08_39_02_494951_0000.jpg', '/home/pi/Desktop/images/18012025/08/39/image_18012025_08_39_02_494951_0001.jpg', '/home/pi/Desktop/images/18012025/08/39/image_18012025_08_39_02_494951_0002.jpg', '/home/pi/Desktop/images/18012025/08/39/image_18012025_08_39_02_494951_0003.jpg', '/home/pi/Desktop/images/18012025/08/40/image_18012025_08_40_03_035146_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/38/image_18012025_08_38_02_874528_0003.jpg
/home/pi/Desktop/images/18012025/08/39/image_18012025_08_39_02_494951_0000.jpg
/home/pi/Desktop/images/18012025/08/39/image_18012025_08_39_02_494951_0001.jpg
/home/pi/Desktop/images/18012025/08/39/image_18012025_08_39_02_494951_0002.jpg
/home/pi/Desktop/images/18012025/08/39/image_18012025_08_39_02_494951_0003.jpg
/home/pi/Desktop/images/18012025/08/40/image_18012025_08_40_03_035146_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329706301","1329706130","1329706127","1329706185","1329706289","1329706091"],"photo_ids_order":["1329706091","1329706127","1329706130","1329706185","1329706289","1329706301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e0abab1527dd570be20d46526383b76.jpg","text":"TemporaryFile(/tmp/multipartBody6364332209132741236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186099234,"filename":"image_18012025_08_40_03_035146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a25301d7aa71a8c8bebaee017f4359c.jpg","text":"TemporaryFile(/tmp/multipartBody7737332700626099649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186099234,"filename":"image_18012025_08_39_02_494951_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/370478442fa95190fc9670c433cd32e0.jpg","text":"TemporaryFile(/tmp/multipartBody1748114666254706558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186099234,"filename":"image_18012025_08_39_02_494951_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/90f210c2ec855ebcdaa3e34c02e15ccb.jpg","text":"TemporaryFile(/tmp/multipartBody525863043685500602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186099234,"filename":"image_18012025_08_39_02_494951_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/014fa29d00a37202fe75e5bb34627073.jpg","text":"TemporaryFile(/tmp/multipartBody5725452259622349875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186099234,"filename":"image_18012025_08_39_02_494951_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5935ff0735fcac5f5eef2df79d1e552.jpg","text":"TemporaryFile(/tmp/multipartBody8348101333635569896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186099234,"filename":"image_18012025_08_38_02_874528_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329706130","file1":"1329706127","file0":"1329706091","file4":"1329706289","file5":"1329706301","file3":"1329706185"},"map_files_photo_id_array":[{"photo_id":"1329706301","filename":"file5"},{"photo_id":"1329706130","filename":"file2"},{"photo_id":"1329706289","filename":"file4"},{"photo_id":"1329706127","filename":"file1"},{"photo_id":"1329706091","filename":"file0"},{"photo_id":"1329706185","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329706301":["hashtag1","hashtag2"]},{"1329706130":["hashtag1","hashtag2"]},{"1329706127":["hashtag1","hashtag2"]},{"1329706185":["hashtag1","hashtag2"]},{"1329706289":["hashtag1","hashtag2"]},{"1329706091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329706301, 1329706130, 1329706127, 1329706185, 1329706289, 1329706091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.906099796295166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:41:22.769948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/40/image_18012025_08_40_03_035146_0001.jpg', '/home/pi/Desktop/images/18012025/08/40/image_18012025_08_40_03_035146_0002.jpg', '/home/pi/Desktop/images/18012025/08/40/image_18012025_08_40_03_035146_0003.jpg', '/home/pi/Desktop/images/18012025/08/41/image_18012025_08_41_02_590628_0000.jpg', '/home/pi/Desktop/images/18012025/08/41/image_18012025_08_41_02_590628_0001.jpg', '/home/pi/Desktop/images/18012025/08/41/image_18012025_08_41_02_590628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/40/image_18012025_08_40_03_035146_0001.jpg
/home/pi/Desktop/images/18012025/08/40/image_18012025_08_40_03_035146_0002.jpg
/home/pi/Desktop/images/18012025/08/40/image_18012025_08_40_03_035146_0003.jpg
/home/pi/Desktop/images/18012025/08/41/image_18012025_08_41_02_590628_0000.jpg
/home/pi/Desktop/images/18012025/08/41/image_18012025_08_41_02_590628_0001.jpg
/home/pi/Desktop/images/18012025/08/41/image_18012025_08_41_02_590628_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329706466","1329706454","1329706448","1329706462","1329706458","1329706460"],"photo_ids_order":["1329706448","1329706454","1329706458","1329706460","1329706462","1329706466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f61447c86c4edc52d6f201a095a6bd8.jpg","text":"TemporaryFile(/tmp/multipartBody3384210369483540593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186160443,"filename":"image_18012025_08_41_02_590628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad4de0a1cf146da90057574e3fc7623d.jpg","text":"TemporaryFile(/tmp/multipartBody7469642959371915380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186160443,"filename":"image_18012025_08_40_03_035146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/99b4b60e9a7bd33709ff416291b3167a.jpg","text":"TemporaryFile(/tmp/multipartBody3413563006741384251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186160443,"filename":"image_18012025_08_40_03_035146_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a998d802703cf5e371831771dffe447.jpg","text":"TemporaryFile(/tmp/multipartBody6807279358446580301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186160443,"filename":"image_18012025_08_41_02_590628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1df3b62b086905c05c0eca36433fb55a.jpg","text":"TemporaryFile(/tmp/multipartBody4294349082779703432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186160443,"filename":"image_18012025_08_40_03_035146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8037f09a6ebb01686d826a3cd1ed67a5.jpg","text":"TemporaryFile(/tmp/multipartBody6083620539631003720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186160443,"filename":"image_18012025_08_41_02_590628_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329706458","file1":"1329706454","file0":"1329706448","file4":"1329706462","file5":"1329706466","file3":"1329706460"},"map_files_photo_id_array":[{"photo_id":"1329706466","filename":"file5"},{"photo_id":"1329706458","filename":"file2"},{"photo_id":"1329706462","filename":"file4"},{"photo_id":"1329706454","filename":"file1"},{"photo_id":"1329706448","filename":"file0"},{"photo_id":"1329706460","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329706466":["hashtag1","hashtag2"]},{"1329706454":["hashtag1","hashtag2"]},{"1329706448":["hashtag1","hashtag2"]},{"1329706462":["hashtag1","hashtag2"]},{"1329706458":["hashtag1","hashtag2"]},{"1329706460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329706466, 1329706454, 1329706448, 1329706462, 1329706458, 1329706460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.09650468826294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:43:03.313372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/41/image_18012025_08_41_02_590628_0003.jpg', '/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0000.jpg', '/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0001.jpg', '/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/41/image_18012025_08_41_02_590628_0003.jpg
/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0000.jpg
/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0001.jpg
/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.09650182723999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:43:22.802428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/41/image_18012025_08_41_02_590628_0003.jpg', '/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0000.jpg', '/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0001.jpg', '/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0002.jpg', '/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0003.jpg', '/home/pi/Desktop/images/18012025/08/43/image_18012025_08_43_02_622312_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/41/image_18012025_08_41_02_590628_0003.jpg
/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0000.jpg
/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0001.jpg
/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0002.jpg
/home/pi/Desktop/images/18012025/08/42/image_18012025_08_42_03_143130_0003.jpg
/home/pi/Desktop/images/18012025/08/43/image_18012025_08_43_02_622312_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329706742","1329706745","1329706750","1329706747","1329706738","1329706754"],"photo_ids_order":["1329706738","1329706742","1329706745","1329706747","1329706750","1329706754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4285120cf7255cd15a08488e1a736e5.jpg","text":"TemporaryFile(/tmp/multipartBody5851239724362851939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186279552,"filename":"image_18012025_08_42_03_143130_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/57d1a2984de9bbc501f1aaea41b5b96a.jpg","text":"TemporaryFile(/tmp/multipartBody7606012660246437592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186279552,"filename":"image_18012025_08_42_03_143130_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b70f6eebf985cbdd3fd3ea139b1ffde.jpg","text":"TemporaryFile(/tmp/multipartBody7230786936449011741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186279552,"filename":"image_18012025_08_42_03_143130_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a7a0999c3bae0c7308f0e53149bec223.jpg","text":"TemporaryFile(/tmp/multipartBody8928370947102119454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186279552,"filename":"image_18012025_08_42_03_143130_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e08dab0b641432c384e6238b232ae45.jpg","text":"TemporaryFile(/tmp/multipartBody1466778874581449087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186279552,"filename":"image_18012025_08_41_02_590628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0804f8ed70499c94a839f43583a20950.jpg","text":"TemporaryFile(/tmp/multipartBody881980858424198511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186279552,"filename":"image_18012025_08_43_02_622312_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329706745","file1":"1329706742","file0":"1329706738","file4":"1329706750","file5":"1329706754","file3":"1329706747"},"map_files_photo_id_array":[{"photo_id":"1329706754","filename":"file5"},{"photo_id":"1329706745","filename":"file2"},{"photo_id":"1329706750","filename":"file4"},{"photo_id":"1329706742","filename":"file1"},{"photo_id":"1329706738","filename":"file0"},{"photo_id":"1329706747","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329706742":["hashtag1","hashtag2"]},{"1329706745":["hashtag1","hashtag2"]},{"1329706750":["hashtag1","hashtag2"]},{"1329706747":["hashtag1","hashtag2"]},{"1329706738":["hashtag1","hashtag2"]},{"1329706754":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329706742, 1329706745, 1329706750, 1329706747, 1329706738, 1329706754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.261635541915894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 08:44:22.365078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/43/image_18012025_08_43_02_622312_0001.jpg', '/home/pi/Desktop/images/18012025/08/43/image_18012025_08_43_02_622312_0002.jpg', '/home/pi/Desktop/images/18012025/08/43/image_18012025_08_43_02_622312_0003.jpg', '/home/pi/Desktop/images/18012025/08/44/image_18012025_08_44_03_118240_0000.jpg', '/home/pi/Desktop/images/18012025/08/44/image_18012025_08_44_03_118240_0001.jpg', '/home/pi/Desktop/images/18012025/08/44/image_18012025_08_44_03_118240_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/43/image_18012025_08_43_02_622312_0001.jpg
/home/pi/Desktop/images/18012025/08/43/image_18012025_08_43_02_622312_0002.jpg
/home/pi/Desktop/images/18012025/08/43/image_18012025_08_43_02_622312_0003.jpg
/home/pi/Desktop/images/18012025/08/44/image_18012025_08_44_03_118240_0000.jpg
/home/pi/Desktop/images/18012025/08/44/image_18012025_08_44_03_118240_0001.jpg
/home/pi/Desktop/images/18012025/08/44/image_18012025_08_44_03_118240_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329706777","1329706791","1329706794","1329706785","1329706787","1329706781"],"photo_ids_order":["1329706777","1329706781","1329706785","1329706787","1329706791","1329706794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc9bff8ea832968ea98bbd25260f34c2.jpg","text":"TemporaryFile(/tmp/multipartBody1377917422539654984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186339627,"filename":"image_18012025_08_43_02_622312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a90c428ccb31a87a080c344632ea6b3.jpg","text":"TemporaryFile(/tmp/multipartBody4177735648210882700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186339627,"filename":"image_18012025_08_44_03_118240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3a528d1ab9e408c7cf3f9555d0009aca.jpg","text":"TemporaryFile(/tmp/multipartBody7830637381831823347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186339627,"filename":"image_18012025_08_44_03_118240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6665e72a410bb11497c483f3af389c5.jpg","text":"TemporaryFile(/tmp/multipartBody2519769558402141020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186339627,"filename":"image_18012025_08_43_02_622312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a1f668c38b2baea34621c7a5a9ae1344.jpg","text":"TemporaryFile(/tmp/multipartBody2738281243872975751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186339627,"filename":"image_18012025_08_44_03_118240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c0e52e5ca8459465f6d6b07bdc8a111.jpg","text":"TemporaryFile(/tmp/multipartBody8968208681235713618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186339627,"filename":"image_18012025_08_43_02_622312_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329706785","file1":"1329706781","file0":"1329706777","file4":"1329706791","file5":"1329706794","file3":"1329706787"},"map_files_photo_id_array":[{"photo_id":"1329706794","filename":"file5"},{"photo_id":"1329706785","filename":"file2"},{"photo_id":"1329706791","filename":"file4"},{"photo_id":"1329706781","filename":"file1"},{"photo_id":"1329706777","filename":"file0"},{"photo_id":"1329706787","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329706777":["hashtag1","hashtag2"]},{"1329706791":["hashtag1","hashtag2"]},{"1329706794":["hashtag1","hashtag2"]},{"1329706785":["hashtag1","hashtag2"]},{"1329706787":["hashtag1","hashtag2"]},{"1329706781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329706777, 1329706791, 1329706794, 1329706785, 1329706787, 1329706781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.475693702697754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:46:02.875943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/44/image_18012025_08_44_03_118240_0003.jpg', '/home/pi/Desktop/images/18012025/08/45/image_18012025_08_45_02_696580_0000.jpg', '/home/pi/Desktop/images/18012025/08/45/image_18012025_08_45_02_696580_0001.jpg', '/home/pi/Desktop/images/18012025/08/45/image_18012025_08_45_02_696580_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/44/image_18012025_08_44_03_118240_0003.jpg
/home/pi/Desktop/images/18012025/08/45/image_18012025_08_45_02_696580_0000.jpg
/home/pi/Desktop/images/18012025/08/45/image_18012025_08_45_02_696580_0001.jpg
/home/pi/Desktop/images/18012025/08/45/image_18012025_08_45_02_696580_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329706948","1329707144","1329707141","1329707000"],"photo_ids_order":["1329706948","1329707000","1329707141","1329707144"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c08bc099690c105df6000e96433a4cb3.jpg","text":"TemporaryFile(/tmp/multipartBody8896708635505306460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186434452,"filename":"image_18012025_08_44_03_118240_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08cbf985c82951c8c9126ad96d35385b.jpg","text":"TemporaryFile(/tmp/multipartBody5303496063406520387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186434452,"filename":"image_18012025_08_45_02_696580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/730b6802a0fec3b0ffe8aac1916b429f.jpg","text":"TemporaryFile(/tmp/multipartBody9109281098099371347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186434452,"filename":"image_18012025_08_45_02_696580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2cd0218e5da598e3cb2230b1ca3d550c.jpg","text":"TemporaryFile(/tmp/multipartBody411614352994731586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186434452,"filename":"image_18012025_08_45_02_696580_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329707141","file1":"1329707000","file0":"1329706948","file3":"1329707144"},"map_files_photo_id_array":[{"photo_id":"1329707141","filename":"file2"},{"photo_id":"1329707000","filename":"file1"},{"photo_id":"1329706948","filename":"file0"},{"photo_id":"1329707144","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329706948":["hashtag1","hashtag2"]},{"1329707144":["hashtag1","hashtag2"]},{"1329707141":["hashtag1","hashtag2"]},{"1329707000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329706948, 1329707144, 1329707141, 1329707000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.73019313812256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:47:02.578607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/45/image_18012025_08_45_02_696580_0003.jpg', '/home/pi/Desktop/images/18012025/08/46/image_18012025_08_46_02_302277_0000.jpg', '/home/pi/Desktop/images/18012025/08/46/image_18012025_08_46_02_302277_0001.jpg', '/home/pi/Desktop/images/18012025/08/46/image_18012025_08_46_02_302277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/45/image_18012025_08_45_02_696580_0003.jpg
/home/pi/Desktop/images/18012025/08/46/image_18012025_08_46_02_302277_0000.jpg
/home/pi/Desktop/images/18012025/08/46/image_18012025_08_46_02_302277_0001.jpg
/home/pi/Desktop/images/18012025/08/46/image_18012025_08_46_02_302277_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329707315","1329707320","1329707317","1329707314"],"photo_ids_order":["1329707314","1329707315","1329707317","1329707320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c1d38e776350c52358150c46cb25548.jpg","text":"TemporaryFile(/tmp/multipartBody8247688666898514013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186494014,"filename":"image_18012025_08_46_02_302277_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2bbf5ff70e26b0769eed18dbe65dd9a2.jpg","text":"TemporaryFile(/tmp/multipartBody5379513480064255138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186494014,"filename":"image_18012025_08_46_02_302277_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f3a6c8072a9496272806047e1f9e4d7.jpg","text":"TemporaryFile(/tmp/multipartBody4854598038663465434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186494014,"filename":"image_18012025_08_46_02_302277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d5f7dd6750145b685e94de6663750012.jpg","text":"TemporaryFile(/tmp/multipartBody3527282876294961919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186494014,"filename":"image_18012025_08_45_02_696580_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329707317","file1":"1329707315","file0":"1329707314","file3":"1329707320"},"map_files_photo_id_array":[{"photo_id":"1329707317","filename":"file2"},{"photo_id":"1329707315","filename":"file1"},{"photo_id":"1329707314","filename":"file0"},{"photo_id":"1329707320","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329707315":["hashtag1","hashtag2"]},{"1329707320":["hashtag1","hashtag2"]},{"1329707317":["hashtag1","hashtag2"]},{"1329707314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329707315, 1329707320, 1329707317, 1329707314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.79992461204529 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:48:03.056527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/46/image_18012025_08_46_02_302277_0003.jpg', '/home/pi/Desktop/images/18012025/08/47/image_18012025_08_47_02_911630_0000.jpg', '/home/pi/Desktop/images/18012025/08/47/image_18012025_08_47_02_911630_0001.jpg', '/home/pi/Desktop/images/18012025/08/47/image_18012025_08_47_02_911630_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/46/image_18012025_08_46_02_302277_0003.jpg
/home/pi/Desktop/images/18012025/08/47/image_18012025_08_47_02_911630_0000.jpg
/home/pi/Desktop/images/18012025/08/47/image_18012025_08_47_02_911630_0001.jpg
/home/pi/Desktop/images/18012025/08/47/image_18012025_08_47_02_911630_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329707368","1329707360","1329707363","1329707366"],"photo_ids_order":["1329707360","1329707363","1329707366","1329707368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bbddbaedf2fbb4e9451f3d6153da573e.jpg","text":"TemporaryFile(/tmp/multipartBody4888698137664651947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186554254,"filename":"image_18012025_08_47_02_911630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/755901e5da8f2823acf0d8d2245f6b39.jpg","text":"TemporaryFile(/tmp/multipartBody6854207024440351248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186554254,"filename":"image_18012025_08_46_02_302277_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aef2c3da1f08cfd14e56ac03fafdbfb3.jpg","text":"TemporaryFile(/tmp/multipartBody525252763922862103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186554254,"filename":"image_18012025_08_47_02_911630_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b9c3e51130d257f031eda1813ec0f70.jpg","text":"TemporaryFile(/tmp/multipartBody4534528128137427066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186554254,"filename":"image_18012025_08_47_02_911630_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329707366","file1":"1329707363","file0":"1329707360","file3":"1329707368"},"map_files_photo_id_array":[{"photo_id":"1329707366","filename":"file2"},{"photo_id":"1329707363","filename":"file1"},{"photo_id":"1329707360","filename":"file0"},{"photo_id":"1329707368","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329707368":["hashtag1","hashtag2"]},{"1329707360":["hashtag1","hashtag2"]},{"1329707363":["hashtag1","hashtag2"]},{"1329707366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329707368, 1329707360, 1329707363, 1329707366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.932862520217896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:49:03.024359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/47/image_18012025_08_47_02_911630_0003.jpg', '/home/pi/Desktop/images/18012025/08/48/image_18012025_08_48_02_500660_0000.jpg', '/home/pi/Desktop/images/18012025/08/48/image_18012025_08_48_02_500660_0001.jpg', '/home/pi/Desktop/images/18012025/08/48/image_18012025_08_48_02_500660_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/47/image_18012025_08_47_02_911630_0003.jpg
/home/pi/Desktop/images/18012025/08/48/image_18012025_08_48_02_500660_0000.jpg
/home/pi/Desktop/images/18012025/08/48/image_18012025_08_48_02_500660_0001.jpg
/home/pi/Desktop/images/18012025/08/48/image_18012025_08_48_02_500660_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329707482","1329707478","1329707480","1329707477"],"photo_ids_order":["1329707477","1329707478","1329707480","1329707482"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4bd8ad1bbd3e8d526d22531bbd23e16b.jpg","text":"TemporaryFile(/tmp/multipartBody2646568216817706036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186613996,"filename":"image_18012025_08_48_02_500660_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ba3a5e6e371a2824d2b1167e328582c.jpg","text":"TemporaryFile(/tmp/multipartBody1040431567514368308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186613996,"filename":"image_18012025_08_48_02_500660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c7a3ebbc2c63ea2b8c11d02a888d34c8.jpg","text":"TemporaryFile(/tmp/multipartBody6692113310011629024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186613996,"filename":"image_18012025_08_48_02_500660_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/add3d1f9007fe94900df12b46124eaf6.jpg","text":"TemporaryFile(/tmp/multipartBody4177706682956564692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186613996,"filename":"image_18012025_08_47_02_911630_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329707480","file1":"1329707478","file0":"1329707477","file3":"1329707482"},"map_files_photo_id_array":[{"photo_id":"1329707480","filename":"file2"},{"photo_id":"1329707478","filename":"file1"},{"photo_id":"1329707477","filename":"file0"},{"photo_id":"1329707482","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329707482":["hashtag1","hashtag2"]},{"1329707478":["hashtag1","hashtag2"]},{"1329707480":["hashtag1","hashtag2"]},{"1329707477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329707482, 1329707478, 1329707480, 1329707477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.14865040779114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:50:02.297418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/48/image_18012025_08_48_02_500660_0003.jpg', '/home/pi/Desktop/images/18012025/08/49/image_18012025_08_49_03_129519_0000.jpg', '/home/pi/Desktop/images/18012025/08/49/image_18012025_08_49_03_129519_0001.jpg', '/home/pi/Desktop/images/18012025/08/49/image_18012025_08_49_03_129519_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/48/image_18012025_08_48_02_500660_0003.jpg
/home/pi/Desktop/images/18012025/08/49/image_18012025_08_49_03_129519_0000.jpg
/home/pi/Desktop/images/18012025/08/49/image_18012025_08_49_03_129519_0001.jpg
/home/pi/Desktop/images/18012025/08/49/image_18012025_08_49_03_129519_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329707584","1329707563","1329707521","1329707593"],"photo_ids_order":["1329707521","1329707563","1329707584","1329707593"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b2575641c2ae68767ceaa063c8043a8c.jpg","text":"TemporaryFile(/tmp/multipartBody5983407923878211338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186673820,"filename":"image_18012025_08_49_03_129519_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/547524270fbfa829780d8bce6d3b469a.jpg","text":"TemporaryFile(/tmp/multipartBody4281348978180474411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186673820,"filename":"image_18012025_08_49_03_129519_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b92e5d4ee0e6f93938cd1aeb2ed790b.jpg","text":"TemporaryFile(/tmp/multipartBody2421031701269155982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186673820,"filename":"image_18012025_08_48_02_500660_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f07909df55c12d8d6bf184a285950cae.jpg","text":"TemporaryFile(/tmp/multipartBody7590555026322743304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186673820,"filename":"image_18012025_08_49_03_129519_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329707584","file1":"1329707563","file0":"1329707521","file3":"1329707593"},"map_files_photo_id_array":[{"photo_id":"1329707584","filename":"file2"},{"photo_id":"1329707563","filename":"file1"},{"photo_id":"1329707521","filename":"file0"},{"photo_id":"1329707593","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329707584":["hashtag1","hashtag2"]},{"1329707563":["hashtag1","hashtag2"]},{"1329707521":["hashtag1","hashtag2"]},{"1329707593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329707584, 1329707563, 1329707521, 1329707593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43614745140076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:51:03.027936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/49/image_18012025_08_49_03_129519_0003.jpg', '/home/pi/Desktop/images/18012025/08/50/image_18012025_08_50_02_657876_0000.jpg', '/home/pi/Desktop/images/18012025/08/50/image_18012025_08_50_02_657876_0001.jpg', '/home/pi/Desktop/images/18012025/08/50/image_18012025_08_50_02_657876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/49/image_18012025_08_49_03_129519_0003.jpg
/home/pi/Desktop/images/18012025/08/50/image_18012025_08_50_02_657876_0000.jpg
/home/pi/Desktop/images/18012025/08/50/image_18012025_08_50_02_657876_0001.jpg
/home/pi/Desktop/images/18012025/08/50/image_18012025_08_50_02_657876_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329707770","1329707641","1329707684","1329707774"],"photo_ids_order":["1329707641","1329707684","1329707770","1329707774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74c3cf8deb34df1071b8df23a7fc9691.jpg","text":"TemporaryFile(/tmp/multipartBody685386142539464244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186734360,"filename":"image_18012025_08_50_02_657876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a70b3fb861a6a6f2ca8c6b54e136341.jpg","text":"TemporaryFile(/tmp/multipartBody1843237998841343434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186734360,"filename":"image_18012025_08_49_03_129519_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8259bb4b0306263033d77daa267843b.jpg","text":"TemporaryFile(/tmp/multipartBody8395995555469943337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186734360,"filename":"image_18012025_08_50_02_657876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea6e8a9ad84b10d592a59a46bde31fc8.jpg","text":"TemporaryFile(/tmp/multipartBody982703783530053869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186734360,"filename":"image_18012025_08_50_02_657876_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329707770","file1":"1329707684","file0":"1329707641","file3":"1329707774"},"map_files_photo_id_array":[{"photo_id":"1329707770","filename":"file2"},{"photo_id":"1329707684","filename":"file1"},{"photo_id":"1329707641","filename":"file0"},{"photo_id":"1329707774","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329707770":["hashtag1","hashtag2"]},{"1329707641":["hashtag1","hashtag2"]},{"1329707684":["hashtag1","hashtag2"]},{"1329707774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329707770, 1329707641, 1329707684, 1329707774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.537336349487305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:52:02.645962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/50/image_18012025_08_50_02_657876_0003.jpg', '/home/pi/Desktop/images/18012025/08/51/image_18012025_08_51_02_312008_0000.jpg', '/home/pi/Desktop/images/18012025/08/51/image_18012025_08_51_02_312008_0001.jpg', '/home/pi/Desktop/images/18012025/08/51/image_18012025_08_51_02_312008_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/50/image_18012025_08_50_02_657876_0003.jpg
/home/pi/Desktop/images/18012025/08/51/image_18012025_08_51_02_312008_0000.jpg
/home/pi/Desktop/images/18012025/08/51/image_18012025_08_51_02_312008_0001.jpg
/home/pi/Desktop/images/18012025/08/51/image_18012025_08_51_02_312008_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329707794","1329707790","1329707789","1329707792"],"photo_ids_order":["1329707789","1329707790","1329707792","1329707794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2564e0ae941eaee45032bf24cf1e5e58.jpg","text":"TemporaryFile(/tmp/multipartBody3348255892204432465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186794031,"filename":"image_18012025_08_51_02_312008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef6a63a415921524eb06b6844eb258b9.jpg","text":"TemporaryFile(/tmp/multipartBody5102707677516019612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186794031,"filename":"image_18012025_08_51_02_312008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb32c18dc7a25882fc1789460b48f2f8.jpg","text":"TemporaryFile(/tmp/multipartBody1744543958189815041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186794031,"filename":"image_18012025_08_50_02_657876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5f1fcbcd1888df2088bddf6f136d88cf.jpg","text":"TemporaryFile(/tmp/multipartBody6286275777324459321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186794031,"filename":"image_18012025_08_51_02_312008_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329707792","file1":"1329707790","file0":"1329707789","file3":"1329707794"},"map_files_photo_id_array":[{"photo_id":"1329707792","filename":"file2"},{"photo_id":"1329707790","filename":"file1"},{"photo_id":"1329707789","filename":"file0"},{"photo_id":"1329707794","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329707794":["hashtag1","hashtag2"]},{"1329707790":["hashtag1","hashtag2"]},{"1329707789":["hashtag1","hashtag2"]},{"1329707792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329707794, 1329707790, 1329707789, 1329707792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.831676721572876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:53:03.297800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/51/image_18012025_08_51_02_312008_0003.jpg', '/home/pi/Desktop/images/18012025/08/52/image_18012025_08_52_02_890398_0000.jpg', '/home/pi/Desktop/images/18012025/08/52/image_18012025_08_52_02_890398_0001.jpg', '/home/pi/Desktop/images/18012025/08/52/image_18012025_08_52_02_890398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/51/image_18012025_08_51_02_312008_0003.jpg
/home/pi/Desktop/images/18012025/08/52/image_18012025_08_52_02_890398_0000.jpg
/home/pi/Desktop/images/18012025/08/52/image_18012025_08_52_02_890398_0001.jpg
/home/pi/Desktop/images/18012025/08/52/image_18012025_08_52_02_890398_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329707847","1329707850","1329707844","1329707843"],"photo_ids_order":["1329707843","1329707844","1329707847","1329707850"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9cb470fc602ea7527db9645ae438e7d3.jpg","text":"TemporaryFile(/tmp/multipartBody6548080551066551037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186854710,"filename":"image_18012025_08_52_02_890398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ac65ebb0daef26a5b6d11c8b8b5dc71.jpg","text":"TemporaryFile(/tmp/multipartBody2493161043205798400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186854710,"filename":"image_18012025_08_52_02_890398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d03a454ae843e77d4aca0aab2959affc.jpg","text":"TemporaryFile(/tmp/multipartBody5018138283491137365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186854710,"filename":"image_18012025_08_52_02_890398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/59c91a15c0de1e197dd1133688f65023.jpg","text":"TemporaryFile(/tmp/multipartBody1982876838804854770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186854710,"filename":"image_18012025_08_51_02_312008_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329707847","file1":"1329707844","file0":"1329707843","file3":"1329707850"},"map_files_photo_id_array":[{"photo_id":"1329707847","filename":"file2"},{"photo_id":"1329707844","filename":"file1"},{"photo_id":"1329707843","filename":"file0"},{"photo_id":"1329707850","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329707847":["hashtag1","hashtag2"]},{"1329707850":["hashtag1","hashtag2"]},{"1329707844":["hashtag1","hashtag2"]},{"1329707843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329707847, 1329707850, 1329707844, 1329707843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.27288579940796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:54:02.654846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/52/image_18012025_08_52_02_890398_0003.jpg', '/home/pi/Desktop/images/18012025/08/53/image_18012025_08_53_02_583205_0000.jpg', '/home/pi/Desktop/images/18012025/08/53/image_18012025_08_53_02_583205_0001.jpg', '/home/pi/Desktop/images/18012025/08/53/image_18012025_08_53_02_583205_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/52/image_18012025_08_52_02_890398_0003.jpg
/home/pi/Desktop/images/18012025/08/53/image_18012025_08_53_02_583205_0000.jpg
/home/pi/Desktop/images/18012025/08/53/image_18012025_08_53_02_583205_0001.jpg
/home/pi/Desktop/images/18012025/08/53/image_18012025_08_53_02_583205_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329707903","1329707905","1329707901","1329707900"],"photo_ids_order":["1329707900","1329707901","1329707903","1329707905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd5d4912a7ca23340591edfd7ead2c67.jpg","text":"TemporaryFile(/tmp/multipartBody3296912774718373893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186914016,"filename":"image_18012025_08_53_02_583205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e1c748c2b815bdab2bcea1dbd1071d6.jpg","text":"TemporaryFile(/tmp/multipartBody9073824381784125426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186914016,"filename":"image_18012025_08_53_02_583205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd27c9f6fea77583c97624b0d8ad2a1c.jpg","text":"TemporaryFile(/tmp/multipartBody62778215183524201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186914016,"filename":"image_18012025_08_53_02_583205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/319b5403f512b9ef9ac1839813a6ab50.jpg","text":"TemporaryFile(/tmp/multipartBody1873685271467013198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186914016,"filename":"image_18012025_08_52_02_890398_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329707903","file1":"1329707901","file0":"1329707900","file3":"1329707905"},"map_files_photo_id_array":[{"photo_id":"1329707903","filename":"file2"},{"photo_id":"1329707901","filename":"file1"},{"photo_id":"1329707900","filename":"file0"},{"photo_id":"1329707905","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329707903":["hashtag1","hashtag2"]},{"1329707905":["hashtag1","hashtag2"]},{"1329707901":["hashtag1","hashtag2"]},{"1329707900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329707903, 1329707905, 1329707901, 1329707900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.779473304748535 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:55:02.547550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/53/image_18012025_08_53_02_583205_0003.jpg', '/home/pi/Desktop/images/18012025/08/54/image_18012025_08_54_03_140559_0000.jpg', '/home/pi/Desktop/images/18012025/08/54/image_18012025_08_54_03_140559_0001.jpg', '/home/pi/Desktop/images/18012025/08/54/image_18012025_08_54_03_140559_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/53/image_18012025_08_53_02_583205_0003.jpg
/home/pi/Desktop/images/18012025/08/54/image_18012025_08_54_03_140559_0000.jpg
/home/pi/Desktop/images/18012025/08/54/image_18012025_08_54_03_140559_0001.jpg
/home/pi/Desktop/images/18012025/08/54/image_18012025_08_54_03_140559_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329707956","1329707950","1329707952","1329707943"],"photo_ids_order":["1329707943","1329707950","1329707952","1329707956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f612aa1e6536ef2b17a62e3f658a7a8.jpg","text":"TemporaryFile(/tmp/multipartBody1245441023682061341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186972940,"filename":"image_18012025_08_54_03_140559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6445dd421d5edae805857dc67f11511.jpg","text":"TemporaryFile(/tmp/multipartBody4509842238689467835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186972940,"filename":"image_18012025_08_54_03_140559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28dcfe2679c5033efd4bcf11a520d46a.jpg","text":"TemporaryFile(/tmp/multipartBody519333538732544055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186972940,"filename":"image_18012025_08_54_03_140559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5914010824cb90a6e9258c5f1d404f40.jpg","text":"TemporaryFile(/tmp/multipartBody3971553701660595685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737186972940,"filename":"image_18012025_08_53_02_583205_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329707952","file1":"1329707950","file0":"1329707943","file3":"1329707956"},"map_files_photo_id_array":[{"photo_id":"1329707952","filename":"file2"},{"photo_id":"1329707950","filename":"file1"},{"photo_id":"1329707943","filename":"file0"},{"photo_id":"1329707956","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329707956":["hashtag1","hashtag2"]},{"1329707950":["hashtag1","hashtag2"]},{"1329707952":["hashtag1","hashtag2"]},{"1329707943":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329707956, 1329707950, 1329707952, 1329707943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.999218702316284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:56:02.870241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/54/image_18012025_08_54_03_140559_0003.jpg', '/home/pi/Desktop/images/18012025/08/55/image_18012025_08_55_02_705676_0000.jpg', '/home/pi/Desktop/images/18012025/08/55/image_18012025_08_55_02_705676_0001.jpg', '/home/pi/Desktop/images/18012025/08/55/image_18012025_08_55_02_705676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/54/image_18012025_08_54_03_140559_0003.jpg
/home/pi/Desktop/images/18012025/08/55/image_18012025_08_55_02_705676_0000.jpg
/home/pi/Desktop/images/18012025/08/55/image_18012025_08_55_02_705676_0001.jpg
/home/pi/Desktop/images/18012025/08/55/image_18012025_08_55_02_705676_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329708004","1329708007","1329708001","1329708002"],"photo_ids_order":["1329708001","1329708002","1329708004","1329708007"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3da88a9df9bb4e55576a9d330a08aa63.jpg","text":"TemporaryFile(/tmp/multipartBody5514971558407483297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187034178,"filename":"image_18012025_08_55_02_705676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/532f853fc5f350cc1dd8386d9a3a0de2.jpg","text":"TemporaryFile(/tmp/multipartBody3485414044662851666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187034178,"filename":"image_18012025_08_55_02_705676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5101c3581cae9290613703dc91ab6bc7.jpg","text":"TemporaryFile(/tmp/multipartBody7749153855227857408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187034178,"filename":"image_18012025_08_54_03_140559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8898673c2a66034cc6b68b1ad8c4b2cf.jpg","text":"TemporaryFile(/tmp/multipartBody7629959294753085376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187034178,"filename":"image_18012025_08_55_02_705676_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329708004","file1":"1329708002","file0":"1329708001","file3":"1329708007"},"map_files_photo_id_array":[{"photo_id":"1329708004","filename":"file2"},{"photo_id":"1329708002","filename":"file1"},{"photo_id":"1329708001","filename":"file0"},{"photo_id":"1329708007","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329708004":["hashtag1","hashtag2"]},{"1329708007":["hashtag1","hashtag2"]},{"1329708001":["hashtag1","hashtag2"]},{"1329708002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329708004, 1329708007, 1329708001, 1329708002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.04626441001892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:57:02.518075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/55/image_18012025_08_55_02_705676_0003.jpg', '/home/pi/Desktop/images/18012025/08/56/image_18012025_08_56_02_256163_0000.jpg', '/home/pi/Desktop/images/18012025/08/56/image_18012025_08_56_02_256163_0001.jpg', '/home/pi/Desktop/images/18012025/08/56/image_18012025_08_56_02_256163_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/55/image_18012025_08_55_02_705676_0003.jpg
/home/pi/Desktop/images/18012025/08/56/image_18012025_08_56_02_256163_0000.jpg
/home/pi/Desktop/images/18012025/08/56/image_18012025_08_56_02_256163_0001.jpg
/home/pi/Desktop/images/18012025/08/56/image_18012025_08_56_02_256163_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329708036","1329708041","1329708038","1329708035"],"photo_ids_order":["1329708035","1329708036","1329708038","1329708041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/accaf2b9007b02ef85dbe1d820938dc5.jpg","text":"TemporaryFile(/tmp/multipartBody851052206294918772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187093902,"filename":"image_18012025_08_56_02_256163_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/76ed3ef992c88bc6aeaa71affe2b2963.jpg","text":"TemporaryFile(/tmp/multipartBody5615260715061377482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187093902,"filename":"image_18012025_08_56_02_256163_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65c5bb0dea2b554d3e4ce8ea564be881.jpg","text":"TemporaryFile(/tmp/multipartBody2791966598742819564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187093902,"filename":"image_18012025_08_56_02_256163_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6b460f989b6fe10e58443516abdae0a.jpg","text":"TemporaryFile(/tmp/multipartBody7106769913323390654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187093902,"filename":"image_18012025_08_55_02_705676_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329708038","file1":"1329708036","file0":"1329708035","file3":"1329708041"},"map_files_photo_id_array":[{"photo_id":"1329708038","filename":"file2"},{"photo_id":"1329708036","filename":"file1"},{"photo_id":"1329708035","filename":"file0"},{"photo_id":"1329708041","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329708036":["hashtag1","hashtag2"]},{"1329708041":["hashtag1","hashtag2"]},{"1329708038":["hashtag1","hashtag2"]},{"1329708035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329708036, 1329708041, 1329708038, 1329708035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.35920071601868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 08:59:02.421708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/56/image_18012025_08_56_02_256163_0003.jpg', '/home/pi/Desktop/images/18012025/08/57/image_18012025_08_57_02_752989_0000.jpg', '/home/pi/Desktop/images/18012025/08/57/image_18012025_08_57_02_752989_0001.jpg', '/home/pi/Desktop/images/18012025/08/57/image_18012025_08_57_02_752989_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/56/image_18012025_08_56_02_256163_0003.jpg
/home/pi/Desktop/images/18012025/08/57/image_18012025_08_57_02_752989_0000.jpg
/home/pi/Desktop/images/18012025/08/57/image_18012025_08_57_02_752989_0001.jpg
/home/pi/Desktop/images/18012025/08/57/image_18012025_08_57_02_752989_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329708082","1329708077","1329708071","1329708088"],"photo_ids_order":["1329708071","1329708077","1329708082","1329708088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c359f6a44fa9568c54d14750b6f6376d.jpg","text":"TemporaryFile(/tmp/multipartBody7203594354434204057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187213437,"filename":"image_18012025_08_57_02_752989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6e204303780ea743d7cc58987e69f34.jpg","text":"TemporaryFile(/tmp/multipartBody3724199407534800346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187213437,"filename":"image_18012025_08_57_02_752989_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/22778b6cafd24d1e9bd0f6c5c39070c4.jpg","text":"TemporaryFile(/tmp/multipartBody8389309525978736832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187213437,"filename":"image_18012025_08_56_02_256163_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8d5f1a581069c1f3355579d893d10d46.jpg","text":"TemporaryFile(/tmp/multipartBody4518169081789381374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187213437,"filename":"image_18012025_08_57_02_752989_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329708082","file1":"1329708077","file0":"1329708071","file3":"1329708088"},"map_files_photo_id_array":[{"photo_id":"1329708082","filename":"file2"},{"photo_id":"1329708077","filename":"file1"},{"photo_id":"1329708071","filename":"file0"},{"photo_id":"1329708088","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329708082":["hashtag1","hashtag2"]},{"1329708077":["hashtag1","hashtag2"]},{"1329708071":["hashtag1","hashtag2"]},{"1329708088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329708082, 1329708077, 1329708071, 1329708088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.301461696624756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:00:02.849816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/57/image_18012025_08_57_02_752989_0003.jpg', '/home/pi/Desktop/images/18012025/08/58/image_18012025_08_58_02_297762_0000.jpg', '/home/pi/Desktop/images/18012025/08/58/image_18012025_08_58_02_297762_0001.jpg', '/home/pi/Desktop/images/18012025/08/58/image_18012025_08_58_02_297762_0002.jpg', '/home/pi/Desktop/images/18012025/08/58/image_18012025_08_58_02_297762_0003.jpg', '/home/pi/Desktop/images/18012025/08/59/image_18012025_08_59_03_013428_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/57/image_18012025_08_57_02_752989_0003.jpg
/home/pi/Desktop/images/18012025/08/58/image_18012025_08_58_02_297762_0000.jpg
/home/pi/Desktop/images/18012025/08/58/image_18012025_08_58_02_297762_0001.jpg
/home/pi/Desktop/images/18012025/08/58/image_18012025_08_58_02_297762_0002.jpg
/home/pi/Desktop/images/18012025/08/58/image_18012025_08_58_02_297762_0003.jpg
/home/pi/Desktop/images/18012025/08/59/image_18012025_08_59_03_013428_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329708142","1329708219","1329708303","1329708269","1329708248","1329708308"],"photo_ids_order":["1329708142","1329708219","1329708248","1329708269","1329708303","1329708308"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95c511fdd6ac634655f7035a8ce92af1.jpg","text":"TemporaryFile(/tmp/multipartBody2826278590663804441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187279765,"filename":"image_18012025_08_57_02_752989_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/632cec378716952926c52e771b7d710f.jpg","text":"TemporaryFile(/tmp/multipartBody4773228688420149221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187279765,"filename":"image_18012025_08_58_02_297762_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d59e6f5e0b8017fa98dfe85c8d62291a.jpg","text":"TemporaryFile(/tmp/multipartBody2556893505882088002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187279765,"filename":"image_18012025_08_58_02_297762_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a53b95b672297b233a413ceb89d5a0e.jpg","text":"TemporaryFile(/tmp/multipartBody8562305463895893672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187279765,"filename":"image_18012025_08_58_02_297762_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4310748d886bd26dbdacc6a47e1033c6.jpg","text":"TemporaryFile(/tmp/multipartBody4122661724158441683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187279765,"filename":"image_18012025_08_58_02_297762_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/250bbbfc9fe8712d59b771be86a42329.jpg","text":"TemporaryFile(/tmp/multipartBody5207338131343841990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187279765,"filename":"image_18012025_08_59_03_013428_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329708248","file1":"1329708219","file0":"1329708142","file4":"1329708303","file5":"1329708308","file3":"1329708269"},"map_files_photo_id_array":[{"photo_id":"1329708308","filename":"file5"},{"photo_id":"1329708248","filename":"file2"},{"photo_id":"1329708303","filename":"file4"},{"photo_id":"1329708219","filename":"file1"},{"photo_id":"1329708142","filename":"file0"},{"photo_id":"1329708269","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329708142":["hashtag1","hashtag2"]},{"1329708219":["hashtag1","hashtag2"]},{"1329708303":["hashtag1","hashtag2"]},{"1329708269":["hashtag1","hashtag2"]},{"1329708248":["hashtag1","hashtag2"]},{"1329708308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329708142, 1329708219, 1329708303, 1329708269, 1329708248, 1329708308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.448607206344604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:01:02.405543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/08/59/image_18012025_08_59_03_013428_0001.jpg', '/home/pi/Desktop/images/18012025/08/59/image_18012025_08_59_03_013428_0002.jpg', '/home/pi/Desktop/images/18012025/08/59/image_18012025_08_59_03_013428_0003.jpg', '/home/pi/Desktop/images/18012025/09/00/image_18012025_09_00_02_206209_0001.jpg', '/home/pi/Desktop/images/18012025/09/00/image_18012025_09_00_02_206209_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/08/59/image_18012025_08_59_03_013428_0001.jpg
/home/pi/Desktop/images/18012025/08/59/image_18012025_08_59_03_013428_0002.jpg
/home/pi/Desktop/images/18012025/08/59/image_18012025_08_59_03_013428_0003.jpg
/home/pi/Desktop/images/18012025/09/00/image_18012025_09_00_02_206209_0001.jpg
/home/pi/Desktop/images/18012025/09/00/image_18012025_09_00_02_206209_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329708328","1329708324","1329708318","1329708321","1329708332"],"photo_ids_order":["1329708318","1329708321","1329708324","1329708328","1329708332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f856bc8d15130c93eb97961879149c3b.jpg","text":"TemporaryFile(/tmp/multipartBody5292429756609799782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187337446,"filename":"image_18012025_09_00_02_206209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/454ab585a12292e3aa2cf492c92fbe98.jpg","text":"TemporaryFile(/tmp/multipartBody4916357667063193265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187337446,"filename":"image_18012025_08_59_03_013428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/609e8e7d3f3919ce2229bcb258719840.jpg","text":"TemporaryFile(/tmp/multipartBody6886841017678009875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187337446,"filename":"image_18012025_08_59_03_013428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c1f735978d545e3e73245efde4fd7fcc.jpg","text":"TemporaryFile(/tmp/multipartBody9124709352585604991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187337446,"filename":"image_18012025_08_59_03_013428_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bab72cc624457017b83bbb4c29c97206.jpg","text":"TemporaryFile(/tmp/multipartBody9219227957229193116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187337446,"filename":"image_18012025_09_00_02_206209_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329708324","file1":"1329708321","file0":"1329708318","file4":"1329708332","file3":"1329708328"},"map_files_photo_id_array":[{"photo_id":"1329708324","filename":"file2"},{"photo_id":"1329708332","filename":"file4"},{"photo_id":"1329708321","filename":"file1"},{"photo_id":"1329708318","filename":"file0"},{"photo_id":"1329708328","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329708328":["hashtag1","hashtag2"]},{"1329708324":["hashtag1","hashtag2"]},{"1329708318":["hashtag1","hashtag2"]},{"1329708321":["hashtag1","hashtag2"]},{"1329708332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329708328, 1329708324, 1329708318, 1329708321, 1329708332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.636528730392456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:02:03.000327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/00/image_18012025_09_00_02_206209_0003.jpg', '/home/pi/Desktop/images/18012025/09/01/image_18012025_09_01_02_769149_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/00/image_18012025_09_00_02_206209_0003.jpg
/home/pi/Desktop/images/18012025/09/01/image_18012025_09_01_02_769149_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329708351","1329708345"],"photo_ids_order":["1329708345","1329708351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f001819900ecfca0bc2bc04ffc5172a6.jpg","text":"TemporaryFile(/tmp/multipartBody8376140470367530924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187389395,"filename":"image_18012025_09_01_02_769149_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f82f9a7ed2e8f3a5ab22480a811e439.jpg","text":"TemporaryFile(/tmp/multipartBody7207624974226317663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187389395,"filename":"image_18012025_09_00_02_206209_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329708351","file0":"1329708345"},"map_files_photo_id_array":[{"photo_id":"1329708351","filename":"file1"},{"photo_id":"1329708345","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329708351":["hashtag1","hashtag2"]},{"1329708345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329708351, 1329708345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.425184965133667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:03:02.551993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/01/image_18012025_09_01_02_769149_0002.jpg', '/home/pi/Desktop/images/18012025/09/02/image_18012025_09_02_02_260346_0000.jpg', '/home/pi/Desktop/images/18012025/09/02/image_18012025_09_02_02_260346_0001.jpg', '/home/pi/Desktop/images/18012025/09/02/image_18012025_09_02_02_260346_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/01/image_18012025_09_01_02_769149_0002.jpg
/home/pi/Desktop/images/18012025/09/02/image_18012025_09_02_02_260346_0000.jpg
/home/pi/Desktop/images/18012025/09/02/image_18012025_09_02_02_260346_0001.jpg
/home/pi/Desktop/images/18012025/09/02/image_18012025_09_02_02_260346_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329708387","1329708383","1329708394","1329708391"],"photo_ids_order":["1329708383","1329708387","1329708391","1329708394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1dfd7a2b7b74ea502534f9f42a780394.jpg","text":"TemporaryFile(/tmp/multipartBody1514001658723214858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187454753,"filename":"image_18012025_09_02_02_260346_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f3b7fb430d1e99639425f58aeaa80769.jpg","text":"TemporaryFile(/tmp/multipartBody3629525874575201297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187454753,"filename":"image_18012025_09_01_02_769149_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3cbddfcf7920db83c13dc1759b6654a.jpg","text":"TemporaryFile(/tmp/multipartBody3240206226831054617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187454753,"filename":"image_18012025_09_02_02_260346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4677c2370aad821de5e5a297f70ea36b.jpg","text":"TemporaryFile(/tmp/multipartBody5499617567386113291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187454753,"filename":"image_18012025_09_02_02_260346_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329708391","file1":"1329708387","file0":"1329708383","file3":"1329708394"},"map_files_photo_id_array":[{"photo_id":"1329708391","filename":"file2"},{"photo_id":"1329708387","filename":"file1"},{"photo_id":"1329708383","filename":"file0"},{"photo_id":"1329708394","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329708387":["hashtag1","hashtag2"]},{"1329708383":["hashtag1","hashtag2"]},{"1329708394":["hashtag1","hashtag2"]},{"1329708391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329708387, 1329708383, 1329708394, 1329708391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.691975116729736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:04:03.175273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/02/image_18012025_09_02_02_260346_0003.jpg', '/home/pi/Desktop/images/18012025/09/03/image_18012025_09_03_02_875818_0001.jpg', '/home/pi/Desktop/images/18012025/09/03/image_18012025_09_03_02_875818_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/02/image_18012025_09_02_02_260346_0003.jpg
/home/pi/Desktop/images/18012025/09/03/image_18012025_09_03_02_875818_0001.jpg
/home/pi/Desktop/images/18012025/09/03/image_18012025_09_03_02_875818_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329708423","1329708429","1329708410"],"photo_ids_order":["1329708410","1329708423","1329708429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1dc4168ff9cff27ab528212d6be4e74e.jpg","text":"TemporaryFile(/tmp/multipartBody5502078894036681720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187512407,"filename":"image_18012025_09_03_02_875818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ebd8153503605b944043069775f90786.jpg","text":"TemporaryFile(/tmp/multipartBody8246071188362237580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187512407,"filename":"image_18012025_09_03_02_875818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd24e5515cbc882d922c4a2f09b280a3.jpg","text":"TemporaryFile(/tmp/multipartBody9176607972221206607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187512407,"filename":"image_18012025_09_02_02_260346_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329708429","file1":"1329708423","file0":"1329708410"},"map_files_photo_id_array":[{"photo_id":"1329708429","filename":"file2"},{"photo_id":"1329708423","filename":"file1"},{"photo_id":"1329708410","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329708423":["hashtag1","hashtag2"]},{"1329708429":["hashtag1","hashtag2"]},{"1329708410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329708423, 1329708429, 1329708410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.615243673324585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:05:02.897969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/03/image_18012025_09_03_02_875818_0003.jpg', '/home/pi/Desktop/images/18012025/09/04/image_18012025_09_04_02_367069_0000.jpg', '/home/pi/Desktop/images/18012025/09/04/image_18012025_09_04_02_367069_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/03/image_18012025_09_03_02_875818_0003.jpg
/home/pi/Desktop/images/18012025/09/04/image_18012025_09_04_02_367069_0000.jpg
/home/pi/Desktop/images/18012025/09/04/image_18012025_09_04_02_367069_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329708528","1329708501","1329708545"],"photo_ids_order":["1329708501","1329708528","1329708545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/19cdd68766f275fe0f46e2875e945cd7.jpg","text":"TemporaryFile(/tmp/multipartBody8819545388424086013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187572210,"filename":"image_18012025_09_04_02_367069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa589994ff9f18863a26284b9b0f5284.jpg","text":"TemporaryFile(/tmp/multipartBody2249847495909638317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187572210,"filename":"image_18012025_09_03_02_875818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c3eb8231c1a9ec24fdfbb4f5b1a7756.jpg","text":"TemporaryFile(/tmp/multipartBody7626527921601916025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187572210,"filename":"image_18012025_09_04_02_367069_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329708545","file1":"1329708528","file0":"1329708501"},"map_files_photo_id_array":[{"photo_id":"1329708545","filename":"file2"},{"photo_id":"1329708528","filename":"file1"},{"photo_id":"1329708501","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329708528":["hashtag1","hashtag2"]},{"1329708501":["hashtag1","hashtag2"]},{"1329708545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329708528, 1329708501, 1329708545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.44665765762329 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:06:03.237930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/04/image_18012025_09_04_02_367069_0003.jpg', '/home/pi/Desktop/images/18012025/09/05/image_18012025_09_05_03_032572_0001.jpg', '/home/pi/Desktop/images/18012025/09/05/image_18012025_09_05_03_032572_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/04/image_18012025_09_04_02_367069_0003.jpg
/home/pi/Desktop/images/18012025/09/05/image_18012025_09_05_03_032572_0001.jpg
/home/pi/Desktop/images/18012025/09/05/image_18012025_09_05_03_032572_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329708622","1329708625","1329708621"],"photo_ids_order":["1329708621","1329708622","1329708625"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e19891326eee3aa5c4dcee25311d5962.jpg","text":"TemporaryFile(/tmp/multipartBody9141819598443885242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187632483,"filename":"image_18012025_09_05_03_032572_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3bbdd58d79d40e921c4c4759a68937bb.jpg","text":"TemporaryFile(/tmp/multipartBody1854851585951899581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187632483,"filename":"image_18012025_09_05_03_032572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3584bb258c6011bd02d4365412acb2a7.jpg","text":"TemporaryFile(/tmp/multipartBody6098095293763689239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187632483,"filename":"image_18012025_09_04_02_367069_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329708625","file1":"1329708622","file0":"1329708621"},"map_files_photo_id_array":[{"photo_id":"1329708625","filename":"file2"},{"photo_id":"1329708622","filename":"file1"},{"photo_id":"1329708621","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329708622":["hashtag1","hashtag2"]},{"1329708625":["hashtag1","hashtag2"]},{"1329708621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329708622, 1329708625, 1329708621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.3666832447052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:07:02.748575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/05/image_18012025_09_05_03_032572_0003.jpg', '/home/pi/Desktop/images/18012025/09/06/image_18012025_09_06_02_569894_0000.jpg', '/home/pi/Desktop/images/18012025/09/06/image_18012025_09_06_02_569894_0001.jpg', '/home/pi/Desktop/images/18012025/09/06/image_18012025_09_06_02_569894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/05/image_18012025_09_05_03_032572_0003.jpg
/home/pi/Desktop/images/18012025/09/06/image_18012025_09_06_02_569894_0000.jpg
/home/pi/Desktop/images/18012025/09/06/image_18012025_09_06_02_569894_0001.jpg
/home/pi/Desktop/images/18012025/09/06/image_18012025_09_06_02_569894_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329708670","1329708665","1329708673","1329708667"],"photo_ids_order":["1329708665","1329708667","1329708670","1329708673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a664dfc5a3a3f3d6d7015d21d8177443.jpg","text":"TemporaryFile(/tmp/multipartBody9148965023360867485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187694924,"filename":"image_18012025_09_06_02_569894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4361934b4409f1783ceee59ec31ccfeb.jpg","text":"TemporaryFile(/tmp/multipartBody3929469803286851475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187694924,"filename":"image_18012025_09_05_03_032572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f82f322b5f0a3d05a06d8463b3b00ae0.jpg","text":"TemporaryFile(/tmp/multipartBody3607354886976302472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187694924,"filename":"image_18012025_09_06_02_569894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b8dd8bf4215fa7810c76b4989261b97.jpg","text":"TemporaryFile(/tmp/multipartBody7680519811710596443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187694924,"filename":"image_18012025_09_06_02_569894_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329708670","file1":"1329708667","file0":"1329708665","file3":"1329708673"},"map_files_photo_id_array":[{"photo_id":"1329708670","filename":"file2"},{"photo_id":"1329708667","filename":"file1"},{"photo_id":"1329708665","filename":"file0"},{"photo_id":"1329708673","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329708670":["hashtag1","hashtag2"]},{"1329708665":["hashtag1","hashtag2"]},{"1329708673":["hashtag1","hashtag2"]},{"1329708667":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329708670, 1329708665, 1329708673, 1329708667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.29199504852295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:08:02.438642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/06/image_18012025_09_06_02_569894_0003.jpg', '/home/pi/Desktop/images/18012025/09/07/image_18012025_09_07_03_086838_0000.jpg', '/home/pi/Desktop/images/18012025/09/07/image_18012025_09_07_03_086838_0001.jpg', '/home/pi/Desktop/images/18012025/09/07/image_18012025_09_07_03_086838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/06/image_18012025_09_06_02_569894_0003.jpg
/home/pi/Desktop/images/18012025/09/07/image_18012025_09_07_03_086838_0000.jpg
/home/pi/Desktop/images/18012025/09/07/image_18012025_09_07_03_086838_0001.jpg
/home/pi/Desktop/images/18012025/09/07/image_18012025_09_07_03_086838_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329708703","1329708706","1329708696","1329708699"],"photo_ids_order":["1329708696","1329708699","1329708703","1329708706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c92839253949d24098c7af7d09edded.jpg","text":"TemporaryFile(/tmp/multipartBody1491369006509620795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187754540,"filename":"image_18012025_09_07_03_086838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c8651e5d7031ea65475a7bee2fb5330.jpg","text":"TemporaryFile(/tmp/multipartBody1421527321972605950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187754540,"filename":"image_18012025_09_07_03_086838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c33d07399bf1ac104ec9f12e7ce1dacb.jpg","text":"TemporaryFile(/tmp/multipartBody5348708713687900531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187754540,"filename":"image_18012025_09_06_02_569894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5101625fea20e4819aa0c195c183005.jpg","text":"TemporaryFile(/tmp/multipartBody308300612876541302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187754540,"filename":"image_18012025_09_07_03_086838_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329708703","file1":"1329708699","file0":"1329708696","file3":"1329708706"},"map_files_photo_id_array":[{"photo_id":"1329708703","filename":"file2"},{"photo_id":"1329708699","filename":"file1"},{"photo_id":"1329708696","filename":"file0"},{"photo_id":"1329708706","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329708703":["hashtag1","hashtag2"]},{"1329708706":["hashtag1","hashtag2"]},{"1329708696":["hashtag1","hashtag2"]},{"1329708699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329708703, 1329708706, 1329708696, 1329708699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25055122375488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:09:03.003481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/07/image_18012025_09_07_03_086838_0003.jpg', '/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0000.jpg', '/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0001.jpg', '/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/07/image_18012025_09_07_03_086838_0003.jpg
/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0000.jpg
/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0001.jpg
/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.785836696624756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:09:22.430701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/07/image_18012025_09_07_03_086838_0003.jpg', '/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0000.jpg', '/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0001.jpg', '/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0002.jpg', '/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0003.jpg', '/home/pi/Desktop/images/18012025/09/09/image_18012025_09_09_02_351378_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/07/image_18012025_09_07_03_086838_0003.jpg
/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0000.jpg
/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0001.jpg
/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0002.jpg
/home/pi/Desktop/images/18012025/09/08/image_18012025_09_08_02_668858_0003.jpg
/home/pi/Desktop/images/18012025/09/09/image_18012025_09_09_02_351378_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329709656","1329709650","1329709653","1329709640","1329709645","1329709648"],"photo_ids_order":["1329709640","1329709645","1329709648","1329709650","1329709653","1329709656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/274e4a1fc11b7f3ed1e6aa4cd7986afc.jpg","text":"TemporaryFile(/tmp/multipartBody3336547810568780479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187840212,"filename":"image_18012025_09_09_02_351378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/45c4fb96184d415399371a524841ed8c.jpg","text":"TemporaryFile(/tmp/multipartBody1092263347015835971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187840212,"filename":"image_18012025_09_08_02_668858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/514c73dfb98e5037efd2eb0c0440c9b7.jpg","text":"TemporaryFile(/tmp/multipartBody2859139477459956184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187840212,"filename":"image_18012025_09_08_02_668858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b73877def3ec7ba67202d1e7a029fca.jpg","text":"TemporaryFile(/tmp/multipartBody7346246749084657152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187840212,"filename":"image_18012025_09_07_03_086838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca41ce4e929ca0b2e22866eae2f1d786.jpg","text":"TemporaryFile(/tmp/multipartBody8952072386669209931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187840212,"filename":"image_18012025_09_08_02_668858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63d398652718acbeda43fa0fd58b8fed.jpg","text":"TemporaryFile(/tmp/multipartBody6894776281374933340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187840212,"filename":"image_18012025_09_08_02_668858_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329709648","file1":"1329709645","file0":"1329709640","file4":"1329709653","file5":"1329709656","file3":"1329709650"},"map_files_photo_id_array":[{"photo_id":"1329709656","filename":"file5"},{"photo_id":"1329709648","filename":"file2"},{"photo_id":"1329709653","filename":"file4"},{"photo_id":"1329709645","filename":"file1"},{"photo_id":"1329709640","filename":"file0"},{"photo_id":"1329709650","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329709656":["hashtag1","hashtag2"]},{"1329709650":["hashtag1","hashtag2"]},{"1329709653":["hashtag1","hashtag2"]},{"1329709640":["hashtag1","hashtag2"]},{"1329709645":["hashtag1","hashtag2"]},{"1329709648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329709656, 1329709650, 1329709653, 1329709640, 1329709645, 1329709648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.220237493515015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:10:22.029743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/09/image_18012025_09_09_02_351378_0002.jpg', '/home/pi/Desktop/images/18012025/09/10/image_18012025_09_10_02_807581_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/09/image_18012025_09_09_02_351378_0002.jpg
/home/pi/Desktop/images/18012025/09/10/image_18012025_09_10_02_807581_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329710158","1329710146"],"photo_ids_order":["1329710146","1329710158"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6db761931728674910d7fdc236777150.jpg","text":"TemporaryFile(/tmp/multipartBody2163937488908850769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187888402,"filename":"image_18012025_09_10_02_807581_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/07a11378e01da9f69aa5294b2412856b.jpg","text":"TemporaryFile(/tmp/multipartBody2978378981334377251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187888402,"filename":"image_18012025_09_09_02_351378_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329710158","file0":"1329710146"},"map_files_photo_id_array":[{"photo_id":"1329710158","filename":"file1"},{"photo_id":"1329710146","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329710158":["hashtag1","hashtag2"]},{"1329710146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329710158, 1329710146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.77028727531433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:11:03.292403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0000.jpg', '/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0001.jpg', '/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0002.jpg', '/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0003.jpg', '/home/pi/Desktop/images/16012025/21/29/image_16012025_21_29_02_620866_0000.jpg', '/home/pi/Desktop/images/16012025/21/29/image_16012025_21_29_02_620866_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0000.jpg
/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0001.jpg
/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0002.jpg
/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0003.jpg
/home/pi/Desktop/images/16012025/21/29/image_16012025_21_29_02_620866_0000.jpg
/home/pi/Desktop/images/16012025/21/29/image_16012025_21_29_02_620866_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.397763729095459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:11:22.508693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/10/image_18012025_09_10_02_807581_0003.jpg', '/home/pi/Desktop/images/18012025/09/11/image_18012025_09_11_02_438887_0000.jpg', '/home/pi/Desktop/images/18012025/09/11/image_18012025_09_11_02_438887_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/10/image_18012025_09_10_02_807581_0003.jpg
/home/pi/Desktop/images/18012025/09/11/image_18012025_09_11_02_438887_0000.jpg
/home/pi/Desktop/images/18012025/09/11/image_18012025_09_11_02_438887_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329710332","1329710343","1329710337"],"photo_ids_order":["1329710332","1329710337","1329710343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f98f6c92fb9c54fefacb67701e8ad537.jpg","text":"TemporaryFile(/tmp/multipartBody6027143790928003471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187951763,"filename":"image_18012025_09_10_02_807581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6eebae5181a15e93e87eac92f024ec9a.jpg","text":"TemporaryFile(/tmp/multipartBody4923532863772130991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187951763,"filename":"image_18012025_09_11_02_438887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d09734396c4c2f76f8da256cf8c43659.jpg","text":"TemporaryFile(/tmp/multipartBody6698046876667280468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187951763,"filename":"image_18012025_09_11_02_438887_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329710343","file1":"1329710337","file0":"1329710332"},"map_files_photo_id_array":[{"photo_id":"1329710343","filename":"file2"},{"photo_id":"1329710337","filename":"file1"},{"photo_id":"1329710332","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329710332":["hashtag1","hashtag2"]},{"1329710343":["hashtag1","hashtag2"]},{"1329710337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329710332, 1329710343, 1329710337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.66595673561096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:12:02.627819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0000.jpg', '/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0001.jpg', '/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0002.jpg', '/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0003.jpg', '/home/pi/Desktop/images/16012025/21/29/image_16012025_21_29_02_620866_0000.jpg', '/home/pi/Desktop/images/16012025/21/29/image_16012025_21_29_02_620866_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0000.jpg
/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0001.jpg
/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0002.jpg
/home/pi/Desktop/images/16012025/21/28/image_16012025_21_28_02_457285_0003.jpg
/home/pi/Desktop/images/16012025/21/29/image_16012025_21_29_02_620866_0000.jpg
/home/pi/Desktop/images/16012025/21/29/image_16012025_21_29_02_620866_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329710422","1329710431","1329710397","1329710418","1329710426","1329710414"],"photo_ids_order":["1329710397","1329710414","1329710418","1329710422","1329710426","1329710431"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f4fc56b0a2180b1f71ac328bfa61e18a.jpg","text":"TemporaryFile(/tmp/multipartBody773303938414069768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187998337,"filename":"image_16012025_21_28_02_457285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f25b147f675a25fca077f308bc16c42.jpg","text":"TemporaryFile(/tmp/multipartBody1715938230350186054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187998337,"filename":"image_16012025_21_29_02_620866_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/090d81c71362e5a018296c1dc340945c.jpg","text":"TemporaryFile(/tmp/multipartBody3771255198468031781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187998337,"filename":"image_16012025_21_28_02_457285_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b81d0799ca17f44ec01dac13de716b8.jpg","text":"TemporaryFile(/tmp/multipartBody6624689753414790909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187998337,"filename":"image_16012025_21_28_02_457285_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4511b63887bb4022b8c6becacf62201a.jpg","text":"TemporaryFile(/tmp/multipartBody4326366175243489484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187998337,"filename":"image_16012025_21_29_02_620866_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/31d0c0b36bef1edcf086eab56b1286c1.jpg","text":"TemporaryFile(/tmp/multipartBody5840587299764739700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737187998337,"filename":"image_16012025_21_28_02_457285_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329710418","file1":"1329710414","file0":"1329710397","file4":"1329710426","file5":"1329710431","file3":"1329710422"},"map_files_photo_id_array":[{"photo_id":"1329710431","filename":"file5"},{"photo_id":"1329710418","filename":"file2"},{"photo_id":"1329710426","filename":"file4"},{"photo_id":"1329710414","filename":"file1"},{"photo_id":"1329710397","filename":"file0"},{"photo_id":"1329710422","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329710422":["hashtag1","hashtag2"]},{"1329710431":["hashtag1","hashtag2"]},{"1329710397":["hashtag1","hashtag2"]},{"1329710418":["hashtag1","hashtag2"]},{"1329710426":["hashtag1","hashtag2"]},{"1329710414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329710422, 1329710431, 1329710397, 1329710418, 1329710426, 1329710414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.04395151138306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:13:02.425107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/11/image_18012025_09_11_02_438887_0002.jpg', '/home/pi/Desktop/images/18012025/09/12/image_18012025_09_12_02_999905_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/11/image_18012025_09_11_02_438887_0002.jpg
/home/pi/Desktop/images/18012025/09/12/image_18012025_09_12_02_999905_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329710443","1329710447"],"photo_ids_order":["1329710443","1329710447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93da3ff3e69632177223a825ac7fd830.jpg","text":"TemporaryFile(/tmp/multipartBody6650513994385762699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188048890,"filename":"image_18012025_09_11_02_438887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f30bf510c6b518c536ae4a110df9674f.jpg","text":"TemporaryFile(/tmp/multipartBody5833187821938040269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188048890,"filename":"image_18012025_09_12_02_999905_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329710447","file0":"1329710443"},"map_files_photo_id_array":[{"photo_id":"1329710447","filename":"file1"},{"photo_id":"1329710443","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329710443":["hashtag1","hashtag2"]},{"1329710447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329710443, 1329710447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.314056158065796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:14:02.913610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/12/image_18012025_09_12_02_999905_0002.jpg', '/home/pi/Desktop/images/18012025/09/13/image_18012025_09_13_02_700038_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/12/image_18012025_09_12_02_999905_0002.jpg
/home/pi/Desktop/images/18012025/09/13/image_18012025_09_13_02_700038_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329710529","1329710522"],"photo_ids_order":["1329710522","1329710529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/81a474d5b347524266ca183017eec0ae.jpg","text":"TemporaryFile(/tmp/multipartBody829363829877020219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188109265,"filename":"image_18012025_09_13_02_700038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb221a50212eb496c80efc323b10cadf.jpg","text":"TemporaryFile(/tmp/multipartBody1998936606557040206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188109265,"filename":"image_18012025_09_12_02_999905_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329710529","file0":"1329710522"},"map_files_photo_id_array":[{"photo_id":"1329710529","filename":"file1"},{"photo_id":"1329710522","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329710529":["hashtag1","hashtag2"]},{"1329710522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329710529, 1329710522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.39310598373413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:15:02.501592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/13/image_18012025_09_13_02_700038_0003.jpg', '/home/pi/Desktop/images/18012025/09/14/image_18012025_09_14_02_172526_0000.jpg', '/home/pi/Desktop/images/18012025/09/14/image_18012025_09_14_02_172526_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/13/image_18012025_09_13_02_700038_0003.jpg
/home/pi/Desktop/images/18012025/09/14/image_18012025_09_14_02_172526_0000.jpg
/home/pi/Desktop/images/18012025/09/14/image_18012025_09_14_02_172526_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329710574","1329710568","1329710572"],"photo_ids_order":["1329710568","1329710572","1329710574"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/532ae8ba88928c972e9fa0d798d7a597.jpg","text":"TemporaryFile(/tmp/multipartBody4090569027962346763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188171802,"filename":"image_18012025_09_14_02_172526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8eaeb96b37679b2404ec30d19dd562fc.jpg","text":"TemporaryFile(/tmp/multipartBody6716500023381078933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188171802,"filename":"image_18012025_09_13_02_700038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d3f61c190d3bcafb4619f897c5f82b28.jpg","text":"TemporaryFile(/tmp/multipartBody7663234509487896148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188171802,"filename":"image_18012025_09_14_02_172526_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329710574","file1":"1329710572","file0":"1329710568"},"map_files_photo_id_array":[{"photo_id":"1329710574","filename":"file2"},{"photo_id":"1329710572","filename":"file1"},{"photo_id":"1329710568","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329710574":["hashtag1","hashtag2"]},{"1329710568":["hashtag1","hashtag2"]},{"1329710572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329710574, 1329710568, 1329710572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.27716827392578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:16:03.212276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/14/image_18012025_09_14_02_172526_0002.jpg', '/home/pi/Desktop/images/18012025/09/15/image_18012025_09_15_02_836778_0000.jpg', '/home/pi/Desktop/images/18012025/09/15/image_18012025_09_15_02_836778_0001.jpg', '/home/pi/Desktop/images/18012025/09/15/image_18012025_09_15_02_836778_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/14/image_18012025_09_14_02_172526_0002.jpg
/home/pi/Desktop/images/18012025/09/15/image_18012025_09_15_02_836778_0000.jpg
/home/pi/Desktop/images/18012025/09/15/image_18012025_09_15_02_836778_0001.jpg
/home/pi/Desktop/images/18012025/09/15/image_18012025_09_15_02_836778_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329710800","1329710792","1329710794","1329710797"],"photo_ids_order":["1329710792","1329710794","1329710797","1329710800"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2ce37a367cd7752d524084e71f132675.jpg","text":"TemporaryFile(/tmp/multipartBody6925639820628006707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188235289,"filename":"image_18012025_09_15_02_836778_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d56ec3258890b4bccdf7750da4cac80e.jpg","text":"TemporaryFile(/tmp/multipartBody1761265764433206949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188235289,"filename":"image_18012025_09_14_02_172526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c39755e680aec519ef43f4306611bce.jpg","text":"TemporaryFile(/tmp/multipartBody250549877840292042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188235289,"filename":"image_18012025_09_15_02_836778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be40906667c3f7397455ec0b889af40f.jpg","text":"TemporaryFile(/tmp/multipartBody2401798797796905717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188235289,"filename":"image_18012025_09_15_02_836778_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329710797","file1":"1329710794","file0":"1329710792","file3":"1329710800"},"map_files_photo_id_array":[{"photo_id":"1329710797","filename":"file2"},{"photo_id":"1329710794","filename":"file1"},{"photo_id":"1329710792","filename":"file0"},{"photo_id":"1329710800","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329710800":["hashtag1","hashtag2"]},{"1329710792":["hashtag1","hashtag2"]},{"1329710794":["hashtag1","hashtag2"]},{"1329710797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329710800, 1329710792, 1329710794, 1329710797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.308008670806885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:17:02.726303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/15/image_18012025_09_15_02_836778_0003.jpg', '/home/pi/Desktop/images/18012025/09/16/image_18012025_09_16_02_424662_0000.jpg', '/home/pi/Desktop/images/18012025/09/16/image_18012025_09_16_02_424662_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/15/image_18012025_09_15_02_836778_0003.jpg
/home/pi/Desktop/images/18012025/09/16/image_18012025_09_16_02_424662_0000.jpg
/home/pi/Desktop/images/18012025/09/16/image_18012025_09_16_02_424662_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329710871","1329710875","1329710869"],"photo_ids_order":["1329710869","1329710871","1329710875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af3a7fa8bdb9ab8a2c3e95c26b5b6d2f.jpg","text":"TemporaryFile(/tmp/multipartBody2341380552645133560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188292004,"filename":"image_18012025_09_16_02_424662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b009955b07c183f4651eca544beea6cf.jpg","text":"TemporaryFile(/tmp/multipartBody8022798141847068384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188292004,"filename":"image_18012025_09_16_02_424662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b600d11a0bfd02674311ecfc8409cd6.jpg","text":"TemporaryFile(/tmp/multipartBody2189634355790406189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188292004,"filename":"image_18012025_09_15_02_836778_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329710875","file1":"1329710871","file0":"1329710869"},"map_files_photo_id_array":[{"photo_id":"1329710875","filename":"file2"},{"photo_id":"1329710871","filename":"file1"},{"photo_id":"1329710869","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329710871":["hashtag1","hashtag2"]},{"1329710875":["hashtag1","hashtag2"]},{"1329710869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329710871, 1329710875, 1329710869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.725701332092285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:18:02.189013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/16/image_18012025_09_16_02_424662_0002.jpg', '/home/pi/Desktop/images/18012025/09/17/image_18012025_09_17_03_110754_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/16/image_18012025_09_16_02_424662_0002.jpg
/home/pi/Desktop/images/18012025/09/17/image_18012025_09_17_03_110754_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.983754634857178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:18:21.854313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/16/image_18012025_09_16_02_424662_0002.jpg', '/home/pi/Desktop/images/18012025/09/17/image_18012025_09_17_03_110754_0000.jpg', '/home/pi/Desktop/images/18012025/09/17/image_18012025_09_17_03_110754_0003.jpg', '/home/pi/Desktop/images/18012025/09/18/image_18012025_09_18_02_593915_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/16/image_18012025_09_16_02_424662_0002.jpg
/home/pi/Desktop/images/18012025/09/17/image_18012025_09_17_03_110754_0000.jpg
/home/pi/Desktop/images/18012025/09/17/image_18012025_09_17_03_110754_0003.jpg
/home/pi/Desktop/images/18012025/09/18/image_18012025_09_18_02_593915_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329710950","1329710966","1329710962","1329710956"],"photo_ids_order":["1329710950","1329710956","1329710962","1329710966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ec71657a660d18a9ec78b779bb6a6cc.jpg","text":"TemporaryFile(/tmp/multipartBody8495462344708362741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188373931,"filename":"image_18012025_09_16_02_424662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/72885c54d82c24af51521531dd66ca4c.jpg","text":"TemporaryFile(/tmp/multipartBody3798907209072016714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188373931,"filename":"image_18012025_09_18_02_593915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5a4c4d13dc55fbe56c4cbac333e80d4.jpg","text":"TemporaryFile(/tmp/multipartBody2258330133765064630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188373931,"filename":"image_18012025_09_17_03_110754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee1f3f001447b02ca7cddd0714cc21e8.jpg","text":"TemporaryFile(/tmp/multipartBody803077621638336110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188373931,"filename":"image_18012025_09_17_03_110754_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329710962","file1":"1329710956","file0":"1329710950","file3":"1329710966"},"map_files_photo_id_array":[{"photo_id":"1329710962","filename":"file2"},{"photo_id":"1329710956","filename":"file1"},{"photo_id":"1329710950","filename":"file0"},{"photo_id":"1329710966","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329710950":["hashtag1","hashtag2"]},{"1329710966":["hashtag1","hashtag2"]},{"1329710962":["hashtag1","hashtag2"]},{"1329710956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329710950, 1329710966, 1329710962, 1329710956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.649725914001465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:19:22.402903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/18/image_18012025_09_18_02_593915_0003.jpg', '/home/pi/Desktop/images/18012025/09/19/image_18012025_09_19_02_236166_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/18/image_18012025_09_18_02_593915_0003.jpg
/home/pi/Desktop/images/18012025/09/19/image_18012025_09_19_02_236166_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329710976","1329710979"],"photo_ids_order":["1329710976","1329710979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1c0a8729f1c917c189c6d6deac437dac.jpg","text":"TemporaryFile(/tmp/multipartBody4471014323555278940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188428775,"filename":"image_18012025_09_18_02_593915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/065ad1f97e763a2354e1efa7d96657a1.jpg","text":"TemporaryFile(/tmp/multipartBody654319352496353022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188428775,"filename":"image_18012025_09_19_02_236166_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329710979","file0":"1329710976"},"map_files_photo_id_array":[{"photo_id":"1329710979","filename":"file1"},{"photo_id":"1329710976","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329710976":["hashtag1","hashtag2"]},{"1329710979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329710976, 1329710979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.782341957092285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:20:02.326095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/29/image_16012025_21_29_02_620866_0002.jpg', '/home/pi/Desktop/images/16012025/21/29/image_16012025_21_29_02_620866_0003.jpg', '/home/pi/Desktop/images/16012025/21/30/image_16012025_21_30_02_820815_0000.jpg', '/home/pi/Desktop/images/16012025/21/30/image_16012025_21_30_02_820815_0001.jpg', '/home/pi/Desktop/images/16012025/21/30/image_16012025_21_30_02_820815_0003.jpg', '/home/pi/Desktop/images/16012025/21/31/image_16012025_21_31_03_028184_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/29/image_16012025_21_29_02_620866_0002.jpg
/home/pi/Desktop/images/16012025/21/29/image_16012025_21_29_02_620866_0003.jpg
/home/pi/Desktop/images/16012025/21/30/image_16012025_21_30_02_820815_0000.jpg
/home/pi/Desktop/images/16012025/21/30/image_16012025_21_30_02_820815_0001.jpg
/home/pi/Desktop/images/16012025/21/30/image_16012025_21_30_02_820815_0003.jpg
/home/pi/Desktop/images/16012025/21/31/image_16012025_21_31_03_028184_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329711106","1329711086","1329711111","1329711050","1329711116","1329711067"],"photo_ids_order":["1329711050","1329711067","1329711086","1329711106","1329711111","1329711116"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cad7f4e9db2efad5447599694dc94c76.jpg","text":"TemporaryFile(/tmp/multipartBody3465181727368681109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188478149,"filename":"image_16012025_21_30_02_820815_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08ab87f01e55ce02ad27b42591eb9ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5633262560652961727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188478149,"filename":"image_16012025_21_30_02_820815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16ca54c20a5e691d39447ffaf7ac1357.jpg","text":"TemporaryFile(/tmp/multipartBody1534566887698195055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188478149,"filename":"image_16012025_21_30_02_820815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa1e883636c07a6483ebf8c3d296b06c.jpg","text":"TemporaryFile(/tmp/multipartBody2860403208669112194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188478149,"filename":"image_16012025_21_29_02_620866_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef9f863afe6dfb733fdd4990a103b474.jpg","text":"TemporaryFile(/tmp/multipartBody4190634544170315599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188478149,"filename":"image_16012025_21_31_03_028184_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c2732cffc896fec3e0bdcd758ae282ee.jpg","text":"TemporaryFile(/tmp/multipartBody490367291159862200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188478149,"filename":"image_16012025_21_29_02_620866_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329711086","file1":"1329711067","file0":"1329711050","file4":"1329711111","file5":"1329711116","file3":"1329711106"},"map_files_photo_id_array":[{"photo_id":"1329711116","filename":"file5"},{"photo_id":"1329711086","filename":"file2"},{"photo_id":"1329711111","filename":"file4"},{"photo_id":"1329711067","filename":"file1"},{"photo_id":"1329711050","filename":"file0"},{"photo_id":"1329711106","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329711106":["hashtag1","hashtag2"]},{"1329711086":["hashtag1","hashtag2"]},{"1329711111":["hashtag1","hashtag2"]},{"1329711050":["hashtag1","hashtag2"]},{"1329711116":["hashtag1","hashtag2"]},{"1329711067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329711106, 1329711086, 1329711111, 1329711050, 1329711116, 1329711067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.08276176452637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:21:03.075363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/19/image_18012025_09_19_02_236166_0001.jpg', '/home/pi/Desktop/images/18012025/09/20/image_18012025_09_20_02_764333_0000.jpg', '/home/pi/Desktop/images/18012025/09/20/image_18012025_09_20_02_764333_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/19/image_18012025_09_19_02_236166_0001.jpg
/home/pi/Desktop/images/18012025/09/20/image_18012025_09_20_02_764333_0000.jpg
/home/pi/Desktop/images/18012025/09/20/image_18012025_09_20_02_764333_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329711138","1329711132","1329711135"],"photo_ids_order":["1329711132","1329711135","1329711138"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/57d0fee589ecf00b27d2891392b05717.jpg","text":"TemporaryFile(/tmp/multipartBody3547174359199726643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188532386,"filename":"image_18012025_09_20_02_764333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/472c1083c21ea187ad13cd725a549e1c.jpg","text":"TemporaryFile(/tmp/multipartBody1666617692575586933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188532386,"filename":"image_18012025_09_19_02_236166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e7cf6da5acda0e3806f51ad50ede9d7.jpg","text":"TemporaryFile(/tmp/multipartBody5958691709637045944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188532386,"filename":"image_18012025_09_20_02_764333_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329711138","file1":"1329711135","file0":"1329711132"},"map_files_photo_id_array":[{"photo_id":"1329711138","filename":"file2"},{"photo_id":"1329711135","filename":"file1"},{"photo_id":"1329711132","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329711138":["hashtag1","hashtag2"]},{"1329711132":["hashtag1","hashtag2"]},{"1329711135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329711138, 1329711132, 1329711135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.77412986755371 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:22:02.554932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/20/image_18012025_09_20_02_764333_0003.jpg', '/home/pi/Desktop/images/18012025/09/21/image_18012025_09_21_02_333155_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/20/image_18012025_09_20_02_764333_0003.jpg
/home/pi/Desktop/images/18012025/09/21/image_18012025_09_21_02_333155_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329711177","1329711175"],"photo_ids_order":["1329711175","1329711177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be7ce3556867aefe61575e4f79a1f18b.jpg","text":"TemporaryFile(/tmp/multipartBody5501294347334334729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188588963,"filename":"image_18012025_09_21_02_333155_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d453632025007116d1ca992dbbb056f.jpg","text":"TemporaryFile(/tmp/multipartBody9066203041173925534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188588963,"filename":"image_18012025_09_20_02_764333_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329711177","file0":"1329711175"},"map_files_photo_id_array":[{"photo_id":"1329711177","filename":"file1"},{"photo_id":"1329711175","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329711177":["hashtag1","hashtag2"]},{"1329711175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329711177, 1329711175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.00311303138733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:23:03.303426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/21/image_18012025_09_21_02_333155_0001.jpg', '/home/pi/Desktop/images/18012025/09/22/image_18012025_09_22_02_925736_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/21/image_18012025_09_21_02_333155_0001.jpg
/home/pi/Desktop/images/18012025/09/22/image_18012025_09_22_02_925736_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329711243","1329711246"],"photo_ids_order":["1329711243","1329711246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f9ab8db573dd108646729d8711204954.jpg","text":"TemporaryFile(/tmp/multipartBody3433805193501188568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188649818,"filename":"image_18012025_09_21_02_333155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/494d3ebc3dda68f077720abde4db9794.jpg","text":"TemporaryFile(/tmp/multipartBody8655247204668143641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188649818,"filename":"image_18012025_09_22_02_925736_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329711246","file0":"1329711243"},"map_files_photo_id_array":[{"photo_id":"1329711246","filename":"file1"},{"photo_id":"1329711243","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329711243":["hashtag1","hashtag2"]},{"1329711246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329711243, 1329711246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.281858444213867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:24:02.653327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/22/image_18012025_09_22_02_925736_0003.jpg', '/home/pi/Desktop/images/18012025/09/23/image_18012025_09_23_02_518338_0001.jpg', '/home/pi/Desktop/images/18012025/09/23/image_18012025_09_23_02_518338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/22/image_18012025_09_22_02_925736_0003.jpg
/home/pi/Desktop/images/18012025/09/23/image_18012025_09_23_02_518338_0001.jpg
/home/pi/Desktop/images/18012025/09/23/image_18012025_09_23_02_518338_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329712496","1329712491","1329712488"],"photo_ids_order":["1329712488","1329712491","1329712496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9bb46457802e6b4a47ede21da95d0dad.jpg","text":"TemporaryFile(/tmp/multipartBody373242115278230145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188711911,"filename":"image_18012025_09_23_02_518338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c99c6ab7f8834d94d482856ec9cda05d.jpg","text":"TemporaryFile(/tmp/multipartBody5599195341040256931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188711911,"filename":"image_18012025_09_23_02_518338_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e5b52abe150b1835a5401481bf7d9db.jpg","text":"TemporaryFile(/tmp/multipartBody2009543162642587396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188711911,"filename":"image_18012025_09_22_02_925736_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329712496","file1":"1329712491","file0":"1329712488"},"map_files_photo_id_array":[{"photo_id":"1329712496","filename":"file2"},{"photo_id":"1329712491","filename":"file1"},{"photo_id":"1329712488","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329712496":["hashtag1","hashtag2"]},{"1329712491":["hashtag1","hashtag2"]},{"1329712488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329712496, 1329712491, 1329712488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.72968411445618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:25:02.581020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/23/image_18012025_09_23_02_518338_0003.jpg', '/home/pi/Desktop/images/18012025/09/24/image_18012025_09_24_03_011838_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/23/image_18012025_09_23_02_518338_0003.jpg
/home/pi/Desktop/images/18012025/09/24/image_18012025_09_24_03_011838_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329712663","1329712686"],"photo_ids_order":["1329712663","1329712686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc81aebed4a1d8a6ef5a6aea3da48c1b.jpg","text":"TemporaryFile(/tmp/multipartBody2996302252090164757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188768970,"filename":"image_18012025_09_23_02_518338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01b1b20b941137f3580d91b61530fdfd.jpg","text":"TemporaryFile(/tmp/multipartBody7812126500052904507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188768970,"filename":"image_18012025_09_24_03_011838_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329712686","file0":"1329712663"},"map_files_photo_id_array":[{"photo_id":"1329712686","filename":"file1"},{"photo_id":"1329712663","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329712663":["hashtag1","hashtag2"]},{"1329712686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329712663, 1329712686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 27.027939081192017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:26:02.904622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/24/image_18012025_09_24_03_011838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/24/image_18012025_09_24_03_011838_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329713303"],"photo_id":"1329713303","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3d139f6f2c8586ff9ae890397c953d41.jpg","text":"TemporaryFile(/tmp/multipartBody3742889730220081375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188826525,"filename":"image_18012025_09_24_03_011838_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1329713303"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329713303"}],"hashtags":[],"portfolio_id":"19724253","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.188106775283813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:26:22.471279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/25/image_18012025_09_25_02_663132_0001.jpg', '/home/pi/Desktop/images/18012025/09/26/image_18012025_09_26_02_254543_0000.jpg', '/home/pi/Desktop/images/18012025/09/26/image_18012025_09_26_02_254543_0001.jpg', '/home/pi/Desktop/images/18012025/09/26/image_18012025_09_26_02_254543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/25/image_18012025_09_25_02_663132_0001.jpg
/home/pi/Desktop/images/18012025/09/26/image_18012025_09_26_02_254543_0000.jpg
/home/pi/Desktop/images/18012025/09/26/image_18012025_09_26_02_254543_0001.jpg
/home/pi/Desktop/images/18012025/09/26/image_18012025_09_26_02_254543_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329713425","1329713410","1329713421","1329713415"],"photo_ids_order":["1329713410","1329713415","1329713421","1329713425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b79143d8f21706105f0694d07c251f76.jpg","text":"TemporaryFile(/tmp/multipartBody3423919251154918115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188854575,"filename":"image_18012025_09_26_02_254543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a93433eacf3d409123807778b70bd61b.jpg","text":"TemporaryFile(/tmp/multipartBody5079564549687835953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188854575,"filename":"image_18012025_09_25_02_663132_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70d66196d81c9ec955fa899f4c752208.jpg","text":"TemporaryFile(/tmp/multipartBody7502501727808067174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188854575,"filename":"image_18012025_09_26_02_254543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0fb333faa03e1191ddbadf68a60c27cf.jpg","text":"TemporaryFile(/tmp/multipartBody7230452575871520809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188854575,"filename":"image_18012025_09_26_02_254543_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329713421","file1":"1329713415","file0":"1329713410","file3":"1329713425"},"map_files_photo_id_array":[{"photo_id":"1329713421","filename":"file2"},{"photo_id":"1329713415","filename":"file1"},{"photo_id":"1329713410","filename":"file0"},{"photo_id":"1329713425","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329713425":["hashtag1","hashtag2"]},{"1329713410":["hashtag1","hashtag2"]},{"1329713421":["hashtag1","hashtag2"]},{"1329713415":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329713425, 1329713410, 1329713421, 1329713415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.69119119644165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:27:21.995635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/26/image_18012025_09_26_02_254543_0003.jpg', '/home/pi/Desktop/images/18012025/09/27/image_18012025_09_27_02_846074_0000.jpg', '/home/pi/Desktop/images/18012025/09/27/image_18012025_09_27_02_846074_0001.jpg', '/home/pi/Desktop/images/18012025/09/27/image_18012025_09_27_02_846074_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/26/image_18012025_09_26_02_254543_0003.jpg
/home/pi/Desktop/images/18012025/09/27/image_18012025_09_27_02_846074_0000.jpg
/home/pi/Desktop/images/18012025/09/27/image_18012025_09_27_02_846074_0001.jpg
/home/pi/Desktop/images/18012025/09/27/image_18012025_09_27_02_846074_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329713450","1329713455","1329713445","1329713439"],"photo_ids_order":["1329713439","1329713445","1329713450","1329713455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8fa4ed2255c27dac19737e937293b7b7.jpg","text":"TemporaryFile(/tmp/multipartBody5727346119229297505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188912805,"filename":"image_18012025_09_27_02_846074_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6067d4357e0f36f5ef594c3448b81e8f.jpg","text":"TemporaryFile(/tmp/multipartBody6131360160392752838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188912805,"filename":"image_18012025_09_27_02_846074_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a1bdd9f2bad352c3d6f36c35158471aa.jpg","text":"TemporaryFile(/tmp/multipartBody1671342616087381639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188912805,"filename":"image_18012025_09_27_02_846074_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1bd322cec234e19f20a7149914308d5c.jpg","text":"TemporaryFile(/tmp/multipartBody2620015002584351847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188912805,"filename":"image_18012025_09_26_02_254543_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329713450","file1":"1329713445","file0":"1329713439","file3":"1329713455"},"map_files_photo_id_array":[{"photo_id":"1329713450","filename":"file2"},{"photo_id":"1329713445","filename":"file1"},{"photo_id":"1329713439","filename":"file0"},{"photo_id":"1329713455","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329713450":["hashtag1","hashtag2"]},{"1329713455":["hashtag1","hashtag2"]},{"1329713445":["hashtag1","hashtag2"]},{"1329713439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329713450, 1329713455, 1329713445, 1329713439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75508952140808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:28:02.919627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/31/image_16012025_21_31_03_028184_0001.jpg', '/home/pi/Desktop/images/16012025/21/31/image_16012025_21_31_03_028184_0002.jpg', '/home/pi/Desktop/images/16012025/21/31/image_16012025_21_31_03_028184_0003.jpg', '/home/pi/Desktop/images/16012025/21/32/image_16012025_21_32_02_218999_0000.jpg', '/home/pi/Desktop/images/16012025/21/32/image_16012025_21_32_02_218999_0001.jpg', '/home/pi/Desktop/images/16012025/21/32/image_16012025_21_32_02_218999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/31/image_16012025_21_31_03_028184_0001.jpg
/home/pi/Desktop/images/16012025/21/31/image_16012025_21_31_03_028184_0002.jpg
/home/pi/Desktop/images/16012025/21/31/image_16012025_21_31_03_028184_0003.jpg
/home/pi/Desktop/images/16012025/21/32/image_16012025_21_32_02_218999_0000.jpg
/home/pi/Desktop/images/16012025/21/32/image_16012025_21_32_02_218999_0001.jpg
/home/pi/Desktop/images/16012025/21/32/image_16012025_21_32_02_218999_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329713502","1329713470","1329713467","1329713481","1329713472","1329713498"],"photo_ids_order":["1329713467","1329713470","1329713472","1329713481","1329713498","1329713502"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/32c1fc1d89ab02f39d6031851b9f87eb.jpg","text":"TemporaryFile(/tmp/multipartBody2717905067818248964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188958689,"filename":"image_16012025_21_32_02_218999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/802dc2d549f1d650e330715577144d34.jpg","text":"TemporaryFile(/tmp/multipartBody4259867373495005251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188958689,"filename":"image_16012025_21_31_03_028184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b0b32507442939e4f4bc68156869618.jpg","text":"TemporaryFile(/tmp/multipartBody6242193127377947314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188958689,"filename":"image_16012025_21_31_03_028184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/07fa77e441c4b6384c59979ea37677fe.jpg","text":"TemporaryFile(/tmp/multipartBody2504535828954042850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188958689,"filename":"image_16012025_21_32_02_218999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/99636c42539b7bbce48f782a81632577.jpg","text":"TemporaryFile(/tmp/multipartBody2646003806208422970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188958689,"filename":"image_16012025_21_31_03_028184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e87a6530ac1769be109900e04428c690.jpg","text":"TemporaryFile(/tmp/multipartBody1607539464834478662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737188958689,"filename":"image_16012025_21_32_02_218999_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329713472","file1":"1329713470","file0":"1329713467","file4":"1329713498","file5":"1329713502","file3":"1329713481"},"map_files_photo_id_array":[{"photo_id":"1329713502","filename":"file5"},{"photo_id":"1329713472","filename":"file2"},{"photo_id":"1329713498","filename":"file4"},{"photo_id":"1329713470","filename":"file1"},{"photo_id":"1329713467","filename":"file0"},{"photo_id":"1329713481","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329713502":["hashtag1","hashtag2"]},{"1329713470":["hashtag1","hashtag2"]},{"1329713467":["hashtag1","hashtag2"]},{"1329713481":["hashtag1","hashtag2"]},{"1329713472":["hashtag1","hashtag2"]},{"1329713498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329713502, 1329713470, 1329713467, 1329713481, 1329713472, 1329713498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.98494219779968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:29:02.836907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/27/image_18012025_09_27_02_846074_0003.jpg', '/home/pi/Desktop/images/18012025/09/28/image_18012025_09_28_02_349290_0000.jpg', '/home/pi/Desktop/images/18012025/09/28/image_18012025_09_28_02_349290_0001.jpg', '/home/pi/Desktop/images/18012025/09/28/image_18012025_09_28_02_349290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/27/image_18012025_09_27_02_846074_0003.jpg
/home/pi/Desktop/images/18012025/09/28/image_18012025_09_28_02_349290_0000.jpg
/home/pi/Desktop/images/18012025/09/28/image_18012025_09_28_02_349290_0001.jpg
/home/pi/Desktop/images/18012025/09/28/image_18012025_09_28_02_349290_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329713516","1329713525","1329713529","1329713520"],"photo_ids_order":["1329713516","1329713520","1329713525","1329713529"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8e5ec85c8b9afc24f406a72ce33b911.jpg","text":"TemporaryFile(/tmp/multipartBody8326387634647686720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189014122,"filename":"image_18012025_09_27_02_846074_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b205988820c651bddee28015b0d7bc4.jpg","text":"TemporaryFile(/tmp/multipartBody2497540326751744541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189014122,"filename":"image_18012025_09_28_02_349290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba612086e2cdae43598ce8bb40598c44.jpg","text":"TemporaryFile(/tmp/multipartBody4077436452324514384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189014122,"filename":"image_18012025_09_28_02_349290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/223bc329a7066cd0eb0ecc2d35fede14.jpg","text":"TemporaryFile(/tmp/multipartBody2883668793721339842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189014122,"filename":"image_18012025_09_28_02_349290_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329713525","file1":"1329713520","file0":"1329713516","file3":"1329713529"},"map_files_photo_id_array":[{"photo_id":"1329713525","filename":"file2"},{"photo_id":"1329713520","filename":"file1"},{"photo_id":"1329713516","filename":"file0"},{"photo_id":"1329713529","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329713516":["hashtag1","hashtag2"]},{"1329713525":["hashtag1","hashtag2"]},{"1329713529":["hashtag1","hashtag2"]},{"1329713520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329713516, 1329713525, 1329713529, 1329713520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.87529277801514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:30:03.059191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/28/image_18012025_09_28_02_349290_0003.jpg', '/home/pi/Desktop/images/18012025/09/29/image_18012025_09_29_02_945910_0000.jpg', '/home/pi/Desktop/images/18012025/09/29/image_18012025_09_29_02_945910_0001.jpg', '/home/pi/Desktop/images/18012025/09/29/image_18012025_09_29_02_945910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/28/image_18012025_09_28_02_349290_0003.jpg
/home/pi/Desktop/images/18012025/09/29/image_18012025_09_29_02_945910_0000.jpg
/home/pi/Desktop/images/18012025/09/29/image_18012025_09_29_02_945910_0001.jpg
/home/pi/Desktop/images/18012025/09/29/image_18012025_09_29_02_945910_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329713552","1329713563","1329713560","1329713556"],"photo_ids_order":["1329713552","1329713556","1329713560","1329713563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ee86a167eab60a4791c5d0a63e22257.jpg","text":"TemporaryFile(/tmp/multipartBody1815679134403545271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189074018,"filename":"image_18012025_09_28_02_349290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7eb6dd2c1c9c91ca58fd44fe3fe2091c.jpg","text":"TemporaryFile(/tmp/multipartBody1091207961707743458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189074018,"filename":"image_18012025_09_29_02_945910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/941b2b922ed22b703c237c65facaab6e.jpg","text":"TemporaryFile(/tmp/multipartBody6734633351633072202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189074018,"filename":"image_18012025_09_29_02_945910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d58963761b310fb55308eeca8eb3b56e.jpg","text":"TemporaryFile(/tmp/multipartBody2733150880866602457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189074018,"filename":"image_18012025_09_29_02_945910_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329713560","file1":"1329713556","file0":"1329713552","file3":"1329713563"},"map_files_photo_id_array":[{"photo_id":"1329713560","filename":"file2"},{"photo_id":"1329713556","filename":"file1"},{"photo_id":"1329713552","filename":"file0"},{"photo_id":"1329713563","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329713552":["hashtag1","hashtag2"]},{"1329713563":["hashtag1","hashtag2"]},{"1329713560":["hashtag1","hashtag2"]},{"1329713556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329713552, 1329713563, 1329713560, 1329713556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.380369424819946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:31:02.723942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/29/image_18012025_09_29_02_945910_0003.jpg', '/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0000.jpg', '/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0001.jpg', '/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/29/image_18012025_09_29_02_945910_0003.jpg
/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0000.jpg
/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0001.jpg
/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.843636274337769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:31:22.181247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/29/image_18012025_09_29_02_945910_0003.jpg', '/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0000.jpg', '/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0001.jpg', '/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0002.jpg', '/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0003.jpg', '/home/pi/Desktop/images/18012025/09/31/image_18012025_09_31_03_028575_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/29/image_18012025_09_29_02_945910_0003.jpg
/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0000.jpg
/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0001.jpg
/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0002.jpg
/home/pi/Desktop/images/18012025/09/30/image_18012025_09_30_02_401315_0003.jpg
/home/pi/Desktop/images/18012025/09/31/image_18012025_09_31_03_028575_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329713825","1329713819","1329713821","1329713823","1329713817","1329713795"],"photo_ids_order":["1329713795","1329713817","1329713819","1329713821","1329713823","1329713825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc9c3f3855805e3d048a34fdd7fd99bf.jpg","text":"TemporaryFile(/tmp/multipartBody2626803018146917531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189158859,"filename":"image_18012025_09_31_03_028575_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f42e58e816df02e0821208675f1e44ca.jpg","text":"TemporaryFile(/tmp/multipartBody425315267166704246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189158859,"filename":"image_18012025_09_30_02_401315_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/35b71c32cc05d6af20f82143049a3718.jpg","text":"TemporaryFile(/tmp/multipartBody2298360842966005051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189158859,"filename":"image_18012025_09_30_02_401315_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/62f5afab15839d2f796edb1e85e790e5.jpg","text":"TemporaryFile(/tmp/multipartBody316594642896711602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189158859,"filename":"image_18012025_09_30_02_401315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7fe0c7ded8b7ee4c4ea34c265d35a64.jpg","text":"TemporaryFile(/tmp/multipartBody5957621881804184300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189158859,"filename":"image_18012025_09_30_02_401315_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/52d99ecfd86f42dade34d5de74c7b96f.jpg","text":"TemporaryFile(/tmp/multipartBody8169008817420914257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189158859,"filename":"image_18012025_09_29_02_945910_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329713819","file1":"1329713817","file0":"1329713795","file4":"1329713823","file5":"1329713825","file3":"1329713821"},"map_files_photo_id_array":[{"photo_id":"1329713825","filename":"file5"},{"photo_id":"1329713819","filename":"file2"},{"photo_id":"1329713823","filename":"file4"},{"photo_id":"1329713817","filename":"file1"},{"photo_id":"1329713795","filename":"file0"},{"photo_id":"1329713821","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329713825":["hashtag1","hashtag2"]},{"1329713819":["hashtag1","hashtag2"]},{"1329713821":["hashtag1","hashtag2"]},{"1329713823":["hashtag1","hashtag2"]},{"1329713817":["hashtag1","hashtag2"]},{"1329713795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329713825, 1329713819, 1329713821, 1329713823, 1329713817, 1329713795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.5454580783844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:32:22.811998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/31/image_18012025_09_31_03_028575_0001.jpg', '/home/pi/Desktop/images/18012025/09/31/image_18012025_09_31_03_028575_0002.jpg', '/home/pi/Desktop/images/18012025/09/31/image_18012025_09_31_03_028575_0003.jpg', '/home/pi/Desktop/images/18012025/09/32/image_18012025_09_32_02_505362_0000.jpg', '/home/pi/Desktop/images/18012025/09/32/image_18012025_09_32_02_505362_0001.jpg', '/home/pi/Desktop/images/18012025/09/32/image_18012025_09_32_02_505362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/31/image_18012025_09_31_03_028575_0001.jpg
/home/pi/Desktop/images/18012025/09/31/image_18012025_09_31_03_028575_0002.jpg
/home/pi/Desktop/images/18012025/09/31/image_18012025_09_31_03_028575_0003.jpg
/home/pi/Desktop/images/18012025/09/32/image_18012025_09_32_02_505362_0000.jpg
/home/pi/Desktop/images/18012025/09/32/image_18012025_09_32_02_505362_0001.jpg
/home/pi/Desktop/images/18012025/09/32/image_18012025_09_32_02_505362_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329713861","1329713852","1329713857","1329713865","1329713847","1329713841"],"photo_ids_order":["1329713841","1329713847","1329713852","1329713857","1329713861","1329713865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7fcaf5d444c8c70eb8a181175c144720.jpg","text":"TemporaryFile(/tmp/multipartBody3070535864168454999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189219436,"filename":"image_18012025_09_32_02_505362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/90ff3ba4da182188ce6ad52f98e57ace.jpg","text":"TemporaryFile(/tmp/multipartBody301775678515617008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189219436,"filename":"image_18012025_09_31_03_028575_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b3260bf11eac35a672d4415b33747ffe.jpg","text":"TemporaryFile(/tmp/multipartBody2970837673404508194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189219436,"filename":"image_18012025_09_32_02_505362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9f09f4ba9dccafe758df7a92947984a.jpg","text":"TemporaryFile(/tmp/multipartBody5557965545750578465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189219436,"filename":"image_18012025_09_32_02_505362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c38647c2060369872a59cffb17c82f26.jpg","text":"TemporaryFile(/tmp/multipartBody6649680590998859618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189219436,"filename":"image_18012025_09_31_03_028575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da8a56c358327272512f194147512c38.jpg","text":"TemporaryFile(/tmp/multipartBody843935439938876112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189219436,"filename":"image_18012025_09_31_03_028575_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329713852","file1":"1329713847","file0":"1329713841","file4":"1329713861","file5":"1329713865","file3":"1329713857"},"map_files_photo_id_array":[{"photo_id":"1329713865","filename":"file5"},{"photo_id":"1329713852","filename":"file2"},{"photo_id":"1329713861","filename":"file4"},{"photo_id":"1329713847","filename":"file1"},{"photo_id":"1329713841","filename":"file0"},{"photo_id":"1329713857","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329713861":["hashtag1","hashtag2"]},{"1329713852":["hashtag1","hashtag2"]},{"1329713857":["hashtag1","hashtag2"]},{"1329713865":["hashtag1","hashtag2"]},{"1329713847":["hashtag1","hashtag2"]},{"1329713841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329713861, 1329713852, 1329713857, 1329713865, 1329713847, 1329713841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.033347368240356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:33:22.272188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/32/image_18012025_09_32_02_505362_0003.jpg', '/home/pi/Desktop/images/18012025/09/33/image_18012025_09_33_03_121509_0000.jpg', '/home/pi/Desktop/images/18012025/09/33/image_18012025_09_33_03_121509_0001.jpg', '/home/pi/Desktop/images/18012025/09/33/image_18012025_09_33_03_121509_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/32/image_18012025_09_32_02_505362_0003.jpg
/home/pi/Desktop/images/18012025/09/33/image_18012025_09_33_03_121509_0000.jpg
/home/pi/Desktop/images/18012025/09/33/image_18012025_09_33_03_121509_0001.jpg
/home/pi/Desktop/images/18012025/09/33/image_18012025_09_33_03_121509_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329713890","1329713881","1329713886","1329713874"],"photo_ids_order":["1329713874","1329713881","1329713886","1329713890"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/77eba3aff753cee16ad9956b55b21dcf.jpg","text":"TemporaryFile(/tmp/multipartBody6555321161546535816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189273639,"filename":"image_18012025_09_33_03_121509_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eef10f7cb8eeb8c1842d35e0e2286c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5174315669175917731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189273639,"filename":"image_18012025_09_33_03_121509_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e3d083b52a453c7d090ec034798740a.jpg","text":"TemporaryFile(/tmp/multipartBody2340218804151866308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189273639,"filename":"image_18012025_09_33_03_121509_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ee6346ecde840bdd28555bff799b390.jpg","text":"TemporaryFile(/tmp/multipartBody1309335471685584185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189273639,"filename":"image_18012025_09_32_02_505362_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329713886","file1":"1329713881","file0":"1329713874","file3":"1329713890"},"map_files_photo_id_array":[{"photo_id":"1329713886","filename":"file2"},{"photo_id":"1329713881","filename":"file1"},{"photo_id":"1329713874","filename":"file0"},{"photo_id":"1329713890","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329713890":["hashtag1","hashtag2"]},{"1329713881":["hashtag1","hashtag2"]},{"1329713886":["hashtag1","hashtag2"]},{"1329713874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329713890, 1329713881, 1329713886, 1329713874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77391219139099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:34:21.878346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/33/image_18012025_09_33_03_121509_0003.jpg', '/home/pi/Desktop/images/18012025/09/34/image_18012025_09_34_02_729763_0000.jpg', '/home/pi/Desktop/images/18012025/09/34/image_18012025_09_34_02_729763_0001.jpg', '/home/pi/Desktop/images/18012025/09/34/image_18012025_09_34_02_729763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/33/image_18012025_09_33_03_121509_0003.jpg
/home/pi/Desktop/images/18012025/09/34/image_18012025_09_34_02_729763_0000.jpg
/home/pi/Desktop/images/18012025/09/34/image_18012025_09_34_02_729763_0001.jpg
/home/pi/Desktop/images/18012025/09/34/image_18012025_09_34_02_729763_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329713939","1329713918","1329713959","1329713925"],"photo_ids_order":["1329713918","1329713925","1329713939","1329713959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d2d286ab61beacb4a639a43b29ea7745.jpg","text":"TemporaryFile(/tmp/multipartBody4910938892645360561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189333055,"filename":"image_18012025_09_34_02_729763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3e27684b2cab4548599412820e10701.jpg","text":"TemporaryFile(/tmp/multipartBody783618547128448789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189333055,"filename":"image_18012025_09_33_03_121509_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d2715ba69692c6a205de90c9582e46db.jpg","text":"TemporaryFile(/tmp/multipartBody7330007313688132568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189333055,"filename":"image_18012025_09_34_02_729763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2325ee3ab12a183456993a405bb8abc8.jpg","text":"TemporaryFile(/tmp/multipartBody1225271000913360888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189333055,"filename":"image_18012025_09_34_02_729763_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329713939","file1":"1329713925","file0":"1329713918","file3":"1329713959"},"map_files_photo_id_array":[{"photo_id":"1329713939","filename":"file2"},{"photo_id":"1329713925","filename":"file1"},{"photo_id":"1329713918","filename":"file0"},{"photo_id":"1329713959","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329713939":["hashtag1","hashtag2"]},{"1329713918":["hashtag1","hashtag2"]},{"1329713959":["hashtag1","hashtag2"]},{"1329713925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329713939, 1329713918, 1329713959, 1329713925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.865229845047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:35:03.138650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/32/image_16012025_21_32_02_218999_0003.jpg', '/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0000.jpg', '/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0001.jpg', '/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0002.jpg', '/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0003.jpg', '/home/pi/Desktop/images/16012025/21/34/image_16012025_21_34_02_565609_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/32/image_16012025_21_32_02_218999_0003.jpg
/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0000.jpg
/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0001.jpg
/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0002.jpg
/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0003.jpg
/home/pi/Desktop/images/16012025/21/34/image_16012025_21_34_02_565609_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.356018543243408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:35:22.353286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/34/image_18012025_09_34_02_729763_0003.jpg', '/home/pi/Desktop/images/18012025/09/35/image_18012025_09_35_02_237415_0000.jpg', '/home/pi/Desktop/images/18012025/09/35/image_18012025_09_35_02_237415_0001.jpg', '/home/pi/Desktop/images/18012025/09/35/image_18012025_09_35_02_237415_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/34/image_18012025_09_34_02_729763_0003.jpg
/home/pi/Desktop/images/18012025/09/35/image_18012025_09_35_02_237415_0000.jpg
/home/pi/Desktop/images/18012025/09/35/image_18012025_09_35_02_237415_0001.jpg
/home/pi/Desktop/images/18012025/09/35/image_18012025_09_35_02_237415_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329714218","1329714082","1329714064","1329714120"],"photo_ids_order":["1329714064","1329714082","1329714120","1329714218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a3cdcfe30d91fb5a2ae6a55f42099ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5684923470815182262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189393564,"filename":"image_18012025_09_35_02_237415_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d1cd474eb9948e8a4a26544f328c565a.jpg","text":"TemporaryFile(/tmp/multipartBody4795449177052846162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189393564,"filename":"image_18012025_09_35_02_237415_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/90329cd5d8ddff043b3af325172982da.jpg","text":"TemporaryFile(/tmp/multipartBody7973442276142717949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189393564,"filename":"image_18012025_09_34_02_729763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d04f4390cc152b019e089471a1ef8fd7.jpg","text":"TemporaryFile(/tmp/multipartBody6785617374993140792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189393564,"filename":"image_18012025_09_35_02_237415_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329714120","file1":"1329714082","file0":"1329714064","file3":"1329714218"},"map_files_photo_id_array":[{"photo_id":"1329714120","filename":"file2"},{"photo_id":"1329714082","filename":"file1"},{"photo_id":"1329714064","filename":"file0"},{"photo_id":"1329714218","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329714218":["hashtag1","hashtag2"]},{"1329714082":["hashtag1","hashtag2"]},{"1329714064":["hashtag1","hashtag2"]},{"1329714120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329714218, 1329714082, 1329714064, 1329714120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.03433561325073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:36:22.158676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/35/image_18012025_09_35_02_237415_0003.jpg', '/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0000.jpg', '/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0001.jpg', '/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/35/image_18012025_09_35_02_237415_0003.jpg
/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0000.jpg
/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0001.jpg
/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.870919227600098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:37:03.212553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/35/image_18012025_09_35_02_237415_0003.jpg', '/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0000.jpg', '/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0001.jpg', '/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/35/image_18012025_09_35_02_237415_0003.jpg
/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0000.jpg
/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0001.jpg
/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329715417","1329715426","1329715259","1329715466"],"photo_ids_order":["1329715259","1329715417","1329715426","1329715466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d61d6a613deebd5a04f0244ac9cf1900.jpg","text":"TemporaryFile(/tmp/multipartBody5751799835766734318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189494548,"filename":"image_18012025_09_36_02_750628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5eebce07ba657aee836905461a674d40.jpg","text":"TemporaryFile(/tmp/multipartBody4205711449174320823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189494548,"filename":"image_18012025_09_36_02_750628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bb33c44c5a0d46d3aba20951ef804444.jpg","text":"TemporaryFile(/tmp/multipartBody6819241394963146536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189494548,"filename":"image_18012025_09_35_02_237415_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03ac144a3e0568b457f09feeb9732755.jpg","text":"TemporaryFile(/tmp/multipartBody2350264430528217975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189494548,"filename":"image_18012025_09_36_02_750628_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329715426","file1":"1329715417","file0":"1329715259","file3":"1329715466"},"map_files_photo_id_array":[{"photo_id":"1329715426","filename":"file2"},{"photo_id":"1329715417","filename":"file1"},{"photo_id":"1329715259","filename":"file0"},{"photo_id":"1329715466","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329715417":["hashtag1","hashtag2"]},{"1329715426":["hashtag1","hashtag2"]},{"1329715259":["hashtag1","hashtag2"]},{"1329715466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329715417, 1329715426, 1329715259, 1329715466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.483304262161255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:38:02.861829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0003.jpg', '/home/pi/Desktop/images/18012025/09/37/image_18012025_09_37_02_538097_0000.jpg', '/home/pi/Desktop/images/18012025/09/37/image_18012025_09_37_02_538097_0001.jpg', '/home/pi/Desktop/images/18012025/09/37/image_18012025_09_37_02_538097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/36/image_18012025_09_36_02_750628_0003.jpg
/home/pi/Desktop/images/18012025/09/37/image_18012025_09_37_02_538097_0000.jpg
/home/pi/Desktop/images/18012025/09/37/image_18012025_09_37_02_538097_0001.jpg
/home/pi/Desktop/images/18012025/09/37/image_18012025_09_37_02_538097_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329715528","1329715535","1329715532","1329715526"],"photo_ids_order":["1329715526","1329715528","1329715532","1329715535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0aee8e4366f37b0f329883cb6f6b25bd.jpg","text":"TemporaryFile(/tmp/multipartBody7340387343241797197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189554207,"filename":"image_18012025_09_37_02_538097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/94f40c631ea5a74dbf19adf77f5c8ff4.jpg","text":"TemporaryFile(/tmp/multipartBody3080841274313920046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189554207,"filename":"image_18012025_09_37_02_538097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95cedf4287efdb75e8e887d8b56d1bfd.jpg","text":"TemporaryFile(/tmp/multipartBody2299012306199181326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189554207,"filename":"image_18012025_09_37_02_538097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4704149acf355f6b6e5ec774e3077c27.jpg","text":"TemporaryFile(/tmp/multipartBody8639714974016941002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189554207,"filename":"image_18012025_09_36_02_750628_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329715532","file1":"1329715528","file0":"1329715526","file3":"1329715535"},"map_files_photo_id_array":[{"photo_id":"1329715532","filename":"file2"},{"photo_id":"1329715528","filename":"file1"},{"photo_id":"1329715526","filename":"file0"},{"photo_id":"1329715535","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329715528":["hashtag1","hashtag2"]},{"1329715535":["hashtag1","hashtag2"]},{"1329715532":["hashtag1","hashtag2"]},{"1329715526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329715528, 1329715535, 1329715532, 1329715526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.29226088523865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:39:02.572985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/37/image_18012025_09_37_02_538097_0003.jpg', '/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0000.jpg', '/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0001.jpg', '/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/37/image_18012025_09_37_02_538097_0003.jpg
/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0000.jpg
/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0001.jpg
/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.757729291915894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:39:21.934816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/37/image_18012025_09_37_02_538097_0003.jpg', '/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0000.jpg', '/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0001.jpg', '/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0002.jpg', '/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0003.jpg', '/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/37/image_18012025_09_37_02_538097_0003.jpg
/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0000.jpg
/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0001.jpg
/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0002.jpg
/home/pi/Desktop/images/18012025/09/38/image_18012025_09_38_03_071864_0003.jpg
/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329715601","1329715605","1329715608","1329715610","1329715613","1329715597"],"photo_ids_order":["1329715597","1329715601","1329715605","1329715608","1329715610","1329715613"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/05f59e10c676017fc21a72f4d3c56fa2.jpg","text":"TemporaryFile(/tmp/multipartBody7523728040782636124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189638342,"filename":"image_18012025_09_38_03_071864_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f51fbdd78f7706ad0500030677ed06a9.jpg","text":"TemporaryFile(/tmp/multipartBody9165284141213300754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189638342,"filename":"image_18012025_09_38_03_071864_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6910567b8b169097e4a605a61418f10.jpg","text":"TemporaryFile(/tmp/multipartBody9080716251816342340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189638342,"filename":"image_18012025_09_38_03_071864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/11da1717ff25ecd797407ff33fefa527.jpg","text":"TemporaryFile(/tmp/multipartBody8739990950741176375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189638342,"filename":"image_18012025_09_38_03_071864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8110e9da29ea0201b2441a2365181cf8.jpg","text":"TemporaryFile(/tmp/multipartBody3476847145768283336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189638342,"filename":"image_18012025_09_39_02_804741_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/36d7469dac17203f29a8204c40b0c993.jpg","text":"TemporaryFile(/tmp/multipartBody4357492513671410428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189638342,"filename":"image_18012025_09_37_02_538097_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329715605","file1":"1329715601","file0":"1329715597","file4":"1329715610","file5":"1329715613","file3":"1329715608"},"map_files_photo_id_array":[{"photo_id":"1329715613","filename":"file5"},{"photo_id":"1329715605","filename":"file2"},{"photo_id":"1329715610","filename":"file4"},{"photo_id":"1329715601","filename":"file1"},{"photo_id":"1329715597","filename":"file0"},{"photo_id":"1329715608","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329715601":["hashtag1","hashtag2"]},{"1329715605":["hashtag1","hashtag2"]},{"1329715608":["hashtag1","hashtag2"]},{"1329715610":["hashtag1","hashtag2"]},{"1329715613":["hashtag1","hashtag2"]},{"1329715597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329715601, 1329715605, 1329715608, 1329715610, 1329715613, 1329715597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.97505497932434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:40:22.813772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0001.jpg', '/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0002.jpg', '/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0003.jpg', '/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0000.jpg', '/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0001.jpg', '/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0001.jpg
/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0002.jpg
/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0003.jpg
/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0000.jpg
/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0001.jpg
/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.574920892715454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:41:02.621319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0001.jpg', '/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0002.jpg', '/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0003.jpg', '/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0000.jpg', '/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0001.jpg', '/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0001.jpg
/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0002.jpg
/home/pi/Desktop/images/18012025/09/39/image_18012025_09_39_02_804741_0003.jpg
/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0000.jpg
/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0001.jpg
/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329715870","1329715866","1329715860","1329715862","1329715874","1329715835"],"photo_ids_order":["1329715835","1329715860","1329715862","1329715866","1329715870","1329715874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46c4c41596aeb8b3520aca4ced26d65c.jpg","text":"TemporaryFile(/tmp/multipartBody4972865931006097532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189739641,"filename":"image_18012025_09_40_02_324930_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f9196a097472c260ea13a0d437c3e8e.jpg","text":"TemporaryFile(/tmp/multipartBody2984008462288348730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189739641,"filename":"image_18012025_09_40_02_324930_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c2268350660d43d2947d46f96599d868.jpg","text":"TemporaryFile(/tmp/multipartBody5627820908035579728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189739641,"filename":"image_18012025_09_39_02_804741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/23c5b2ef103d57c97bc2b4ddd8ba2cd9.jpg","text":"TemporaryFile(/tmp/multipartBody3419773959223690721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189739641,"filename":"image_18012025_09_39_02_804741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4a3ded73507d22fdc3fbb5633b900994.jpg","text":"TemporaryFile(/tmp/multipartBody1175936694299245787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189739641,"filename":"image_18012025_09_40_02_324930_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/24ebfede74d1a5a433229abf92d739df.jpg","text":"TemporaryFile(/tmp/multipartBody5449742000000768385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189739641,"filename":"image_18012025_09_39_02_804741_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329715862","file1":"1329715860","file0":"1329715835","file4":"1329715870","file5":"1329715874","file3":"1329715866"},"map_files_photo_id_array":[{"photo_id":"1329715874","filename":"file5"},{"photo_id":"1329715862","filename":"file2"},{"photo_id":"1329715870","filename":"file4"},{"photo_id":"1329715860","filename":"file1"},{"photo_id":"1329715835","filename":"file0"},{"photo_id":"1329715866","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329715870":["hashtag1","hashtag2"]},{"1329715866":["hashtag1","hashtag2"]},{"1329715860":["hashtag1","hashtag2"]},{"1329715862":["hashtag1","hashtag2"]},{"1329715874":["hashtag1","hashtag2"]},{"1329715835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329715870, 1329715866, 1329715860, 1329715862, 1329715874, 1329715835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.35167980194092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:42:21.827097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0003.jpg', '/home/pi/Desktop/images/18012025/09/41/image_18012025_09_41_02_922392_0000.jpg', '/home/pi/Desktop/images/18012025/09/41/image_18012025_09_41_02_922392_0001.jpg', '/home/pi/Desktop/images/18012025/09/41/image_18012025_09_41_02_922392_0002.jpg', '/home/pi/Desktop/images/18012025/09/41/image_18012025_09_41_02_922392_0003.jpg', '/home/pi/Desktop/images/18012025/09/42/image_18012025_09_42_02_509419_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/40/image_18012025_09_40_02_324930_0003.jpg
/home/pi/Desktop/images/18012025/09/41/image_18012025_09_41_02_922392_0000.jpg
/home/pi/Desktop/images/18012025/09/41/image_18012025_09_41_02_922392_0001.jpg
/home/pi/Desktop/images/18012025/09/41/image_18012025_09_41_02_922392_0002.jpg
/home/pi/Desktop/images/18012025/09/41/image_18012025_09_41_02_922392_0003.jpg
/home/pi/Desktop/images/18012025/09/42/image_18012025_09_42_02_509419_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329716097","1329716091","1329716085","1329716088","1329716093","1329716095"],"photo_ids_order":["1329716085","1329716088","1329716091","1329716093","1329716095","1329716097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8d01b41107a402e65586e5df4762161.jpg","text":"TemporaryFile(/tmp/multipartBody7228868606036957023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189818149,"filename":"image_18012025_09_42_02_509419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f0c505e7841d84302814489381380151.jpg","text":"TemporaryFile(/tmp/multipartBody246638428806494860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189818149,"filename":"image_18012025_09_41_02_922392_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70dcad16f5ecba7325693805f11f332b.jpg","text":"TemporaryFile(/tmp/multipartBody4006851274234760340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189818149,"filename":"image_18012025_09_40_02_324930_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c11a1b71781b6cf0a8559a3c625435e8.jpg","text":"TemporaryFile(/tmp/multipartBody4392078968721451985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189818149,"filename":"image_18012025_09_41_02_922392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ece7cf722efc6eb6456719cfa9467f69.jpg","text":"TemporaryFile(/tmp/multipartBody1125544698431527890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189818149,"filename":"image_18012025_09_41_02_922392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6cf0ba9759cd8b560c52dc026186cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2541880648297584968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189818149,"filename":"image_18012025_09_41_02_922392_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329716091","file1":"1329716088","file0":"1329716085","file4":"1329716095","file5":"1329716097","file3":"1329716093"},"map_files_photo_id_array":[{"photo_id":"1329716097","filename":"file5"},{"photo_id":"1329716091","filename":"file2"},{"photo_id":"1329716095","filename":"file4"},{"photo_id":"1329716088","filename":"file1"},{"photo_id":"1329716085","filename":"file0"},{"photo_id":"1329716093","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329716097":["hashtag1","hashtag2"]},{"1329716091":["hashtag1","hashtag2"]},{"1329716085":["hashtag1","hashtag2"]},{"1329716088":["hashtag1","hashtag2"]},{"1329716093":["hashtag1","hashtag2"]},{"1329716095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329716097, 1329716091, 1329716085, 1329716088, 1329716093, 1329716095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.79916596412659 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:43:22.373952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/42/image_18012025_09_42_02_509419_0001.jpg', '/home/pi/Desktop/images/18012025/09/42/image_18012025_09_42_02_509419_0002.jpg', '/home/pi/Desktop/images/18012025/09/42/image_18012025_09_42_02_509419_0003.jpg', '/home/pi/Desktop/images/18012025/09/43/image_18012025_09_43_02_199534_0000.jpg', '/home/pi/Desktop/images/18012025/09/43/image_18012025_09_43_02_199534_0001.jpg', '/home/pi/Desktop/images/18012025/09/43/image_18012025_09_43_02_199534_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/42/image_18012025_09_42_02_509419_0001.jpg
/home/pi/Desktop/images/18012025/09/42/image_18012025_09_42_02_509419_0002.jpg
/home/pi/Desktop/images/18012025/09/42/image_18012025_09_42_02_509419_0003.jpg
/home/pi/Desktop/images/18012025/09/43/image_18012025_09_43_02_199534_0000.jpg
/home/pi/Desktop/images/18012025/09/43/image_18012025_09_43_02_199534_0001.jpg
/home/pi/Desktop/images/18012025/09/43/image_18012025_09_43_02_199534_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329716122","1329716119","1329716115","1329716106","1329716111","1329716120"],"photo_ids_order":["1329716106","1329716111","1329716115","1329716119","1329716120","1329716122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e9cd5d967da80dc07d2d54a4fc87c8a.jpg","text":"TemporaryFile(/tmp/multipartBody2882028936893172847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189879030,"filename":"image_18012025_09_43_02_199534_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fc3a128786dc271650ab97fa64f2268b.jpg","text":"TemporaryFile(/tmp/multipartBody5270010203304963111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189879030,"filename":"image_18012025_09_43_02_199534_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6299d15c9126aed66f2772f39af5f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5243131284269335760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189879030,"filename":"image_18012025_09_42_02_509419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48c626e8f54db551cdf843def488029a.jpg","text":"TemporaryFile(/tmp/multipartBody3269643176102747482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189879030,"filename":"image_18012025_09_42_02_509419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bcc968c3e8d0c5b96cb465ea2b9887bc.jpg","text":"TemporaryFile(/tmp/multipartBody8435642995486072323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189879030,"filename":"image_18012025_09_42_02_509419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec2864ab415ec1301cbb8ca4f9114690.jpg","text":"TemporaryFile(/tmp/multipartBody3279882108560603568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189879030,"filename":"image_18012025_09_43_02_199534_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329716115","file1":"1329716111","file0":"1329716106","file4":"1329716120","file5":"1329716122","file3":"1329716119"},"map_files_photo_id_array":[{"photo_id":"1329716122","filename":"file5"},{"photo_id":"1329716115","filename":"file2"},{"photo_id":"1329716120","filename":"file4"},{"photo_id":"1329716111","filename":"file1"},{"photo_id":"1329716106","filename":"file0"},{"photo_id":"1329716119","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329716122":["hashtag1","hashtag2"]},{"1329716119":["hashtag1","hashtag2"]},{"1329716115":["hashtag1","hashtag2"]},{"1329716106":["hashtag1","hashtag2"]},{"1329716111":["hashtag1","hashtag2"]},{"1329716120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329716122, 1329716119, 1329716115, 1329716106, 1329716111, 1329716120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.07054018974304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:44:21.892212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/43/image_18012025_09_43_02_199534_0003.jpg', '/home/pi/Desktop/images/18012025/09/44/image_18012025_09_44_02_777630_0000.jpg', '/home/pi/Desktop/images/18012025/09/44/image_18012025_09_44_02_777630_0001.jpg', '/home/pi/Desktop/images/18012025/09/44/image_18012025_09_44_02_777630_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/43/image_18012025_09_43_02_199534_0003.jpg
/home/pi/Desktop/images/18012025/09/44/image_18012025_09_44_02_777630_0000.jpg
/home/pi/Desktop/images/18012025/09/44/image_18012025_09_44_02_777630_0001.jpg
/home/pi/Desktop/images/18012025/09/44/image_18012025_09_44_02_777630_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329716145","1329716132","1329716149","1329716140"],"photo_ids_order":["1329716132","1329716140","1329716145","1329716149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18cbe1fe7dcf5df69c701e7ea4a1ac25.jpg","text":"TemporaryFile(/tmp/multipartBody4705001668111837922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189933488,"filename":"image_18012025_09_44_02_777630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a10b2c56f73959b8257ec8bbd20b32f4.jpg","text":"TemporaryFile(/tmp/multipartBody1297779497981951603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189933488,"filename":"image_18012025_09_43_02_199534_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8163c19a3836acf7203a5498ed44bd7.jpg","text":"TemporaryFile(/tmp/multipartBody6223242838243037642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189933488,"filename":"image_18012025_09_44_02_777630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4fb346d5983fa5f1ea964cb18d29136.jpg","text":"TemporaryFile(/tmp/multipartBody4956527813025240440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189933488,"filename":"image_18012025_09_44_02_777630_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329716145","file1":"1329716140","file0":"1329716132","file3":"1329716149"},"map_files_photo_id_array":[{"photo_id":"1329716145","filename":"file2"},{"photo_id":"1329716140","filename":"file1"},{"photo_id":"1329716132","filename":"file0"},{"photo_id":"1329716149","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329716145":["hashtag1","hashtag2"]},{"1329716132":["hashtag1","hashtag2"]},{"1329716149":["hashtag1","hashtag2"]},{"1329716140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329716145, 1329716132, 1329716149, 1329716140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.050225257873535 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-18 09:45:22.444181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/44/image_18012025_09_44_02_777630_0003.jpg', '/home/pi/Desktop/images/18012025/09/45/image_18012025_09_45_02_275033_0000.jpg', '/home/pi/Desktop/images/18012025/09/45/image_18012025_09_45_02_275033_0001.jpg', '/home/pi/Desktop/images/18012025/09/45/image_18012025_09_45_02_275033_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/44/image_18012025_09_44_02_777630_0003.jpg
/home/pi/Desktop/images/18012025/09/45/image_18012025_09_45_02_275033_0000.jpg
/home/pi/Desktop/images/18012025/09/45/image_18012025_09_45_02_275033_0001.jpg
/home/pi/Desktop/images/18012025/09/45/image_18012025_09_45_02_275033_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329716283","1329716253","1329716448","1329716313"],"photo_ids_order":["1329716253","1329716283","1329716313","1329716448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7beff35ef72b943b2aba146925ec09a7.jpg","text":"TemporaryFile(/tmp/multipartBody2468522585847365866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189993712,"filename":"image_18012025_09_45_02_275033_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d46dfa9398ed906f685835256934bc8e.jpg","text":"TemporaryFile(/tmp/multipartBody5288194197378962033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189993712,"filename":"image_18012025_09_44_02_777630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ba87e1770304ee4ffc2509f3f36f7ca.jpg","text":"TemporaryFile(/tmp/multipartBody695973158513869526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189993712,"filename":"image_18012025_09_45_02_275033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc7fcad2efe4ffd59b4a288a7e6c047c.jpg","text":"TemporaryFile(/tmp/multipartBody921501784797956645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737189993712,"filename":"image_18012025_09_45_02_275033_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329716313","file1":"1329716283","file0":"1329716253","file3":"1329716448"},"map_files_photo_id_array":[{"photo_id":"1329716313","filename":"file2"},{"photo_id":"1329716283","filename":"file1"},{"photo_id":"1329716253","filename":"file0"},{"photo_id":"1329716448","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329716283":["hashtag1","hashtag2"]},{"1329716253":["hashtag1","hashtag2"]},{"1329716448":["hashtag1","hashtag2"]},{"1329716313":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329716283, 1329716253, 1329716448, 1329716313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09178304672241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:46:21.980002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/45/image_18012025_09_45_02_275033_0003.jpg', '/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0000.jpg', '/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0001.jpg', '/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/45/image_18012025_09_45_02_275033_0003.jpg
/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0000.jpg
/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0001.jpg
/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.633987426757812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:47:03.034650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/45/image_18012025_09_45_02_275033_0003.jpg', '/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0000.jpg', '/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0001.jpg', '/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/45/image_18012025_09_45_02_275033_0003.jpg
/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0000.jpg
/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0001.jpg
/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329716586","1329716577","1329716581","1329716575"],"photo_ids_order":["1329716575","1329716577","1329716581","1329716586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc2b2b225290c5660b14c0bdd34ccb59.jpg","text":"TemporaryFile(/tmp/multipartBody4875382336323578406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190094162,"filename":"image_18012025_09_46_02_836913_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4084531b1f68bff289dbd0485ac4ef35.jpg","text":"TemporaryFile(/tmp/multipartBody4640326580417113064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190094162,"filename":"image_18012025_09_46_02_836913_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c91ea10d32eeb9325956417bd6baf6fd.jpg","text":"TemporaryFile(/tmp/multipartBody8276464840910868682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190094162,"filename":"image_18012025_09_46_02_836913_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e28931b158a0096ee347fe7bf9e843a4.jpg","text":"TemporaryFile(/tmp/multipartBody4767352606261347602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190094162,"filename":"image_18012025_09_45_02_275033_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329716581","file1":"1329716577","file0":"1329716575","file3":"1329716586"},"map_files_photo_id_array":[{"photo_id":"1329716581","filename":"file2"},{"photo_id":"1329716577","filename":"file1"},{"photo_id":"1329716575","filename":"file0"},{"photo_id":"1329716586","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329716586":["hashtag1","hashtag2"]},{"1329716577":["hashtag1","hashtag2"]},{"1329716581":["hashtag1","hashtag2"]},{"1329716575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329716586, 1329716577, 1329716581, 1329716575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.92091679573059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:48:02.491127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0003.jpg', '/home/pi/Desktop/images/18012025/09/47/image_18012025_09_47_02_319023_0000.jpg', '/home/pi/Desktop/images/18012025/09/47/image_18012025_09_47_02_319023_0001.jpg', '/home/pi/Desktop/images/18012025/09/47/image_18012025_09_47_02_319023_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/46/image_18012025_09_46_02_836913_0003.jpg
/home/pi/Desktop/images/18012025/09/47/image_18012025_09_47_02_319023_0000.jpg
/home/pi/Desktop/images/18012025/09/47/image_18012025_09_47_02_319023_0001.jpg
/home/pi/Desktop/images/18012025/09/47/image_18012025_09_47_02_319023_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329716626","1329716639","1329716609","1329716603"],"photo_ids_order":["1329716603","1329716609","1329716626","1329716639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7af961f0dc8c76847f918c96b5b46a3c.jpg","text":"TemporaryFile(/tmp/multipartBody4259352815236424930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190153875,"filename":"image_18012025_09_47_02_319023_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a085676d61403b2135430603b17511c8.jpg","text":"TemporaryFile(/tmp/multipartBody7625921484199068389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190153875,"filename":"image_18012025_09_47_02_319023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da03d64c7c2da0acf11bfc92cdd238c4.jpg","text":"TemporaryFile(/tmp/multipartBody1578246190431430534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190153875,"filename":"image_18012025_09_47_02_319023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/34c4410fbfd4a5915756e2c29b9a3b9b.jpg","text":"TemporaryFile(/tmp/multipartBody6391931186001139661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190153875,"filename":"image_18012025_09_46_02_836913_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329716626","file1":"1329716609","file0":"1329716603","file3":"1329716639"},"map_files_photo_id_array":[{"photo_id":"1329716626","filename":"file2"},{"photo_id":"1329716609","filename":"file1"},{"photo_id":"1329716603","filename":"file0"},{"photo_id":"1329716639","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329716626":["hashtag1","hashtag2"]},{"1329716639":["hashtag1","hashtag2"]},{"1329716609":["hashtag1","hashtag2"]},{"1329716603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329716626, 1329716639, 1329716609, 1329716603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.30344605445862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:49:03.110612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/47/image_18012025_09_47_02_319023_0003.jpg', '/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0000.jpg', '/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0001.jpg', '/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/47/image_18012025_09_47_02_319023_0003.jpg
/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0000.jpg
/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0001.jpg
/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.924947261810303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:49:22.584565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/47/image_18012025_09_47_02_319023_0003.jpg', '/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0000.jpg', '/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0001.jpg', '/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0002.jpg', '/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0003.jpg', '/home/pi/Desktop/images/18012025/09/49/image_18012025_09_49_02_465696_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/47/image_18012025_09_47_02_319023_0003.jpg
/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0000.jpg
/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0001.jpg
/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0002.jpg
/home/pi/Desktop/images/18012025/09/48/image_18012025_09_48_02_838418_0003.jpg
/home/pi/Desktop/images/18012025/09/49/image_18012025_09_49_02_465696_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329716710","1329716713","1329716691","1329716687","1329716708","1329716695"],"photo_ids_order":["1329716687","1329716691","1329716695","1329716708","1329716710","1329716713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e50b4e989f7eba948e37e01cb7517f37.jpg","text":"TemporaryFile(/tmp/multipartBody8083001938204834903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190238927,"filename":"image_18012025_09_48_02_838418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16d99a5779b829ae3694974ecd6dadb4.jpg","text":"TemporaryFile(/tmp/multipartBody1366267882502783597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190238927,"filename":"image_18012025_09_49_02_465696_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/723c74f5f2078f29774d9706b29a0fda.jpg","text":"TemporaryFile(/tmp/multipartBody3338543439194505084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190238927,"filename":"image_18012025_09_48_02_838418_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/777fd9cb5f5557b26e0332a296e66181.jpg","text":"TemporaryFile(/tmp/multipartBody8028367037799406082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190238927,"filename":"image_18012025_09_47_02_319023_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7f53eeec4704c67220ad3e00be9355f.jpg","text":"TemporaryFile(/tmp/multipartBody3143552775165950865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190238927,"filename":"image_18012025_09_48_02_838418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf783b7e181936b78611373667d7ebf9.jpg","text":"TemporaryFile(/tmp/multipartBody8703502333643001730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190238927,"filename":"image_18012025_09_48_02_838418_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329716695","file1":"1329716691","file0":"1329716687","file4":"1329716710","file5":"1329716713","file3":"1329716708"},"map_files_photo_id_array":[{"photo_id":"1329716713","filename":"file5"},{"photo_id":"1329716695","filename":"file2"},{"photo_id":"1329716710","filename":"file4"},{"photo_id":"1329716691","filename":"file1"},{"photo_id":"1329716687","filename":"file0"},{"photo_id":"1329716708","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329716710":["hashtag1","hashtag2"]},{"1329716713":["hashtag1","hashtag2"]},{"1329716691":["hashtag1","hashtag2"]},{"1329716687":["hashtag1","hashtag2"]},{"1329716708":["hashtag1","hashtag2"]},{"1329716695":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329716710, 1329716713, 1329716691, 1329716687, 1329716708, 1329716695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.17958927154541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:50:22.188769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/49/image_18012025_09_49_02_465696_0001.jpg', '/home/pi/Desktop/images/18012025/09/49/image_18012025_09_49_02_465696_0002.jpg', '/home/pi/Desktop/images/18012025/09/49/image_18012025_09_49_02_465696_0003.jpg', '/home/pi/Desktop/images/18012025/09/50/image_18012025_09_50_02_933828_0000.jpg', '/home/pi/Desktop/images/18012025/09/50/image_18012025_09_50_02_933828_0001.jpg', '/home/pi/Desktop/images/18012025/09/50/image_18012025_09_50_02_933828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/49/image_18012025_09_49_02_465696_0001.jpg
/home/pi/Desktop/images/18012025/09/49/image_18012025_09_49_02_465696_0002.jpg
/home/pi/Desktop/images/18012025/09/49/image_18012025_09_49_02_465696_0003.jpg
/home/pi/Desktop/images/18012025/09/50/image_18012025_09_50_02_933828_0000.jpg
/home/pi/Desktop/images/18012025/09/50/image_18012025_09_50_02_933828_0001.jpg
/home/pi/Desktop/images/18012025/09/50/image_18012025_09_50_02_933828_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329716844","1329716856","1329716852","1329716840","1329716860","1329716854"],"photo_ids_order":["1329716840","1329716844","1329716852","1329716854","1329716856","1329716860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc77ba7c93ad5fe8d9f679da59e45e1d.jpg","text":"TemporaryFile(/tmp/multipartBody7421384443252667985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190299136,"filename":"image_18012025_09_49_02_465696_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe3a65dbef9fe6a2a14f013cdc65a7c6.jpg","text":"TemporaryFile(/tmp/multipartBody530453608939652299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190299136,"filename":"image_18012025_09_50_02_933828_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/20c63bccb1219618ae2c1437c90991d6.jpg","text":"TemporaryFile(/tmp/multipartBody6253681856035754804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190299136,"filename":"image_18012025_09_49_02_465696_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6e10f98bcf1d0dd6b0bba287b53268f.jpg","text":"TemporaryFile(/tmp/multipartBody995189276891813540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190299136,"filename":"image_18012025_09_49_02_465696_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/328aa78f251a9625a6b140dd412bf9b5.jpg","text":"TemporaryFile(/tmp/multipartBody5491740014510900664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190299136,"filename":"image_18012025_09_50_02_933828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5308e0be79634a7d5748d9a5367250c0.jpg","text":"TemporaryFile(/tmp/multipartBody4184831282116826741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190299136,"filename":"image_18012025_09_50_02_933828_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329716852","file1":"1329716844","file0":"1329716840","file4":"1329716856","file5":"1329716860","file3":"1329716854"},"map_files_photo_id_array":[{"photo_id":"1329716860","filename":"file5"},{"photo_id":"1329716852","filename":"file2"},{"photo_id":"1329716856","filename":"file4"},{"photo_id":"1329716844","filename":"file1"},{"photo_id":"1329716840","filename":"file0"},{"photo_id":"1329716854","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329716844":["hashtag1","hashtag2"]},{"1329716856":["hashtag1","hashtag2"]},{"1329716852":["hashtag1","hashtag2"]},{"1329716840":["hashtag1","hashtag2"]},{"1329716860":["hashtag1","hashtag2"]},{"1329716854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329716844, 1329716856, 1329716852, 1329716840, 1329716860, 1329716854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.51386904716492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:51:22.720425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/50/image_18012025_09_50_02_933828_0003.jpg', '/home/pi/Desktop/images/18012025/09/51/image_18012025_09_51_02_574468_0000.jpg', '/home/pi/Desktop/images/18012025/09/51/image_18012025_09_51_02_574468_0001.jpg', '/home/pi/Desktop/images/18012025/09/51/image_18012025_09_51_02_574468_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/50/image_18012025_09_50_02_933828_0003.jpg
/home/pi/Desktop/images/18012025/09/51/image_18012025_09_51_02_574468_0000.jpg
/home/pi/Desktop/images/18012025/09/51/image_18012025_09_51_02_574468_0001.jpg
/home/pi/Desktop/images/18012025/09/51/image_18012025_09_51_02_574468_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329716925","1329716907","1329716910","1329716927"],"photo_ids_order":["1329716907","1329716910","1329716925","1329716927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/34f0f344040645f5957bba053472921b.jpg","text":"TemporaryFile(/tmp/multipartBody50925597554670249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190354261,"filename":"image_18012025_09_51_02_574468_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7bbdb57c52086be0868306cc301c1cd.jpg","text":"TemporaryFile(/tmp/multipartBody3412903758758153393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190354261,"filename":"image_18012025_09_50_02_933828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4f9ffe3a6f62e72030b95b8265e683f.jpg","text":"TemporaryFile(/tmp/multipartBody2181116614924110741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190354261,"filename":"image_18012025_09_51_02_574468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1d0b1714f7c485a42b7637d03ae17da9.jpg","text":"TemporaryFile(/tmp/multipartBody6762363950529634782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190354261,"filename":"image_18012025_09_51_02_574468_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329716925","file1":"1329716910","file0":"1329716907","file3":"1329716927"},"map_files_photo_id_array":[{"photo_id":"1329716925","filename":"file2"},{"photo_id":"1329716910","filename":"file1"},{"photo_id":"1329716907","filename":"file0"},{"photo_id":"1329716927","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329716925":["hashtag1","hashtag2"]},{"1329716907":["hashtag1","hashtag2"]},{"1329716910":["hashtag1","hashtag2"]},{"1329716927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329716925, 1329716907, 1329716910, 1329716927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.766270875930786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 09:52:22.285200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/51/image_18012025_09_51_02_574468_0003.jpg', '/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0000.jpg', '/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0001.jpg', '/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/51/image_18012025_09_51_02_574468_0003.jpg
/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0000.jpg
/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0001.jpg
/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.07066822052002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:53:03.433310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/51/image_18012025_09_51_02_574468_0003.jpg', '/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0000.jpg', '/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0001.jpg', '/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/51/image_18012025_09_51_02_574468_0003.jpg
/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0000.jpg
/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0001.jpg
/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329717069","1329717071","1329717074","1329717077"],"photo_ids_order":["1329717069","1329717071","1329717074","1329717077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70b2b6491e1249b7e2afd0426c2dc8c4.jpg","text":"TemporaryFile(/tmp/multipartBody6816718197348378275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190454927,"filename":"image_18012025_09_51_02_574468_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15df245abc291127fd14018fc7d0138c.jpg","text":"TemporaryFile(/tmp/multipartBody1666506061794193328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190454927,"filename":"image_18012025_09_52_03_055715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/07f31dea3db4d83da8b3162a17c6557e.jpg","text":"TemporaryFile(/tmp/multipartBody7946455140855062217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190454927,"filename":"image_18012025_09_52_03_055715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cb0dc4e140e9b7b1c7727e36b1869306.jpg","text":"TemporaryFile(/tmp/multipartBody3086058803384222274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190454927,"filename":"image_18012025_09_52_03_055715_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329717074","file1":"1329717071","file0":"1329717069","file3":"1329717077"},"map_files_photo_id_array":[{"photo_id":"1329717074","filename":"file2"},{"photo_id":"1329717071","filename":"file1"},{"photo_id":"1329717069","filename":"file0"},{"photo_id":"1329717077","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329717069":["hashtag1","hashtag2"]},{"1329717071":["hashtag1","hashtag2"]},{"1329717074":["hashtag1","hashtag2"]},{"1329717077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329717069, 1329717071, 1329717074, 1329717077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.747013092041016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:54:02.791908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0003.jpg', '/home/pi/Desktop/images/18012025/09/53/image_18012025_09_53_02_578758_0000.jpg', '/home/pi/Desktop/images/18012025/09/53/image_18012025_09_53_02_578758_0001.jpg', '/home/pi/Desktop/images/18012025/09/53/image_18012025_09_53_02_578758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/52/image_18012025_09_52_03_055715_0003.jpg
/home/pi/Desktop/images/18012025/09/53/image_18012025_09_53_02_578758_0000.jpg
/home/pi/Desktop/images/18012025/09/53/image_18012025_09_53_02_578758_0001.jpg
/home/pi/Desktop/images/18012025/09/53/image_18012025_09_53_02_578758_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329717111","1329717105","1329717114","1329717107"],"photo_ids_order":["1329717105","1329717107","1329717111","1329717114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f83312aa0bb8778bbd877c95f195221.jpg","text":"TemporaryFile(/tmp/multipartBody9102837006403202839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190514079,"filename":"image_18012025_09_53_02_578758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2d92fbd47d11e31a22e49cee60fc2856.jpg","text":"TemporaryFile(/tmp/multipartBody5173059780838719547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190514079,"filename":"image_18012025_09_52_03_055715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/633029f3aa613456cc4b68deab9bed51.jpg","text":"TemporaryFile(/tmp/multipartBody9112674880964626735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190514079,"filename":"image_18012025_09_53_02_578758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d5121b3f041e3c937ed2840e2a13d863.jpg","text":"TemporaryFile(/tmp/multipartBody4428297582010440216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190514079,"filename":"image_18012025_09_53_02_578758_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329717111","file1":"1329717107","file0":"1329717105","file3":"1329717114"},"map_files_photo_id_array":[{"photo_id":"1329717111","filename":"file2"},{"photo_id":"1329717107","filename":"file1"},{"photo_id":"1329717105","filename":"file0"},{"photo_id":"1329717114","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329717111":["hashtag1","hashtag2"]},{"1329717105":["hashtag1","hashtag2"]},{"1329717114":["hashtag1","hashtag2"]},{"1329717107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329717111, 1329717105, 1329717114, 1329717107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58968138694763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:55:02.465760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/53/image_18012025_09_53_02_578758_0003.jpg', '/home/pi/Desktop/images/18012025/09/54/image_18012025_09_54_03_105699_0000.jpg', '/home/pi/Desktop/images/18012025/09/54/image_18012025_09_54_03_105699_0001.jpg', '/home/pi/Desktop/images/18012025/09/54/image_18012025_09_54_03_105699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/53/image_18012025_09_53_02_578758_0003.jpg
/home/pi/Desktop/images/18012025/09/54/image_18012025_09_54_03_105699_0000.jpg
/home/pi/Desktop/images/18012025/09/54/image_18012025_09_54_03_105699_0001.jpg
/home/pi/Desktop/images/18012025/09/54/image_18012025_09_54_03_105699_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329717459","1329717446","1329717422","1329717478"],"photo_ids_order":["1329717422","1329717446","1329717459","1329717478"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f99ddd479a513f653a9cc6b323b5ebd7.jpg","text":"TemporaryFile(/tmp/multipartBody6755000294501796196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190573932,"filename":"image_18012025_09_54_03_105699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/548cb403ce5028d71980c9b4d5fc859f.jpg","text":"TemporaryFile(/tmp/multipartBody4825448696173031339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190573932,"filename":"image_18012025_09_54_03_105699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f9a8a731bba4fc629ab4bc326d23103.jpg","text":"TemporaryFile(/tmp/multipartBody4251601438572110055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190573932,"filename":"image_18012025_09_53_02_578758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/14e63faaed6334797c2a1cc7ff83a080.jpg","text":"TemporaryFile(/tmp/multipartBody3589174009946116028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190573932,"filename":"image_18012025_09_54_03_105699_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329717459","file1":"1329717446","file0":"1329717422","file3":"1329717478"},"map_files_photo_id_array":[{"photo_id":"1329717459","filename":"file2"},{"photo_id":"1329717446","filename":"file1"},{"photo_id":"1329717422","filename":"file0"},{"photo_id":"1329717478","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329717459":["hashtag1","hashtag2"]},{"1329717446":["hashtag1","hashtag2"]},{"1329717422":["hashtag1","hashtag2"]},{"1329717478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329717459, 1329717446, 1329717422, 1329717478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74388241767883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:56:02.962483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/54/image_18012025_09_54_03_105699_0003.jpg', '/home/pi/Desktop/images/18012025/09/55/image_18012025_09_55_02_748324_0000.jpg', '/home/pi/Desktop/images/18012025/09/55/image_18012025_09_55_02_748324_0001.jpg', '/home/pi/Desktop/images/18012025/09/55/image_18012025_09_55_02_748324_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/54/image_18012025_09_54_03_105699_0003.jpg
/home/pi/Desktop/images/18012025/09/55/image_18012025_09_55_02_748324_0000.jpg
/home/pi/Desktop/images/18012025/09/55/image_18012025_09_55_02_748324_0001.jpg
/home/pi/Desktop/images/18012025/09/55/image_18012025_09_55_02_748324_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329717558","1329717555","1329717560","1329717553"],"photo_ids_order":["1329717553","1329717555","1329717558","1329717560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d65da6b192cfd3a5a993eb587e8fcfe.jpg","text":"TemporaryFile(/tmp/multipartBody8845762893934930096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190633785,"filename":"image_18012025_09_55_02_748324_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dab11c9ad23303923ee8a0714f0e83ab.jpg","text":"TemporaryFile(/tmp/multipartBody4056722212842678893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190633785,"filename":"image_18012025_09_55_02_748324_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f1099d91ffb1bf4a067e23549355bc73.jpg","text":"TemporaryFile(/tmp/multipartBody8194976089100876439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190633785,"filename":"image_18012025_09_55_02_748324_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a240ec8b1db20e2fe701db5b76c7462.jpg","text":"TemporaryFile(/tmp/multipartBody2126069173097967001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190633785,"filename":"image_18012025_09_54_03_105699_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329717558","file1":"1329717555","file0":"1329717553","file3":"1329717560"},"map_files_photo_id_array":[{"photo_id":"1329717558","filename":"file2"},{"photo_id":"1329717555","filename":"file1"},{"photo_id":"1329717553","filename":"file0"},{"photo_id":"1329717560","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329717558":["hashtag1","hashtag2"]},{"1329717555":["hashtag1","hashtag2"]},{"1329717560":["hashtag1","hashtag2"]},{"1329717553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329717558, 1329717555, 1329717560, 1329717553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.14841318130493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:57:02.770411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/55/image_18012025_09_55_02_748324_0003.jpg', '/home/pi/Desktop/images/18012025/09/56/image_18012025_09_56_02_290065_0000.jpg', '/home/pi/Desktop/images/18012025/09/56/image_18012025_09_56_02_290065_0001.jpg', '/home/pi/Desktop/images/18012025/09/56/image_18012025_09_56_02_290065_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/55/image_18012025_09_55_02_748324_0003.jpg
/home/pi/Desktop/images/18012025/09/56/image_18012025_09_56_02_290065_0000.jpg
/home/pi/Desktop/images/18012025/09/56/image_18012025_09_56_02_290065_0001.jpg
/home/pi/Desktop/images/18012025/09/56/image_18012025_09_56_02_290065_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329717630","1329717633","1329717627","1329717625"],"photo_ids_order":["1329717625","1329717627","1329717630","1329717633"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7622fb1d1879c3e4b0c991900927f6ce.jpg","text":"TemporaryFile(/tmp/multipartBody1895340666286670256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190693834,"filename":"image_18012025_09_56_02_290065_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef4ab279112f7c3f10bc9bbed375a2ca.jpg","text":"TemporaryFile(/tmp/multipartBody7668002367406638357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190693834,"filename":"image_18012025_09_56_02_290065_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af08f2066192abe13f4d45f76ae4b903.jpg","text":"TemporaryFile(/tmp/multipartBody5583139941082878766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190693834,"filename":"image_18012025_09_56_02_290065_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0bdec02d47ebb4703821ced88d31911e.jpg","text":"TemporaryFile(/tmp/multipartBody1103427504601748177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190693834,"filename":"image_18012025_09_55_02_748324_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329717630","file1":"1329717627","file0":"1329717625","file3":"1329717633"},"map_files_photo_id_array":[{"photo_id":"1329717630","filename":"file2"},{"photo_id":"1329717627","filename":"file1"},{"photo_id":"1329717625","filename":"file0"},{"photo_id":"1329717633","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329717630":["hashtag1","hashtag2"]},{"1329717633":["hashtag1","hashtag2"]},{"1329717627":["hashtag1","hashtag2"]},{"1329717625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329717630, 1329717633, 1329717627, 1329717625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.867162466049194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 09:59:02.525298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/56/image_18012025_09_56_02_290065_0003.jpg', '/home/pi/Desktop/images/18012025/09/57/image_18012025_09_57_02_927174_0000.jpg', '/home/pi/Desktop/images/18012025/09/57/image_18012025_09_57_02_927174_0001.jpg', '/home/pi/Desktop/images/18012025/09/57/image_18012025_09_57_02_927174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/56/image_18012025_09_56_02_290065_0003.jpg
/home/pi/Desktop/images/18012025/09/57/image_18012025_09_57_02_927174_0000.jpg
/home/pi/Desktop/images/18012025/09/57/image_18012025_09_57_02_927174_0001.jpg
/home/pi/Desktop/images/18012025/09/57/image_18012025_09_57_02_927174_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329717695","1329717689","1329717680","1329717700"],"photo_ids_order":["1329717680","1329717689","1329717695","1329717700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/00dd51727b81fb75c574cdb1837e7af5.jpg","text":"TemporaryFile(/tmp/multipartBody2268697308309596458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190813418,"filename":"image_18012025_09_57_02_927174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84f3142e501860d0490d4b5cf4959b0c.jpg","text":"TemporaryFile(/tmp/multipartBody2288511193671135670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190813418,"filename":"image_18012025_09_57_02_927174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/611e1eac441def14677d7999d640d87d.jpg","text":"TemporaryFile(/tmp/multipartBody1970318498659676754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190813418,"filename":"image_18012025_09_56_02_290065_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/94c7718f1c94358225cdba86a0b5242d.jpg","text":"TemporaryFile(/tmp/multipartBody5654076150232251098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190813418,"filename":"image_18012025_09_57_02_927174_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329717695","file1":"1329717689","file0":"1329717680","file3":"1329717700"},"map_files_photo_id_array":[{"photo_id":"1329717695","filename":"file2"},{"photo_id":"1329717689","filename":"file1"},{"photo_id":"1329717680","filename":"file0"},{"photo_id":"1329717700","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329717695":["hashtag1","hashtag2"]},{"1329717689":["hashtag1","hashtag2"]},{"1329717680":["hashtag1","hashtag2"]},{"1329717700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329717695, 1329717689, 1329717680, 1329717700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.36904430389404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 09:59:51.864767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/57/image_18012025_09_57_02_927174_0003.jpg', '/home/pi/Desktop/images/18012025/09/58/image_18012025_09_58_02_454847_0000.jpg', '/home/pi/Desktop/images/18012025/09/58/image_18012025_09_58_02_454847_0001.jpg', '/home/pi/Desktop/images/18012025/09/58/image_18012025_09_58_02_454847_0002.jpg', '/home/pi/Desktop/images/18012025/09/58/image_18012025_09_58_02_454847_0003.jpg', '/home/pi/Desktop/images/18012025/09/59/image_18012025_09_59_03_120000_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/57/image_18012025_09_57_02_927174_0003.jpg
/home/pi/Desktop/images/18012025/09/58/image_18012025_09_58_02_454847_0000.jpg
/home/pi/Desktop/images/18012025/09/58/image_18012025_09_58_02_454847_0001.jpg
/home/pi/Desktop/images/18012025/09/58/image_18012025_09_58_02_454847_0002.jpg
/home/pi/Desktop/images/18012025/09/58/image_18012025_09_58_02_454847_0003.jpg
/home/pi/Desktop/images/18012025/09/59/image_18012025_09_59_03_120000_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329717930","1329717918","1329717812","1329717806","1329717886","1329717795"],"photo_ids_order":["1329717795","1329717806","1329717812","1329717886","1329717918","1329717930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/617a985f28a7bbd120834a133ec62273.jpg","text":"TemporaryFile(/tmp/multipartBody4428047309990657845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190868724,"filename":"image_18012025_09_59_03_120000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/539ef18abd8280b3abe9a5062d22299f.jpg","text":"TemporaryFile(/tmp/multipartBody2447517932925846057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190868724,"filename":"image_18012025_09_58_02_454847_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a8941ef279c9f51db28f90cc632793e.jpg","text":"TemporaryFile(/tmp/multipartBody7406066527129940557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190868724,"filename":"image_18012025_09_58_02_454847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/960de3929e16431b66840434df70c64e.jpg","text":"TemporaryFile(/tmp/multipartBody1749912028664610857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190868724,"filename":"image_18012025_09_58_02_454847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6d855bca7e72c21aeaa657d11487527.jpg","text":"TemporaryFile(/tmp/multipartBody648536894641704434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190868724,"filename":"image_18012025_09_58_02_454847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b623fccc06ab67449ef122f0eb366f3.jpg","text":"TemporaryFile(/tmp/multipartBody8232354171205599749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190868724,"filename":"image_18012025_09_57_02_927174_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329717812","file1":"1329717806","file0":"1329717795","file4":"1329717918","file5":"1329717930","file3":"1329717886"},"map_files_photo_id_array":[{"photo_id":"1329717930","filename":"file5"},{"photo_id":"1329717812","filename":"file2"},{"photo_id":"1329717918","filename":"file4"},{"photo_id":"1329717806","filename":"file1"},{"photo_id":"1329717795","filename":"file0"},{"photo_id":"1329717886","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329717930":["hashtag1","hashtag2"]},{"1329717918":["hashtag1","hashtag2"]},{"1329717812":["hashtag1","hashtag2"]},{"1329717806":["hashtag1","hashtag2"]},{"1329717886":["hashtag1","hashtag2"]},{"1329717795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329717930, 1329717918, 1329717812, 1329717806, 1329717886, 1329717795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.51521062850952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:01:02.917248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/09/59/image_18012025_09_59_03_120000_0001.jpg', '/home/pi/Desktop/images/18012025/09/59/image_18012025_09_59_03_120000_0002.jpg', '/home/pi/Desktop/images/18012025/09/59/image_18012025_09_59_03_120000_0003.jpg', '/home/pi/Desktop/images/18012025/10/00/image_18012025_10_00_02_271279_0000.jpg', '/home/pi/Desktop/images/18012025/10/00/image_18012025_10_00_02_271279_0001.jpg', '/home/pi/Desktop/images/18012025/10/00/image_18012025_10_00_02_271279_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/09/59/image_18012025_09_59_03_120000_0001.jpg
/home/pi/Desktop/images/18012025/09/59/image_18012025_09_59_03_120000_0002.jpg
/home/pi/Desktop/images/18012025/09/59/image_18012025_09_59_03_120000_0003.jpg
/home/pi/Desktop/images/18012025/10/00/image_18012025_10_00_02_271279_0000.jpg
/home/pi/Desktop/images/18012025/10/00/image_18012025_10_00_02_271279_0001.jpg
/home/pi/Desktop/images/18012025/10/00/image_18012025_10_00_02_271279_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329718059","1329718073","1329718067","1329718078","1329718062","1329718056"],"photo_ids_order":["1329718056","1329718059","1329718062","1329718067","1329718073","1329718078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6babdd67e5b43aea1099ed670f7d57a.jpg","text":"TemporaryFile(/tmp/multipartBody8405658067167645845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190938836,"filename":"image_18012025_09_59_03_120000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/62c582cf6d50bbefa11551722a42cc4b.jpg","text":"TemporaryFile(/tmp/multipartBody3618367823112418563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190938836,"filename":"image_18012025_10_00_02_271279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/becd1b0bc671710007cf9c1fb180b7e7.jpg","text":"TemporaryFile(/tmp/multipartBody2560781269041914033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190938836,"filename":"image_18012025_10_00_02_271279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c7c53d832e0592bc0edbbb37a54772f.jpg","text":"TemporaryFile(/tmp/multipartBody1392808615394539671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190938836,"filename":"image_18012025_10_00_02_271279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60f947257b77933eee0df38296bbc54a.jpg","text":"TemporaryFile(/tmp/multipartBody3001626332218148401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190938836,"filename":"image_18012025_09_59_03_120000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a3511a78e005000c945f53f216acb651.jpg","text":"TemporaryFile(/tmp/multipartBody5141420263214608990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190938836,"filename":"image_18012025_09_59_03_120000_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329718062","file1":"1329718059","file0":"1329718056","file4":"1329718073","file5":"1329718078","file3":"1329718067"},"map_files_photo_id_array":[{"photo_id":"1329718078","filename":"file5"},{"photo_id":"1329718062","filename":"file2"},{"photo_id":"1329718073","filename":"file4"},{"photo_id":"1329718059","filename":"file1"},{"photo_id":"1329718056","filename":"file0"},{"photo_id":"1329718067","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329718059":["hashtag1","hashtag2"]},{"1329718073":["hashtag1","hashtag2"]},{"1329718067":["hashtag1","hashtag2"]},{"1329718078":["hashtag1","hashtag2"]},{"1329718062":["hashtag1","hashtag2"]},{"1329718056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329718059, 1329718073, 1329718067, 1329718078, 1329718062, 1329718056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.330076932907104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:02:02.861578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/00/image_18012025_10_00_02_271279_0003.jpg', '/home/pi/Desktop/images/18012025/10/01/image_18012025_10_01_02_475794_0000.jpg', '/home/pi/Desktop/images/18012025/10/01/image_18012025_10_01_02_475794_0001.jpg', '/home/pi/Desktop/images/18012025/10/01/image_18012025_10_01_02_475794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/00/image_18012025_10_00_02_271279_0003.jpg
/home/pi/Desktop/images/18012025/10/01/image_18012025_10_01_02_475794_0000.jpg
/home/pi/Desktop/images/18012025/10/01/image_18012025_10_01_02_475794_0001.jpg
/home/pi/Desktop/images/18012025/10/01/image_18012025_10_01_02_475794_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329718101","1329718096","1329718090","1329718092"],"photo_ids_order":["1329718090","1329718092","1329718096","1329718101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/23244c790a57cc49c98b2675d5221e74.jpg","text":"TemporaryFile(/tmp/multipartBody6217881952146680445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190993758,"filename":"image_18012025_10_01_02_475794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3561992a7712e82eb29c17b16e56029f.jpg","text":"TemporaryFile(/tmp/multipartBody7138175847295475159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190993758,"filename":"image_18012025_10_01_02_475794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b68972bf4fb2bf348f30bdf914ff394.jpg","text":"TemporaryFile(/tmp/multipartBody1727918738930004089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190993758,"filename":"image_18012025_10_00_02_271279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c3296b92968b33a76a0f8e4faeb0c1e.jpg","text":"TemporaryFile(/tmp/multipartBody873806366406197754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737190993758,"filename":"image_18012025_10_01_02_475794_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329718096","file1":"1329718092","file0":"1329718090","file3":"1329718101"},"map_files_photo_id_array":[{"photo_id":"1329718096","filename":"file2"},{"photo_id":"1329718092","filename":"file1"},{"photo_id":"1329718090","filename":"file0"},{"photo_id":"1329718101","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329718101":["hashtag1","hashtag2"]},{"1329718096":["hashtag1","hashtag2"]},{"1329718090":["hashtag1","hashtag2"]},{"1329718092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329718101, 1329718096, 1329718090, 1329718092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.08980989456177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 10:02:52.413686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/01/image_18012025_10_01_02_475794_0003.jpg', '/home/pi/Desktop/images/18012025/10/02/image_18012025_10_02_02_673917_0000.jpg', '/home/pi/Desktop/images/18012025/10/02/image_18012025_10_02_02_673917_0001.jpg', '/home/pi/Desktop/images/18012025/10/02/image_18012025_10_02_02_673917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/01/image_18012025_10_01_02_475794_0003.jpg
/home/pi/Desktop/images/18012025/10/02/image_18012025_10_02_02_673917_0000.jpg
/home/pi/Desktop/images/18012025/10/02/image_18012025_10_02_02_673917_0001.jpg
/home/pi/Desktop/images/18012025/10/02/image_18012025_10_02_02_673917_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329718122","1329718125","1329718127","1329718120"],"photo_ids_order":["1329718120","1329718122","1329718125","1329718127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15d19f13a9c0cda776843d6747d6d60b.jpg","text":"TemporaryFile(/tmp/multipartBody5705780554082538021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191043406,"filename":"image_18012025_10_02_02_673917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8e4aad3ea9381d5281e4a92145074ce.jpg","text":"TemporaryFile(/tmp/multipartBody8732327078026084363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191043406,"filename":"image_18012025_10_02_02_673917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bbdadf9f60be55455b55447cd33ed25b.jpg","text":"TemporaryFile(/tmp/multipartBody8593696738887904758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191043406,"filename":"image_18012025_10_02_02_673917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b946d22d8664726e546eb0f81094231e.jpg","text":"TemporaryFile(/tmp/multipartBody2517907022220472671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191043406,"filename":"image_18012025_10_01_02_475794_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329718125","file1":"1329718122","file0":"1329718120","file3":"1329718127"},"map_files_photo_id_array":[{"photo_id":"1329718125","filename":"file2"},{"photo_id":"1329718122","filename":"file1"},{"photo_id":"1329718120","filename":"file0"},{"photo_id":"1329718127","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329718122":["hashtag1","hashtag2"]},{"1329718125":["hashtag1","hashtag2"]},{"1329718127":["hashtag1","hashtag2"]},{"1329718120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329718122, 1329718125, 1329718127, 1329718120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.24912762641907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 10:03:42.620490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/02/image_18012025_10_02_02_673917_0003.jpg', '/home/pi/Desktop/images/18012025/10/03/image_18012025_10_03_02_858600_0000.jpg', '/home/pi/Desktop/images/18012025/10/03/image_18012025_10_03_02_858600_0001.jpg', '/home/pi/Desktop/images/18012025/10/03/image_18012025_10_03_02_858600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/02/image_18012025_10_02_02_673917_0003.jpg
/home/pi/Desktop/images/18012025/10/03/image_18012025_10_03_02_858600_0000.jpg
/home/pi/Desktop/images/18012025/10/03/image_18012025_10_03_02_858600_0001.jpg
/home/pi/Desktop/images/18012025/10/03/image_18012025_10_03_02_858600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329718154","1329718152","1329718155","1329718149"],"photo_ids_order":["1329718149","1329718152","1329718154","1329718155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2aaac6aa597dbae41f9992065a9eed3b.jpg","text":"TemporaryFile(/tmp/multipartBody5993315688986028589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191093727,"filename":"image_18012025_10_03_02_858600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4076d126ea8e0d4fc7d477053cff23b.jpg","text":"TemporaryFile(/tmp/multipartBody584989767826746240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191093727,"filename":"image_18012025_10_03_02_858600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9f94b45a1cca84d3ee4cce121f88462b.jpg","text":"TemporaryFile(/tmp/multipartBody2817020468384325571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191093727,"filename":"image_18012025_10_03_02_858600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/55cd043e9bafbfe185149ac789dfa06f.jpg","text":"TemporaryFile(/tmp/multipartBody2180633196417711213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191093727,"filename":"image_18012025_10_02_02_673917_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329718154","file1":"1329718152","file0":"1329718149","file3":"1329718155"},"map_files_photo_id_array":[{"photo_id":"1329718154","filename":"file2"},{"photo_id":"1329718152","filename":"file1"},{"photo_id":"1329718149","filename":"file0"},{"photo_id":"1329718155","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329718154":["hashtag1","hashtag2"]},{"1329718152":["hashtag1","hashtag2"]},{"1329718155":["hashtag1","hashtag2"]},{"1329718149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329718154, 1329718152, 1329718155, 1329718149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19708061218262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:04:22.684434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/03/image_18012025_10_03_02_858600_0003.jpg', '/home/pi/Desktop/images/18012025/10/04/image_18012025_10_04_03_072941_0000.jpg', '/home/pi/Desktop/images/18012025/10/04/image_18012025_10_04_03_072941_0001.jpg', '/home/pi/Desktop/images/18012025/10/04/image_18012025_10_04_03_072941_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/03/image_18012025_10_03_02_858600_0003.jpg
/home/pi/Desktop/images/18012025/10/04/image_18012025_10_04_03_072941_0000.jpg
/home/pi/Desktop/images/18012025/10/04/image_18012025_10_04_03_072941_0001.jpg
/home/pi/Desktop/images/18012025/10/04/image_18012025_10_04_03_072941_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329718320","1329718328","1329718312","1329718161"],"photo_ids_order":["1329718161","1329718312","1329718320","1329718328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/033049105a10cc95779a326067d26019.jpg","text":"TemporaryFile(/tmp/multipartBody3064954393057964091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191133852,"filename":"image_18012025_10_04_03_072941_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5783aa50be418e57e2650c320b5a5325.jpg","text":"TemporaryFile(/tmp/multipartBody3611955409469982321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191133852,"filename":"image_18012025_10_04_03_072941_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/facaa7fabae1afe7e4509b855eb8cb55.jpg","text":"TemporaryFile(/tmp/multipartBody9123145741112478473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191133852,"filename":"image_18012025_10_04_03_072941_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c166323362b724f5fbddd875ffc5df9.jpg","text":"TemporaryFile(/tmp/multipartBody8917251925435848422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191133852,"filename":"image_18012025_10_03_02_858600_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329718320","file1":"1329718312","file0":"1329718161","file3":"1329718328"},"map_files_photo_id_array":[{"photo_id":"1329718320","filename":"file2"},{"photo_id":"1329718312","filename":"file1"},{"photo_id":"1329718161","filename":"file0"},{"photo_id":"1329718328","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329718320":["hashtag1","hashtag2"]},{"1329718328":["hashtag1","hashtag2"]},{"1329718312":["hashtag1","hashtag2"]},{"1329718161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329718320, 1329718328, 1329718312, 1329718161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.952982664108276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:05:21.934436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/04/image_18012025_10_04_03_072941_0003.jpg', '/home/pi/Desktop/images/18012025/10/05/image_18012025_10_05_03_169875_0000.jpg', '/home/pi/Desktop/images/18012025/10/05/image_18012025_10_05_03_169875_0001.jpg', '/home/pi/Desktop/images/18012025/10/05/image_18012025_10_05_03_169875_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/04/image_18012025_10_04_03_072941_0003.jpg
/home/pi/Desktop/images/18012025/10/05/image_18012025_10_05_03_169875_0000.jpg
/home/pi/Desktop/images/18012025/10/05/image_18012025_10_05_03_169875_0001.jpg
/home/pi/Desktop/images/18012025/10/05/image_18012025_10_05_03_169875_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329718434","1329718771","1329719113","1329719382"],"photo_ids_order":["1329718434","1329718771","1329719113","1329719382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/671ec9059dc3da6e9b9f2382797f8e31.jpg","text":"TemporaryFile(/tmp/multipartBody4192915241054548168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191192658,"filename":"image_18012025_10_04_03_072941_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd05faa1074f2787dd6d10086c899225.jpg","text":"TemporaryFile(/tmp/multipartBody3071350885133369130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191192658,"filename":"image_18012025_10_05_03_169875_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/521b013fd61cde91c67a65b8b48f7c05.jpg","text":"TemporaryFile(/tmp/multipartBody5081797975638308966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191192658,"filename":"image_18012025_10_05_03_169875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e0117e2abce419c5acf9528433fe0e3.jpg","text":"TemporaryFile(/tmp/multipartBody2767730660939925566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191192658,"filename":"image_18012025_10_05_03_169875_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329719113","file1":"1329718771","file0":"1329718434","file3":"1329719382"},"map_files_photo_id_array":[{"photo_id":"1329719113","filename":"file2"},{"photo_id":"1329718771","filename":"file1"},{"photo_id":"1329718434","filename":"file0"},{"photo_id":"1329719382","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329718434":["hashtag1","hashtag2"]},{"1329718771":["hashtag1","hashtag2"]},{"1329719113":["hashtag1","hashtag2"]},{"1329719382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329718434, 1329718771, 1329719113, 1329719382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48103308677673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:06:02.553955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/32/image_16012025_21_32_02_218999_0003.jpg', '/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0000.jpg', '/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0001.jpg', '/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0002.jpg', '/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0003.jpg', '/home/pi/Desktop/images/16012025/21/34/image_16012025_21_34_02_565609_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/32/image_16012025_21_32_02_218999_0003.jpg
/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0000.jpg
/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0001.jpg
/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0002.jpg
/home/pi/Desktop/images/16012025/21/33/image_16012025_21_33_02_414974_0003.jpg
/home/pi/Desktop/images/16012025/21/34/image_16012025_21_34_02_565609_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329719450","1329719636","1329719437","1329719454","1329719436","1329719703"],"photo_ids_order":["1329719436","1329719437","1329719450","1329719454","1329719636","1329719703"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb7ab77b1fbff48b5ba7352a0792ff1e.jpg","text":"TemporaryFile(/tmp/multipartBody7124764270366097773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191238103,"filename":"image_16012025_21_33_02_414974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/687c788b6acbbb1afd2bd3a020334582.jpg","text":"TemporaryFile(/tmp/multipartBody8815435645116533500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191238103,"filename":"image_16012025_21_33_02_414974_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7f3d48c8cecb835a9cb5619e6aba3336.jpg","text":"TemporaryFile(/tmp/multipartBody8297111914946468295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191238103,"filename":"image_16012025_21_33_02_414974_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f9127fe2e18ace4eae9ab9221736278.jpg","text":"TemporaryFile(/tmp/multipartBody7522882288561526236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191238103,"filename":"image_16012025_21_33_02_414974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba8bc53e0890c10146cedf8019d78f57.jpg","text":"TemporaryFile(/tmp/multipartBody4846639146936941677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191238103,"filename":"image_16012025_21_32_02_218999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e416d71dc8736d3c9b8214ba63a2b96.jpg","text":"TemporaryFile(/tmp/multipartBody6580406807030475309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191238103,"filename":"image_16012025_21_34_02_565609_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329719450","file1":"1329719437","file0":"1329719436","file4":"1329719636","file5":"1329719703","file3":"1329719454"},"map_files_photo_id_array":[{"photo_id":"1329719703","filename":"file5"},{"photo_id":"1329719450","filename":"file2"},{"photo_id":"1329719636","filename":"file4"},{"photo_id":"1329719437","filename":"file1"},{"photo_id":"1329719436","filename":"file0"},{"photo_id":"1329719454","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329719450":["hashtag1","hashtag2"]},{"1329719636":["hashtag1","hashtag2"]},{"1329719437":["hashtag1","hashtag2"]},{"1329719454":["hashtag1","hashtag2"]},{"1329719436":["hashtag1","hashtag2"]},{"1329719703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329719450, 1329719636, 1329719437, 1329719454, 1329719436, 1329719703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.29306125640869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:07:02.936328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/05/image_18012025_10_05_03_169875_0003.jpg', '/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0000.jpg', '/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0001.jpg', '/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/05/image_18012025_10_05_03_169875_0003.jpg
/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0000.jpg
/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0001.jpg
/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.007733821868896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:07:22.303026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/05/image_18012025_10_05_03_169875_0003.jpg', '/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0000.jpg', '/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0001.jpg', '/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0002.jpg', '/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0003.jpg', '/home/pi/Desktop/images/18012025/10/07/image_18012025_10_07_02_451973_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/05/image_18012025_10_05_03_169875_0003.jpg
/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0000.jpg
/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0001.jpg
/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0002.jpg
/home/pi/Desktop/images/18012025/10/06/image_18012025_10_06_02_363126_0003.jpg
/home/pi/Desktop/images/18012025/10/07/image_18012025_10_07_02_451973_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329719933","1329719947","1329719944","1329719926","1329719940","1329719987"],"photo_ids_order":["1329719926","1329719933","1329719940","1329719944","1329719947","1329719987"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0c4e6c2b9744afdef123e359cb2d350.jpg","text":"TemporaryFile(/tmp/multipartBody3485588533579335554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191318822,"filename":"image_18012025_10_06_02_363126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e491570faa3aa97de31ffc80b48c849f.jpg","text":"TemporaryFile(/tmp/multipartBody6649968517123104637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191318822,"filename":"image_18012025_10_06_02_363126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa927145705ca563174a7d8dfee95e84.jpg","text":"TemporaryFile(/tmp/multipartBody6422217680165620728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191318822,"filename":"image_18012025_10_06_02_363126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4fa986bfd330b1765fe15d7b2365ac7.jpg","text":"TemporaryFile(/tmp/multipartBody8520120138661964277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191318822,"filename":"image_18012025_10_05_03_169875_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/61c4651e865d92c0df67af697fe5e0aa.jpg","text":"TemporaryFile(/tmp/multipartBody1443781959290976351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191318822,"filename":"image_18012025_10_06_02_363126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ae1df445462371fb8655a34e037a8104.jpg","text":"TemporaryFile(/tmp/multipartBody3297258222748105418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191318822,"filename":"image_18012025_10_07_02_451973_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329719940","file1":"1329719933","file0":"1329719926","file4":"1329719947","file5":"1329719987","file3":"1329719944"},"map_files_photo_id_array":[{"photo_id":"1329719987","filename":"file5"},{"photo_id":"1329719940","filename":"file2"},{"photo_id":"1329719947","filename":"file4"},{"photo_id":"1329719933","filename":"file1"},{"photo_id":"1329719926","filename":"file0"},{"photo_id":"1329719944","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329719933":["hashtag1","hashtag2"]},{"1329719947":["hashtag1","hashtag2"]},{"1329719944":["hashtag1","hashtag2"]},{"1329719926":["hashtag1","hashtag2"]},{"1329719940":["hashtag1","hashtag2"]},{"1329719987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329719933, 1329719947, 1329719944, 1329719926, 1329719940, 1329719987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.45646953582764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:08:22.577367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/07/image_18012025_10_07_02_451973_0001.jpg', '/home/pi/Desktop/images/18012025/10/07/image_18012025_10_07_02_451973_0002.jpg', '/home/pi/Desktop/images/18012025/10/07/image_18012025_10_07_02_451973_0003.jpg', '/home/pi/Desktop/images/18012025/10/08/image_18012025_10_08_02_668200_0000.jpg', '/home/pi/Desktop/images/18012025/10/08/image_18012025_10_08_02_668200_0001.jpg', '/home/pi/Desktop/images/18012025/10/08/image_18012025_10_08_02_668200_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/07/image_18012025_10_07_02_451973_0001.jpg
/home/pi/Desktop/images/18012025/10/07/image_18012025_10_07_02_451973_0002.jpg
/home/pi/Desktop/images/18012025/10/07/image_18012025_10_07_02_451973_0003.jpg
/home/pi/Desktop/images/18012025/10/08/image_18012025_10_08_02_668200_0000.jpg
/home/pi/Desktop/images/18012025/10/08/image_18012025_10_08_02_668200_0001.jpg
/home/pi/Desktop/images/18012025/10/08/image_18012025_10_08_02_668200_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329720080","1329720044","1329720026","1329720031","1329720019","1329720066"],"photo_ids_order":["1329720019","1329720026","1329720031","1329720044","1329720066","1329720080"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1473ac7c81f19bca96534343338c8e11.jpg","text":"TemporaryFile(/tmp/multipartBody6445256608058108590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191378840,"filename":"image_18012025_10_08_02_668200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3ac4c1602fc76948d46bb6c550f8606e.jpg","text":"TemporaryFile(/tmp/multipartBody903974068815431795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191378840,"filename":"image_18012025_10_08_02_668200_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97063aa5be0ebb8585ce12d069abfc8e.jpg","text":"TemporaryFile(/tmp/multipartBody1053200463484962309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191378840,"filename":"image_18012025_10_07_02_451973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/071ca54e0672f6fda7e056410fa12ba0.jpg","text":"TemporaryFile(/tmp/multipartBody340241885793294619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191378840,"filename":"image_18012025_10_07_02_451973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/339927a66b485652e28ad240f21ede58.jpg","text":"TemporaryFile(/tmp/multipartBody7582554931379935083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191378840,"filename":"image_18012025_10_07_02_451973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/20e1e7eb21c488b473a397317ca2db68.jpg","text":"TemporaryFile(/tmp/multipartBody7325377481457217063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191378840,"filename":"image_18012025_10_08_02_668200_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329720031","file1":"1329720026","file0":"1329720019","file4":"1329720066","file5":"1329720080","file3":"1329720044"},"map_files_photo_id_array":[{"photo_id":"1329720080","filename":"file5"},{"photo_id":"1329720031","filename":"file2"},{"photo_id":"1329720066","filename":"file4"},{"photo_id":"1329720026","filename":"file1"},{"photo_id":"1329720019","filename":"file0"},{"photo_id":"1329720044","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329720080":["hashtag1","hashtag2"]},{"1329720044":["hashtag1","hashtag2"]},{"1329720026":["hashtag1","hashtag2"]},{"1329720031":["hashtag1","hashtag2"]},{"1329720019":["hashtag1","hashtag2"]},{"1329720066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329720080, 1329720044, 1329720026, 1329720031, 1329720019, 1329720066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.046591997146606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:09:22.882314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/08/image_18012025_10_08_02_668200_0003.jpg', '/home/pi/Desktop/images/18012025/10/09/image_18012025_10_09_02_950666_0000.jpg', '/home/pi/Desktop/images/18012025/10/09/image_18012025_10_09_02_950666_0001.jpg', '/home/pi/Desktop/images/18012025/10/09/image_18012025_10_09_02_950666_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/08/image_18012025_10_08_02_668200_0003.jpg
/home/pi/Desktop/images/18012025/10/09/image_18012025_10_09_02_950666_0000.jpg
/home/pi/Desktop/images/18012025/10/09/image_18012025_10_09_02_950666_0001.jpg
/home/pi/Desktop/images/18012025/10/09/image_18012025_10_09_02_950666_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329720110","1329720104","1329720096","1329720090"],"photo_ids_order":["1329720090","1329720096","1329720104","1329720110"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4069921204e8808114c8a0fd69088d52.jpg","text":"TemporaryFile(/tmp/multipartBody4262429430145487465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191433286,"filename":"image_18012025_10_09_02_950666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1d7bda75b75ac8258ac4b1125ae4158.jpg","text":"TemporaryFile(/tmp/multipartBody5140330532522366275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191433286,"filename":"image_18012025_10_09_02_950666_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73e12b6f133e648a7ee9372a5d99c3f4.jpg","text":"TemporaryFile(/tmp/multipartBody9120219478538246214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191433286,"filename":"image_18012025_10_09_02_950666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5453269911d34703126ea42cb7b09fca.jpg","text":"TemporaryFile(/tmp/multipartBody2093806289982915591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191433286,"filename":"image_18012025_10_08_02_668200_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329720104","file1":"1329720096","file0":"1329720090","file3":"1329720110"},"map_files_photo_id_array":[{"photo_id":"1329720104","filename":"file2"},{"photo_id":"1329720096","filename":"file1"},{"photo_id":"1329720090","filename":"file0"},{"photo_id":"1329720110","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329720110":["hashtag1","hashtag2"]},{"1329720104":["hashtag1","hashtag2"]},{"1329720096":["hashtag1","hashtag2"]},{"1329720090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329720110, 1329720104, 1329720096, 1329720090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96236610412598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:10:22.009779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/09/image_18012025_10_09_02_950666_0003.jpg', '/home/pi/Desktop/images/18012025/10/10/image_18012025_10_10_03_126491_0000.jpg', '/home/pi/Desktop/images/18012025/10/10/image_18012025_10_10_03_126491_0001.jpg', '/home/pi/Desktop/images/18012025/10/10/image_18012025_10_10_03_126491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/09/image_18012025_10_09_02_950666_0003.jpg
/home/pi/Desktop/images/18012025/10/10/image_18012025_10_10_03_126491_0000.jpg
/home/pi/Desktop/images/18012025/10/10/image_18012025_10_10_03_126491_0001.jpg
/home/pi/Desktop/images/18012025/10/10/image_18012025_10_10_03_126491_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329720303","1329720244","1329720217","1329720258"],"photo_ids_order":["1329720217","1329720244","1329720258","1329720303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/186f7e5d0a7b2ad3fbeb36f4ce4ec245.jpg","text":"TemporaryFile(/tmp/multipartBody2895873102481886625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191493191,"filename":"image_18012025_10_10_03_126491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60738f7b89e1c4b01ae7dfe06bde747e.jpg","text":"TemporaryFile(/tmp/multipartBody1744330812250206784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191493191,"filename":"image_18012025_10_10_03_126491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6919f9d4a4839824708220a52c13ed91.jpg","text":"TemporaryFile(/tmp/multipartBody8984137651240449871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191493191,"filename":"image_18012025_10_09_02_950666_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/85b37314ae86a8a5291fc735867d1fa0.jpg","text":"TemporaryFile(/tmp/multipartBody8156257957919346610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191493191,"filename":"image_18012025_10_10_03_126491_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329720258","file1":"1329720244","file0":"1329720217","file3":"1329720303"},"map_files_photo_id_array":[{"photo_id":"1329720258","filename":"file2"},{"photo_id":"1329720244","filename":"file1"},{"photo_id":"1329720217","filename":"file0"},{"photo_id":"1329720303","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329720303":["hashtag1","hashtag2"]},{"1329720244":["hashtag1","hashtag2"]},{"1329720217":["hashtag1","hashtag2"]},{"1329720258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329720303, 1329720244, 1329720217, 1329720258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.84639048576355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:11:22.158256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/10/image_18012025_10_10_03_126491_0003.jpg', '/home/pi/Desktop/images/18012025/10/11/image_18012025_10_11_02_338783_0000.jpg', '/home/pi/Desktop/images/18012025/10/11/image_18012025_10_11_02_338783_0001.jpg', '/home/pi/Desktop/images/18012025/10/11/image_18012025_10_11_02_338783_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/10/image_18012025_10_10_03_126491_0003.jpg
/home/pi/Desktop/images/18012025/10/11/image_18012025_10_11_02_338783_0000.jpg
/home/pi/Desktop/images/18012025/10/11/image_18012025_10_11_02_338783_0001.jpg
/home/pi/Desktop/images/18012025/10/11/image_18012025_10_11_02_338783_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329720344","1329720358","1329720349","1329720354"],"photo_ids_order":["1329720344","1329720349","1329720354","1329720358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/637cbae03579a080c7ba14c2e1b68a45.jpg","text":"TemporaryFile(/tmp/multipartBody5115397349019376842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191553234,"filename":"image_18012025_10_10_03_126491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/10f267624dd8636003a144c561330839.jpg","text":"TemporaryFile(/tmp/multipartBody1449828973939511240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191553234,"filename":"image_18012025_10_11_02_338783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6bb08d3f06fdd9f50eb4f4f1b8a36ce.jpg","text":"TemporaryFile(/tmp/multipartBody5784970769932489798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191553234,"filename":"image_18012025_10_11_02_338783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/43c3bbc1ada96b1361b8dd9c595bd218.jpg","text":"TemporaryFile(/tmp/multipartBody7205237613261976896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191553234,"filename":"image_18012025_10_11_02_338783_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329720354","file1":"1329720349","file0":"1329720344","file3":"1329720358"},"map_files_photo_id_array":[{"photo_id":"1329720354","filename":"file2"},{"photo_id":"1329720349","filename":"file1"},{"photo_id":"1329720344","filename":"file0"},{"photo_id":"1329720358","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329720344":["hashtag1","hashtag2"]},{"1329720358":["hashtag1","hashtag2"]},{"1329720349":["hashtag1","hashtag2"]},{"1329720354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329720344, 1329720358, 1329720349, 1329720354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01969242095947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:12:02.623222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/34/image_16012025_21_34_02_565609_0001.jpg', '/home/pi/Desktop/images/16012025/21/34/image_16012025_21_34_02_565609_0002.jpg', '/home/pi/Desktop/images/16012025/21/34/image_16012025_21_34_02_565609_0003.jpg', '/home/pi/Desktop/images/16012025/21/35/image_16012025_21_35_02_746327_0000.jpg', '/home/pi/Desktop/images/16012025/21/35/image_16012025_21_35_02_746327_0001.jpg', '/home/pi/Desktop/images/16012025/21/35/image_16012025_21_35_02_746327_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/34/image_16012025_21_34_02_565609_0001.jpg
/home/pi/Desktop/images/16012025/21/34/image_16012025_21_34_02_565609_0002.jpg
/home/pi/Desktop/images/16012025/21/34/image_16012025_21_34_02_565609_0003.jpg
/home/pi/Desktop/images/16012025/21/35/image_16012025_21_35_02_746327_0000.jpg
/home/pi/Desktop/images/16012025/21/35/image_16012025_21_35_02_746327_0001.jpg
/home/pi/Desktop/images/16012025/21/35/image_16012025_21_35_02_746327_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":["1329720380","1329720377","1329720388","1329720370","1329720384","1329720375"],"photo_ids_order":["1329720370","1329720375","1329720377","1329720380","1329720384","1329720388"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d2b3570f5d81483ed3aa1caed7c10bb3.jpg","text":"TemporaryFile(/tmp/multipartBody4957082929171261766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191598348,"filename":"image_16012025_21_35_02_746327_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93263870743c632f096c46c2698dcaa2.jpg","text":"TemporaryFile(/tmp/multipartBody353107513638142817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191598348,"filename":"image_16012025_21_34_02_565609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/331292293544c9042036196ebfd68234.jpg","text":"TemporaryFile(/tmp/multipartBody3974900246460910948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191598348,"filename":"image_16012025_21_35_02_746327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/626122922d9f208ad955d1ea2c4806c3.jpg","text":"TemporaryFile(/tmp/multipartBody8263562836083206049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191598348,"filename":"image_16012025_21_34_02_565609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/704c33d98c80a1b31554736ae3b384df.jpg","text":"TemporaryFile(/tmp/multipartBody2180994799090470652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191598348,"filename":"image_16012025_21_35_02_746327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7efdd7da4e3b08900aed8ef450104e72.jpg","text":"TemporaryFile(/tmp/multipartBody21430380098228341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191598348,"filename":"image_16012025_21_34_02_565609_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329720377","file1":"1329720375","file0":"1329720370","file4":"1329720384","file5":"1329720388","file3":"1329720380"},"map_files_photo_id_array":[{"photo_id":"1329720388","filename":"file5"},{"photo_id":"1329720377","filename":"file2"},{"photo_id":"1329720384","filename":"file4"},{"photo_id":"1329720375","filename":"file1"},{"photo_id":"1329720370","filename":"file0"},{"photo_id":"1329720380","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329720380":["hashtag1","hashtag2"]},{"1329720377":["hashtag1","hashtag2"]},{"1329720388":["hashtag1","hashtag2"]},{"1329720370":["hashtag1","hashtag2"]},{"1329720384":["hashtag1","hashtag2"]},{"1329720375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329720380, 1329720377, 1329720388, 1329720370, 1329720384, 1329720375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.25113916397095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:13:03.203303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/11/image_18012025_10_11_02_338783_0003.jpg', '/home/pi/Desktop/images/18012025/10/12/image_18012025_10_12_02_499956_0000.jpg', '/home/pi/Desktop/images/18012025/10/12/image_18012025_10_12_02_499956_0001.jpg', '/home/pi/Desktop/images/18012025/10/12/image_18012025_10_12_02_499956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/11/image_18012025_10_11_02_338783_0003.jpg
/home/pi/Desktop/images/18012025/10/12/image_18012025_10_12_02_499956_0000.jpg
/home/pi/Desktop/images/18012025/10/12/image_18012025_10_12_02_499956_0001.jpg
/home/pi/Desktop/images/18012025/10/12/image_18012025_10_12_02_499956_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329720411","1329720414","1329720401","1329720400"],"photo_ids_order":["1329720400","1329720401","1329720411","1329720414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c1447e136b4f8ee339fd7b4e8832aa2.jpg","text":"TemporaryFile(/tmp/multipartBody1178492875580129929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191654220,"filename":"image_18012025_10_12_02_499956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9ac03f08a5c025d815be21c5079faea.jpg","text":"TemporaryFile(/tmp/multipartBody6912557962779937467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191654220,"filename":"image_18012025_10_12_02_499956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/87c82eab820801fe5ed68df04c9c36ba.jpg","text":"TemporaryFile(/tmp/multipartBody7607070253459058822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191654220,"filename":"image_18012025_10_12_02_499956_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/10855fafc41d77c985b82c815d2178e3.jpg","text":"TemporaryFile(/tmp/multipartBody6758732787690114605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191654220,"filename":"image_18012025_10_11_02_338783_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329720411","file1":"1329720401","file0":"1329720400","file3":"1329720414"},"map_files_photo_id_array":[{"photo_id":"1329720411","filename":"file2"},{"photo_id":"1329720401","filename":"file1"},{"photo_id":"1329720400","filename":"file0"},{"photo_id":"1329720414","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329720411":["hashtag1","hashtag2"]},{"1329720414":["hashtag1","hashtag2"]},{"1329720401":["hashtag1","hashtag2"]},{"1329720400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329720411, 1329720414, 1329720401, 1329720400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2719361782074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 10:13:52.569777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/12/image_18012025_10_12_02_499956_0003.jpg', '/home/pi/Desktop/images/18012025/10/13/image_18012025_10_13_02_694686_0000.jpg', '/home/pi/Desktop/images/18012025/10/13/image_18012025_10_13_02_694686_0001.jpg', '/home/pi/Desktop/images/18012025/10/13/image_18012025_10_13_02_694686_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/12/image_18012025_10_12_02_499956_0003.jpg
/home/pi/Desktop/images/18012025/10/13/image_18012025_10_13_02_694686_0000.jpg
/home/pi/Desktop/images/18012025/10/13/image_18012025_10_13_02_694686_0001.jpg
/home/pi/Desktop/images/18012025/10/13/image_18012025_10_13_02_694686_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329720444","1329720446","1329720449","1329720483"],"photo_ids_order":["1329720444","1329720446","1329720449","1329720483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7dd7eee15da02c86806a767e06776f0b.jpg","text":"TemporaryFile(/tmp/multipartBody5163922769514136333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191703570,"filename":"image_18012025_10_12_02_499956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b724124dd7bfb2db30ad3ac0a3555d24.jpg","text":"TemporaryFile(/tmp/multipartBody7198635025156018265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191703570,"filename":"image_18012025_10_13_02_694686_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed871c8bc5565d62b1c85353c601fa68.jpg","text":"TemporaryFile(/tmp/multipartBody3933506538265449153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191703570,"filename":"image_18012025_10_13_02_694686_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f3370d769b0e04a17e2d6463a33f0b13.jpg","text":"TemporaryFile(/tmp/multipartBody3393876304704320971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191703570,"filename":"image_18012025_10_13_02_694686_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329720449","file1":"1329720446","file0":"1329720444","file3":"1329720483"},"map_files_photo_id_array":[{"photo_id":"1329720449","filename":"file2"},{"photo_id":"1329720446","filename":"file1"},{"photo_id":"1329720444","filename":"file0"},{"photo_id":"1329720483","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329720444":["hashtag1","hashtag2"]},{"1329720446":["hashtag1","hashtag2"]},{"1329720449":["hashtag1","hashtag2"]},{"1329720483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329720444, 1329720446, 1329720449, 1329720483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.370747804641724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 10:14:41.743173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/13/image_18012025_10_13_02_694686_0003.jpg', '/home/pi/Desktop/images/18012025/10/14/image_18012025_10_14_02_919837_0000.jpg', '/home/pi/Desktop/images/18012025/10/14/image_18012025_10_14_02_919837_0001.jpg', '/home/pi/Desktop/images/18012025/10/14/image_18012025_10_14_02_919837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/13/image_18012025_10_13_02_694686_0003.jpg
/home/pi/Desktop/images/18012025/10/14/image_18012025_10_14_02_919837_0000.jpg
/home/pi/Desktop/images/18012025/10/14/image_18012025_10_14_02_919837_0001.jpg
/home/pi/Desktop/images/18012025/10/14/image_18012025_10_14_02_919837_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329720522","1329720525","1329720519","1329720545"],"photo_ids_order":["1329720519","1329720522","1329720525","1329720545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e2303c82351ad636d7d5ea127f626737.jpg","text":"TemporaryFile(/tmp/multipartBody1256796206388178370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191752908,"filename":"image_18012025_10_14_02_919837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a3d17344b2878bde09abf6fb03949994.jpg","text":"TemporaryFile(/tmp/multipartBody8499352071659343264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191752908,"filename":"image_18012025_10_14_02_919837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d87fd494a6df0bf10b7915abd31e5128.jpg","text":"TemporaryFile(/tmp/multipartBody2206345714874969927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191752908,"filename":"image_18012025_10_13_02_694686_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c203c7e2ed22bbf92cfa52cfa8f5a8d.jpg","text":"TemporaryFile(/tmp/multipartBody8693484173370697443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191752908,"filename":"image_18012025_10_14_02_919837_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329720525","file1":"1329720522","file0":"1329720519","file3":"1329720545"},"map_files_photo_id_array":[{"photo_id":"1329720525","filename":"file2"},{"photo_id":"1329720522","filename":"file1"},{"photo_id":"1329720519","filename":"file0"},{"photo_id":"1329720545","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329720522":["hashtag1","hashtag2"]},{"1329720525":["hashtag1","hashtag2"]},{"1329720519":["hashtag1","hashtag2"]},{"1329720545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329720522, 1329720525, 1329720519, 1329720545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32434797286987 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:15:21.929224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/14/image_18012025_10_14_02_919837_0003.jpg', '/home/pi/Desktop/images/18012025/10/15/image_18012025_10_15_02_202520_0000.jpg', '/home/pi/Desktop/images/18012025/10/15/image_18012025_10_15_02_202520_0001.jpg', '/home/pi/Desktop/images/18012025/10/15/image_18012025_10_15_02_202520_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/14/image_18012025_10_14_02_919837_0003.jpg
/home/pi/Desktop/images/18012025/10/15/image_18012025_10_15_02_202520_0000.jpg
/home/pi/Desktop/images/18012025/10/15/image_18012025_10_15_02_202520_0001.jpg
/home/pi/Desktop/images/18012025/10/15/image_18012025_10_15_02_202520_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329720674","1329720662","1329720670","1329720627"],"photo_ids_order":["1329720627","1329720662","1329720670","1329720674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf419115e3eb1055dcb18748602cea10.jpg","text":"TemporaryFile(/tmp/multipartBody6919029933828019980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191792918,"filename":"image_18012025_10_15_02_202520_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2fe3c3f232b20e4413d0308c7e82fd87.jpg","text":"TemporaryFile(/tmp/multipartBody2481426885069256513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191792918,"filename":"image_18012025_10_15_02_202520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce9f4f213d4528f28dafdadc58ed69c8.jpg","text":"TemporaryFile(/tmp/multipartBody1217032045306470889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191792918,"filename":"image_18012025_10_15_02_202520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/57f931574e08f510b7e43098e5d1b923.jpg","text":"TemporaryFile(/tmp/multipartBody1852371725907615785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191792918,"filename":"image_18012025_10_14_02_919837_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329720670","file1":"1329720662","file0":"1329720627","file3":"1329720674"},"map_files_photo_id_array":[{"photo_id":"1329720670","filename":"file2"},{"photo_id":"1329720662","filename":"file1"},{"photo_id":"1329720627","filename":"file0"},{"photo_id":"1329720674","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329720674":["hashtag1","hashtag2"]},{"1329720662":["hashtag1","hashtag2"]},{"1329720670":["hashtag1","hashtag2"]},{"1329720627":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329720674, 1329720662, 1329720670, 1329720627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63835859298706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:16:02.621664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/36/image_16012025_21_36_03_064334_0000.jpg', '/home/pi/Desktop/images/16012025/21/36/image_16012025_21_36_03_064334_0001.jpg', '/home/pi/Desktop/images/16012025/21/36/image_16012025_21_36_03_064334_0002.jpg', '/home/pi/Desktop/images/16012025/21/36/image_16012025_21_36_03_064334_0003.jpg', '/home/pi/Desktop/images/16012025/21/37/image_16012025_21_37_03_104108_0000.jpg', '/home/pi/Desktop/images/16012025/21/37/image_16012025_21_37_03_104108_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/36/image_16012025_21_36_03_064334_0000.jpg
/home/pi/Desktop/images/16012025/21/36/image_16012025_21_36_03_064334_0001.jpg
/home/pi/Desktop/images/16012025/21/36/image_16012025_21_36_03_064334_0002.jpg
/home/pi/Desktop/images/16012025/21/36/image_16012025_21_36_03_064334_0003.jpg
/home/pi/Desktop/images/16012025/21/37/image_16012025_21_37_03_104108_0000.jpg
/home/pi/Desktop/images/16012025/21/37/image_16012025_21_37_03_104108_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329720695","1329720701","1329720691","1329720685","1329720709","1329720681"],"photo_ids_order":["1329720681","1329720685","1329720691","1329720695","1329720701","1329720709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c31865d14b9919013d227204499a49c3.jpg","text":"TemporaryFile(/tmp/multipartBody5177114212370242526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191838381,"filename":"image_16012025_21_36_03_064334_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/81f88cea16910ecf66bfbb2793eac7e4.jpg","text":"TemporaryFile(/tmp/multipartBody1944022587802928027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191838381,"filename":"image_16012025_21_37_03_104108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4fff4656eca92890f9d62593f31f7e78.jpg","text":"TemporaryFile(/tmp/multipartBody5905671869222669368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191838381,"filename":"image_16012025_21_36_03_064334_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7fcc950ee09fc4bd7e64e8c5412dba5.jpg","text":"TemporaryFile(/tmp/multipartBody5032662741976523798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191838381,"filename":"image_16012025_21_36_03_064334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/34bf8a81c99c37ffe07f3a9a50a399d6.jpg","text":"TemporaryFile(/tmp/multipartBody422294251206572613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191838381,"filename":"image_16012025_21_37_03_104108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/195e488ea265ac011f6ff1625cbda9de.jpg","text":"TemporaryFile(/tmp/multipartBody2793755226433417071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191838381,"filename":"image_16012025_21_36_03_064334_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329720691","file1":"1329720685","file0":"1329720681","file4":"1329720701","file5":"1329720709","file3":"1329720695"},"map_files_photo_id_array":[{"photo_id":"1329720709","filename":"file5"},{"photo_id":"1329720691","filename":"file2"},{"photo_id":"1329720701","filename":"file4"},{"photo_id":"1329720685","filename":"file1"},{"photo_id":"1329720681","filename":"file0"},{"photo_id":"1329720695","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329720695":["hashtag1","hashtag2"]},{"1329720701":["hashtag1","hashtag2"]},{"1329720691":["hashtag1","hashtag2"]},{"1329720685":["hashtag1","hashtag2"]},{"1329720709":["hashtag1","hashtag2"]},{"1329720681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329720695, 1329720701, 1329720691, 1329720685, 1329720709, 1329720681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.262389183044434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:17:22.252788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/15/image_18012025_10_15_02_202520_0003.jpg', '/home/pi/Desktop/images/18012025/10/16/image_18012025_10_16_02_310868_0000.jpg', '/home/pi/Desktop/images/18012025/10/16/image_18012025_10_16_02_310868_0001.jpg', '/home/pi/Desktop/images/18012025/10/16/image_18012025_10_16_02_310868_0002.jpg', '/home/pi/Desktop/images/18012025/10/16/image_18012025_10_16_02_310868_0003.jpg', '/home/pi/Desktop/images/18012025/10/17/image_18012025_10_17_02_607505_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/15/image_18012025_10_15_02_202520_0003.jpg
/home/pi/Desktop/images/18012025/10/16/image_18012025_10_16_02_310868_0000.jpg
/home/pi/Desktop/images/18012025/10/16/image_18012025_10_16_02_310868_0001.jpg
/home/pi/Desktop/images/18012025/10/16/image_18012025_10_16_02_310868_0002.jpg
/home/pi/Desktop/images/18012025/10/16/image_18012025_10_16_02_310868_0003.jpg
/home/pi/Desktop/images/18012025/10/17/image_18012025_10_17_02_607505_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329720782","1329720740","1329720758","1329720772","1329720754","1329720747"],"photo_ids_order":["1329720740","1329720747","1329720754","1329720758","1329720772","1329720782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d08aae0ed96fc1fd6eafe9c14c2054f.jpg","text":"TemporaryFile(/tmp/multipartBody7439644068354698936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191918954,"filename":"image_18012025_10_17_02_607505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/78d22043c54ec1e77ec3f80638d7bad1.jpg","text":"TemporaryFile(/tmp/multipartBody8519048578334404266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191918954,"filename":"image_18012025_10_15_02_202520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50f8e7d38f3d5bb9a88acfaee2f3d056.jpg","text":"TemporaryFile(/tmp/multipartBody5382206935055281759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191918954,"filename":"image_18012025_10_16_02_310868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d996e3aea079166137145a82afacdffb.jpg","text":"TemporaryFile(/tmp/multipartBody5194890341673570980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191918954,"filename":"image_18012025_10_16_02_310868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/efb307a66fca99bda03fbfc43f269b0b.jpg","text":"TemporaryFile(/tmp/multipartBody835175627026677054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191918954,"filename":"image_18012025_10_16_02_310868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/777cac2738ffd212eef2427884a2d652.jpg","text":"TemporaryFile(/tmp/multipartBody3588246723883367055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191918954,"filename":"image_18012025_10_16_02_310868_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329720754","file1":"1329720747","file0":"1329720740","file4":"1329720772","file5":"1329720782","file3":"1329720758"},"map_files_photo_id_array":[{"photo_id":"1329720782","filename":"file5"},{"photo_id":"1329720754","filename":"file2"},{"photo_id":"1329720772","filename":"file4"},{"photo_id":"1329720747","filename":"file1"},{"photo_id":"1329720740","filename":"file0"},{"photo_id":"1329720758","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329720782":["hashtag1","hashtag2"]},{"1329720740":["hashtag1","hashtag2"]},{"1329720758":["hashtag1","hashtag2"]},{"1329720772":["hashtag1","hashtag2"]},{"1329720754":["hashtag1","hashtag2"]},{"1329720747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329720782, 1329720740, 1329720758, 1329720772, 1329720754, 1329720747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.931697368621826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:18:22.478305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/17/image_18012025_10_17_02_607505_0001.jpg', '/home/pi/Desktop/images/18012025/10/17/image_18012025_10_17_02_607505_0002.jpg', '/home/pi/Desktop/images/18012025/10/17/image_18012025_10_17_02_607505_0003.jpg', '/home/pi/Desktop/images/18012025/10/18/image_18012025_10_18_02_637615_0000.jpg', '/home/pi/Desktop/images/18012025/10/18/image_18012025_10_18_02_637615_0001.jpg', '/home/pi/Desktop/images/18012025/10/18/image_18012025_10_18_02_637615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/17/image_18012025_10_17_02_607505_0001.jpg
/home/pi/Desktop/images/18012025/10/17/image_18012025_10_17_02_607505_0002.jpg
/home/pi/Desktop/images/18012025/10/17/image_18012025_10_17_02_607505_0003.jpg
/home/pi/Desktop/images/18012025/10/18/image_18012025_10_18_02_637615_0000.jpg
/home/pi/Desktop/images/18012025/10/18/image_18012025_10_18_02_637615_0001.jpg
/home/pi/Desktop/images/18012025/10/18/image_18012025_10_18_02_637615_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329720842","1329720836","1329720821","1329720812","1329720838","1329720817"],"photo_ids_order":["1329720812","1329720817","1329720821","1329720836","1329720838","1329720842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/36bb43a2ef53f5f216a14b1e8078da93.jpg","text":"TemporaryFile(/tmp/multipartBody6880204035644303683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191979055,"filename":"image_18012025_10_18_02_637615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e005af7d43e24e0c20f59f0c2b51a84f.jpg","text":"TemporaryFile(/tmp/multipartBody6146267664986624143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191979055,"filename":"image_18012025_10_18_02_637615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0a0cc69210f8b7427bdd7fe34cd8bdf.jpg","text":"TemporaryFile(/tmp/multipartBody6923309651799727638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191979055,"filename":"image_18012025_10_17_02_607505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97e517b4eb3dd81cd85a0dd54a17219b.jpg","text":"TemporaryFile(/tmp/multipartBody5703517201184069376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191979055,"filename":"image_18012025_10_17_02_607505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/acfd2b4cab6d88366e2bcd63eb772745.jpg","text":"TemporaryFile(/tmp/multipartBody6535849305517554921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191979055,"filename":"image_18012025_10_18_02_637615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/254d1340664a6ff56b8074568131bc09.jpg","text":"TemporaryFile(/tmp/multipartBody8396761262533496024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737191979055,"filename":"image_18012025_10_17_02_607505_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329720821","file1":"1329720817","file0":"1329720812","file4":"1329720838","file5":"1329720842","file3":"1329720836"},"map_files_photo_id_array":[{"photo_id":"1329720842","filename":"file5"},{"photo_id":"1329720821","filename":"file2"},{"photo_id":"1329720838","filename":"file4"},{"photo_id":"1329720817","filename":"file1"},{"photo_id":"1329720812","filename":"file0"},{"photo_id":"1329720836","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329720842":["hashtag1","hashtag2"]},{"1329720836":["hashtag1","hashtag2"]},{"1329720821":["hashtag1","hashtag2"]},{"1329720812":["hashtag1","hashtag2"]},{"1329720838":["hashtag1","hashtag2"]},{"1329720817":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329720842, 1329720836, 1329720821, 1329720812, 1329720838, 1329720817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.75092387199402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:19:22.735405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/18/image_18012025_10_18_02_637615_0003.jpg', '/home/pi/Desktop/images/18012025/10/19/image_18012025_10_19_02_896443_0000.jpg', '/home/pi/Desktop/images/18012025/10/19/image_18012025_10_19_02_896443_0001.jpg', '/home/pi/Desktop/images/18012025/10/19/image_18012025_10_19_02_896443_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/18/image_18012025_10_18_02_637615_0003.jpg
/home/pi/Desktop/images/18012025/10/19/image_18012025_10_19_02_896443_0000.jpg
/home/pi/Desktop/images/18012025/10/19/image_18012025_10_19_02_896443_0001.jpg
/home/pi/Desktop/images/18012025/10/19/image_18012025_10_19_02_896443_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329720866","1329720857","1329720868","1329720861"],"photo_ids_order":["1329720857","1329720861","1329720866","1329720868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49cb915ced5d1158badfcac237e01ae3.jpg","text":"TemporaryFile(/tmp/multipartBody8497691137481069087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192033940,"filename":"image_18012025_10_19_02_896443_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/517f933b7751e30126ec6817d3f3518c.jpg","text":"TemporaryFile(/tmp/multipartBody5053491793530916843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192033940,"filename":"image_18012025_10_18_02_637615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/88dcf8c8e14f20432a7305b8b79b8891.jpg","text":"TemporaryFile(/tmp/multipartBody7243467444782488289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192033940,"filename":"image_18012025_10_19_02_896443_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a3b6e463e24bc4e8388697d9df5cd36.jpg","text":"TemporaryFile(/tmp/multipartBody1939577579468231992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192033940,"filename":"image_18012025_10_19_02_896443_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329720866","file1":"1329720861","file0":"1329720857","file3":"1329720868"},"map_files_photo_id_array":[{"photo_id":"1329720866","filename":"file2"},{"photo_id":"1329720861","filename":"file1"},{"photo_id":"1329720857","filename":"file0"},{"photo_id":"1329720868","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329720866":["hashtag1","hashtag2"]},{"1329720857":["hashtag1","hashtag2"]},{"1329720868":["hashtag1","hashtag2"]},{"1329720861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329720866, 1329720857, 1329720868, 1329720861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.171717166900635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:20:21.836870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/19/image_18012025_10_19_02_896443_0003.jpg', '/home/pi/Desktop/images/18012025/10/20/image_18012025_10_20_03_084451_0000.jpg', '/home/pi/Desktop/images/18012025/10/20/image_18012025_10_20_03_084451_0001.jpg', '/home/pi/Desktop/images/18012025/10/20/image_18012025_10_20_03_084451_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/19/image_18012025_10_19_02_896443_0003.jpg
/home/pi/Desktop/images/18012025/10/20/image_18012025_10_20_03_084451_0000.jpg
/home/pi/Desktop/images/18012025/10/20/image_18012025_10_20_03_084451_0001.jpg
/home/pi/Desktop/images/18012025/10/20/image_18012025_10_20_03_084451_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329721045","1329721065","1329721035","1329721076"],"photo_ids_order":["1329721035","1329721045","1329721065","1329721076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/590ececd0cbcb684bc10c1aa767f4ffb.jpg","text":"TemporaryFile(/tmp/multipartBody3901393929548127203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192093275,"filename":"image_18012025_10_20_03_084451_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5c1a06de1cb43fd51afb4e21dcd7310.jpg","text":"TemporaryFile(/tmp/multipartBody8697879814984254409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192093275,"filename":"image_18012025_10_20_03_084451_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/33d9a9d40644de02d1c128cc415ea562.jpg","text":"TemporaryFile(/tmp/multipartBody2525891219027059575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192093275,"filename":"image_18012025_10_19_02_896443_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ba2cfcf305f07d74ea7c7172c0b71ca.jpg","text":"TemporaryFile(/tmp/multipartBody205023932449872749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192093275,"filename":"image_18012025_10_20_03_084451_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329721065","file1":"1329721045","file0":"1329721035","file3":"1329721076"},"map_files_photo_id_array":[{"photo_id":"1329721065","filename":"file2"},{"photo_id":"1329721045","filename":"file1"},{"photo_id":"1329721035","filename":"file0"},{"photo_id":"1329721076","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329721045":["hashtag1","hashtag2"]},{"1329721065":["hashtag1","hashtag2"]},{"1329721035":["hashtag1","hashtag2"]},{"1329721076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329721045, 1329721065, 1329721035, 1329721076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87558627128601 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:21:02.621128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/37/image_16012025_21_37_03_104108_0002.jpg', '/home/pi/Desktop/images/16012025/21/37/image_16012025_21_37_03_104108_0003.jpg', '/home/pi/Desktop/images/16012025/21/38/image_16012025_21_38_02_246049_0000.jpg', '/home/pi/Desktop/images/16012025/21/38/image_16012025_21_38_02_246049_0002.jpg', '/home/pi/Desktop/images/16012025/21/38/image_16012025_21_38_02_246049_0003.jpg', '/home/pi/Desktop/images/16012025/21/39/image_16012025_21_39_02_438101_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/37/image_16012025_21_37_03_104108_0002.jpg
/home/pi/Desktop/images/16012025/21/37/image_16012025_21_37_03_104108_0003.jpg
/home/pi/Desktop/images/16012025/21/38/image_16012025_21_38_02_246049_0000.jpg
/home/pi/Desktop/images/16012025/21/38/image_16012025_21_38_02_246049_0002.jpg
/home/pi/Desktop/images/16012025/21/38/image_16012025_21_38_02_246049_0003.jpg
/home/pi/Desktop/images/16012025/21/39/image_16012025_21_39_02_438101_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329721532","1329721888","1329721975","1329721969","1329721963","1329721177"],"photo_ids_order":["1329721177","1329721532","1329721888","1329721963","1329721969","1329721975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/82adbf3e303a8a732d009f5e9975c727.jpg","text":"TemporaryFile(/tmp/multipartBody2607325419866712659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192138373,"filename":"image_16012025_21_37_03_104108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dddff80ce70acf4102dd95a7bc57e1cb.jpg","text":"TemporaryFile(/tmp/multipartBody6231337404242156926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192138373,"filename":"image_16012025_21_38_02_246049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec51322da19ff64966c6783834cc542e.jpg","text":"TemporaryFile(/tmp/multipartBody4795450304210477063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192138373,"filename":"image_16012025_21_39_02_438101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0765687450f438a5c29ffdae95487e31.jpg","text":"TemporaryFile(/tmp/multipartBody9077778886957781830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192138373,"filename":"image_16012025_21_38_02_246049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/449d414fdb34ed301ace415b6682cf8a.jpg","text":"TemporaryFile(/tmp/multipartBody4699411029483532013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192138373,"filename":"image_16012025_21_38_02_246049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4070dcdcf662d81abfedf932ac4ea415.jpg","text":"TemporaryFile(/tmp/multipartBody6738937850228065723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192138373,"filename":"image_16012025_21_37_03_104108_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329721888","file1":"1329721532","file0":"1329721177","file4":"1329721969","file5":"1329721975","file3":"1329721963"},"map_files_photo_id_array":[{"photo_id":"1329721975","filename":"file5"},{"photo_id":"1329721888","filename":"file2"},{"photo_id":"1329721969","filename":"file4"},{"photo_id":"1329721532","filename":"file1"},{"photo_id":"1329721177","filename":"file0"},{"photo_id":"1329721963","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329721532":["hashtag1","hashtag2"]},{"1329721888":["hashtag1","hashtag2"]},{"1329721975":["hashtag1","hashtag2"]},{"1329721969":["hashtag1","hashtag2"]},{"1329721963":["hashtag1","hashtag2"]},{"1329721177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329721532, 1329721888, 1329721975, 1329721969, 1329721963, 1329721177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.472460985183716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:22:02.515516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/20/image_18012025_10_20_03_084451_0003.jpg', '/home/pi/Desktop/images/18012025/10/21/image_18012025_10_21_02_258821_0000.jpg', '/home/pi/Desktop/images/18012025/10/21/image_18012025_10_21_02_258821_0001.jpg', '/home/pi/Desktop/images/18012025/10/21/image_18012025_10_21_02_258821_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/20/image_18012025_10_20_03_084451_0003.jpg
/home/pi/Desktop/images/18012025/10/21/image_18012025_10_21_02_258821_0000.jpg
/home/pi/Desktop/images/18012025/10/21/image_18012025_10_21_02_258821_0001.jpg
/home/pi/Desktop/images/18012025/10/21/image_18012025_10_21_02_258821_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329721984","1329721992","1329721986","1329721989"],"photo_ids_order":["1329721984","1329721986","1329721989","1329721992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f4cb398affa43257910e844d585f14b.jpg","text":"TemporaryFile(/tmp/multipartBody7043099275240707551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192193667,"filename":"image_18012025_10_20_03_084451_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9f2cb03f147a12eed59dd4efaf9717f0.jpg","text":"TemporaryFile(/tmp/multipartBody9004073002757166458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192193667,"filename":"image_18012025_10_21_02_258821_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eb9ec61ddcd2f686eacdeb1c5962f9b3.jpg","text":"TemporaryFile(/tmp/multipartBody628253471601754791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192193667,"filename":"image_18012025_10_21_02_258821_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/12b64efd4f3879d30809f1baa544d5f6.jpg","text":"TemporaryFile(/tmp/multipartBody4310156326811539296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192193667,"filename":"image_18012025_10_21_02_258821_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329721989","file1":"1329721986","file0":"1329721984","file3":"1329721992"},"map_files_photo_id_array":[{"photo_id":"1329721989","filename":"file2"},{"photo_id":"1329721986","filename":"file1"},{"photo_id":"1329721984","filename":"file0"},{"photo_id":"1329721992","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329721984":["hashtag1","hashtag2"]},{"1329721992":["hashtag1","hashtag2"]},{"1329721986":["hashtag1","hashtag2"]},{"1329721989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329721984, 1329721992, 1329721986, 1329721989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.35912036895752 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 10:22:52.145892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/21/image_18012025_10_21_02_258821_0003.jpg', '/home/pi/Desktop/images/18012025/10/22/image_18012025_10_22_02_390500_0000.jpg', '/home/pi/Desktop/images/18012025/10/22/image_18012025_10_22_02_390500_0001.jpg', '/home/pi/Desktop/images/18012025/10/22/image_18012025_10_22_02_390500_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/21/image_18012025_10_21_02_258821_0003.jpg
/home/pi/Desktop/images/18012025/10/22/image_18012025_10_22_02_390500_0000.jpg
/home/pi/Desktop/images/18012025/10/22/image_18012025_10_22_02_390500_0001.jpg
/home/pi/Desktop/images/18012025/10/22/image_18012025_10_22_02_390500_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329722426","1329722377","1329722431","1329722375"],"photo_ids_order":["1329722375","1329722377","1329722426","1329722431"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d681c2e59f3d91f3c7a61e85aa2297d5.jpg","text":"TemporaryFile(/tmp/multipartBody6627835368172217772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192243135,"filename":"image_18012025_10_22_02_390500_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b16f9ba0929b89b5575f94e57f07584a.jpg","text":"TemporaryFile(/tmp/multipartBody6728953203761506526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192243135,"filename":"image_18012025_10_22_02_390500_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c736feb065c9ca2a6fd771efbf8ffe5b.jpg","text":"TemporaryFile(/tmp/multipartBody2995276470999345375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192243135,"filename":"image_18012025_10_22_02_390500_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/322ff1ddee13940c4d56aa04ab02f26a.jpg","text":"TemporaryFile(/tmp/multipartBody4762435439610754210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192243135,"filename":"image_18012025_10_21_02_258821_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329722426","file1":"1329722377","file0":"1329722375","file3":"1329722431"},"map_files_photo_id_array":[{"photo_id":"1329722426","filename":"file2"},{"photo_id":"1329722377","filename":"file1"},{"photo_id":"1329722375","filename":"file0"},{"photo_id":"1329722431","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329722426":["hashtag1","hashtag2"]},{"1329722377":["hashtag1","hashtag2"]},{"1329722431":["hashtag1","hashtag2"]},{"1329722375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329722426, 1329722377, 1329722431, 1329722375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30686044692993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 10:23:32.287853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/22/image_18012025_10_22_02_390500_0003.jpg', '/home/pi/Desktop/images/18012025/10/23/image_18012025_10_23_02_524719_0000.jpg', '/home/pi/Desktop/images/18012025/10/23/image_18012025_10_23_02_524719_0001.jpg', '/home/pi/Desktop/images/18012025/10/23/image_18012025_10_23_02_524719_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/22/image_18012025_10_22_02_390500_0003.jpg
/home/pi/Desktop/images/18012025/10/23/image_18012025_10_23_02_524719_0000.jpg
/home/pi/Desktop/images/18012025/10/23/image_18012025_10_23_02_524719_0001.jpg
/home/pi/Desktop/images/18012025/10/23/image_18012025_10_23_02_524719_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329722587","1329722572","1329722563","1329722605"],"photo_ids_order":["1329722563","1329722572","1329722587","1329722605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b68ead3a803114b44eabb7b4ed2938da.jpg","text":"TemporaryFile(/tmp/multipartBody9206439966450237599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192283153,"filename":"image_18012025_10_23_02_524719_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f01d7ebda2c07fe21d7a77a301b44f4f.jpg","text":"TemporaryFile(/tmp/multipartBody410980222752952612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192283153,"filename":"image_18012025_10_23_02_524719_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/20fb0bfde407da7d45e581a06450ab42.jpg","text":"TemporaryFile(/tmp/multipartBody6682178855422537823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192283153,"filename":"image_18012025_10_22_02_390500_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f181299541adee955f0e77e9647cd95b.jpg","text":"TemporaryFile(/tmp/multipartBody1132048143632612269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192283153,"filename":"image_18012025_10_23_02_524719_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329722587","file1":"1329722572","file0":"1329722563","file3":"1329722605"},"map_files_photo_id_array":[{"photo_id":"1329722587","filename":"file2"},{"photo_id":"1329722572","filename":"file1"},{"photo_id":"1329722563","filename":"file0"},{"photo_id":"1329722605","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329722587":["hashtag1","hashtag2"]},{"1329722572":["hashtag1","hashtag2"]},{"1329722563":["hashtag1","hashtag2"]},{"1329722605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329722587, 1329722572, 1329722563, 1329722605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.211751222610474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:24:22.437583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/23/image_18012025_10_23_02_524719_0003.jpg', '/home/pi/Desktop/images/18012025/10/24/image_18012025_10_24_02_654645_0000.jpg', '/home/pi/Desktop/images/18012025/10/24/image_18012025_10_24_02_654645_0001.jpg', '/home/pi/Desktop/images/18012025/10/24/image_18012025_10_24_02_654645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/23/image_18012025_10_23_02_524719_0003.jpg
/home/pi/Desktop/images/18012025/10/24/image_18012025_10_24_02_654645_0000.jpg
/home/pi/Desktop/images/18012025/10/24/image_18012025_10_24_02_654645_0001.jpg
/home/pi/Desktop/images/18012025/10/24/image_18012025_10_24_02_654645_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329722686","1329722680","1329722683","1329722676"],"photo_ids_order":["1329722676","1329722680","1329722683","1329722686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be9d330f3c79a29ca4dc74c42d2ac52b.jpg","text":"TemporaryFile(/tmp/multipartBody7109100618269518836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192333182,"filename":"image_18012025_10_24_02_654645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/61df335b16e415d7895d60b926a7aeed.jpg","text":"TemporaryFile(/tmp/multipartBody6599540217338808164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192333182,"filename":"image_18012025_10_24_02_654645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e96512f95d28c21dc01c98512b138c20.jpg","text":"TemporaryFile(/tmp/multipartBody5853618695750420748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192333182,"filename":"image_18012025_10_24_02_654645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c4c4945f133cfdc3cc4fbd6c1a58ef4.jpg","text":"TemporaryFile(/tmp/multipartBody3062670506671604982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192333182,"filename":"image_18012025_10_23_02_524719_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329722683","file1":"1329722680","file0":"1329722676","file3":"1329722686"},"map_files_photo_id_array":[{"photo_id":"1329722683","filename":"file2"},{"photo_id":"1329722680","filename":"file1"},{"photo_id":"1329722676","filename":"file0"},{"photo_id":"1329722686","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329722686":["hashtag1","hashtag2"]},{"1329722680":["hashtag1","hashtag2"]},{"1329722683":["hashtag1","hashtag2"]},{"1329722676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329722686, 1329722680, 1329722683, 1329722676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79990291595459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:25:03.221576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/39/image_16012025_21_39_02_438101_0001.jpg', '/home/pi/Desktop/images/16012025/21/39/image_16012025_21_39_02_438101_0002.jpg', '/home/pi/Desktop/images/16012025/21/39/image_16012025_21_39_02_438101_0003.jpg', '/home/pi/Desktop/images/16012025/21/40/image_16012025_21_40_02_621063_0000.jpg', '/home/pi/Desktop/images/16012025/21/40/image_16012025_21_40_02_621063_0001.jpg', '/home/pi/Desktop/images/16012025/21/40/image_16012025_21_40_02_621063_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/39/image_16012025_21_39_02_438101_0001.jpg
/home/pi/Desktop/images/16012025/21/39/image_16012025_21_39_02_438101_0002.jpg
/home/pi/Desktop/images/16012025/21/39/image_16012025_21_39_02_438101_0003.jpg
/home/pi/Desktop/images/16012025/21/40/image_16012025_21_40_02_621063_0000.jpg
/home/pi/Desktop/images/16012025/21/40/image_16012025_21_40_02_621063_0001.jpg
/home/pi/Desktop/images/16012025/21/40/image_16012025_21_40_02_621063_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329722714","1329722702","1329722731","1329722697","1329722718","1329722706"],"photo_ids_order":["1329722697","1329722702","1329722706","1329722714","1329722718","1329722731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f5b160b8c58752dcfbf9172951f754ef.jpg","text":"TemporaryFile(/tmp/multipartBody1795612825076412084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192379128,"filename":"image_16012025_21_40_02_621063_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1540c8a68fb12870b50e3a1a112f0fcd.jpg","text":"TemporaryFile(/tmp/multipartBody4907831159774759456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192379128,"filename":"image_16012025_21_39_02_438101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/075a5f6c861bd4150d5bcccac63460f3.jpg","text":"TemporaryFile(/tmp/multipartBody307729427946491078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192379128,"filename":"image_16012025_21_40_02_621063_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/12bd24b916d27d6b0babebae052fa078.jpg","text":"TemporaryFile(/tmp/multipartBody8369355782877746543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192379128,"filename":"image_16012025_21_39_02_438101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fac5b6e135cdc163a5064b0288ea24ea.jpg","text":"TemporaryFile(/tmp/multipartBody6541802335878924255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192379128,"filename":"image_16012025_21_40_02_621063_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/382416ff5060cb416f5a7d77c066d733.jpg","text":"TemporaryFile(/tmp/multipartBody8345443031647262063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192379128,"filename":"image_16012025_21_39_02_438101_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329722706","file1":"1329722702","file0":"1329722697","file4":"1329722718","file5":"1329722731","file3":"1329722714"},"map_files_photo_id_array":[{"photo_id":"1329722731","filename":"file5"},{"photo_id":"1329722706","filename":"file2"},{"photo_id":"1329722718","filename":"file4"},{"photo_id":"1329722702","filename":"file1"},{"photo_id":"1329722697","filename":"file0"},{"photo_id":"1329722714","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329722714":["hashtag1","hashtag2"]},{"1329722702":["hashtag1","hashtag2"]},{"1329722731":["hashtag1","hashtag2"]},{"1329722697":["hashtag1","hashtag2"]},{"1329722718":["hashtag1","hashtag2"]},{"1329722706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329722714, 1329722702, 1329722731, 1329722697, 1329722718, 1329722706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.18843913078308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:26:03.257653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/24/image_18012025_10_24_02_654645_0003.jpg', '/home/pi/Desktop/images/18012025/10/25/image_18012025_10_25_02_774080_0000.jpg', '/home/pi/Desktop/images/18012025/10/25/image_18012025_10_25_02_774080_0001.jpg', '/home/pi/Desktop/images/18012025/10/25/image_18012025_10_25_02_774080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/24/image_18012025_10_24_02_654645_0003.jpg
/home/pi/Desktop/images/18012025/10/25/image_18012025_10_25_02_774080_0000.jpg
/home/pi/Desktop/images/18012025/10/25/image_18012025_10_25_02_774080_0001.jpg
/home/pi/Desktop/images/18012025/10/25/image_18012025_10_25_02_774080_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329722768","1329722756","1329722750","1329722747"],"photo_ids_order":["1329722747","1329722750","1329722756","1329722768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de16bf45e21afed9075d132be43a8df2.jpg","text":"TemporaryFile(/tmp/multipartBody1363370245685903394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192434349,"filename":"image_18012025_10_25_02_774080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/228e410ca98dd9d125ea9c35edd471a1.jpg","text":"TemporaryFile(/tmp/multipartBody4737208761431773451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192434349,"filename":"image_18012025_10_25_02_774080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c580f8a008373207121238458c10d06d.jpg","text":"TemporaryFile(/tmp/multipartBody1003934952709593396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192434349,"filename":"image_18012025_10_25_02_774080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e32890d5ce5d2c3419bec0cbc0c3d11f.jpg","text":"TemporaryFile(/tmp/multipartBody6816518658626328433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192434349,"filename":"image_18012025_10_24_02_654645_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329722756","file1":"1329722750","file0":"1329722747","file3":"1329722768"},"map_files_photo_id_array":[{"photo_id":"1329722756","filename":"file2"},{"photo_id":"1329722750","filename":"file1"},{"photo_id":"1329722747","filename":"file0"},{"photo_id":"1329722768","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329722768":["hashtag1","hashtag2"]},{"1329722756":["hashtag1","hashtag2"]},{"1329722750":["hashtag1","hashtag2"]},{"1329722747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329722768, 1329722756, 1329722750, 1329722747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.403141498565674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 10:26:52.765507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/25/image_18012025_10_25_02_774080_0003.jpg', '/home/pi/Desktop/images/18012025/10/26/image_18012025_10_26_02_982458_0000.jpg', '/home/pi/Desktop/images/18012025/10/26/image_18012025_10_26_02_982458_0001.jpg', '/home/pi/Desktop/images/18012025/10/26/image_18012025_10_26_02_982458_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/25/image_18012025_10_25_02_774080_0003.jpg
/home/pi/Desktop/images/18012025/10/26/image_18012025_10_26_02_982458_0000.jpg
/home/pi/Desktop/images/18012025/10/26/image_18012025_10_26_02_982458_0001.jpg
/home/pi/Desktop/images/18012025/10/26/image_18012025_10_26_02_982458_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329722865","1329722873","1329722867","1329722870"],"photo_ids_order":["1329722865","1329722867","1329722870","1329722873"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a247abd1b6a3f362d9e62bfc9930bdd4.jpg","text":"TemporaryFile(/tmp/multipartBody6591751665889991162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192484535,"filename":"image_18012025_10_25_02_774080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/539ee108083bab69ef70fa3df76c1412.jpg","text":"TemporaryFile(/tmp/multipartBody2928166291380023147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192484535,"filename":"image_18012025_10_26_02_982458_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f82d26898e3c620e111eaac4ed7b69f.jpg","text":"TemporaryFile(/tmp/multipartBody2778970771334699008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192484535,"filename":"image_18012025_10_26_02_982458_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/94b440a605b15de27f2619a0ae2d3826.jpg","text":"TemporaryFile(/tmp/multipartBody43907173858623568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192484535,"filename":"image_18012025_10_26_02_982458_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329722870","file1":"1329722867","file0":"1329722865","file3":"1329722873"},"map_files_photo_id_array":[{"photo_id":"1329722870","filename":"file2"},{"photo_id":"1329722867","filename":"file1"},{"photo_id":"1329722865","filename":"file0"},{"photo_id":"1329722873","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329722865":["hashtag1","hashtag2"]},{"1329722873":["hashtag1","hashtag2"]},{"1329722867":["hashtag1","hashtag2"]},{"1329722870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329722865, 1329722873, 1329722867, 1329722870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.61224365234375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 10:27:41.950104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/26/image_18012025_10_26_02_982458_0003.jpg', '/home/pi/Desktop/images/18012025/10/27/image_18012025_10_27_03_144703_0000.jpg', '/home/pi/Desktop/images/18012025/10/27/image_18012025_10_27_03_144703_0001.jpg', '/home/pi/Desktop/images/18012025/10/27/image_18012025_10_27_03_144703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/26/image_18012025_10_26_02_982458_0003.jpg
/home/pi/Desktop/images/18012025/10/27/image_18012025_10_27_03_144703_0000.jpg
/home/pi/Desktop/images/18012025/10/27/image_18012025_10_27_03_144703_0001.jpg
/home/pi/Desktop/images/18012025/10/27/image_18012025_10_27_03_144703_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329722925","1329722919","1329722922","1329722916"],"photo_ids_order":["1329722916","1329722919","1329722922","1329722925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5bb93f092afc8ee6ff56442053f3fd05.jpg","text":"TemporaryFile(/tmp/multipartBody3159551465266406765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192533575,"filename":"image_18012025_10_27_03_144703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1242c5e54a6b950da7f9a6480dcfe422.jpg","text":"TemporaryFile(/tmp/multipartBody6223221021002064080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192533575,"filename":"image_18012025_10_27_03_144703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/514ea9474a1f243882258cf00c227787.jpg","text":"TemporaryFile(/tmp/multipartBody7648998330681069689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192533575,"filename":"image_18012025_10_27_03_144703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86753da91986842534aaad644112e549.jpg","text":"TemporaryFile(/tmp/multipartBody3588383696553555242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192533575,"filename":"image_18012025_10_26_02_982458_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329722922","file1":"1329722919","file0":"1329722916","file3":"1329722925"},"map_files_photo_id_array":[{"photo_id":"1329722922","filename":"file2"},{"photo_id":"1329722919","filename":"file1"},{"photo_id":"1329722916","filename":"file0"},{"photo_id":"1329722925","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329722925":["hashtag1","hashtag2"]},{"1329722919":["hashtag1","hashtag2"]},{"1329722922":["hashtag1","hashtag2"]},{"1329722916":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329722925, 1329722919, 1329722922, 1329722916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.67735290527344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 10:28:32.093241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/27/image_18012025_10_27_03_144703_0003.jpg', '/home/pi/Desktop/images/18012025/10/28/image_18012025_10_28_02_357128_0000.jpg', '/home/pi/Desktop/images/18012025/10/28/image_18012025_10_28_02_357128_0001.jpg', '/home/pi/Desktop/images/18012025/10/28/image_18012025_10_28_02_357128_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/27/image_18012025_10_27_03_144703_0003.jpg
/home/pi/Desktop/images/18012025/10/28/image_18012025_10_28_02_357128_0000.jpg
/home/pi/Desktop/images/18012025/10/28/image_18012025_10_28_02_357128_0001.jpg
/home/pi/Desktop/images/18012025/10/28/image_18012025_10_28_02_357128_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329722955","1329722964","1329722949","1329722975"],"photo_ids_order":["1329722949","1329722955","1329722964","1329722975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cdbbd6c1e5f0a4ece748886774f4c3a3.jpg","text":"TemporaryFile(/tmp/multipartBody6634339977764707121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192583232,"filename":"image_18012025_10_28_02_357128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b90f54450922d92961672f5092f9997f.jpg","text":"TemporaryFile(/tmp/multipartBody8109459093827941418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192583232,"filename":"image_18012025_10_28_02_357128_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad8937dea53cdc23309b7bd12281507e.jpg","text":"TemporaryFile(/tmp/multipartBody8996037746961299421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192583232,"filename":"image_18012025_10_27_03_144703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/80a3fcc3fdbfc629bde57d31841a765f.jpg","text":"TemporaryFile(/tmp/multipartBody3877486703939544586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192583232,"filename":"image_18012025_10_28_02_357128_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329722964","file1":"1329722955","file0":"1329722949","file3":"1329722975"},"map_files_photo_id_array":[{"photo_id":"1329722964","filename":"file2"},{"photo_id":"1329722955","filename":"file1"},{"photo_id":"1329722949","filename":"file0"},{"photo_id":"1329722975","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329722955":["hashtag1","hashtag2"]},{"1329722964":["hashtag1","hashtag2"]},{"1329722949":["hashtag1","hashtag2"]},{"1329722975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329722955, 1329722964, 1329722949, 1329722975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.086085081100464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:29:22.374670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/28/image_18012025_10_28_02_357128_0003.jpg', '/home/pi/Desktop/images/18012025/10/29/image_18012025_10_29_02_529434_0000.jpg', '/home/pi/Desktop/images/18012025/10/29/image_18012025_10_29_02_529434_0001.jpg', '/home/pi/Desktop/images/18012025/10/29/image_18012025_10_29_02_529434_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/28/image_18012025_10_28_02_357128_0003.jpg
/home/pi/Desktop/images/18012025/10/29/image_18012025_10_29_02_529434_0000.jpg
/home/pi/Desktop/images/18012025/10/29/image_18012025_10_29_02_529434_0001.jpg
/home/pi/Desktop/images/18012025/10/29/image_18012025_10_29_02_529434_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329723033","1329723029","1329723023","1329723017"],"photo_ids_order":["1329723017","1329723023","1329723029","1329723033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/791019db96cf2636859483b6e45637fc.jpg","text":"TemporaryFile(/tmp/multipartBody8781814113551325808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192633386,"filename":"image_18012025_10_29_02_529434_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ae1c2d0163b0ce91b83f68a4321ae0c1.jpg","text":"TemporaryFile(/tmp/multipartBody7276626742811152465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192633386,"filename":"image_18012025_10_29_02_529434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e19e07dfa27d8e5dd88658c29b30b3d.jpg","text":"TemporaryFile(/tmp/multipartBody8551874642231191874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192633386,"filename":"image_18012025_10_29_02_529434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a6bd0cc69151cb4a1127ca53c6be90c.jpg","text":"TemporaryFile(/tmp/multipartBody4046966762242993263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192633386,"filename":"image_18012025_10_28_02_357128_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329723029","file1":"1329723023","file0":"1329723017","file3":"1329723033"},"map_files_photo_id_array":[{"photo_id":"1329723029","filename":"file2"},{"photo_id":"1329723023","filename":"file1"},{"photo_id":"1329723017","filename":"file0"},{"photo_id":"1329723033","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329723033":["hashtag1","hashtag2"]},{"1329723029":["hashtag1","hashtag2"]},{"1329723023":["hashtag1","hashtag2"]},{"1329723017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329723033, 1329723029, 1329723023, 1329723017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.51503801345825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:30:02.993978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/40/image_16012025_21_40_02_621063_0003.jpg', '/home/pi/Desktop/images/16012025/21/41/image_16012025_21_41_02_900230_0000.jpg', '/home/pi/Desktop/images/16012025/21/41/image_16012025_21_41_02_900230_0001.jpg', '/home/pi/Desktop/images/16012025/21/41/image_16012025_21_41_02_900230_0002.jpg', '/home/pi/Desktop/images/16012025/21/41/image_16012025_21_41_02_900230_0003.jpg', '/home/pi/Desktop/images/16012025/21/42/image_16012025_21_42_02_988243_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/40/image_16012025_21_40_02_621063_0003.jpg
/home/pi/Desktop/images/16012025/21/41/image_16012025_21_41_02_900230_0000.jpg
/home/pi/Desktop/images/16012025/21/41/image_16012025_21_41_02_900230_0001.jpg
/home/pi/Desktop/images/16012025/21/41/image_16012025_21_41_02_900230_0002.jpg
/home/pi/Desktop/images/16012025/21/41/image_16012025_21_41_02_900230_0003.jpg
/home/pi/Desktop/images/16012025/21/42/image_16012025_21_42_02_988243_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329723052","1329723046","1329723040","1329723043","1329723123","1329723230"],"photo_ids_order":["1329723040","1329723043","1329723046","1329723052","1329723123","1329723230"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0952e608a156550aab50324cf0f56238.jpg","text":"TemporaryFile(/tmp/multipartBody1174886529648986302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192678684,"filename":"image_16012025_21_41_02_900230_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/608aeeacb1ca18ff592114654d16979d.jpg","text":"TemporaryFile(/tmp/multipartBody3738395217780286071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192678684,"filename":"image_16012025_21_41_02_900230_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cbc4d5d9c92a0839b426c4d900069875.jpg","text":"TemporaryFile(/tmp/multipartBody5549676170442391734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192678684,"filename":"image_16012025_21_40_02_621063_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c78c7cdbf9d1803df04a12d5506bc8d.jpg","text":"TemporaryFile(/tmp/multipartBody5889041253854690383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192678684,"filename":"image_16012025_21_41_02_900230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6be3b43c315a88dfbaa8b2f0707a3613.jpg","text":"TemporaryFile(/tmp/multipartBody2328639916638906119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192678684,"filename":"image_16012025_21_41_02_900230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b457323ab4d83a8fe43bb85da0c32086.jpg","text":"TemporaryFile(/tmp/multipartBody1419938565803045229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192678684,"filename":"image_16012025_21_42_02_988243_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329723046","file1":"1329723043","file0":"1329723040","file4":"1329723123","file5":"1329723230","file3":"1329723052"},"map_files_photo_id_array":[{"photo_id":"1329723230","filename":"file5"},{"photo_id":"1329723046","filename":"file2"},{"photo_id":"1329723123","filename":"file4"},{"photo_id":"1329723043","filename":"file1"},{"photo_id":"1329723040","filename":"file0"},{"photo_id":"1329723052","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329723052":["hashtag1","hashtag2"]},{"1329723046":["hashtag1","hashtag2"]},{"1329723040":["hashtag1","hashtag2"]},{"1329723043":["hashtag1","hashtag2"]},{"1329723123":["hashtag1","hashtag2"]},{"1329723230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329723052, 1329723046, 1329723040, 1329723043, 1329723123, 1329723230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.70290946960449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:31:03.315685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/29/image_18012025_10_29_02_529434_0003.jpg', '/home/pi/Desktop/images/18012025/10/30/image_18012025_10_30_02_709984_0000.jpg', '/home/pi/Desktop/images/18012025/10/30/image_18012025_10_30_02_709984_0001.jpg', '/home/pi/Desktop/images/18012025/10/30/image_18012025_10_30_02_709984_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/29/image_18012025_10_29_02_529434_0003.jpg
/home/pi/Desktop/images/18012025/10/30/image_18012025_10_30_02_709984_0000.jpg
/home/pi/Desktop/images/18012025/10/30/image_18012025_10_30_02_709984_0001.jpg
/home/pi/Desktop/images/18012025/10/30/image_18012025_10_30_02_709984_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329723970","1329724015","1329724023","1329723809"],"photo_ids_order":["1329723809","1329723970","1329724015","1329724023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/359b6b3ad06e6f2f5cf752ed2220d3b5.jpg","text":"TemporaryFile(/tmp/multipartBody2128586616739158259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192734538,"filename":"image_18012025_10_30_02_709984_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0901d38e6d9e915c01c9c203806e179.jpg","text":"TemporaryFile(/tmp/multipartBody6012006921702522381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192734538,"filename":"image_18012025_10_30_02_709984_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b1dcac6e40fd01e175904c179378024.jpg","text":"TemporaryFile(/tmp/multipartBody2166761439726250991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192734538,"filename":"image_18012025_10_30_02_709984_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/174d00740007b54f1b6f8075b49fd79b.jpg","text":"TemporaryFile(/tmp/multipartBody4565650843689109545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192734538,"filename":"image_18012025_10_29_02_529434_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329724015","file1":"1329723970","file0":"1329723809","file3":"1329724023"},"map_files_photo_id_array":[{"photo_id":"1329724015","filename":"file2"},{"photo_id":"1329723970","filename":"file1"},{"photo_id":"1329723809","filename":"file0"},{"photo_id":"1329724023","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329723970":["hashtag1","hashtag2"]},{"1329724015":["hashtag1","hashtag2"]},{"1329724023":["hashtag1","hashtag2"]},{"1329723809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329723970, 1329724015, 1329724023, 1329723809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56146860122681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 10:31:52.669358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/30/image_18012025_10_30_02_709984_0003.jpg', '/home/pi/Desktop/images/18012025/10/31/image_18012025_10_31_02_874221_0000.jpg', '/home/pi/Desktop/images/18012025/10/31/image_18012025_10_31_02_874221_0001.jpg', '/home/pi/Desktop/images/18012025/10/31/image_18012025_10_31_02_874221_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/30/image_18012025_10_30_02_709984_0003.jpg
/home/pi/Desktop/images/18012025/10/31/image_18012025_10_31_02_874221_0000.jpg
/home/pi/Desktop/images/18012025/10/31/image_18012025_10_31_02_874221_0001.jpg
/home/pi/Desktop/images/18012025/10/31/image_18012025_10_31_02_874221_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329724047","1329724046","1329724049","1329724051"],"photo_ids_order":["1329724046","1329724047","1329724049","1329724051"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/050700015418b0b1fabd47a73e2164f2.jpg","text":"TemporaryFile(/tmp/multipartBody5606248948244993812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192783674,"filename":"image_18012025_10_31_02_874221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84b1174008dce5f6c3f3e873881f8aeb.jpg","text":"TemporaryFile(/tmp/multipartBody6973287518893224260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192783674,"filename":"image_18012025_10_30_02_709984_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63a50a7689c1f37a901f8c1ba81944f8.jpg","text":"TemporaryFile(/tmp/multipartBody6095293426436612708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192783674,"filename":"image_18012025_10_31_02_874221_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/41b3d2a5cb49af61c51d4f6f05785eec.jpg","text":"TemporaryFile(/tmp/multipartBody1339032190321053949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192783674,"filename":"image_18012025_10_31_02_874221_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329724049","file1":"1329724047","file0":"1329724046","file3":"1329724051"},"map_files_photo_id_array":[{"photo_id":"1329724049","filename":"file2"},{"photo_id":"1329724047","filename":"file1"},{"photo_id":"1329724046","filename":"file0"},{"photo_id":"1329724051","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329724047":["hashtag1","hashtag2"]},{"1329724046":["hashtag1","hashtag2"]},{"1329724049":["hashtag1","hashtag2"]},{"1329724051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329724047, 1329724046, 1329724049, 1329724051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.42803406715393 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-18 10:32:41.844248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/31/image_18012025_10_31_02_874221_0003.jpg', '/home/pi/Desktop/images/18012025/10/32/image_18012025_10_32_03_082369_0000.jpg', '/home/pi/Desktop/images/18012025/10/32/image_18012025_10_32_03_082369_0001.jpg', '/home/pi/Desktop/images/18012025/10/32/image_18012025_10_32_03_082369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/31/image_18012025_10_31_02_874221_0003.jpg
/home/pi/Desktop/images/18012025/10/32/image_18012025_10_32_03_082369_0000.jpg
/home/pi/Desktop/images/18012025/10/32/image_18012025_10_32_03_082369_0001.jpg
/home/pi/Desktop/images/18012025/10/32/image_18012025_10_32_03_082369_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329724407","1329724484","1329724481","1329724460"],"photo_ids_order":["1329724407","1329724460","1329724481","1329724484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2fc7cff5585188c87e619fce8ea8fe91.jpg","text":"TemporaryFile(/tmp/multipartBody2815874602568694693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192833435,"filename":"image_18012025_10_31_02_874221_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/34958d6dd7833efdab2ba453e477b316.jpg","text":"TemporaryFile(/tmp/multipartBody6665662339196446588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192833435,"filename":"image_18012025_10_32_03_082369_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c227396eb772ab1cf1f6547815e34856.jpg","text":"TemporaryFile(/tmp/multipartBody4120163523312786622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192833435,"filename":"image_18012025_10_32_03_082369_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c627185191f0a9ba95ee502ead5b5155.jpg","text":"TemporaryFile(/tmp/multipartBody5083328498634124134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192833435,"filename":"image_18012025_10_32_03_082369_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329724481","file1":"1329724460","file0":"1329724407","file3":"1329724484"},"map_files_photo_id_array":[{"photo_id":"1329724481","filename":"file2"},{"photo_id":"1329724460","filename":"file1"},{"photo_id":"1329724407","filename":"file0"},{"photo_id":"1329724484","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329724407":["hashtag1","hashtag2"]},{"1329724484":["hashtag1","hashtag2"]},{"1329724481":["hashtag1","hashtag2"]},{"1329724460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329724407, 1329724484, 1329724481, 1329724460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0478777885437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:33:21.987408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/32/image_18012025_10_32_03_082369_0003.jpg', '/home/pi/Desktop/images/18012025/10/33/image_18012025_10_33_02_239983_0000.jpg', '/home/pi/Desktop/images/18012025/10/33/image_18012025_10_33_02_239983_0001.jpg', '/home/pi/Desktop/images/18012025/10/33/image_18012025_10_33_02_239983_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/32/image_18012025_10_32_03_082369_0003.jpg
/home/pi/Desktop/images/18012025/10/33/image_18012025_10_33_02_239983_0000.jpg
/home/pi/Desktop/images/18012025/10/33/image_18012025_10_33_02_239983_0001.jpg
/home/pi/Desktop/images/18012025/10/33/image_18012025_10_33_02_239983_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329724530","1329724515","1329724532","1329724525"],"photo_ids_order":["1329724515","1329724525","1329724530","1329724532"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/27e8cc3136078722638bc583f04a1b16.jpg","text":"TemporaryFile(/tmp/multipartBody6455890375676400149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192873722,"filename":"image_18012025_10_33_02_239983_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5068cb85226922e2a53b209ade2290a6.jpg","text":"TemporaryFile(/tmp/multipartBody7688927528976777233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192873722,"filename":"image_18012025_10_32_03_082369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/edd449bd1b7b72d33cd849ca8b025ff9.jpg","text":"TemporaryFile(/tmp/multipartBody3174754573221619474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192873722,"filename":"image_18012025_10_33_02_239983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9363c12c174d328f3634da1e79df5aa5.jpg","text":"TemporaryFile(/tmp/multipartBody3810768907395611061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192873722,"filename":"image_18012025_10_33_02_239983_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329724530","file1":"1329724525","file0":"1329724515","file3":"1329724532"},"map_files_photo_id_array":[{"photo_id":"1329724530","filename":"file2"},{"photo_id":"1329724525","filename":"file1"},{"photo_id":"1329724515","filename":"file0"},{"photo_id":"1329724532","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329724530":["hashtag1","hashtag2"]},{"1329724515":["hashtag1","hashtag2"]},{"1329724532":["hashtag1","hashtag2"]},{"1329724525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329724530, 1329724515, 1329724532, 1329724525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.19318509101868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:34:22.381804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/33/image_18012025_10_33_02_239983_0003.jpg', '/home/pi/Desktop/images/18012025/10/34/image_18012025_10_34_02_390927_0000.jpg', '/home/pi/Desktop/images/18012025/10/34/image_18012025_10_34_02_390927_0001.jpg', '/home/pi/Desktop/images/18012025/10/34/image_18012025_10_34_02_390927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/33/image_18012025_10_33_02_239983_0003.jpg
/home/pi/Desktop/images/18012025/10/34/image_18012025_10_34_02_390927_0000.jpg
/home/pi/Desktop/images/18012025/10/34/image_18012025_10_34_02_390927_0001.jpg
/home/pi/Desktop/images/18012025/10/34/image_18012025_10_34_02_390927_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329724989","1329724994","1329724997","1329724984"],"photo_ids_order":["1329724984","1329724989","1329724994","1329724997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5351ef8a5ecdeb74cccfb0df05490d97.jpg","text":"TemporaryFile(/tmp/multipartBody3836676577293661319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192933726,"filename":"image_18012025_10_34_02_390927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0d111db2dfa9789e88e66160073534c.jpg","text":"TemporaryFile(/tmp/multipartBody8179558882414844749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192933726,"filename":"image_18012025_10_34_02_390927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/22ba678ad26d830e5d3baa4625f303c5.jpg","text":"TemporaryFile(/tmp/multipartBody4403509757948555756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192933726,"filename":"image_18012025_10_34_02_390927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9eda694ddf0f426227291e669ec8c231.jpg","text":"TemporaryFile(/tmp/multipartBody768442537482334363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192933726,"filename":"image_18012025_10_33_02_239983_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329724994","file1":"1329724989","file0":"1329724984","file3":"1329724997"},"map_files_photo_id_array":[{"photo_id":"1329724994","filename":"file2"},{"photo_id":"1329724989","filename":"file1"},{"photo_id":"1329724984","filename":"file0"},{"photo_id":"1329724997","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329724989":["hashtag1","hashtag2"]},{"1329724994":["hashtag1","hashtag2"]},{"1329724997":["hashtag1","hashtag2"]},{"1329724984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329724989, 1329724994, 1329724997, 1329724984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.692564487457275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:35:22.526672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/34/image_18012025_10_34_02_390927_0003.jpg', '/home/pi/Desktop/images/18012025/10/35/image_18012025_10_35_02_666695_0000.jpg', '/home/pi/Desktop/images/18012025/10/35/image_18012025_10_35_02_666695_0001.jpg', '/home/pi/Desktop/images/18012025/10/35/image_18012025_10_35_02_666695_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/34/image_18012025_10_34_02_390927_0003.jpg
/home/pi/Desktop/images/18012025/10/35/image_18012025_10_35_02_666695_0000.jpg
/home/pi/Desktop/images/18012025/10/35/image_18012025_10_35_02_666695_0001.jpg
/home/pi/Desktop/images/18012025/10/35/image_18012025_10_35_02_666695_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329725894","1329725756","1329725397","1329725898"],"photo_ids_order":["1329725397","1329725756","1329725894","1329725898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/abf729c4d30d220ba2f20cdf3dd8bcb5.jpg","text":"TemporaryFile(/tmp/multipartBody805682552271627133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192993705,"filename":"image_18012025_10_35_02_666695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4666882f97e970f1a872c8d432f9e33.jpg","text":"TemporaryFile(/tmp/multipartBody5561392051562629169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192993705,"filename":"image_18012025_10_35_02_666695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ee6739add3ea6af2013b3ffa3d626ff.jpg","text":"TemporaryFile(/tmp/multipartBody2376704532954887991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192993705,"filename":"image_18012025_10_34_02_390927_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b62ac0481ec7e905b68d1106ecb1ce6.jpg","text":"TemporaryFile(/tmp/multipartBody4121199894275515411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737192993705,"filename":"image_18012025_10_35_02_666695_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329725894","file1":"1329725756","file0":"1329725397","file3":"1329725898"},"map_files_photo_id_array":[{"photo_id":"1329725894","filename":"file2"},{"photo_id":"1329725756","filename":"file1"},{"photo_id":"1329725397","filename":"file0"},{"photo_id":"1329725898","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329725894":["hashtag1","hashtag2"]},{"1329725756":["hashtag1","hashtag2"]},{"1329725397":["hashtag1","hashtag2"]},{"1329725898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329725894, 1329725756, 1329725397, 1329725898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79222917556763 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:36:03.058679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/42/image_16012025_21_42_02_988243_0001.jpg', '/home/pi/Desktop/images/16012025/21/42/image_16012025_21_42_02_988243_0002.jpg', '/home/pi/Desktop/images/16012025/21/43/image_16012025_21_43_02_258550_0000.jpg', '/home/pi/Desktop/images/16012025/21/43/image_16012025_21_43_02_258550_0001.jpg', '/home/pi/Desktop/images/16012025/21/43/image_16012025_21_43_02_258550_0002.jpg', '/home/pi/Desktop/images/16012025/21/43/image_16012025_21_43_02_258550_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/42/image_16012025_21_42_02_988243_0001.jpg
/home/pi/Desktop/images/16012025/21/42/image_16012025_21_42_02_988243_0002.jpg
/home/pi/Desktop/images/16012025/21/43/image_16012025_21_43_02_258550_0000.jpg
/home/pi/Desktop/images/16012025/21/43/image_16012025_21_43_02_258550_0001.jpg
/home/pi/Desktop/images/16012025/21/43/image_16012025_21_43_02_258550_0002.jpg
/home/pi/Desktop/images/16012025/21/43/image_16012025_21_43_02_258550_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":["1329725910","1329725916","1329725930","1329725903","1329725906","1329725923"],"photo_ids_order":["1329725903","1329725906","1329725910","1329725916","1329725923","1329725930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50c780e6557a0b4ae3668727ea82fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody7918931655057107748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193038717,"filename":"image_16012025_21_43_02_258550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f8265755a1fd9f2032197a7161ec3065.jpg","text":"TemporaryFile(/tmp/multipartBody744266500212986067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193038717,"filename":"image_16012025_21_43_02_258550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd8db2e9db9d6fbfb6593ebbcce26135.jpg","text":"TemporaryFile(/tmp/multipartBody6000942879275412933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193038717,"filename":"image_16012025_21_43_02_258550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/82951ee1b0895c32d6bca492384a25a6.jpg","text":"TemporaryFile(/tmp/multipartBody8321896813499385840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193038717,"filename":"image_16012025_21_42_02_988243_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f1675990a9edde719d69da5911440401.jpg","text":"TemporaryFile(/tmp/multipartBody5394849809680380806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193038717,"filename":"image_16012025_21_42_02_988243_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f0a0be33ee906b728da7b9378fed332.jpg","text":"TemporaryFile(/tmp/multipartBody4252460380474785858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193038717,"filename":"image_16012025_21_43_02_258550_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329725910","file1":"1329725906","file0":"1329725903","file4":"1329725923","file5":"1329725930","file3":"1329725916"},"map_files_photo_id_array":[{"photo_id":"1329725930","filename":"file5"},{"photo_id":"1329725910","filename":"file2"},{"photo_id":"1329725923","filename":"file4"},{"photo_id":"1329725906","filename":"file1"},{"photo_id":"1329725903","filename":"file0"},{"photo_id":"1329725916","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329725910":["hashtag1","hashtag2"]},{"1329725916":["hashtag1","hashtag2"]},{"1329725930":["hashtag1","hashtag2"]},{"1329725903":["hashtag1","hashtag2"]},{"1329725906":["hashtag1","hashtag2"]},{"1329725923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329725910, 1329725916, 1329725930, 1329725903, 1329725906, 1329725923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.56553769111633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:37:02.381934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/35/image_18012025_10_35_02_666695_0003.jpg', '/home/pi/Desktop/images/18012025/10/36/image_18012025_10_36_02_888599_0000.jpg', '/home/pi/Desktop/images/18012025/10/36/image_18012025_10_36_02_888599_0001.jpg', '/home/pi/Desktop/images/18012025/10/36/image_18012025_10_36_02_888599_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/35/image_18012025_10_35_02_666695_0003.jpg
/home/pi/Desktop/images/18012025/10/36/image_18012025_10_36_02_888599_0000.jpg
/home/pi/Desktop/images/18012025/10/36/image_18012025_10_36_02_888599_0001.jpg
/home/pi/Desktop/images/18012025/10/36/image_18012025_10_36_02_888599_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329726338","1329726268","1329726340","1329726267"],"photo_ids_order":["1329726267","1329726268","1329726338","1329726340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e00b244c9a3ed29a021090a33ced11a4.jpg","text":"TemporaryFile(/tmp/multipartBody4203164860834264683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193093454,"filename":"image_18012025_10_36_02_888599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a7f19da6ca3034694ac11de341a353e.jpg","text":"TemporaryFile(/tmp/multipartBody8745539930674474312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193093454,"filename":"image_18012025_10_36_02_888599_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0760295666f053fd6c4d8c1c58c37159.jpg","text":"TemporaryFile(/tmp/multipartBody5994382714034115069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193093454,"filename":"image_18012025_10_36_02_888599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c0c77e9676a8e5dbdb2c07689cfea60b.jpg","text":"TemporaryFile(/tmp/multipartBody5291086817877040204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193093454,"filename":"image_18012025_10_35_02_666695_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329726338","file1":"1329726268","file0":"1329726267","file3":"1329726340"},"map_files_photo_id_array":[{"photo_id":"1329726338","filename":"file2"},{"photo_id":"1329726268","filename":"file1"},{"photo_id":"1329726267","filename":"file0"},{"photo_id":"1329726340","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329726338":["hashtag1","hashtag2"]},{"1329726268":["hashtag1","hashtag2"]},{"1329726340":["hashtag1","hashtag2"]},{"1329726267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329726338, 1329726268, 1329726340, 1329726267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75768852233887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 10:37:51.821572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/36/image_18012025_10_36_02_888599_0003.jpg', '/home/pi/Desktop/images/18012025/10/37/image_18012025_10_37_02_943812_0000.jpg', '/home/pi/Desktop/images/18012025/10/37/image_18012025_10_37_02_943812_0001.jpg', '/home/pi/Desktop/images/18012025/10/37/image_18012025_10_37_02_943812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/36/image_18012025_10_36_02_888599_0003.jpg
/home/pi/Desktop/images/18012025/10/37/image_18012025_10_37_02_943812_0000.jpg
/home/pi/Desktop/images/18012025/10/37/image_18012025_10_37_02_943812_0001.jpg
/home/pi/Desktop/images/18012025/10/37/image_18012025_10_37_02_943812_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329726422","1329726424","1329726427","1329726426"],"photo_ids_order":["1329726422","1329726424","1329726426","1329726427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6afcd3514d7fc4e0b705d4521fc833e9.jpg","text":"TemporaryFile(/tmp/multipartBody6698594564403162718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193143163,"filename":"image_18012025_10_36_02_888599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d1ceca62451b505251b42773395bafc.jpg","text":"TemporaryFile(/tmp/multipartBody4213847291443672174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193143163,"filename":"image_18012025_10_37_02_943812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa76189f9b627c4c0f80047f592cefca.jpg","text":"TemporaryFile(/tmp/multipartBody3627365741240376599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193143163,"filename":"image_18012025_10_37_02_943812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d478b378aee66d137cdfc3c2bdc24e8.jpg","text":"TemporaryFile(/tmp/multipartBody4188282988526959177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193143163,"filename":"image_18012025_10_37_02_943812_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329726426","file1":"1329726424","file0":"1329726422","file3":"1329726427"},"map_files_photo_id_array":[{"photo_id":"1329726426","filename":"file2"},{"photo_id":"1329726424","filename":"file1"},{"photo_id":"1329726422","filename":"file0"},{"photo_id":"1329726427","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329726422":["hashtag1","hashtag2"]},{"1329726424":["hashtag1","hashtag2"]},{"1329726427":["hashtag1","hashtag2"]},{"1329726426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329726422, 1329726424, 1329726427, 1329726426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66326642036438 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 10:38:42.009366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/37/image_18012025_10_37_02_943812_0003.jpg', '/home/pi/Desktop/images/18012025/10/38/image_18012025_10_38_02_150889_0000.jpg', '/home/pi/Desktop/images/18012025/10/38/image_18012025_10_38_02_150889_0001.jpg', '/home/pi/Desktop/images/18012025/10/38/image_18012025_10_38_02_150889_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/37/image_18012025_10_37_02_943812_0003.jpg
/home/pi/Desktop/images/18012025/10/38/image_18012025_10_38_02_150889_0000.jpg
/home/pi/Desktop/images/18012025/10/38/image_18012025_10_38_02_150889_0001.jpg
/home/pi/Desktop/images/18012025/10/38/image_18012025_10_38_02_150889_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329726479","1329726481","1329726477","1329726474"],"photo_ids_order":["1329726474","1329726477","1329726479","1329726481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3bfc65c9f5a761a4cbc9b1fa2c38216b.jpg","text":"TemporaryFile(/tmp/multipartBody988962054578343477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193193236,"filename":"image_18012025_10_38_02_150889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/00625655c64510c4be5bb1ed33b61ce2.jpg","text":"TemporaryFile(/tmp/multipartBody2995006973679639894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193193236,"filename":"image_18012025_10_38_02_150889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2f6768a15d035d8660b21f60a0a161c.jpg","text":"TemporaryFile(/tmp/multipartBody8078063740575248930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193193236,"filename":"image_18012025_10_38_02_150889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5977a39f19a74eb1ea235897263ebe0b.jpg","text":"TemporaryFile(/tmp/multipartBody1544013462589188188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193193236,"filename":"image_18012025_10_37_02_943812_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329726479","file1":"1329726477","file0":"1329726474","file3":"1329726481"},"map_files_photo_id_array":[{"photo_id":"1329726479","filename":"file2"},{"photo_id":"1329726477","filename":"file1"},{"photo_id":"1329726474","filename":"file0"},{"photo_id":"1329726481","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329726479":["hashtag1","hashtag2"]},{"1329726481":["hashtag1","hashtag2"]},{"1329726477":["hashtag1","hashtag2"]},{"1329726474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329726479, 1329726481, 1329726477, 1329726474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66851305961609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 10:39:32.181957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/38/image_18012025_10_38_02_150889_0003.jpg', '/home/pi/Desktop/images/18012025/10/39/image_18012025_10_39_02_426319_0000.jpg', '/home/pi/Desktop/images/18012025/10/39/image_18012025_10_39_02_426319_0001.jpg', '/home/pi/Desktop/images/18012025/10/39/image_18012025_10_39_02_426319_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/38/image_18012025_10_38_02_150889_0003.jpg
/home/pi/Desktop/images/18012025/10/39/image_18012025_10_39_02_426319_0000.jpg
/home/pi/Desktop/images/18012025/10/39/image_18012025_10_39_02_426319_0001.jpg
/home/pi/Desktop/images/18012025/10/39/image_18012025_10_39_02_426319_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329726501","1329726506","1329726509","1329726511"],"photo_ids_order":["1329726501","1329726506","1329726509","1329726511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/41df7ffb4f4d6f1fc054ee8d32f77c8d.jpg","text":"TemporaryFile(/tmp/multipartBody3713632289851655808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193243293,"filename":"image_18012025_10_38_02_150889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ddad81ec86d533beee66ae4cd06e415e.jpg","text":"TemporaryFile(/tmp/multipartBody1271131925768653201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193243293,"filename":"image_18012025_10_39_02_426319_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be71803f98556cc2739216e15387b340.jpg","text":"TemporaryFile(/tmp/multipartBody1813372461672664573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193243293,"filename":"image_18012025_10_39_02_426319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5ed975c3ec7a4659c7c45bc5396ad020.jpg","text":"TemporaryFile(/tmp/multipartBody8447723176060835465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193243293,"filename":"image_18012025_10_39_02_426319_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329726509","file1":"1329726506","file0":"1329726501","file3":"1329726511"},"map_files_photo_id_array":[{"photo_id":"1329726509","filename":"file2"},{"photo_id":"1329726506","filename":"file1"},{"photo_id":"1329726501","filename":"file0"},{"photo_id":"1329726511","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329726501":["hashtag1","hashtag2"]},{"1329726506":["hashtag1","hashtag2"]},{"1329726509":["hashtag1","hashtag2"]},{"1329726511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329726501, 1329726506, 1329726509, 1329726511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86354064941406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:40:22.427314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/39/image_18012025_10_39_02_426319_0003.jpg', '/home/pi/Desktop/images/18012025/10/40/image_18012025_10_40_02_562156_0000.jpg', '/home/pi/Desktop/images/18012025/10/40/image_18012025_10_40_02_562156_0001.jpg', '/home/pi/Desktop/images/18012025/10/40/image_18012025_10_40_02_562156_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/39/image_18012025_10_39_02_426319_0003.jpg
/home/pi/Desktop/images/18012025/10/40/image_18012025_10_40_02_562156_0000.jpg
/home/pi/Desktop/images/18012025/10/40/image_18012025_10_40_02_562156_0001.jpg
/home/pi/Desktop/images/18012025/10/40/image_18012025_10_40_02_562156_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329726536","1329726559","1329726541","1329726555"],"photo_ids_order":["1329726536","1329726541","1329726555","1329726559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89fa0d2fb48ec4266992ebbd2e2dc26e.jpg","text":"TemporaryFile(/tmp/multipartBody5249819393363806499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193293457,"filename":"image_18012025_10_39_02_426319_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54119a77ab85843293c106dc430ee88d.jpg","text":"TemporaryFile(/tmp/multipartBody3710899137632326543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193293457,"filename":"image_18012025_10_40_02_562156_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd1289d74571a85b4435f8d0a258bc20.jpg","text":"TemporaryFile(/tmp/multipartBody3271989843006668042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193293457,"filename":"image_18012025_10_40_02_562156_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9316993394e51f22b3125fb4757defa.jpg","text":"TemporaryFile(/tmp/multipartBody6617667144257958709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193293457,"filename":"image_18012025_10_40_02_562156_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329726555","file1":"1329726541","file0":"1329726536","file3":"1329726559"},"map_files_photo_id_array":[{"photo_id":"1329726555","filename":"file2"},{"photo_id":"1329726541","filename":"file1"},{"photo_id":"1329726536","filename":"file0"},{"photo_id":"1329726559","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329726536":["hashtag1","hashtag2"]},{"1329726559":["hashtag1","hashtag2"]},{"1329726541":["hashtag1","hashtag2"]},{"1329726555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329726536, 1329726559, 1329726541, 1329726555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.96391415596008 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:41:22.737420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/40/image_18012025_10_40_02_562156_0003.jpg', '/home/pi/Desktop/images/18012025/10/41/image_18012025_10_41_02_722415_0000.jpg', '/home/pi/Desktop/images/18012025/10/41/image_18012025_10_41_02_722415_0001.jpg', '/home/pi/Desktop/images/18012025/10/41/image_18012025_10_41_02_722415_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/40/image_18012025_10_40_02_562156_0003.jpg
/home/pi/Desktop/images/18012025/10/41/image_18012025_10_41_02_722415_0000.jpg
/home/pi/Desktop/images/18012025/10/41/image_18012025_10_41_02_722415_0001.jpg
/home/pi/Desktop/images/18012025/10/41/image_18012025_10_41_02_722415_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329726636","1329726603","1329726628","1329726642"],"photo_ids_order":["1329726603","1329726628","1329726636","1329726642"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16572ee98b9b4040487c0e963bc34d9d.jpg","text":"TemporaryFile(/tmp/multipartBody377068065194206575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193354233,"filename":"image_18012025_10_41_02_722415_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d5a0d465fa864e9f53b5dd3a4d4764a0.jpg","text":"TemporaryFile(/tmp/multipartBody8735322606897459641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193354233,"filename":"image_18012025_10_40_02_562156_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8bdf49854a29847a911fe90cdd461541.jpg","text":"TemporaryFile(/tmp/multipartBody6773912288767020771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193354233,"filename":"image_18012025_10_41_02_722415_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8df5d6e3734b04786bf84bc4b37d56a5.jpg","text":"TemporaryFile(/tmp/multipartBody38671244531572650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193354233,"filename":"image_18012025_10_41_02_722415_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329726636","file1":"1329726628","file0":"1329726603","file3":"1329726642"},"map_files_photo_id_array":[{"photo_id":"1329726636","filename":"file2"},{"photo_id":"1329726628","filename":"file1"},{"photo_id":"1329726603","filename":"file0"},{"photo_id":"1329726642","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329726636":["hashtag1","hashtag2"]},{"1329726603":["hashtag1","hashtag2"]},{"1329726628":["hashtag1","hashtag2"]},{"1329726642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329726636, 1329726603, 1329726628, 1329726642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32108426094055 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:42:21.857494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/41/image_18012025_10_41_02_722415_0003.jpg', '/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0000.jpg', '/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0001.jpg', '/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/41/image_18012025_10_41_02_722415_0003.jpg
/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0000.jpg
/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0001.jpg
/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.974576473236084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 10:42:41.829223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/41/image_18012025_10_41_02_722415_0003.jpg', '/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0000.jpg', '/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0001.jpg', '/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/41/image_18012025_10_41_02_722415_0003.jpg
/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0000.jpg
/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0001.jpg
/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329726734","1329726731","1329726733","1329726723"],"photo_ids_order":["1329726723","1329726731","1329726733","1329726734"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac31eec9d8fed316a969df3aeb6f0e2d.jpg","text":"TemporaryFile(/tmp/multipartBody3089025263825186016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193433253,"filename":"image_18012025_10_42_03_010412_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc759e7783e79089223c5b285401611f.jpg","text":"TemporaryFile(/tmp/multipartBody4603360312171905490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193433253,"filename":"image_18012025_10_42_03_010412_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c682acc32cdf746b13100b29f87d886b.jpg","text":"TemporaryFile(/tmp/multipartBody2073665520428432045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193433253,"filename":"image_18012025_10_42_03_010412_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/baf5413f0ecd983517aa9a0205f99e5d.jpg","text":"TemporaryFile(/tmp/multipartBody4380689759555616892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193433253,"filename":"image_18012025_10_41_02_722415_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329726733","file1":"1329726731","file0":"1329726723","file3":"1329726734"},"map_files_photo_id_array":[{"photo_id":"1329726733","filename":"file2"},{"photo_id":"1329726731","filename":"file1"},{"photo_id":"1329726723","filename":"file0"},{"photo_id":"1329726734","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329726734":["hashtag1","hashtag2"]},{"1329726731":["hashtag1","hashtag2"]},{"1329726733":["hashtag1","hashtag2"]},{"1329726723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329726734, 1329726731, 1329726733, 1329726723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79153084754944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:43:22.036828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0003.jpg', '/home/pi/Desktop/images/18012025/10/43/image_18012025_10_43_02_197115_0000.jpg', '/home/pi/Desktop/images/18012025/10/43/image_18012025_10_43_02_197115_0001.jpg', '/home/pi/Desktop/images/18012025/10/43/image_18012025_10_43_02_197115_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/42/image_18012025_10_42_03_010412_0003.jpg
/home/pi/Desktop/images/18012025/10/43/image_18012025_10_43_02_197115_0000.jpg
/home/pi/Desktop/images/18012025/10/43/image_18012025_10_43_02_197115_0001.jpg
/home/pi/Desktop/images/18012025/10/43/image_18012025_10_43_02_197115_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329726764","1329726920","1329726743","1329726748"],"photo_ids_order":["1329726743","1329726748","1329726764","1329726920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b498898c111449478b42e53a6c3fd1c.jpg","text":"TemporaryFile(/tmp/multipartBody432852473778106505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193473336,"filename":"image_18012025_10_43_02_197115_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e01617f862a9444c97c36ac5f66abf2b.jpg","text":"TemporaryFile(/tmp/multipartBody3798128597032515518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193473336,"filename":"image_18012025_10_43_02_197115_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5b06be20b75344bc8685fdda9816e98.jpg","text":"TemporaryFile(/tmp/multipartBody8936770539082969568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193473336,"filename":"image_18012025_10_42_03_010412_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21d16290c734445fcefb502577c89180.jpg","text":"TemporaryFile(/tmp/multipartBody5791780762665636249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193473336,"filename":"image_18012025_10_43_02_197115_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329726764","file1":"1329726748","file0":"1329726743","file3":"1329726920"},"map_files_photo_id_array":[{"photo_id":"1329726764","filename":"file2"},{"photo_id":"1329726748","filename":"file1"},{"photo_id":"1329726743","filename":"file0"},{"photo_id":"1329726920","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329726764":["hashtag1","hashtag2"]},{"1329726920":["hashtag1","hashtag2"]},{"1329726743":["hashtag1","hashtag2"]},{"1329726748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329726764, 1329726920, 1329726743, 1329726748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.214460372924805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:44:02.582960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/44/image_16012025_21_44_02_432618_0000.jpg', '/home/pi/Desktop/images/16012025/21/44/image_16012025_21_44_02_432618_0001.jpg', '/home/pi/Desktop/images/16012025/21/44/image_16012025_21_44_02_432618_0003.jpg', '/home/pi/Desktop/images/16012025/21/45/image_16012025_21_45_02_517979_0000.jpg', '/home/pi/Desktop/images/16012025/21/45/image_16012025_21_45_02_517979_0001.jpg', '/home/pi/Desktop/images/16012025/21/45/image_16012025_21_45_02_517979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/44/image_16012025_21_44_02_432618_0000.jpg
/home/pi/Desktop/images/16012025/21/44/image_16012025_21_44_02_432618_0001.jpg
/home/pi/Desktop/images/16012025/21/44/image_16012025_21_44_02_432618_0003.jpg
/home/pi/Desktop/images/16012025/21/45/image_16012025_21_45_02_517979_0000.jpg
/home/pi/Desktop/images/16012025/21/45/image_16012025_21_45_02_517979_0001.jpg
/home/pi/Desktop/images/16012025/21/45/image_16012025_21_45_02_517979_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329726971","1329726953","1329726997","1329726993","1329726987","1329726966"],"photo_ids_order":["1329726953","1329726966","1329726971","1329726987","1329726993","1329726997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f38b55eef927fada4a01d344c3480a5d.jpg","text":"TemporaryFile(/tmp/multipartBody4005801396728567563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193518294,"filename":"image_16012025_21_44_02_432618_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8bbd46d62ea6525cd6757598319e07ab.jpg","text":"TemporaryFile(/tmp/multipartBody565366255854143385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193518294,"filename":"image_16012025_21_44_02_432618_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c7c5a72309094d8c0c81b97be1fceae0.jpg","text":"TemporaryFile(/tmp/multipartBody6013176533897851221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193518294,"filename":"image_16012025_21_45_02_517979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eac8cf8cff6082e68733f0071d4fa847.jpg","text":"TemporaryFile(/tmp/multipartBody1300146992425922563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193518294,"filename":"image_16012025_21_45_02_517979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/81ed5b35d3484e6df1a0d5dd48448bb6.jpg","text":"TemporaryFile(/tmp/multipartBody2723865344284364867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193518294,"filename":"image_16012025_21_45_02_517979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ae58e42485749566fe790efa6493ac1.jpg","text":"TemporaryFile(/tmp/multipartBody3449894170782083953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193518294,"filename":"image_16012025_21_44_02_432618_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329726971","file1":"1329726966","file0":"1329726953","file4":"1329726993","file5":"1329726997","file3":"1329726987"},"map_files_photo_id_array":[{"photo_id":"1329726997","filename":"file5"},{"photo_id":"1329726971","filename":"file2"},{"photo_id":"1329726993","filename":"file4"},{"photo_id":"1329726966","filename":"file1"},{"photo_id":"1329726953","filename":"file0"},{"photo_id":"1329726987","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329726971":["hashtag1","hashtag2"]},{"1329726953":["hashtag1","hashtag2"]},{"1329726997":["hashtag1","hashtag2"]},{"1329726993":["hashtag1","hashtag2"]},{"1329726987":["hashtag1","hashtag2"]},{"1329726966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329726971, 1329726953, 1329726997, 1329726993, 1329726987, 1329726966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.01706504821777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:45:03.096674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/43/image_18012025_10_43_02_197115_0003.jpg', '/home/pi/Desktop/images/18012025/10/44/image_18012025_10_44_02_419464_0000.jpg', '/home/pi/Desktop/images/18012025/10/44/image_18012025_10_44_02_419464_0001.jpg', '/home/pi/Desktop/images/18012025/10/44/image_18012025_10_44_02_419464_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/43/image_18012025_10_43_02_197115_0003.jpg
/home/pi/Desktop/images/18012025/10/44/image_18012025_10_44_02_419464_0000.jpg
/home/pi/Desktop/images/18012025/10/44/image_18012025_10_44_02_419464_0001.jpg
/home/pi/Desktop/images/18012025/10/44/image_18012025_10_44_02_419464_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329727136","1329727180","1329727132","1329727006"],"photo_ids_order":["1329727006","1329727132","1329727136","1329727180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c68f3b5ce74f967c92841dac3e58341b.jpg","text":"TemporaryFile(/tmp/multipartBody6206017433076862146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193574207,"filename":"image_18012025_10_44_02_419464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4221cdbd55ef8509456f4e95d1547146.jpg","text":"TemporaryFile(/tmp/multipartBody2724734273553179435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193574207,"filename":"image_18012025_10_44_02_419464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ab58e7eb2512ee32b68105159e5509b.jpg","text":"TemporaryFile(/tmp/multipartBody8787053247224150833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193574207,"filename":"image_18012025_10_44_02_419464_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/491368beef721ed0204fecd592f87405.jpg","text":"TemporaryFile(/tmp/multipartBody7982852097506902604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193574207,"filename":"image_18012025_10_43_02_197115_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329727136","file1":"1329727132","file0":"1329727006","file3":"1329727180"},"map_files_photo_id_array":[{"photo_id":"1329727136","filename":"file2"},{"photo_id":"1329727132","filename":"file1"},{"photo_id":"1329727006","filename":"file0"},{"photo_id":"1329727180","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329727136":["hashtag1","hashtag2"]},{"1329727180":["hashtag1","hashtag2"]},{"1329727132":["hashtag1","hashtag2"]},{"1329727006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329727136, 1329727180, 1329727132, 1329727006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70562267303467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 10:45:52.346557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/44/image_18012025_10_44_02_419464_0003.jpg', '/home/pi/Desktop/images/18012025/10/45/image_18012025_10_45_02_530116_0000.jpg', '/home/pi/Desktop/images/18012025/10/45/image_18012025_10_45_02_530116_0001.jpg', '/home/pi/Desktop/images/18012025/10/45/image_18012025_10_45_02_530116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/44/image_18012025_10_44_02_419464_0003.jpg
/home/pi/Desktop/images/18012025/10/45/image_18012025_10_45_02_530116_0000.jpg
/home/pi/Desktop/images/18012025/10/45/image_18012025_10_45_02_530116_0001.jpg
/home/pi/Desktop/images/18012025/10/45/image_18012025_10_45_02_530116_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329727277","1329727282","1329727279","1329727284"],"photo_ids_order":["1329727277","1329727279","1329727282","1329727284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac1e105eb33baaf294a2cb11d1b69776.jpg","text":"TemporaryFile(/tmp/multipartBody2471296955294172057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193623849,"filename":"image_18012025_10_44_02_419464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/76e8c2cd4613ab36856eaf59a0190f95.jpg","text":"TemporaryFile(/tmp/multipartBody1508568818073070451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193623849,"filename":"image_18012025_10_45_02_530116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/365ee454b7752b4a0dcfa54e480fdbf6.jpg","text":"TemporaryFile(/tmp/multipartBody579889800625695428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193623849,"filename":"image_18012025_10_45_02_530116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0ecae8256d27448080ddc58b1fc4b00.jpg","text":"TemporaryFile(/tmp/multipartBody157782144915020614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193623849,"filename":"image_18012025_10_45_02_530116_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329727282","file1":"1329727279","file0":"1329727277","file3":"1329727284"},"map_files_photo_id_array":[{"photo_id":"1329727282","filename":"file2"},{"photo_id":"1329727279","filename":"file1"},{"photo_id":"1329727277","filename":"file0"},{"photo_id":"1329727284","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329727277":["hashtag1","hashtag2"]},{"1329727282":["hashtag1","hashtag2"]},{"1329727279":["hashtag1","hashtag2"]},{"1329727284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329727277, 1329727282, 1329727279, 1329727284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46383213996887 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-18 10:46:42.564533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/45/image_18012025_10_45_02_530116_0003.jpg', '/home/pi/Desktop/images/18012025/10/46/image_18012025_10_46_02_801003_0000.jpg', '/home/pi/Desktop/images/18012025/10/46/image_18012025_10_46_02_801003_0001.jpg', '/home/pi/Desktop/images/18012025/10/46/image_18012025_10_46_02_801003_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/45/image_18012025_10_45_02_530116_0003.jpg
/home/pi/Desktop/images/18012025/10/46/image_18012025_10_46_02_801003_0000.jpg
/home/pi/Desktop/images/18012025/10/46/image_18012025_10_46_02_801003_0001.jpg
/home/pi/Desktop/images/18012025/10/46/image_18012025_10_46_02_801003_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329727369","1329727360","1329727318","1329727312"],"photo_ids_order":["1329727312","1329727318","1329727360","1329727369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3cfdf063fa2d139bee965c132e33d439.jpg","text":"TemporaryFile(/tmp/multipartBody5721913307678579912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193673575,"filename":"image_18012025_10_46_02_801003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5dc9236268ddecca1d7331994d2f010f.jpg","text":"TemporaryFile(/tmp/multipartBody7271593774092477581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193673575,"filename":"image_18012025_10_46_02_801003_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15452722f400ce23a9be5d0893d83f83.jpg","text":"TemporaryFile(/tmp/multipartBody1725617963931525840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193673575,"filename":"image_18012025_10_46_02_801003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c589faf54de0387293e4aaf88dcc8281.jpg","text":"TemporaryFile(/tmp/multipartBody4967155584415183846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193673575,"filename":"image_18012025_10_45_02_530116_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329727360","file1":"1329727318","file0":"1329727312","file3":"1329727369"},"map_files_photo_id_array":[{"photo_id":"1329727360","filename":"file2"},{"photo_id":"1329727318","filename":"file1"},{"photo_id":"1329727312","filename":"file0"},{"photo_id":"1329727369","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329727369":["hashtag1","hashtag2"]},{"1329727360":["hashtag1","hashtag2"]},{"1329727318":["hashtag1","hashtag2"]},{"1329727312":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329727369, 1329727360, 1329727318, 1329727312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.25837421417236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:47:22.707178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/46/image_18012025_10_46_02_801003_0003.jpg', '/home/pi/Desktop/images/18012025/10/47/image_18012025_10_47_02_953756_0000.jpg', '/home/pi/Desktop/images/18012025/10/47/image_18012025_10_47_02_953756_0001.jpg', '/home/pi/Desktop/images/18012025/10/47/image_18012025_10_47_02_953756_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/46/image_18012025_10_46_02_801003_0003.jpg
/home/pi/Desktop/images/18012025/10/47/image_18012025_10_47_02_953756_0000.jpg
/home/pi/Desktop/images/18012025/10/47/image_18012025_10_47_02_953756_0001.jpg
/home/pi/Desktop/images/18012025/10/47/image_18012025_10_47_02_953756_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329727415","1329727403","1329727411","1329727407"],"photo_ids_order":["1329727403","1329727407","1329727411","1329727415"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/02f3d735f8734db638c84542f429e143.jpg","text":"TemporaryFile(/tmp/multipartBody3379268844735159368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193713853,"filename":"image_18012025_10_47_02_953756_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c64c9618d81ea27694d240f740e041f9.jpg","text":"TemporaryFile(/tmp/multipartBody2086580849610362175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193713853,"filename":"image_18012025_10_46_02_801003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16c26116889aa020a2c712968d429ea8.jpg","text":"TemporaryFile(/tmp/multipartBody4091112880449344263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193713853,"filename":"image_18012025_10_47_02_953756_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a750359339f8bd4a60bd5ecb53956b2a.jpg","text":"TemporaryFile(/tmp/multipartBody4326536734255348299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193713853,"filename":"image_18012025_10_47_02_953756_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329727411","file1":"1329727407","file0":"1329727403","file3":"1329727415"},"map_files_photo_id_array":[{"photo_id":"1329727411","filename":"file2"},{"photo_id":"1329727407","filename":"file1"},{"photo_id":"1329727403","filename":"file0"},{"photo_id":"1329727415","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329727415":["hashtag1","hashtag2"]},{"1329727403":["hashtag1","hashtag2"]},{"1329727411":["hashtag1","hashtag2"]},{"1329727407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329727415, 1329727403, 1329727411, 1329727407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16023516654968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:48:21.957693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/47/image_18012025_10_47_02_953756_0003.jpg', '/home/pi/Desktop/images/18012025/10/48/image_18012025_10_48_03_121486_0000.jpg', '/home/pi/Desktop/images/18012025/10/48/image_18012025_10_48_03_121486_0001.jpg', '/home/pi/Desktop/images/18012025/10/48/image_18012025_10_48_03_121486_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/47/image_18012025_10_47_02_953756_0003.jpg
/home/pi/Desktop/images/18012025/10/48/image_18012025_10_48_03_121486_0000.jpg
/home/pi/Desktop/images/18012025/10/48/image_18012025_10_48_03_121486_0001.jpg
/home/pi/Desktop/images/18012025/10/48/image_18012025_10_48_03_121486_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329727442","1329727437","1329727446","1329727431"],"photo_ids_order":["1329727431","1329727437","1329727442","1329727446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c575faa70035e90a90129f4d5e85e1d.jpg","text":"TemporaryFile(/tmp/multipartBody7879868937107487789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193773341,"filename":"image_18012025_10_48_03_121486_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1ac2a19fcbdcadd6811a4254818e3d1.jpg","text":"TemporaryFile(/tmp/multipartBody4881326267023902372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193773341,"filename":"image_18012025_10_48_03_121486_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d30c652e4482a8b7417fd91f6f4f35d1.jpg","text":"TemporaryFile(/tmp/multipartBody7356721804976914149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193773341,"filename":"image_18012025_10_48_03_121486_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b5724e3f157312b2faefdbfe48dab398.jpg","text":"TemporaryFile(/tmp/multipartBody746762992550713661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193773341,"filename":"image_18012025_10_47_02_953756_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329727442","file1":"1329727437","file0":"1329727431","file3":"1329727446"},"map_files_photo_id_array":[{"photo_id":"1329727442","filename":"file2"},{"photo_id":"1329727437","filename":"file1"},{"photo_id":"1329727431","filename":"file0"},{"photo_id":"1329727446","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329727442":["hashtag1","hashtag2"]},{"1329727437":["hashtag1","hashtag2"]},{"1329727446":["hashtag1","hashtag2"]},{"1329727431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329727442, 1329727437, 1329727446, 1329727431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.451698541641235 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:49:02.728740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/45/image_16012025_21_45_02_517979_0003.jpg', '/home/pi/Desktop/images/16012025/21/46/image_16012025_21_46_02_726205_0000.jpg', '/home/pi/Desktop/images/16012025/21/46/image_16012025_21_46_02_726205_0001.jpg', '/home/pi/Desktop/images/16012025/21/46/image_16012025_21_46_02_726205_0002.jpg', '/home/pi/Desktop/images/16012025/21/46/image_16012025_21_46_02_726205_0003.jpg', '/home/pi/Desktop/images/16012025/21/47/image_16012025_21_47_02_913220_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/45/image_16012025_21_45_02_517979_0003.jpg
/home/pi/Desktop/images/16012025/21/46/image_16012025_21_46_02_726205_0000.jpg
/home/pi/Desktop/images/16012025/21/46/image_16012025_21_46_02_726205_0001.jpg
/home/pi/Desktop/images/16012025/21/46/image_16012025_21_46_02_726205_0002.jpg
/home/pi/Desktop/images/16012025/21/46/image_16012025_21_46_02_726205_0003.jpg
/home/pi/Desktop/images/16012025/21/47/image_16012025_21_47_02_913220_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329727454","1329727463","1329727468","1329727473","1329727461","1329727458"],"photo_ids_order":["1329727454","1329727458","1329727461","1329727463","1329727468","1329727473"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f4d54435a488568dc5a3ec8ea78031ea.jpg","text":"TemporaryFile(/tmp/multipartBody3483558996541511084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193818565,"filename":"image_16012025_21_45_02_517979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/616c595da074a8136269940ac86eeaac.jpg","text":"TemporaryFile(/tmp/multipartBody7485981288378654765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193818565,"filename":"image_16012025_21_46_02_726205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b0e32e8600600cf0c36c4555605c68ff.jpg","text":"TemporaryFile(/tmp/multipartBody50149028082153875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193818565,"filename":"image_16012025_21_46_02_726205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/166dbe4523525b72f54854854cf7c0ca.jpg","text":"TemporaryFile(/tmp/multipartBody9060622061689920317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193818565,"filename":"image_16012025_21_47_02_913220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fce31cf8d39f4ba68d8e54126241d901.jpg","text":"TemporaryFile(/tmp/multipartBody8272563507629791479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193818565,"filename":"image_16012025_21_46_02_726205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/14087672392bf3a3f336ccd09d5351ce.jpg","text":"TemporaryFile(/tmp/multipartBody3698994612668962651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193818565,"filename":"image_16012025_21_46_02_726205_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329727461","file1":"1329727458","file0":"1329727454","file4":"1329727468","file5":"1329727473","file3":"1329727463"},"map_files_photo_id_array":[{"photo_id":"1329727473","filename":"file5"},{"photo_id":"1329727461","filename":"file2"},{"photo_id":"1329727468","filename":"file4"},{"photo_id":"1329727458","filename":"file1"},{"photo_id":"1329727454","filename":"file0"},{"photo_id":"1329727463","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329727454":["hashtag1","hashtag2"]},{"1329727463":["hashtag1","hashtag2"]},{"1329727468":["hashtag1","hashtag2"]},{"1329727473":["hashtag1","hashtag2"]},{"1329727461":["hashtag1","hashtag2"]},{"1329727458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329727454, 1329727463, 1329727468, 1329727473, 1329727461, 1329727458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.81511735916138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 10:50:02.796060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/48/image_18012025_10_48_03_121486_0003.jpg', '/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0000.jpg', '/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0001.jpg', '/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/48/image_18012025_10_48_03_121486_0003.jpg
/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0000.jpg
/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0001.jpg
/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.575113296508789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:50:22.388366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/48/image_18012025_10_48_03_121486_0003.jpg', '/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0000.jpg', '/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0001.jpg', '/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0002.jpg', '/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0003.jpg', '/home/pi/Desktop/images/18012025/10/50/image_18012025_10_50_02_631914_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/48/image_18012025_10_48_03_121486_0003.jpg
/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0000.jpg
/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0001.jpg
/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0002.jpg
/home/pi/Desktop/images/18012025/10/49/image_18012025_10_49_02_368057_0003.jpg
/home/pi/Desktop/images/18012025/10/50/image_18012025_10_50_02_631914_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329727591","1329727582","1329727599","1329727587","1329727596","1329727602"],"photo_ids_order":["1329727582","1329727587","1329727591","1329727596","1329727599","1329727602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f4e2ba5eb969df292274a8160752e5d5.jpg","text":"TemporaryFile(/tmp/multipartBody7909558541208642813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193898459,"filename":"image_18012025_10_49_02_368057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21afb1b03ee096a0f1345a9be59cacfd.jpg","text":"TemporaryFile(/tmp/multipartBody5399778389227378419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193898459,"filename":"image_18012025_10_48_03_121486_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b64245722f56f9c14ceb87d325acf6ce.jpg","text":"TemporaryFile(/tmp/multipartBody6130428365294097892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193898459,"filename":"image_18012025_10_49_02_368057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/00963e646f9fd3e717d4cf6bd059c8ca.jpg","text":"TemporaryFile(/tmp/multipartBody8507578377059795234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193898459,"filename":"image_18012025_10_49_02_368057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c2aff08ed80419ce9ca13f1d37df1ac1.jpg","text":"TemporaryFile(/tmp/multipartBody204421068271910191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193898459,"filename":"image_18012025_10_49_02_368057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/680e8042493f4f805268227f50662791.jpg","text":"TemporaryFile(/tmp/multipartBody6873040427785065414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193898459,"filename":"image_18012025_10_50_02_631914_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329727591","file1":"1329727587","file0":"1329727582","file4":"1329727599","file5":"1329727602","file3":"1329727596"},"map_files_photo_id_array":[{"photo_id":"1329727602","filename":"file5"},{"photo_id":"1329727591","filename":"file2"},{"photo_id":"1329727599","filename":"file4"},{"photo_id":"1329727587","filename":"file1"},{"photo_id":"1329727582","filename":"file0"},{"photo_id":"1329727596","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329727591":["hashtag1","hashtag2"]},{"1329727582":["hashtag1","hashtag2"]},{"1329727599":["hashtag1","hashtag2"]},{"1329727587":["hashtag1","hashtag2"]},{"1329727596":["hashtag1","hashtag2"]},{"1329727602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329727591, 1329727582, 1329727599, 1329727587, 1329727596, 1329727602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.93979620933533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:51:22.478762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/50/image_18012025_10_50_02_631914_0001.jpg', '/home/pi/Desktop/images/18012025/10/50/image_18012025_10_50_02_631914_0002.jpg', '/home/pi/Desktop/images/18012025/10/50/image_18012025_10_50_02_631914_0003.jpg', '/home/pi/Desktop/images/18012025/10/51/image_18012025_10_51_02_652193_0000.jpg', '/home/pi/Desktop/images/18012025/10/51/image_18012025_10_51_02_652193_0001.jpg', '/home/pi/Desktop/images/18012025/10/51/image_18012025_10_51_02_652193_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/50/image_18012025_10_50_02_631914_0001.jpg
/home/pi/Desktop/images/18012025/10/50/image_18012025_10_50_02_631914_0002.jpg
/home/pi/Desktop/images/18012025/10/50/image_18012025_10_50_02_631914_0003.jpg
/home/pi/Desktop/images/18012025/10/51/image_18012025_10_51_02_652193_0000.jpg
/home/pi/Desktop/images/18012025/10/51/image_18012025_10_51_02_652193_0001.jpg
/home/pi/Desktop/images/18012025/10/51/image_18012025_10_51_02_652193_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329727646","1329727640","1329727619","1329727653","1329727650","1329727658"],"photo_ids_order":["1329727619","1329727640","1329727646","1329727650","1329727653","1329727658"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ae08c175cba374d428131d9e80f022cf.jpg","text":"TemporaryFile(/tmp/multipartBody2944111115754032675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193959501,"filename":"image_18012025_10_50_02_631914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8715cd847ce607c762934143eb98bbd3.jpg","text":"TemporaryFile(/tmp/multipartBody6679932847835242089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193959501,"filename":"image_18012025_10_50_02_631914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c735a03e8fa4bfa9f5f7b1d0302a4de0.jpg","text":"TemporaryFile(/tmp/multipartBody527472217485960691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193959501,"filename":"image_18012025_10_50_02_631914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b2d86552dcd597a5575c3c4422eaedf3.jpg","text":"TemporaryFile(/tmp/multipartBody6821362312267641439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193959501,"filename":"image_18012025_10_51_02_652193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15997962fc40660f39801e6e1096d103.jpg","text":"TemporaryFile(/tmp/multipartBody2918677478570647251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193959501,"filename":"image_18012025_10_51_02_652193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b2b2de4c2a98b890b87e4f99fa8a0fa.jpg","text":"TemporaryFile(/tmp/multipartBody5684980873154618693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737193959501,"filename":"image_18012025_10_51_02_652193_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329727646","file1":"1329727640","file0":"1329727619","file4":"1329727653","file5":"1329727658","file3":"1329727650"},"map_files_photo_id_array":[{"photo_id":"1329727658","filename":"file5"},{"photo_id":"1329727646","filename":"file2"},{"photo_id":"1329727653","filename":"file4"},{"photo_id":"1329727640","filename":"file1"},{"photo_id":"1329727619","filename":"file0"},{"photo_id":"1329727650","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329727646":["hashtag1","hashtag2"]},{"1329727640":["hashtag1","hashtag2"]},{"1329727619":["hashtag1","hashtag2"]},{"1329727653":["hashtag1","hashtag2"]},{"1329727650":["hashtag1","hashtag2"]},{"1329727658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329727646, 1329727640, 1329727619, 1329727653, 1329727650, 1329727658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.70872712135315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:52:22.663799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/51/image_18012025_10_51_02_652193_0003.jpg', '/home/pi/Desktop/images/18012025/10/52/image_18012025_10_52_02_821184_0000.jpg', '/home/pi/Desktop/images/18012025/10/52/image_18012025_10_52_02_821184_0001.jpg', '/home/pi/Desktop/images/18012025/10/52/image_18012025_10_52_02_821184_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/51/image_18012025_10_51_02_652193_0003.jpg
/home/pi/Desktop/images/18012025/10/52/image_18012025_10_52_02_821184_0000.jpg
/home/pi/Desktop/images/18012025/10/52/image_18012025_10_52_02_821184_0001.jpg
/home/pi/Desktop/images/18012025/10/52/image_18012025_10_52_02_821184_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329727687","1329727678","1329727698","1329727694"],"photo_ids_order":["1329727678","1329727687","1329727694","1329727698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/021eaf6b10f265906c1648cda7557cfe.jpg","text":"TemporaryFile(/tmp/multipartBody10826395324544626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194013587,"filename":"image_18012025_10_52_02_821184_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92e379188f64eb4a2a8a9b689a8a3b25.jpg","text":"TemporaryFile(/tmp/multipartBody8273658253671658540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194013587,"filename":"image_18012025_10_51_02_652193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea93ff572f9070939a88a3e4d4d64d28.jpg","text":"TemporaryFile(/tmp/multipartBody5378326234920969814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194013587,"filename":"image_18012025_10_52_02_821184_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53757343fa5220e874189fa1a6f5ba94.jpg","text":"TemporaryFile(/tmp/multipartBody5531506762077823632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194013587,"filename":"image_18012025_10_52_02_821184_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329727694","file1":"1329727687","file0":"1329727678","file3":"1329727698"},"map_files_photo_id_array":[{"photo_id":"1329727694","filename":"file2"},{"photo_id":"1329727687","filename":"file1"},{"photo_id":"1329727678","filename":"file0"},{"photo_id":"1329727698","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329727687":["hashtag1","hashtag2"]},{"1329727678":["hashtag1","hashtag2"]},{"1329727698":["hashtag1","hashtag2"]},{"1329727694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329727687, 1329727678, 1329727698, 1329727694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94258189201355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:53:21.800207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/52/image_18012025_10_52_02_821184_0003.jpg', '/home/pi/Desktop/images/18012025/10/53/image_18012025_10_53_02_946076_0000.jpg', '/home/pi/Desktop/images/18012025/10/53/image_18012025_10_53_02_946076_0001.jpg', '/home/pi/Desktop/images/18012025/10/53/image_18012025_10_53_02_946076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/52/image_18012025_10_52_02_821184_0003.jpg
/home/pi/Desktop/images/18012025/10/53/image_18012025_10_53_02_946076_0000.jpg
/home/pi/Desktop/images/18012025/10/53/image_18012025_10_53_02_946076_0001.jpg
/home/pi/Desktop/images/18012025/10/53/image_18012025_10_53_02_946076_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329727826","1329727821","1329727839","1329727806"],"photo_ids_order":["1329727806","1329727821","1329727826","1329727839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/044c61f5279fc0e3ceff7a111341ce24.jpg","text":"TemporaryFile(/tmp/multipartBody6066608668725383804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194073060,"filename":"image_18012025_10_53_02_946076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2fab257ad4dccc24255e00dee87dfd2c.jpg","text":"TemporaryFile(/tmp/multipartBody3075762702344073761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194073060,"filename":"image_18012025_10_53_02_946076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/243c04837ee308b09f5d5e1626c303dc.jpg","text":"TemporaryFile(/tmp/multipartBody5254209491009566147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194073060,"filename":"image_18012025_10_53_02_946076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/85b7d0e8771cfb01a6024f7c60518948.jpg","text":"TemporaryFile(/tmp/multipartBody3933131740547508562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194073060,"filename":"image_18012025_10_52_02_821184_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329727826","file1":"1329727821","file0":"1329727806","file3":"1329727839"},"map_files_photo_id_array":[{"photo_id":"1329727826","filename":"file2"},{"photo_id":"1329727821","filename":"file1"},{"photo_id":"1329727806","filename":"file0"},{"photo_id":"1329727839","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329727826":["hashtag1","hashtag2"]},{"1329727821":["hashtag1","hashtag2"]},{"1329727839":["hashtag1","hashtag2"]},{"1329727806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329727826, 1329727821, 1329727839, 1329727806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.96831750869751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:54:21.997281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/53/image_18012025_10_53_02_946076_0003.jpg', '/home/pi/Desktop/images/18012025/10/54/image_18012025_10_54_02_190467_0000.jpg', '/home/pi/Desktop/images/18012025/10/54/image_18012025_10_54_02_190467_0001.jpg', '/home/pi/Desktop/images/18012025/10/54/image_18012025_10_54_02_190467_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/53/image_18012025_10_53_02_946076_0003.jpg
/home/pi/Desktop/images/18012025/10/54/image_18012025_10_54_02_190467_0000.jpg
/home/pi/Desktop/images/18012025/10/54/image_18012025_10_54_02_190467_0001.jpg
/home/pi/Desktop/images/18012025/10/54/image_18012025_10_54_02_190467_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329727885","1329727870","1329727882","1329727876"],"photo_ids_order":["1329727870","1329727876","1329727882","1329727885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b5511e25d64ebfe6c97dfacf79e2bc60.jpg","text":"TemporaryFile(/tmp/multipartBody82324043477805813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194133307,"filename":"image_18012025_10_54_02_190467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de5df4aaaa611a5f5cb5ff210d3606ee.jpg","text":"TemporaryFile(/tmp/multipartBody5777015501300764013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194133307,"filename":"image_18012025_10_53_02_946076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b1c49ab4b1e33a359d56c32c9d2b8f2e.jpg","text":"TemporaryFile(/tmp/multipartBody4438011927836235494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194133307,"filename":"image_18012025_10_54_02_190467_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4aa8912706b68604c425f979c786d454.jpg","text":"TemporaryFile(/tmp/multipartBody875489998322710397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194133307,"filename":"image_18012025_10_54_02_190467_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329727882","file1":"1329727876","file0":"1329727870","file3":"1329727885"},"map_files_photo_id_array":[{"photo_id":"1329727882","filename":"file2"},{"photo_id":"1329727876","filename":"file1"},{"photo_id":"1329727870","filename":"file0"},{"photo_id":"1329727885","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329727885":["hashtag1","hashtag2"]},{"1329727870":["hashtag1","hashtag2"]},{"1329727882":["hashtag1","hashtag2"]},{"1329727876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329727885, 1329727870, 1329727882, 1329727876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57103872299194 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-18 10:55:22.325777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/54/image_18012025_10_54_02_190467_0003.jpg', '/home/pi/Desktop/images/18012025/10/55/image_18012025_10_55_02_452068_0000.jpg', '/home/pi/Desktop/images/18012025/10/55/image_18012025_10_55_02_452068_0001.jpg', '/home/pi/Desktop/images/18012025/10/55/image_18012025_10_55_02_452068_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/54/image_18012025_10_54_02_190467_0003.jpg
/home/pi/Desktop/images/18012025/10/55/image_18012025_10_55_02_452068_0000.jpg
/home/pi/Desktop/images/18012025/10/55/image_18012025_10_55_02_452068_0001.jpg
/home/pi/Desktop/images/18012025/10/55/image_18012025_10_55_02_452068_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329727896","1329727909","1329727900","1329727905"],"photo_ids_order":["1329727896","1329727900","1329727905","1329727909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e16306825b4963ff24e4c8dfb5b8fcdc.jpg","text":"TemporaryFile(/tmp/multipartBody630503348825072937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194193488,"filename":"image_18012025_10_54_02_190467_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eab16b650bd1ddd31f94d625c0cc7d21.jpg","text":"TemporaryFile(/tmp/multipartBody5369590447737418157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194193488,"filename":"image_18012025_10_55_02_452068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3027d0a63f3075c5d9cb9d0682440de1.jpg","text":"TemporaryFile(/tmp/multipartBody1948678524802264128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194193488,"filename":"image_18012025_10_55_02_452068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/948518fde8a1ba494dba0ff1c7fd024d.jpg","text":"TemporaryFile(/tmp/multipartBody2540831705754832910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194193488,"filename":"image_18012025_10_55_02_452068_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329727905","file1":"1329727900","file0":"1329727896","file3":"1329727909"},"map_files_photo_id_array":[{"photo_id":"1329727905","filename":"file2"},{"photo_id":"1329727900","filename":"file1"},{"photo_id":"1329727896","filename":"file0"},{"photo_id":"1329727909","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329727896":["hashtag1","hashtag2"]},{"1329727909":["hashtag1","hashtag2"]},{"1329727900":["hashtag1","hashtag2"]},{"1329727905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329727896, 1329727909, 1329727900, 1329727905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8629367351532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:56:22.425521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/55/image_18012025_10_55_02_452068_0003.jpg', '/home/pi/Desktop/images/18012025/10/56/image_18012025_10_56_02_582101_0000.jpg', '/home/pi/Desktop/images/18012025/10/56/image_18012025_10_56_02_582101_0001.jpg', '/home/pi/Desktop/images/18012025/10/56/image_18012025_10_56_02_582101_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/55/image_18012025_10_55_02_452068_0003.jpg
/home/pi/Desktop/images/18012025/10/56/image_18012025_10_56_02_582101_0000.jpg
/home/pi/Desktop/images/18012025/10/56/image_18012025_10_56_02_582101_0001.jpg
/home/pi/Desktop/images/18012025/10/56/image_18012025_10_56_02_582101_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329728098","1329728152","1329728155","1329728084"],"photo_ids_order":["1329728084","1329728098","1329728152","1329728155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c0304b38ae06126dbcf600fcc56c0b76.jpg","text":"TemporaryFile(/tmp/multipartBody4264031465198785210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194253580,"filename":"image_18012025_10_56_02_582101_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2abda7513a77934f3f4e80a43338f959.jpg","text":"TemporaryFile(/tmp/multipartBody2513169872267874442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194253580,"filename":"image_18012025_10_56_02_582101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49e26c9ee11a9a39d542e43c18b4a987.jpg","text":"TemporaryFile(/tmp/multipartBody3018106947592127542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194253580,"filename":"image_18012025_10_56_02_582101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89da6fa858fcade57f5d7a42534c7264.jpg","text":"TemporaryFile(/tmp/multipartBody3814339224216767210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194253580,"filename":"image_18012025_10_55_02_452068_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329728152","file1":"1329728098","file0":"1329728084","file3":"1329728155"},"map_files_photo_id_array":[{"photo_id":"1329728152","filename":"file2"},{"photo_id":"1329728098","filename":"file1"},{"photo_id":"1329728084","filename":"file0"},{"photo_id":"1329728155","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329728098":["hashtag1","hashtag2"]},{"1329728152":["hashtag1","hashtag2"]},{"1329728155":["hashtag1","hashtag2"]},{"1329728084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329728098, 1329728152, 1329728155, 1329728084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.91938281059265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 10:57:22.540335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/56/image_18012025_10_56_02_582101_0003.jpg', '/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_0000.jpg', '/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_0001.jpg', '/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/56/image_18012025_10_56_02_582101_0003.jpg
/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_0000.jpg
/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_0001.jpg
/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_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-18 10:59:02.547433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/56/image_18012025_10_56_02_582101_0003.jpg', '/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_0000.jpg', '/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_0001.jpg', '/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/56/image_18012025_10_56_02_582101_0003.jpg
/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_0000.jpg
/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_0001.jpg
/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329728278","1329728239","1329728274","1329728261"],"photo_ids_order":["1329728239","1329728261","1329728274","1329728278"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/081ad577f0d8e3713237b4d9a8eabfe8.jpg","text":"TemporaryFile(/tmp/multipartBody4981054123156671178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194413671,"filename":"image_18012025_10_57_02_722711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9399dbfe0dde9c5302732dd232a846e4.jpg","text":"TemporaryFile(/tmp/multipartBody2067408081814545691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194413671,"filename":"image_18012025_10_56_02_582101_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ffbfedeff6b043a668770efd98d056b.jpg","text":"TemporaryFile(/tmp/multipartBody3421784428238412415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194413671,"filename":"image_18012025_10_57_02_722711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fa2195596a59a95548899eab07a3940f.jpg","text":"TemporaryFile(/tmp/multipartBody2892750284321916056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194413671,"filename":"image_18012025_10_57_02_722711_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329728274","file1":"1329728261","file0":"1329728239","file3":"1329728278"},"map_files_photo_id_array":[{"photo_id":"1329728274","filename":"file2"},{"photo_id":"1329728261","filename":"file1"},{"photo_id":"1329728239","filename":"file0"},{"photo_id":"1329728278","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329728278":["hashtag1","hashtag2"]},{"1329728239":["hashtag1","hashtag2"]},{"1329728274":["hashtag1","hashtag2"]},{"1329728261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329728278, 1329728239, 1329728274, 1329728261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65308332443237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 10:59:51.855432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_0003.jpg', '/home/pi/Desktop/images/18012025/10/58/image_18012025_10_58_02_920998_0000.jpg', '/home/pi/Desktop/images/18012025/10/58/image_18012025_10_58_02_920998_0001.jpg', '/home/pi/Desktop/images/18012025/10/58/image_18012025_10_58_02_920998_0002.jpg', '/home/pi/Desktop/images/18012025/10/58/image_18012025_10_58_02_920998_0003.jpg', '/home/pi/Desktop/images/18012025/10/59/image_18012025_10_59_03_127720_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/57/image_18012025_10_57_02_722711_0003.jpg
/home/pi/Desktop/images/18012025/10/58/image_18012025_10_58_02_920998_0000.jpg
/home/pi/Desktop/images/18012025/10/58/image_18012025_10_58_02_920998_0001.jpg
/home/pi/Desktop/images/18012025/10/58/image_18012025_10_58_02_920998_0002.jpg
/home/pi/Desktop/images/18012025/10/58/image_18012025_10_58_02_920998_0003.jpg
/home/pi/Desktop/images/18012025/10/59/image_18012025_10_59_03_127720_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329728332","1329728326","1329728335","1329728317","1329728313","1329728321"],"photo_ids_order":["1329728313","1329728317","1329728321","1329728326","1329728332","1329728335"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/559b2deb1c4c38cfc2ca8be2eb0d6d41.jpg","text":"TemporaryFile(/tmp/multipartBody4718839417811147017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194468230,"filename":"image_18012025_10_58_02_920998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c02c9ea9e63ce910801034758025d0c.jpg","text":"TemporaryFile(/tmp/multipartBody4290335501833079706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194468230,"filename":"image_18012025_10_58_02_920998_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e03bec47ed270d72d601842410ecdb7e.jpg","text":"TemporaryFile(/tmp/multipartBody234613134473917260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194468230,"filename":"image_18012025_10_59_03_127720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4a518a62b99cbbc13492a69e8149970.jpg","text":"TemporaryFile(/tmp/multipartBody5915972647226547995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194468230,"filename":"image_18012025_10_58_02_920998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca1be3a26680dd90081d22245885d776.jpg","text":"TemporaryFile(/tmp/multipartBody1309472469667362067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194468230,"filename":"image_18012025_10_57_02_722711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a6d84498e629cfe68f8625014d3c733.jpg","text":"TemporaryFile(/tmp/multipartBody799825504067895696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194468230,"filename":"image_18012025_10_58_02_920998_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329728321","file1":"1329728317","file0":"1329728313","file4":"1329728332","file5":"1329728335","file3":"1329728326"},"map_files_photo_id_array":[{"photo_id":"1329728335","filename":"file5"},{"photo_id":"1329728321","filename":"file2"},{"photo_id":"1329728332","filename":"file4"},{"photo_id":"1329728317","filename":"file1"},{"photo_id":"1329728313","filename":"file0"},{"photo_id":"1329728326","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329728332":["hashtag1","hashtag2"]},{"1329728326":["hashtag1","hashtag2"]},{"1329728335":["hashtag1","hashtag2"]},{"1329728317":["hashtag1","hashtag2"]},{"1329728313":["hashtag1","hashtag2"]},{"1329728321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329728332, 1329728326, 1329728335, 1329728317, 1329728313, 1329728321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.893028259277344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:00:52.050149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/10/59/image_18012025_10_59_03_127720_0001.jpg', '/home/pi/Desktop/images/18012025/10/59/image_18012025_10_59_03_127720_0002.jpg', '/home/pi/Desktop/images/18012025/10/59/image_18012025_10_59_03_127720_0003.jpg', '/home/pi/Desktop/images/18012025/11/00/image_18012025_11_00_02_335127_0000.jpg', '/home/pi/Desktop/images/18012025/11/00/image_18012025_11_00_02_335127_0001.jpg', '/home/pi/Desktop/images/18012025/11/00/image_18012025_11_00_02_335127_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/10/59/image_18012025_10_59_03_127720_0001.jpg
/home/pi/Desktop/images/18012025/10/59/image_18012025_10_59_03_127720_0002.jpg
/home/pi/Desktop/images/18012025/10/59/image_18012025_10_59_03_127720_0003.jpg
/home/pi/Desktop/images/18012025/11/00/image_18012025_11_00_02_335127_0000.jpg
/home/pi/Desktop/images/18012025/11/00/image_18012025_11_00_02_335127_0001.jpg
/home/pi/Desktop/images/18012025/11/00/image_18012025_11_00_02_335127_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329728380","1329728350","1329728353","1329728373","1329728355","1329728369"],"photo_ids_order":["1329728350","1329728353","1329728355","1329728369","1329728373","1329728380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54c1ad0e0fc6cc96284b55f75ef0d694.jpg","text":"TemporaryFile(/tmp/multipartBody362982336972902819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194528515,"filename":"image_18012025_11_00_02_335127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e5d801c4e22a7243c78d1b20a28d85c.jpg","text":"TemporaryFile(/tmp/multipartBody921919244711384537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194528515,"filename":"image_18012025_10_59_03_127720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1d25fbf498ab6472c5a83ecda160e4f8.jpg","text":"TemporaryFile(/tmp/multipartBody9199815991135241540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194528515,"filename":"image_18012025_10_59_03_127720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60a78bf4209b8078c7ad692d31a85336.jpg","text":"TemporaryFile(/tmp/multipartBody2246209676955290451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194528515,"filename":"image_18012025_11_00_02_335127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fbb99450f3e351c3742faf8f6e495171.jpg","text":"TemporaryFile(/tmp/multipartBody2215484340699495774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194528515,"filename":"image_18012025_10_59_03_127720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8df3a6f1eaa02df5657d30f37d66bca.jpg","text":"TemporaryFile(/tmp/multipartBody4522372723961470040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194528515,"filename":"image_18012025_11_00_02_335127_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329728355","file1":"1329728353","file0":"1329728350","file4":"1329728373","file5":"1329728380","file3":"1329728369"},"map_files_photo_id_array":[{"photo_id":"1329728380","filename":"file5"},{"photo_id":"1329728355","filename":"file2"},{"photo_id":"1329728373","filename":"file4"},{"photo_id":"1329728353","filename":"file1"},{"photo_id":"1329728350","filename":"file0"},{"photo_id":"1329728369","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329728380":["hashtag1","hashtag2"]},{"1329728350":["hashtag1","hashtag2"]},{"1329728353":["hashtag1","hashtag2"]},{"1329728373":["hashtag1","hashtag2"]},{"1329728355":["hashtag1","hashtag2"]},{"1329728369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329728380, 1329728350, 1329728353, 1329728373, 1329728355, 1329728369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.46112108230591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:01:52.259770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/00/image_18012025_11_00_02_335127_0003.jpg', '/home/pi/Desktop/images/18012025/11/01/image_18012025_11_01_02_453747_0000.jpg', '/home/pi/Desktop/images/18012025/11/01/image_18012025_11_01_02_453747_0001.jpg', '/home/pi/Desktop/images/18012025/11/01/image_18012025_11_01_02_453747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/00/image_18012025_11_00_02_335127_0003.jpg
/home/pi/Desktop/images/18012025/11/01/image_18012025_11_01_02_453747_0000.jpg
/home/pi/Desktop/images/18012025/11/01/image_18012025_11_01_02_453747_0001.jpg
/home/pi/Desktop/images/18012025/11/01/image_18012025_11_01_02_453747_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329728401","1329728403","1329728406","1329728408"],"photo_ids_order":["1329728401","1329728403","1329728406","1329728408"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8813ebb6195ecaac9ffe1c2d6c7b39b.jpg","text":"TemporaryFile(/tmp/multipartBody656620558603989844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194583596,"filename":"image_18012025_11_00_02_335127_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6e01ca956faf8031672a6156e49457b.jpg","text":"TemporaryFile(/tmp/multipartBody5907918489336631317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194583596,"filename":"image_18012025_11_01_02_453747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6070cbaeadef430688ee8ba9259ee331.jpg","text":"TemporaryFile(/tmp/multipartBody1911047090816588812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194583596,"filename":"image_18012025_11_01_02_453747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5b58de07e35f86d0fa828e621be015f0.jpg","text":"TemporaryFile(/tmp/multipartBody6359991791654390481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194583596,"filename":"image_18012025_11_01_02_453747_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329728406","file1":"1329728403","file0":"1329728401","file3":"1329728408"},"map_files_photo_id_array":[{"photo_id":"1329728406","filename":"file2"},{"photo_id":"1329728403","filename":"file1"},{"photo_id":"1329728401","filename":"file0"},{"photo_id":"1329728408","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329728401":["hashtag1","hashtag2"]},{"1329728403":["hashtag1","hashtag2"]},{"1329728406":["hashtag1","hashtag2"]},{"1329728408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329728401, 1329728403, 1329728406, 1329728408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59405016899109 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:02:32.434368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/01/image_18012025_11_01_02_453747_0003.jpg', '/home/pi/Desktop/images/18012025/11/02/image_18012025_11_02_02_679579_0000.jpg', '/home/pi/Desktop/images/18012025/11/02/image_18012025_11_02_02_679579_0001.jpg', '/home/pi/Desktop/images/18012025/11/02/image_18012025_11_02_02_679579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/01/image_18012025_11_01_02_453747_0003.jpg
/home/pi/Desktop/images/18012025/11/02/image_18012025_11_02_02_679579_0000.jpg
/home/pi/Desktop/images/18012025/11/02/image_18012025_11_02_02_679579_0001.jpg
/home/pi/Desktop/images/18012025/11/02/image_18012025_11_02_02_679579_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329728440","1329728448","1329728433","1329728445"],"photo_ids_order":["1329728433","1329728440","1329728445","1329728448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fcc85b85d99c623d57ea211b9688a0cc.jpg","text":"TemporaryFile(/tmp/multipartBody5483501374807024528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194623570,"filename":"image_18012025_11_02_02_679579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/468470cd3401afc25ca9b5f5872e3833.jpg","text":"TemporaryFile(/tmp/multipartBody7306526817254588385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194623570,"filename":"image_18012025_11_02_02_679579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1576fe5f2a9c9e1915fbe88fe47d17b5.jpg","text":"TemporaryFile(/tmp/multipartBody4585215890325559330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194623570,"filename":"image_18012025_11_01_02_453747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4c6b6d0f0d9f6469ee703a78b34c1cc.jpg","text":"TemporaryFile(/tmp/multipartBody7352423335545050909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194623570,"filename":"image_18012025_11_02_02_679579_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329728445","file1":"1329728440","file0":"1329728433","file3":"1329728448"},"map_files_photo_id_array":[{"photo_id":"1329728445","filename":"file2"},{"photo_id":"1329728440","filename":"file1"},{"photo_id":"1329728433","filename":"file0"},{"photo_id":"1329728448","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329728440":["hashtag1","hashtag2"]},{"1329728448":["hashtag1","hashtag2"]},{"1329728433":["hashtag1","hashtag2"]},{"1329728445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329728440, 1329728448, 1329728433, 1329728445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71746778488159 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:03:22.615732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/02/image_18012025_11_02_02_679579_0003.jpg', '/home/pi/Desktop/images/18012025/11/03/image_18012025_11_03_02_814428_0000.jpg', '/home/pi/Desktop/images/18012025/11/03/image_18012025_11_03_02_814428_0001.jpg', '/home/pi/Desktop/images/18012025/11/03/image_18012025_11_03_02_814428_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/02/image_18012025_11_02_02_679579_0003.jpg
/home/pi/Desktop/images/18012025/11/03/image_18012025_11_03_02_814428_0000.jpg
/home/pi/Desktop/images/18012025/11/03/image_18012025_11_03_02_814428_0001.jpg
/home/pi/Desktop/images/18012025/11/03/image_18012025_11_03_02_814428_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329728481","1329728477","1329728471","1329728465"],"photo_ids_order":["1329728465","1329728471","1329728477","1329728481"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e415f95adf95f2a9ba1e22fc655182a2.jpg","text":"TemporaryFile(/tmp/multipartBody1708894714738182936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194673719,"filename":"image_18012025_11_03_02_814428_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9645376a2d827e5f0fbedeca1b610501.jpg","text":"TemporaryFile(/tmp/multipartBody4374483372051282004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194673719,"filename":"image_18012025_11_03_02_814428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16d4654387f30e9951ade1e02cb84255.jpg","text":"TemporaryFile(/tmp/multipartBody4464308837508106563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194673719,"filename":"image_18012025_11_03_02_814428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49eb0214ec3b62040d221e91194cb70b.jpg","text":"TemporaryFile(/tmp/multipartBody577744941060599098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194673719,"filename":"image_18012025_11_02_02_679579_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329728477","file1":"1329728471","file0":"1329728465","file3":"1329728481"},"map_files_photo_id_array":[{"photo_id":"1329728477","filename":"file2"},{"photo_id":"1329728471","filename":"file1"},{"photo_id":"1329728465","filename":"file0"},{"photo_id":"1329728481","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329728481":["hashtag1","hashtag2"]},{"1329728477":["hashtag1","hashtag2"]},{"1329728471":["hashtag1","hashtag2"]},{"1329728465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329728481, 1329728477, 1329728471, 1329728465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.844114542007446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:04:21.884801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/03/image_18012025_11_03_02_814428_0003.jpg', '/home/pi/Desktop/images/18012025/11/04/image_18012025_11_04_03_094118_0000.jpg', '/home/pi/Desktop/images/18012025/11/04/image_18012025_11_04_03_094118_0001.jpg', '/home/pi/Desktop/images/18012025/11/04/image_18012025_11_04_03_094118_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/03/image_18012025_11_03_02_814428_0003.jpg
/home/pi/Desktop/images/18012025/11/04/image_18012025_11_04_03_094118_0000.jpg
/home/pi/Desktop/images/18012025/11/04/image_18012025_11_04_03_094118_0001.jpg
/home/pi/Desktop/images/18012025/11/04/image_18012025_11_04_03_094118_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329728557","1329728551","1329728546","1329728540"],"photo_ids_order":["1329728540","1329728546","1329728551","1329728557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/887437a9c6430d8c5cff2bd8a028941d.jpg","text":"TemporaryFile(/tmp/multipartBody1391692924638881659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194732933,"filename":"image_18012025_11_04_03_094118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a22a958ccf4e199c891a7ffb04caff9f.jpg","text":"TemporaryFile(/tmp/multipartBody5511690666319408715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194732933,"filename":"image_18012025_11_04_03_094118_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d605f8c93ec42a3fee099321e6e47f03.jpg","text":"TemporaryFile(/tmp/multipartBody8799448037772799219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194732933,"filename":"image_18012025_11_04_03_094118_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de03e15d755745cdbc3725937447050e.jpg","text":"TemporaryFile(/tmp/multipartBody1501532411306534069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194732933,"filename":"image_18012025_11_03_02_814428_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329728551","file1":"1329728546","file0":"1329728540","file3":"1329728557"},"map_files_photo_id_array":[{"photo_id":"1329728551","filename":"file2"},{"photo_id":"1329728546","filename":"file1"},{"photo_id":"1329728540","filename":"file0"},{"photo_id":"1329728557","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329728557":["hashtag1","hashtag2"]},{"1329728551":["hashtag1","hashtag2"]},{"1329728546":["hashtag1","hashtag2"]},{"1329728540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329728557, 1329728551, 1329728546, 1329728540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54620599746704 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-18 11:05:22.025484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/04/image_18012025_11_04_03_094118_0003.jpg', '/home/pi/Desktop/images/18012025/11/05/image_18012025_11_05_02_199438_0000.jpg', '/home/pi/Desktop/images/18012025/11/05/image_18012025_11_05_02_199438_0001.jpg', '/home/pi/Desktop/images/18012025/11/05/image_18012025_11_05_02_199438_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/04/image_18012025_11_04_03_094118_0003.jpg
/home/pi/Desktop/images/18012025/11/05/image_18012025_11_05_02_199438_0000.jpg
/home/pi/Desktop/images/18012025/11/05/image_18012025_11_05_02_199438_0001.jpg
/home/pi/Desktop/images/18012025/11/05/image_18012025_11_05_02_199438_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329728656","1329728652","1329728634","1329728648"],"photo_ids_order":["1329728634","1329728648","1329728652","1329728656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af629d1955507417a45123613332a65a.jpg","text":"TemporaryFile(/tmp/multipartBody6957141953250050475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194793619,"filename":"image_18012025_11_05_02_199438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7573c64210195807ef0237c337de0bc.jpg","text":"TemporaryFile(/tmp/multipartBody2187497259887450742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194793619,"filename":"image_18012025_11_05_02_199438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5f2a0e8747cfe91b6dce832c6207bdb7.jpg","text":"TemporaryFile(/tmp/multipartBody7562717457690126350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194793619,"filename":"image_18012025_11_04_03_094118_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d509de57e7387cd782d226425c97efa0.jpg","text":"TemporaryFile(/tmp/multipartBody6888311982534520696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194793619,"filename":"image_18012025_11_05_02_199438_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329728652","file1":"1329728648","file0":"1329728634","file3":"1329728656"},"map_files_photo_id_array":[{"photo_id":"1329728652","filename":"file2"},{"photo_id":"1329728648","filename":"file1"},{"photo_id":"1329728634","filename":"file0"},{"photo_id":"1329728656","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329728656":["hashtag1","hashtag2"]},{"1329728652":["hashtag1","hashtag2"]},{"1329728634":["hashtag1","hashtag2"]},{"1329728648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329728656, 1329728652, 1329728634, 1329728648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.65741014480591 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:06:22.223724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/05/image_18012025_11_05_02_199438_0003.jpg', '/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0000.jpg', '/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0001.jpg', '/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/05/image_18012025_11_05_02_199438_0003.jpg
/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0000.jpg
/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0001.jpg
/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.571010828018188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 11:06:42.165709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/05/image_18012025_11_05_02_199438_0003.jpg', '/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0000.jpg', '/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0001.jpg', '/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/05/image_18012025_11_05_02_199438_0003.jpg
/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0000.jpg
/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0001.jpg
/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329728746","1329728749","1329728742","1329728738"],"photo_ids_order":["1329728738","1329728742","1329728746","1329728749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/66dcc37eb7cab7776bdae97612f2c580.jpg","text":"TemporaryFile(/tmp/multipartBody1878483256787083652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194873129,"filename":"image_18012025_11_06_02_360271_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/681b92ab906db1ad7b7ad0123d61fac4.jpg","text":"TemporaryFile(/tmp/multipartBody2005561520051332200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194873129,"filename":"image_18012025_11_06_02_360271_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ebef9892c28896e11ba2bb70c72ea05e.jpg","text":"TemporaryFile(/tmp/multipartBody7366139821292145054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194873129,"filename":"image_18012025_11_06_02_360271_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f8c893b958804180d0b1657e8eeff510.jpg","text":"TemporaryFile(/tmp/multipartBody5704508418366571644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194873129,"filename":"image_18012025_11_05_02_199438_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329728746","file1":"1329728742","file0":"1329728738","file3":"1329728749"},"map_files_photo_id_array":[{"photo_id":"1329728746","filename":"file2"},{"photo_id":"1329728742","filename":"file1"},{"photo_id":"1329728738","filename":"file0"},{"photo_id":"1329728749","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329728746":["hashtag1","hashtag2"]},{"1329728749":["hashtag1","hashtag2"]},{"1329728742":["hashtag1","hashtag2"]},{"1329728738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329728746, 1329728749, 1329728742, 1329728738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.636682987213135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:07:32.291549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0003.jpg', '/home/pi/Desktop/images/18012025/11/07/image_18012025_11_07_02_568482_0000.jpg', '/home/pi/Desktop/images/18012025/11/07/image_18012025_11_07_02_568482_0001.jpg', '/home/pi/Desktop/images/18012025/11/07/image_18012025_11_07_02_568482_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/06/image_18012025_11_06_02_360271_0003.jpg
/home/pi/Desktop/images/18012025/11/07/image_18012025_11_07_02_568482_0000.jpg
/home/pi/Desktop/images/18012025/11/07/image_18012025_11_07_02_568482_0001.jpg
/home/pi/Desktop/images/18012025/11/07/image_18012025_11_07_02_568482_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329729828","1329729788","1329729824","1329729806"],"photo_ids_order":["1329729788","1329729806","1329729824","1329729828"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bac7642c77cf523c45f2ad408867ecc9.jpg","text":"TemporaryFile(/tmp/multipartBody5204249638634661364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194923110,"filename":"image_18012025_11_07_02_568482_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/596aff9921dcb537a6b39ffd30db4dfd.jpg","text":"TemporaryFile(/tmp/multipartBody8704986413884387486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194923110,"filename":"image_18012025_11_06_02_360271_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da1735a8947df609df2a2a967dbdf187.jpg","text":"TemporaryFile(/tmp/multipartBody1588258852654372582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194923110,"filename":"image_18012025_11_07_02_568482_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/19b7cb653e6e9f32e8ef8c5e72b53802.jpg","text":"TemporaryFile(/tmp/multipartBody1763228275090386506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194923110,"filename":"image_18012025_11_07_02_568482_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329729824","file1":"1329729806","file0":"1329729788","file3":"1329729828"},"map_files_photo_id_array":[{"photo_id":"1329729824","filename":"file2"},{"photo_id":"1329729806","filename":"file1"},{"photo_id":"1329729788","filename":"file0"},{"photo_id":"1329729828","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329729828":["hashtag1","hashtag2"]},{"1329729788":["hashtag1","hashtag2"]},{"1329729824":["hashtag1","hashtag2"]},{"1329729806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329729828, 1329729788, 1329729824, 1329729806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.04889750480652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:08:22.595908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/07/image_18012025_11_07_02_568482_0003.jpg', '/home/pi/Desktop/images/18012025/11/08/image_18012025_11_08_02_637583_0000.jpg', '/home/pi/Desktop/images/18012025/11/08/image_18012025_11_08_02_637583_0001.jpg', '/home/pi/Desktop/images/18012025/11/08/image_18012025_11_08_02_637583_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/07/image_18012025_11_07_02_568482_0003.jpg
/home/pi/Desktop/images/18012025/11/08/image_18012025_11_08_02_637583_0000.jpg
/home/pi/Desktop/images/18012025/11/08/image_18012025_11_08_02_637583_0001.jpg
/home/pi/Desktop/images/18012025/11/08/image_18012025_11_08_02_637583_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329729857","1329729851","1329729845","1329729920"],"photo_ids_order":["1329729845","1329729851","1329729857","1329729920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0af18dac5e2e627e65bb8e716a03dda4.jpg","text":"TemporaryFile(/tmp/multipartBody360421641867447491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194973551,"filename":"image_18012025_11_08_02_637583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0bb867b3375c9427e546900f6b2f04f2.jpg","text":"TemporaryFile(/tmp/multipartBody8448282541145442154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194973551,"filename":"image_18012025_11_08_02_637583_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/477fabe881059b9f1b2a64df57a70d39.jpg","text":"TemporaryFile(/tmp/multipartBody2427893426525339886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194973551,"filename":"image_18012025_11_07_02_568482_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01bc06def967987d0a40bffa51e0e126.jpg","text":"TemporaryFile(/tmp/multipartBody6589258411936064262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737194973551,"filename":"image_18012025_11_08_02_637583_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329729857","file1":"1329729851","file0":"1329729845","file3":"1329729920"},"map_files_photo_id_array":[{"photo_id":"1329729857","filename":"file2"},{"photo_id":"1329729851","filename":"file1"},{"photo_id":"1329729845","filename":"file0"},{"photo_id":"1329729920","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329729857":["hashtag1","hashtag2"]},{"1329729851":["hashtag1","hashtag2"]},{"1329729845":["hashtag1","hashtag2"]},{"1329729920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329729857, 1329729851, 1329729845, 1329729920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.920148611068726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:09:22.726999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/08/image_18012025_11_08_02_637583_0003.jpg', '/home/pi/Desktop/images/18012025/11/09/image_18012025_11_09_02_966790_0000.jpg', '/home/pi/Desktop/images/18012025/11/09/image_18012025_11_09_02_966790_0001.jpg', '/home/pi/Desktop/images/18012025/11/09/image_18012025_11_09_02_966790_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/08/image_18012025_11_08_02_637583_0003.jpg
/home/pi/Desktop/images/18012025/11/09/image_18012025_11_09_02_966790_0000.jpg
/home/pi/Desktop/images/18012025/11/09/image_18012025_11_09_02_966790_0001.jpg
/home/pi/Desktop/images/18012025/11/09/image_18012025_11_09_02_966790_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329730486","1329730405","1329730482","1329730461"],"photo_ids_order":["1329730405","1329730461","1329730482","1329730486"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b060b3b4b8d663c8aa55b3040d58e26.jpg","text":"TemporaryFile(/tmp/multipartBody3298324081986749048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195034061,"filename":"image_18012025_11_09_02_966790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5ea70ad5d0ee532285c1ba4dd215033b.jpg","text":"TemporaryFile(/tmp/multipartBody6595068118443862543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195034061,"filename":"image_18012025_11_08_02_637583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aaeabc38dc606aef188f012a15e226ce.jpg","text":"TemporaryFile(/tmp/multipartBody7055507773339012975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195034061,"filename":"image_18012025_11_09_02_966790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0dcc43f4221ac701d6ab0248243af054.jpg","text":"TemporaryFile(/tmp/multipartBody5134055690204875212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195034061,"filename":"image_18012025_11_09_02_966790_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329730482","file1":"1329730461","file0":"1329730405","file3":"1329730486"},"map_files_photo_id_array":[{"photo_id":"1329730482","filename":"file2"},{"photo_id":"1329730461","filename":"file1"},{"photo_id":"1329730405","filename":"file0"},{"photo_id":"1329730486","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329730486":["hashtag1","hashtag2"]},{"1329730405":["hashtag1","hashtag2"]},{"1329730482":["hashtag1","hashtag2"]},{"1329730461":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329730486, 1329730405, 1329730482, 1329730461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.03314280509949 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:10:21.966847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/09/image_18012025_11_09_02_966790_0003.jpg', '/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0000.jpg', '/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0001.jpg', '/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/09/image_18012025_11_09_02_966790_0003.jpg
/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0000.jpg
/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0001.jpg
/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.921015977859497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 11:10:41.896854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/09/image_18012025_11_09_02_966790_0003.jpg', '/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0000.jpg', '/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0001.jpg', '/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/09/image_18012025_11_09_02_966790_0003.jpg
/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0000.jpg
/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0001.jpg
/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329730552","1329730559","1329730550","1329730535"],"photo_ids_order":["1329730535","1329730550","1329730552","1329730559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ae32bd82668940c8cd21d99dc6f6f379.jpg","text":"TemporaryFile(/tmp/multipartBody4883648181175662110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195113662,"filename":"image_18012025_11_10_03_075085_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3ee8fbefbfc64c1dcd259dc3542ee080.jpg","text":"TemporaryFile(/tmp/multipartBody7154533842821998159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195113662,"filename":"image_18012025_11_10_03_075085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84baec4fd8fb6d9dd34a799f77e92f82.jpg","text":"TemporaryFile(/tmp/multipartBody5989551207869718295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195113662,"filename":"image_18012025_11_10_03_075085_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ef65fb5439aa487d1cea2dc28c68f8f.jpg","text":"TemporaryFile(/tmp/multipartBody5977127604101278332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195113662,"filename":"image_18012025_11_09_02_966790_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329730552","file1":"1329730550","file0":"1329730535","file3":"1329730559"},"map_files_photo_id_array":[{"photo_id":"1329730552","filename":"file2"},{"photo_id":"1329730550","filename":"file1"},{"photo_id":"1329730535","filename":"file0"},{"photo_id":"1329730559","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329730552":["hashtag1","hashtag2"]},{"1329730559":["hashtag1","hashtag2"]},{"1329730550":["hashtag1","hashtag2"]},{"1329730535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329730552, 1329730559, 1329730550, 1329730535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.912697315216064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:11:32.042471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0003.jpg', '/home/pi/Desktop/images/18012025/11/11/image_18012025_11_11_02_237752_0000.jpg', '/home/pi/Desktop/images/18012025/11/11/image_18012025_11_11_02_237752_0001.jpg', '/home/pi/Desktop/images/18012025/11/11/image_18012025_11_11_02_237752_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/10/image_18012025_11_10_03_075085_0003.jpg
/home/pi/Desktop/images/18012025/11/11/image_18012025_11_11_02_237752_0000.jpg
/home/pi/Desktop/images/18012025/11/11/image_18012025_11_11_02_237752_0001.jpg
/home/pi/Desktop/images/18012025/11/11/image_18012025_11_11_02_237752_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329730600","1329730686","1329730644","1329730661"],"photo_ids_order":["1329730600","1329730644","1329730661","1329730686"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/179a841ff911f1efbb90a9ad449450b0.jpg","text":"TemporaryFile(/tmp/multipartBody8808083616091951213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195163301,"filename":"image_18012025_11_10_03_075085_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4247e81401258c39a06afea9981b1b94.jpg","text":"TemporaryFile(/tmp/multipartBody4424840959953882617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195163301,"filename":"image_18012025_11_11_02_237752_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46c23c21a107e68c8a578a9a933accda.jpg","text":"TemporaryFile(/tmp/multipartBody4640442520134481012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195163301,"filename":"image_18012025_11_11_02_237752_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6c7eb76af6227bffedb5333d97054ea.jpg","text":"TemporaryFile(/tmp/multipartBody5187470280001226724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195163301,"filename":"image_18012025_11_11_02_237752_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329730661","file1":"1329730644","file0":"1329730600","file3":"1329730686"},"map_files_photo_id_array":[{"photo_id":"1329730661","filename":"file2"},{"photo_id":"1329730644","filename":"file1"},{"photo_id":"1329730600","filename":"file0"},{"photo_id":"1329730686","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329730600":["hashtag1","hashtag2"]},{"1329730686":["hashtag1","hashtag2"]},{"1329730644":["hashtag1","hashtag2"]},{"1329730661":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329730600, 1329730686, 1329730644, 1329730661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.676085233688354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:12:22.278300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/11/image_18012025_11_11_02_237752_0003.jpg', '/home/pi/Desktop/images/18012025/11/12/image_18012025_11_12_02_399424_0000.jpg', '/home/pi/Desktop/images/18012025/11/12/image_18012025_11_12_02_399424_0001.jpg', '/home/pi/Desktop/images/18012025/11/12/image_18012025_11_12_02_399424_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/11/image_18012025_11_11_02_237752_0003.jpg
/home/pi/Desktop/images/18012025/11/12/image_18012025_11_12_02_399424_0000.jpg
/home/pi/Desktop/images/18012025/11/12/image_18012025_11_12_02_399424_0001.jpg
/home/pi/Desktop/images/18012025/11/12/image_18012025_11_12_02_399424_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329730762","1329730756","1329730759","1329730752"],"photo_ids_order":["1329730752","1329730756","1329730759","1329730762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2efacf37810365f979d1d5aa709122c1.jpg","text":"TemporaryFile(/tmp/multipartBody1973878265171959906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195213766,"filename":"image_18012025_11_12_02_399424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a8c48a335cfae7d8c30f3f277bee5d7.jpg","text":"TemporaryFile(/tmp/multipartBody4623388966835713146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195213766,"filename":"image_18012025_11_12_02_399424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fa35c93b00f63ab303cd285681cc8c12.jpg","text":"TemporaryFile(/tmp/multipartBody4961224063987833883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195213766,"filename":"image_18012025_11_12_02_399424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f71e5a361521f3885bd50f80e5667b02.jpg","text":"TemporaryFile(/tmp/multipartBody295370078914316342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195213766,"filename":"image_18012025_11_11_02_237752_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329730759","file1":"1329730756","file0":"1329730752","file3":"1329730762"},"map_files_photo_id_array":[{"photo_id":"1329730759","filename":"file2"},{"photo_id":"1329730756","filename":"file1"},{"photo_id":"1329730752","filename":"file0"},{"photo_id":"1329730762","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329730762":["hashtag1","hashtag2"]},{"1329730756":["hashtag1","hashtag2"]},{"1329730759":["hashtag1","hashtag2"]},{"1329730752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329730762, 1329730756, 1329730759, 1329730752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.532843828201294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:13:03.025399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/47/image_16012025_21_47_02_913220_0001.jpg', '/home/pi/Desktop/images/16012025/21/47/image_16012025_21_47_02_913220_0002.jpg', '/home/pi/Desktop/images/16012025/21/47/image_16012025_21_47_02_913220_0003.jpg', '/home/pi/Desktop/images/16012025/21/48/image_16012025_21_48_03_127697_0000.jpg', '/home/pi/Desktop/images/16012025/21/48/image_16012025_21_48_03_127697_0001.jpg', '/home/pi/Desktop/images/16012025/21/48/image_16012025_21_48_03_127697_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/47/image_16012025_21_47_02_913220_0001.jpg
/home/pi/Desktop/images/16012025/21/47/image_16012025_21_47_02_913220_0002.jpg
/home/pi/Desktop/images/16012025/21/47/image_16012025_21_47_02_913220_0003.jpg
/home/pi/Desktop/images/16012025/21/48/image_16012025_21_48_03_127697_0000.jpg
/home/pi/Desktop/images/16012025/21/48/image_16012025_21_48_03_127697_0001.jpg
/home/pi/Desktop/images/16012025/21/48/image_16012025_21_48_03_127697_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329730792","1329730795","1329730804","1329730782","1329730788","1329730800"],"photo_ids_order":["1329730782","1329730788","1329730792","1329730795","1329730800","1329730804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d49d0471b6cf211c6fe4a8dea7d18804.jpg","text":"TemporaryFile(/tmp/multipartBody8094272562253793821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195258814,"filename":"image_16012025_21_47_02_913220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a5548df56add12fbb724df4b9123cd38.jpg","text":"TemporaryFile(/tmp/multipartBody6520685659407291952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195258814,"filename":"image_16012025_21_48_03_127697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f2db36add810d66c3fdb6667eb723b7.jpg","text":"TemporaryFile(/tmp/multipartBody2339819395804958205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195258814,"filename":"image_16012025_21_48_03_127697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7bc34ce2487f4d709723a182c3df6bd5.jpg","text":"TemporaryFile(/tmp/multipartBody7667075599614514546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195258814,"filename":"image_16012025_21_47_02_913220_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/90836c132eeab1e58769795eb11d04ed.jpg","text":"TemporaryFile(/tmp/multipartBody160526883602768252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195258814,"filename":"image_16012025_21_47_02_913220_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f78e193ba7987f03ff87b444e6289049.jpg","text":"TemporaryFile(/tmp/multipartBody6656601972486001862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195258814,"filename":"image_16012025_21_48_03_127697_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329730792","file1":"1329730788","file0":"1329730782","file4":"1329730800","file5":"1329730804","file3":"1329730795"},"map_files_photo_id_array":[{"photo_id":"1329730804","filename":"file5"},{"photo_id":"1329730792","filename":"file2"},{"photo_id":"1329730800","filename":"file4"},{"photo_id":"1329730788","filename":"file1"},{"photo_id":"1329730782","filename":"file0"},{"photo_id":"1329730795","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329730792":["hashtag1","hashtag2"]},{"1329730795":["hashtag1","hashtag2"]},{"1329730804":["hashtag1","hashtag2"]},{"1329730782":["hashtag1","hashtag2"]},{"1329730788":["hashtag1","hashtag2"]},{"1329730800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329730792, 1329730795, 1329730804, 1329730782, 1329730788, 1329730800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.93838548660278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:14:03.097050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/12/image_18012025_11_12_02_399424_0003.jpg', '/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0000.jpg', '/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0001.jpg', '/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/12/image_18012025_11_12_02_399424_0003.jpg
/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0000.jpg
/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0001.jpg
/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.647425174713135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:14:22.618423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/12/image_18012025_11_12_02_399424_0003.jpg', '/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0000.jpg', '/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0001.jpg', '/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0002.jpg', '/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0003.jpg', '/home/pi/Desktop/images/18012025/11/14/image_18012025_11_14_02_731046_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/12/image_18012025_11_12_02_399424_0003.jpg
/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0000.jpg
/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0001.jpg
/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0002.jpg
/home/pi/Desktop/images/18012025/11/13/image_18012025_11_13_02_656911_0003.jpg
/home/pi/Desktop/images/18012025/11/14/image_18012025_11_14_02_731046_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329730879","1329730950","1329730875","1329730869","1329730938","1329730883"],"photo_ids_order":["1329730869","1329730875","1329730879","1329730883","1329730938","1329730950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dccf9c0bd853744cefe455dea031deb9.jpg","text":"TemporaryFile(/tmp/multipartBody8697343723801520291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195338969,"filename":"image_18012025_11_13_02_656911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7726b1e6caa4dea7a37a5af450e4227.jpg","text":"TemporaryFile(/tmp/multipartBody5480136591022292049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195338969,"filename":"image_18012025_11_14_02_731046_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e32108af2a38f29020133332ecda159.jpg","text":"TemporaryFile(/tmp/multipartBody1668181972425242413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195338969,"filename":"image_18012025_11_13_02_656911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/624f21ad9ddef2af6070a3ead02dbf48.jpg","text":"TemporaryFile(/tmp/multipartBody4370584691147895218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195338969,"filename":"image_18012025_11_12_02_399424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/57cd59a6a26430655aec1831fda1e67c.jpg","text":"TemporaryFile(/tmp/multipartBody2758511430506392631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195338969,"filename":"image_18012025_11_13_02_656911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d30c264dec1eabb0186b270db43627d3.jpg","text":"TemporaryFile(/tmp/multipartBody5426951488263906517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195338969,"filename":"image_18012025_11_13_02_656911_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329730879","file1":"1329730875","file0":"1329730869","file4":"1329730938","file5":"1329730950","file3":"1329730883"},"map_files_photo_id_array":[{"photo_id":"1329730950","filename":"file5"},{"photo_id":"1329730879","filename":"file2"},{"photo_id":"1329730938","filename":"file4"},{"photo_id":"1329730875","filename":"file1"},{"photo_id":"1329730869","filename":"file0"},{"photo_id":"1329730883","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329730879":["hashtag1","hashtag2"]},{"1329730950":["hashtag1","hashtag2"]},{"1329730875":["hashtag1","hashtag2"]},{"1329730869":["hashtag1","hashtag2"]},{"1329730938":["hashtag1","hashtag2"]},{"1329730883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329730879, 1329730950, 1329730875, 1329730869, 1329730938, 1329730883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.550426959991455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:15:22.767632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/14/image_18012025_11_14_02_731046_0001.jpg', '/home/pi/Desktop/images/18012025/11/14/image_18012025_11_14_02_731046_0002.jpg', '/home/pi/Desktop/images/18012025/11/14/image_18012025_11_14_02_731046_0003.jpg', '/home/pi/Desktop/images/18012025/11/15/image_18012025_11_15_02_940178_0000.jpg', '/home/pi/Desktop/images/18012025/11/15/image_18012025_11_15_02_940178_0001.jpg', '/home/pi/Desktop/images/18012025/11/15/image_18012025_11_15_02_940178_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/14/image_18012025_11_14_02_731046_0001.jpg
/home/pi/Desktop/images/18012025/11/14/image_18012025_11_14_02_731046_0002.jpg
/home/pi/Desktop/images/18012025/11/14/image_18012025_11_14_02_731046_0003.jpg
/home/pi/Desktop/images/18012025/11/15/image_18012025_11_15_02_940178_0000.jpg
/home/pi/Desktop/images/18012025/11/15/image_18012025_11_15_02_940178_0001.jpg
/home/pi/Desktop/images/18012025/11/15/image_18012025_11_15_02_940178_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329730978","1329731035","1329730980","1329731037","1329730974","1329730970"],"photo_ids_order":["1329730970","1329730974","1329730978","1329730980","1329731035","1329731037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49824d0d17f788edb04f931a23251c9f.jpg","text":"TemporaryFile(/tmp/multipartBody5643174085334338185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195398992,"filename":"image_18012025_11_14_02_731046_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96287a14b40e17071b3d30337c42b02b.jpg","text":"TemporaryFile(/tmp/multipartBody2630239926508411688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195398992,"filename":"image_18012025_11_15_02_940178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f1ec111a81022d5fa0319308f50ba445.jpg","text":"TemporaryFile(/tmp/multipartBody1532934049030006346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195398992,"filename":"image_18012025_11_15_02_940178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1494b472bdb80470158c6bbcdbd92c1a.jpg","text":"TemporaryFile(/tmp/multipartBody1486460910158568020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195398992,"filename":"image_18012025_11_15_02_940178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a29d713d9dbf1d9326424d582128883b.jpg","text":"TemporaryFile(/tmp/multipartBody2188660889301036252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195398992,"filename":"image_18012025_11_14_02_731046_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d01cb6f3dbcdb3b0157558e022a62163.jpg","text":"TemporaryFile(/tmp/multipartBody8173919029437914845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195398992,"filename":"image_18012025_11_14_02_731046_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329730978","file1":"1329730974","file0":"1329730970","file4":"1329731035","file5":"1329731037","file3":"1329730980"},"map_files_photo_id_array":[{"photo_id":"1329731037","filename":"file5"},{"photo_id":"1329730978","filename":"file2"},{"photo_id":"1329731035","filename":"file4"},{"photo_id":"1329730974","filename":"file1"},{"photo_id":"1329730970","filename":"file0"},{"photo_id":"1329730980","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329730978":["hashtag1","hashtag2"]},{"1329731035":["hashtag1","hashtag2"]},{"1329730980":["hashtag1","hashtag2"]},{"1329731037":["hashtag1","hashtag2"]},{"1329730974":["hashtag1","hashtag2"]},{"1329730970":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329730978, 1329731035, 1329730980, 1329731037, 1329730974, 1329730970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.657262086868286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:16:22.008538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/15/image_18012025_11_15_02_940178_0003.jpg', '/home/pi/Desktop/images/18012025/11/16/image_18012025_11_16_03_061417_0000.jpg', '/home/pi/Desktop/images/18012025/11/16/image_18012025_11_16_03_061417_0001.jpg', '/home/pi/Desktop/images/18012025/11/16/image_18012025_11_16_03_061417_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/15/image_18012025_11_15_02_940178_0003.jpg
/home/pi/Desktop/images/18012025/11/16/image_18012025_11_16_03_061417_0000.jpg
/home/pi/Desktop/images/18012025/11/16/image_18012025_11_16_03_061417_0001.jpg
/home/pi/Desktop/images/18012025/11/16/image_18012025_11_16_03_061417_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329731053","1329731119","1329731127","1329731057"],"photo_ids_order":["1329731053","1329731057","1329731119","1329731127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef30a479fc3df09b606c98b3fc0e6017.jpg","text":"TemporaryFile(/tmp/multipartBody1821587526150306418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195453767,"filename":"image_18012025_11_15_02_940178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac3f53925ef9b15df596d58f74fa5eaf.jpg","text":"TemporaryFile(/tmp/multipartBody7827309391469038359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195453767,"filename":"image_18012025_11_16_03_061417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/efa8b29fa5cc820ba6b1a55761e71efa.jpg","text":"TemporaryFile(/tmp/multipartBody2235819898107066497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195453767,"filename":"image_18012025_11_16_03_061417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/91ec627c0217a3996b4e4e3ef0a6adbc.jpg","text":"TemporaryFile(/tmp/multipartBody2728064676495766233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195453767,"filename":"image_18012025_11_16_03_061417_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329731119","file1":"1329731057","file0":"1329731053","file3":"1329731127"},"map_files_photo_id_array":[{"photo_id":"1329731119","filename":"file2"},{"photo_id":"1329731057","filename":"file1"},{"photo_id":"1329731053","filename":"file0"},{"photo_id":"1329731127","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329731053":["hashtag1","hashtag2"]},{"1329731119":["hashtag1","hashtag2"]},{"1329731127":["hashtag1","hashtag2"]},{"1329731057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329731053, 1329731119, 1329731127, 1329731057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.01320791244507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:17:22.193409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/16/image_18012025_11_16_03_061417_0003.jpg', '/home/pi/Desktop/images/18012025/11/17/image_18012025_11_17_02_342507_0000.jpg', '/home/pi/Desktop/images/18012025/11/17/image_18012025_11_17_02_342507_0001.jpg', '/home/pi/Desktop/images/18012025/11/17/image_18012025_11_17_02_342507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/16/image_18012025_11_16_03_061417_0003.jpg
/home/pi/Desktop/images/18012025/11/17/image_18012025_11_17_02_342507_0000.jpg
/home/pi/Desktop/images/18012025/11/17/image_18012025_11_17_02_342507_0001.jpg
/home/pi/Desktop/images/18012025/11/17/image_18012025_11_17_02_342507_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329731173","1329731203","1329731177","1329731197"],"photo_ids_order":["1329731173","1329731177","1329731197","1329731203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21aae41941df6b34de2a029f940521aa.jpg","text":"TemporaryFile(/tmp/multipartBody8315747709090380873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195513612,"filename":"image_18012025_11_16_03_061417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6f33f503a1a57505b6f7c9841ea21bb.jpg","text":"TemporaryFile(/tmp/multipartBody5152103099317279428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195513612,"filename":"image_18012025_11_17_02_342507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd9fb7509a1eb5910660f2521d8bd929.jpg","text":"TemporaryFile(/tmp/multipartBody5129668207671463592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195513612,"filename":"image_18012025_11_17_02_342507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/11fdd4c2b351338f59edb73610239a0e.jpg","text":"TemporaryFile(/tmp/multipartBody7092250916688656676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195513612,"filename":"image_18012025_11_17_02_342507_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329731197","file1":"1329731177","file0":"1329731173","file3":"1329731203"},"map_files_photo_id_array":[{"photo_id":"1329731197","filename":"file2"},{"photo_id":"1329731177","filename":"file1"},{"photo_id":"1329731173","filename":"file0"},{"photo_id":"1329731203","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329731173":["hashtag1","hashtag2"]},{"1329731203":["hashtag1","hashtag2"]},{"1329731177":["hashtag1","hashtag2"]},{"1329731197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329731173, 1329731203, 1329731177, 1329731197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.608651638031006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:18:02.607082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/48/image_16012025_21_48_03_127697_0003.jpg', '/home/pi/Desktop/images/16012025/21/49/image_16012025_21_49_02_271647_0000.jpg', '/home/pi/Desktop/images/16012025/21/49/image_16012025_21_49_02_271647_0002.jpg', '/home/pi/Desktop/images/16012025/21/49/image_16012025_21_49_02_271647_0003.jpg', '/home/pi/Desktop/images/16012025/21/50/image_16012025_21_50_02_508427_0000.jpg', '/home/pi/Desktop/images/16012025/21/50/image_16012025_21_50_02_508427_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/48/image_16012025_21_48_03_127697_0003.jpg
/home/pi/Desktop/images/16012025/21/49/image_16012025_21_49_02_271647_0000.jpg
/home/pi/Desktop/images/16012025/21/49/image_16012025_21_49_02_271647_0002.jpg
/home/pi/Desktop/images/16012025/21/49/image_16012025_21_49_02_271647_0003.jpg
/home/pi/Desktop/images/16012025/21/50/image_16012025_21_50_02_508427_0000.jpg
/home/pi/Desktop/images/16012025/21/50/image_16012025_21_50_02_508427_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":["1329731326","1329731317","1329731289","1329731297","1329731294","1329731321"],"photo_ids_order":["1329731289","1329731294","1329731297","1329731317","1329731321","1329731326"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/120ff4d4003bce9e3000a3854e1ec433.jpg","text":"TemporaryFile(/tmp/multipartBody2429763370530940989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195558340,"filename":"image_16012025_21_50_02_508427_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d84abdcd74e49963c0e3c2e678fe1b6.jpg","text":"TemporaryFile(/tmp/multipartBody3083909889825321274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195558340,"filename":"image_16012025_21_49_02_271647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/758328c7ec203839d2602827c80e2543.jpg","text":"TemporaryFile(/tmp/multipartBody109759641779864282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195558340,"filename":"image_16012025_21_48_03_127697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fba76b27f892973322a8c88d21dcd20d.jpg","text":"TemporaryFile(/tmp/multipartBody9018060578460034807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195558340,"filename":"image_16012025_21_49_02_271647_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ab1718cfa3f0feb9c5345b746bf6c31.jpg","text":"TemporaryFile(/tmp/multipartBody1110876658559927859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195558340,"filename":"image_16012025_21_49_02_271647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1caf8e858ba1147910a6a30904b290ed.jpg","text":"TemporaryFile(/tmp/multipartBody1884410574580631459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195558340,"filename":"image_16012025_21_50_02_508427_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329731297","file1":"1329731294","file0":"1329731289","file4":"1329731321","file5":"1329731326","file3":"1329731317"},"map_files_photo_id_array":[{"photo_id":"1329731326","filename":"file5"},{"photo_id":"1329731297","filename":"file2"},{"photo_id":"1329731321","filename":"file4"},{"photo_id":"1329731294","filename":"file1"},{"photo_id":"1329731289","filename":"file0"},{"photo_id":"1329731317","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329731326":["hashtag1","hashtag2"]},{"1329731317":["hashtag1","hashtag2"]},{"1329731289":["hashtag1","hashtag2"]},{"1329731297":["hashtag1","hashtag2"]},{"1329731294":["hashtag1","hashtag2"]},{"1329731321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329731326, 1329731317, 1329731289, 1329731297, 1329731294, 1329731321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.99568152427673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:19:02.947434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/17/image_18012025_11_17_02_342507_0003.jpg', '/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0000.jpg', '/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0001.jpg', '/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/17/image_18012025_11_17_02_342507_0003.jpg
/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0000.jpg
/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0001.jpg
/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.606434345245361 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:19:22.427697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/17/image_18012025_11_17_02_342507_0003.jpg', '/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0000.jpg', '/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0001.jpg', '/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0002.jpg', '/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0003.jpg', '/home/pi/Desktop/images/18012025/11/19/image_18012025_11_19_02_648870_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/17/image_18012025_11_17_02_342507_0003.jpg
/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0000.jpg
/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0001.jpg
/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0002.jpg
/home/pi/Desktop/images/18012025/11/18/image_18012025_11_18_02_533184_0003.jpg
/home/pi/Desktop/images/18012025/11/19/image_18012025_11_19_02_648870_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329731481","1329731436","1329731439","1329731430","1329731483","1329731441"],"photo_ids_order":["1329731430","1329731436","1329731439","1329731441","1329731481","1329731483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cc7ac5af9fe19846e37405c2e4db538e.jpg","text":"TemporaryFile(/tmp/multipartBody3984783184742923224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195639884,"filename":"image_18012025_11_18_02_533184_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a74aa9b27dc3f3d7182f2c5b8c74f736.jpg","text":"TemporaryFile(/tmp/multipartBody7244927599022033597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195639884,"filename":"image_18012025_11_18_02_533184_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bed1d6e2683d06097261e744187e67fd.jpg","text":"TemporaryFile(/tmp/multipartBody2630151081782214053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195639884,"filename":"image_18012025_11_18_02_533184_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f00bdea09f8191acbb8615a9d202dd9c.jpg","text":"TemporaryFile(/tmp/multipartBody969018524771536418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195639884,"filename":"image_18012025_11_17_02_342507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce9621de282909645fe7fffa0f6198f6.jpg","text":"TemporaryFile(/tmp/multipartBody1490831098646520173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195639884,"filename":"image_18012025_11_19_02_648870_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/55d16ad6e1a6f86806e872f27cf11adc.jpg","text":"TemporaryFile(/tmp/multipartBody529956709872824394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195639884,"filename":"image_18012025_11_18_02_533184_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329731439","file1":"1329731436","file0":"1329731430","file4":"1329731481","file5":"1329731483","file3":"1329731441"},"map_files_photo_id_array":[{"photo_id":"1329731483","filename":"file5"},{"photo_id":"1329731439","filename":"file2"},{"photo_id":"1329731481","filename":"file4"},{"photo_id":"1329731436","filename":"file1"},{"photo_id":"1329731430","filename":"file0"},{"photo_id":"1329731441","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329731481":["hashtag1","hashtag2"]},{"1329731436":["hashtag1","hashtag2"]},{"1329731439":["hashtag1","hashtag2"]},{"1329731430":["hashtag1","hashtag2"]},{"1329731483":["hashtag1","hashtag2"]},{"1329731441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329731481, 1329731436, 1329731439, 1329731430, 1329731483, 1329731441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.06869339942932 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:20:22.617915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/19/image_18012025_11_19_02_648870_0001.jpg', '/home/pi/Desktop/images/18012025/11/19/image_18012025_11_19_02_648870_0002.jpg', '/home/pi/Desktop/images/18012025/11/19/image_18012025_11_19_02_648870_0003.jpg', '/home/pi/Desktop/images/18012025/11/20/image_18012025_11_20_02_764735_0000.jpg', '/home/pi/Desktop/images/18012025/11/20/image_18012025_11_20_02_764735_0001.jpg', '/home/pi/Desktop/images/18012025/11/20/image_18012025_11_20_02_764735_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/19/image_18012025_11_19_02_648870_0001.jpg
/home/pi/Desktop/images/18012025/11/19/image_18012025_11_19_02_648870_0002.jpg
/home/pi/Desktop/images/18012025/11/19/image_18012025_11_19_02_648870_0003.jpg
/home/pi/Desktop/images/18012025/11/20/image_18012025_11_20_02_764735_0000.jpg
/home/pi/Desktop/images/18012025/11/20/image_18012025_11_20_02_764735_0001.jpg
/home/pi/Desktop/images/18012025/11/20/image_18012025_11_20_02_764735_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329731539","1329731518","1329731499","1329731532","1329731511","1329731505"],"photo_ids_order":["1329731499","1329731505","1329731511","1329731518","1329731532","1329731539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13ca193c672f5e0eb199fd35bf3fd445.jpg","text":"TemporaryFile(/tmp/multipartBody6821527458145293269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195698932,"filename":"image_18012025_11_20_02_764735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/995935cb8bf8f731c888333c0f43124e.jpg","text":"TemporaryFile(/tmp/multipartBody8442099552066104177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195698932,"filename":"image_18012025_11_20_02_764735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c40c6050bd70809a3d4c8443f029b4a5.jpg","text":"TemporaryFile(/tmp/multipartBody18947133543049640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195698932,"filename":"image_18012025_11_19_02_648870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/176a472cef5f734e6e60c581ec6aa8b6.jpg","text":"TemporaryFile(/tmp/multipartBody612063937841041688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195698932,"filename":"image_18012025_11_20_02_764735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1903cfc0806d090faf25a93a1a50411a.jpg","text":"TemporaryFile(/tmp/multipartBody5004141590814156166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195698932,"filename":"image_18012025_11_19_02_648870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8fd475754ed23fb782089077a2dd640b.jpg","text":"TemporaryFile(/tmp/multipartBody167379326967637546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195698932,"filename":"image_18012025_11_19_02_648870_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329731511","file1":"1329731505","file0":"1329731499","file4":"1329731532","file5":"1329731539","file3":"1329731518"},"map_files_photo_id_array":[{"photo_id":"1329731539","filename":"file5"},{"photo_id":"1329731511","filename":"file2"},{"photo_id":"1329731532","filename":"file4"},{"photo_id":"1329731505","filename":"file1"},{"photo_id":"1329731499","filename":"file0"},{"photo_id":"1329731518","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329731539":["hashtag1","hashtag2"]},{"1329731518":["hashtag1","hashtag2"]},{"1329731499":["hashtag1","hashtag2"]},{"1329731532":["hashtag1","hashtag2"]},{"1329731511":["hashtag1","hashtag2"]},{"1329731505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329731539, 1329731518, 1329731499, 1329731532, 1329731511, 1329731505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.28060984611511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:21:31.863486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/20/image_18012025_11_20_02_764735_0003.jpg', '/home/pi/Desktop/images/18012025/11/21/image_18012025_11_21_02_959756_0000.jpg', '/home/pi/Desktop/images/18012025/11/21/image_18012025_11_21_02_959756_0001.jpg', '/home/pi/Desktop/images/18012025/11/21/image_18012025_11_21_02_959756_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/20/image_18012025_11_20_02_764735_0003.jpg
/home/pi/Desktop/images/18012025/11/21/image_18012025_11_21_02_959756_0000.jpg
/home/pi/Desktop/images/18012025/11/21/image_18012025_11_21_02_959756_0001.jpg
/home/pi/Desktop/images/18012025/11/21/image_18012025_11_21_02_959756_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329732627","1329731990","1329732353","1329732622"],"photo_ids_order":["1329731990","1329732353","1329732622","1329732627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04dbe0466df242dad9ff092fd4b6feeb.jpg","text":"TemporaryFile(/tmp/multipartBody6635083356748273403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195763130,"filename":"image_18012025_11_21_02_959756_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a387fb2fc0a5bf947ca519143a64eee5.jpg","text":"TemporaryFile(/tmp/multipartBody9117185369437027706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195763130,"filename":"image_18012025_11_20_02_764735_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5badf3d2d137ebc2f54257b0defda9c.jpg","text":"TemporaryFile(/tmp/multipartBody346996429934378330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195763130,"filename":"image_18012025_11_21_02_959756_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/665e0b0581a7de06388c6137c6ffcbdd.jpg","text":"TemporaryFile(/tmp/multipartBody4766273641201200906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195763130,"filename":"image_18012025_11_21_02_959756_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329732622","file1":"1329732353","file0":"1329731990","file3":"1329732627"},"map_files_photo_id_array":[{"photo_id":"1329732622","filename":"file2"},{"photo_id":"1329732353","filename":"file1"},{"photo_id":"1329731990","filename":"file0"},{"photo_id":"1329732627","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329732627":["hashtag1","hashtag2"]},{"1329731990":["hashtag1","hashtag2"]},{"1329732353":["hashtag1","hashtag2"]},{"1329732622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329732627, 1329731990, 1329732353, 1329732622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.351733922958374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:22:22.101829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/21/image_18012025_11_21_02_959756_0003.jpg', '/home/pi/Desktop/images/18012025/11/22/image_18012025_11_22_02_101453_0000.jpg', '/home/pi/Desktop/images/18012025/11/22/image_18012025_11_22_02_101453_0001.jpg', '/home/pi/Desktop/images/18012025/11/22/image_18012025_11_22_02_101453_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/21/image_18012025_11_21_02_959756_0003.jpg
/home/pi/Desktop/images/18012025/11/22/image_18012025_11_22_02_101453_0000.jpg
/home/pi/Desktop/images/18012025/11/22/image_18012025_11_22_02_101453_0001.jpg
/home/pi/Desktop/images/18012025/11/22/image_18012025_11_22_02_101453_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329732651","1329732697","1329732670","1329732658"],"photo_ids_order":["1329732651","1329732658","1329732670","1329732697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a60c8b905f0d5cbcd58228fcd99c600b.jpg","text":"TemporaryFile(/tmp/multipartBody4062839642792756959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195813553,"filename":"image_18012025_11_21_02_959756_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8191404df0b39842359033723eab40e1.jpg","text":"TemporaryFile(/tmp/multipartBody700727893903591084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195813553,"filename":"image_18012025_11_22_02_101453_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/43fbe71614dd465c142e08b2a74de6d6.jpg","text":"TemporaryFile(/tmp/multipartBody5340276257529319744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195813553,"filename":"image_18012025_11_22_02_101453_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e0415763fce5a4bc8cadaec2d051fef.jpg","text":"TemporaryFile(/tmp/multipartBody8258539936525229588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195813553,"filename":"image_18012025_11_22_02_101453_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329732670","file1":"1329732658","file0":"1329732651","file3":"1329732697"},"map_files_photo_id_array":[{"photo_id":"1329732670","filename":"file2"},{"photo_id":"1329732658","filename":"file1"},{"photo_id":"1329732651","filename":"file0"},{"photo_id":"1329732697","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329732651":["hashtag1","hashtag2"]},{"1329732697":["hashtag1","hashtag2"]},{"1329732670":["hashtag1","hashtag2"]},{"1329732658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329732651, 1329732697, 1329732670, 1329732658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.67376708984375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:23:22.147551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/22/image_18012025_11_22_02_101453_0003.jpg', '/home/pi/Desktop/images/18012025/11/23/image_18012025_11_23_02_310420_0000.jpg', '/home/pi/Desktop/images/18012025/11/23/image_18012025_11_23_02_310420_0001.jpg', '/home/pi/Desktop/images/18012025/11/23/image_18012025_11_23_02_310420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/22/image_18012025_11_22_02_101453_0003.jpg
/home/pi/Desktop/images/18012025/11/23/image_18012025_11_23_02_310420_0000.jpg
/home/pi/Desktop/images/18012025/11/23/image_18012025_11_23_02_310420_0001.jpg
/home/pi/Desktop/images/18012025/11/23/image_18012025_11_23_02_310420_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329733209","1329733101","1329733186","1329733170"],"photo_ids_order":["1329733101","1329733170","1329733186","1329733209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1eb98b4c5508bbae037d4a36207876b.jpg","text":"TemporaryFile(/tmp/multipartBody2773803294275880100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195873489,"filename":"image_18012025_11_23_02_310420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9322c8be3e39a9ce5981a8d5e7239403.jpg","text":"TemporaryFile(/tmp/multipartBody3712914377595696771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195873489,"filename":"image_18012025_11_22_02_101453_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67f79a60053311e38253acb4f01e4b56.jpg","text":"TemporaryFile(/tmp/multipartBody9090705740080827317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195873489,"filename":"image_18012025_11_23_02_310420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/71a780acea41affbbdfd7b9d19d087e7.jpg","text":"TemporaryFile(/tmp/multipartBody4604934644330160728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195873489,"filename":"image_18012025_11_23_02_310420_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329733186","file1":"1329733170","file0":"1329733101","file3":"1329733209"},"map_files_photo_id_array":[{"photo_id":"1329733186","filename":"file2"},{"photo_id":"1329733170","filename":"file1"},{"photo_id":"1329733101","filename":"file0"},{"photo_id":"1329733209","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329733209":["hashtag1","hashtag2"]},{"1329733101":["hashtag1","hashtag2"]},{"1329733186":["hashtag1","hashtag2"]},{"1329733170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329733209, 1329733101, 1329733186, 1329733170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.556041955947876 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-18 11:24:22.263886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/23/image_18012025_11_23_02_310420_0003.jpg', '/home/pi/Desktop/images/18012025/11/24/image_18012025_11_24_02_468419_0000.jpg', '/home/pi/Desktop/images/18012025/11/24/image_18012025_11_24_02_468419_0001.jpg', '/home/pi/Desktop/images/18012025/11/24/image_18012025_11_24_02_468419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/23/image_18012025_11_23_02_310420_0003.jpg
/home/pi/Desktop/images/18012025/11/24/image_18012025_11_24_02_468419_0000.jpg
/home/pi/Desktop/images/18012025/11/24/image_18012025_11_24_02_468419_0001.jpg
/home/pi/Desktop/images/18012025/11/24/image_18012025_11_24_02_468419_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329733340","1329733351","1329733345","1329733348"],"photo_ids_order":["1329733340","1329733345","1329733348","1329733351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f59e1bbe7a4810f43333cbc699635933.jpg","text":"TemporaryFile(/tmp/multipartBody1111169033050370325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195933213,"filename":"image_18012025_11_23_02_310420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bfe090600d4381ee68689380d6f932ce.jpg","text":"TemporaryFile(/tmp/multipartBody7887434352101072145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195933213,"filename":"image_18012025_11_24_02_468419_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53663595c3d3a65d94ab6375302de366.jpg","text":"TemporaryFile(/tmp/multipartBody6262653927583756913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195933213,"filename":"image_18012025_11_24_02_468419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4955ffdd8f89f9d92a0d742e67bdb58c.jpg","text":"TemporaryFile(/tmp/multipartBody3929888436137259139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195933213,"filename":"image_18012025_11_24_02_468419_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329733348","file1":"1329733345","file0":"1329733340","file3":"1329733351"},"map_files_photo_id_array":[{"photo_id":"1329733348","filename":"file2"},{"photo_id":"1329733345","filename":"file1"},{"photo_id":"1329733340","filename":"file0"},{"photo_id":"1329733351","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329733340":["hashtag1","hashtag2"]},{"1329733351":["hashtag1","hashtag2"]},{"1329733345":["hashtag1","hashtag2"]},{"1329733348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329733340, 1329733351, 1329733345, 1329733348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.75117516517639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:25:03.051132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/50/image_16012025_21_50_02_508427_0002.jpg', '/home/pi/Desktop/images/16012025/21/51/image_16012025_21_51_02_584008_0000.jpg', '/home/pi/Desktop/images/16012025/21/51/image_16012025_21_51_02_584008_0001.jpg', '/home/pi/Desktop/images/16012025/21/51/image_16012025_21_51_02_584008_0002.jpg', '/home/pi/Desktop/images/16012025/21/51/image_16012025_21_51_02_584008_0003.jpg', '/home/pi/Desktop/images/16012025/21/52/image_16012025_21_52_02_780244_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/50/image_16012025_21_50_02_508427_0002.jpg
/home/pi/Desktop/images/16012025/21/51/image_16012025_21_51_02_584008_0000.jpg
/home/pi/Desktop/images/16012025/21/51/image_16012025_21_51_02_584008_0001.jpg
/home/pi/Desktop/images/16012025/21/51/image_16012025_21_51_02_584008_0002.jpg
/home/pi/Desktop/images/16012025/21/51/image_16012025_21_51_02_584008_0003.jpg
/home/pi/Desktop/images/16012025/21/52/image_16012025_21_52_02_780244_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329733527","1329733506","1329733532","1329733510","1329733522","1329733516"],"photo_ids_order":["1329733506","1329733510","1329733516","1329733522","1329733527","1329733532"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af8d7e2fd5764b4061aadaa98b03a67e.jpg","text":"TemporaryFile(/tmp/multipartBody7179413843153496692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195978884,"filename":"image_16012025_21_51_02_584008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/393365c209303baf92de76f811ca99e1.jpg","text":"TemporaryFile(/tmp/multipartBody7055317170778743806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195978884,"filename":"image_16012025_21_50_02_508427_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2359d8e94d5670397167ac062fbfd845.jpg","text":"TemporaryFile(/tmp/multipartBody2350120609337775890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195978884,"filename":"image_16012025_21_52_02_780244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d82424dfc9b287021c1d47ce8be52fca.jpg","text":"TemporaryFile(/tmp/multipartBody2027728482930335133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195978884,"filename":"image_16012025_21_51_02_584008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4736e70b9dcb98f13a45fc338073be62.jpg","text":"TemporaryFile(/tmp/multipartBody2915508206286879948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195978884,"filename":"image_16012025_21_51_02_584008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a51f81d038e6e5566ed5806324e10d0b.jpg","text":"TemporaryFile(/tmp/multipartBody6211707447013370562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737195978884,"filename":"image_16012025_21_51_02_584008_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329733516","file1":"1329733510","file0":"1329733506","file4":"1329733527","file5":"1329733532","file3":"1329733522"},"map_files_photo_id_array":[{"photo_id":"1329733532","filename":"file5"},{"photo_id":"1329733516","filename":"file2"},{"photo_id":"1329733527","filename":"file4"},{"photo_id":"1329733510","filename":"file1"},{"photo_id":"1329733506","filename":"file0"},{"photo_id":"1329733522","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329733527":["hashtag1","hashtag2"]},{"1329733506":["hashtag1","hashtag2"]},{"1329733532":["hashtag1","hashtag2"]},{"1329733510":["hashtag1","hashtag2"]},{"1329733522":["hashtag1","hashtag2"]},{"1329733516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329733527, 1329733506, 1329733532, 1329733510, 1329733522, 1329733516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.9591600894928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:26:03.023689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/24/image_18012025_11_24_02_468419_0003.jpg', '/home/pi/Desktop/images/18012025/11/25/image_18012025_11_25_02_594858_0000.jpg', '/home/pi/Desktop/images/18012025/11/25/image_18012025_11_25_02_594858_0001.jpg', '/home/pi/Desktop/images/18012025/11/25/image_18012025_11_25_02_594858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/24/image_18012025_11_24_02_468419_0003.jpg
/home/pi/Desktop/images/18012025/11/25/image_18012025_11_25_02_594858_0000.jpg
/home/pi/Desktop/images/18012025/11/25/image_18012025_11_25_02_594858_0001.jpg
/home/pi/Desktop/images/18012025/11/25/image_18012025_11_25_02_594858_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329733605","1329733571","1329733573","1329733576"],"photo_ids_order":["1329733571","1329733573","1329733576","1329733605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/367b65a1c582cd25175ee15a41ee2d40.jpg","text":"TemporaryFile(/tmp/multipartBody70329942869433128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196033939,"filename":"image_18012025_11_25_02_594858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/62dcb2951f03bfb88f007334ba3e92ff.jpg","text":"TemporaryFile(/tmp/multipartBody5201598604226332255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196033939,"filename":"image_18012025_11_24_02_468419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/25cc86f7e09587a712036ca9d0c9c23a.jpg","text":"TemporaryFile(/tmp/multipartBody6150271357616411170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196033939,"filename":"image_18012025_11_25_02_594858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/34cdd99ac363f03f909fac06d3f96c1b.jpg","text":"TemporaryFile(/tmp/multipartBody2227588157153384368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196033939,"filename":"image_18012025_11_25_02_594858_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329733576","file1":"1329733573","file0":"1329733571","file3":"1329733605"},"map_files_photo_id_array":[{"photo_id":"1329733576","filename":"file2"},{"photo_id":"1329733573","filename":"file1"},{"photo_id":"1329733571","filename":"file0"},{"photo_id":"1329733605","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329733605":["hashtag1","hashtag2"]},{"1329733571":["hashtag1","hashtag2"]},{"1329733573":["hashtag1","hashtag2"]},{"1329733576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329733605, 1329733571, 1329733573, 1329733576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84088087081909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 11:26:42.585099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/25/image_18012025_11_25_02_594858_0003.jpg', '/home/pi/Desktop/images/18012025/11/26/image_18012025_11_26_02_765180_0000.jpg', '/home/pi/Desktop/images/18012025/11/26/image_18012025_11_26_02_765180_0001.jpg', '/home/pi/Desktop/images/18012025/11/26/image_18012025_11_26_02_765180_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/25/image_18012025_11_25_02_594858_0003.jpg
/home/pi/Desktop/images/18012025/11/26/image_18012025_11_26_02_765180_0000.jpg
/home/pi/Desktop/images/18012025/11/26/image_18012025_11_26_02_765180_0001.jpg
/home/pi/Desktop/images/18012025/11/26/image_18012025_11_26_02_765180_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329733679","1329733631","1329733669","1329733677"],"photo_ids_order":["1329733631","1329733669","1329733677","1329733679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/586c13753f9ac063f1bb701ee4458e73.jpg","text":"TemporaryFile(/tmp/multipartBody7446437644397111779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196073458,"filename":"image_18012025_11_26_02_765180_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f983736c1fd66b687c961c912a27555e.jpg","text":"TemporaryFile(/tmp/multipartBody7144284015532603977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196073458,"filename":"image_18012025_11_25_02_594858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/757691b56f0135d3d93e1978c466f2df.jpg","text":"TemporaryFile(/tmp/multipartBody1536633595788699498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196073458,"filename":"image_18012025_11_26_02_765180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac901e233d219803481bec299a2776f4.jpg","text":"TemporaryFile(/tmp/multipartBody3478765375889186159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196073458,"filename":"image_18012025_11_26_02_765180_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329733677","file1":"1329733669","file0":"1329733631","file3":"1329733679"},"map_files_photo_id_array":[{"photo_id":"1329733677","filename":"file2"},{"photo_id":"1329733669","filename":"file1"},{"photo_id":"1329733631","filename":"file0"},{"photo_id":"1329733679","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329733679":["hashtag1","hashtag2"]},{"1329733631":["hashtag1","hashtag2"]},{"1329733669":["hashtag1","hashtag2"]},{"1329733677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329733679, 1329733631, 1329733669, 1329733677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26460099220276 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:27:21.720973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/26/image_18012025_11_26_02_765180_0003.jpg', '/home/pi/Desktop/images/18012025/11/27/image_18012025_11_27_03_044894_0000.jpg', '/home/pi/Desktop/images/18012025/11/27/image_18012025_11_27_03_044894_0001.jpg', '/home/pi/Desktop/images/18012025/11/27/image_18012025_11_27_03_044894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/26/image_18012025_11_26_02_765180_0003.jpg
/home/pi/Desktop/images/18012025/11/27/image_18012025_11_27_03_044894_0000.jpg
/home/pi/Desktop/images/18012025/11/27/image_18012025_11_27_03_044894_0001.jpg
/home/pi/Desktop/images/18012025/11/27/image_18012025_11_27_03_044894_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329733756","1329733759","1329733711","1329733752"],"photo_ids_order":["1329733711","1329733752","1329733756","1329733759"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/531cbf5850d3eb254e4d010dea2e3857.jpg","text":"TemporaryFile(/tmp/multipartBody7648845373558438449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196113131,"filename":"image_18012025_11_27_03_044894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/19e72231daf6bee48b14b0a7920e18b7.jpg","text":"TemporaryFile(/tmp/multipartBody5524224559562247840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196113131,"filename":"image_18012025_11_27_03_044894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c5d621c31993e8f5caebb58dbe434ab.jpg","text":"TemporaryFile(/tmp/multipartBody4436954420329334684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196113131,"filename":"image_18012025_11_26_02_765180_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e9432a4bb66dc45cd644ce26aaae9ce.jpg","text":"TemporaryFile(/tmp/multipartBody5040583757561627169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196113131,"filename":"image_18012025_11_27_03_044894_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329733756","file1":"1329733752","file0":"1329733711","file3":"1329733759"},"map_files_photo_id_array":[{"photo_id":"1329733756","filename":"file2"},{"photo_id":"1329733752","filename":"file1"},{"photo_id":"1329733711","filename":"file0"},{"photo_id":"1329733759","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329733756":["hashtag1","hashtag2"]},{"1329733759":["hashtag1","hashtag2"]},{"1329733711":["hashtag1","hashtag2"]},{"1329733752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329733756, 1329733759, 1329733711, 1329733752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26841616630554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:28:02.429834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/52/image_16012025_21_52_02_780244_0001.jpg', '/home/pi/Desktop/images/16012025/21/52/image_16012025_21_52_02_780244_0002.jpg', '/home/pi/Desktop/images/16012025/21/53/image_16012025_21_53_02_966671_0000.jpg', '/home/pi/Desktop/images/16012025/21/53/image_16012025_21_53_02_966671_0001.jpg', '/home/pi/Desktop/images/16012025/21/53/image_16012025_21_53_02_966671_0002.jpg', '/home/pi/Desktop/images/16012025/21/53/image_16012025_21_53_02_966671_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/52/image_16012025_21_52_02_780244_0001.jpg
/home/pi/Desktop/images/16012025/21/52/image_16012025_21_52_02_780244_0002.jpg
/home/pi/Desktop/images/16012025/21/53/image_16012025_21_53_02_966671_0000.jpg
/home/pi/Desktop/images/16012025/21/53/image_16012025_21_53_02_966671_0001.jpg
/home/pi/Desktop/images/16012025/21/53/image_16012025_21_53_02_966671_0002.jpg
/home/pi/Desktop/images/16012025/21/53/image_16012025_21_53_02_966671_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":["1329733833","1329733821","1329733769","1329733790","1329733779","1329733773"],"photo_ids_order":["1329733769","1329733773","1329733779","1329733790","1329733821","1329733833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9ff3395508eea5fe406c5665d53cc6a.jpg","text":"TemporaryFile(/tmp/multipartBody5782520389893971268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196158125,"filename":"image_16012025_21_53_02_966671_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ce7f3c3060c391800215c2671699616.jpg","text":"TemporaryFile(/tmp/multipartBody4870072291951181756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196158125,"filename":"image_16012025_21_53_02_966671_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f925592b4d1a6cf59eb2f46c8ca158bf.jpg","text":"TemporaryFile(/tmp/multipartBody8392897492788843477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196158125,"filename":"image_16012025_21_52_02_780244_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac1e7de6a927c9bf9707399304431f00.jpg","text":"TemporaryFile(/tmp/multipartBody4605546665358411237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196158125,"filename":"image_16012025_21_53_02_966671_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e4e4302cf89d12f8c34ef76c0406e97.jpg","text":"TemporaryFile(/tmp/multipartBody6615193714780572403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196158125,"filename":"image_16012025_21_53_02_966671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/32689770bdb3a83f0d5a6c20564823dd.jpg","text":"TemporaryFile(/tmp/multipartBody8692406687253685339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196158125,"filename":"image_16012025_21_52_02_780244_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329733779","file1":"1329733773","file0":"1329733769","file4":"1329733821","file5":"1329733833","file3":"1329733790"},"map_files_photo_id_array":[{"photo_id":"1329733833","filename":"file5"},{"photo_id":"1329733779","filename":"file2"},{"photo_id":"1329733821","filename":"file4"},{"photo_id":"1329733773","filename":"file1"},{"photo_id":"1329733769","filename":"file0"},{"photo_id":"1329733790","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329733833":["hashtag1","hashtag2"]},{"1329733821":["hashtag1","hashtag2"]},{"1329733769":["hashtag1","hashtag2"]},{"1329733790":["hashtag1","hashtag2"]},{"1329733779":["hashtag1","hashtag2"]},{"1329733773":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329733833, 1329733821, 1329733769, 1329733790, 1329733779, 1329733773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.96190309524536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:29:02.787871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/27/image_18012025_11_27_03_044894_0003.jpg', '/home/pi/Desktop/images/18012025/11/28/image_18012025_11_28_02_190555_0000.jpg', '/home/pi/Desktop/images/18012025/11/28/image_18012025_11_28_02_190555_0001.jpg', '/home/pi/Desktop/images/18012025/11/28/image_18012025_11_28_02_190555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/27/image_18012025_11_27_03_044894_0003.jpg
/home/pi/Desktop/images/18012025/11/28/image_18012025_11_28_02_190555_0000.jpg
/home/pi/Desktop/images/18012025/11/28/image_18012025_11_28_02_190555_0001.jpg
/home/pi/Desktop/images/18012025/11/28/image_18012025_11_28_02_190555_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329733914","1329733908","1329733917","1329733905"],"photo_ids_order":["1329733905","1329733908","1329733914","1329733917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/36d2cd8cd1059ebf3a3e7ce0c87f7d73.jpg","text":"TemporaryFile(/tmp/multipartBody179868548639400528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196213729,"filename":"image_18012025_11_28_02_190555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f2cb1520b1275e21833b25754a1bc89.jpg","text":"TemporaryFile(/tmp/multipartBody5755276637326247718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196213729,"filename":"image_18012025_11_28_02_190555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a2a2367a191b8ef0e8576f3a432c561.jpg","text":"TemporaryFile(/tmp/multipartBody5270677201417983058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196213729,"filename":"image_18012025_11_28_02_190555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2293439cdd65e1d6d13c4963f38c61e9.jpg","text":"TemporaryFile(/tmp/multipartBody8235138482814879687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196213729,"filename":"image_18012025_11_27_03_044894_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329733914","file1":"1329733908","file0":"1329733905","file3":"1329733917"},"map_files_photo_id_array":[{"photo_id":"1329733914","filename":"file2"},{"photo_id":"1329733908","filename":"file1"},{"photo_id":"1329733905","filename":"file0"},{"photo_id":"1329733917","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329733914":["hashtag1","hashtag2"]},{"1329733908":["hashtag1","hashtag2"]},{"1329733917":["hashtag1","hashtag2"]},{"1329733905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329733914, 1329733908, 1329733917, 1329733905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.528746128082275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 11:29:42.117777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/28/image_18012025_11_28_02_190555_0003.jpg', '/home/pi/Desktop/images/18012025/11/29/image_18012025_11_29_02_281729_0000.jpg', '/home/pi/Desktop/images/18012025/11/29/image_18012025_11_29_02_281729_0001.jpg', '/home/pi/Desktop/images/18012025/11/29/image_18012025_11_29_02_281729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/28/image_18012025_11_28_02_190555_0003.jpg
/home/pi/Desktop/images/18012025/11/29/image_18012025_11_29_02_281729_0000.jpg
/home/pi/Desktop/images/18012025/11/29/image_18012025_11_29_02_281729_0001.jpg
/home/pi/Desktop/images/18012025/11/29/image_18012025_11_29_02_281729_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329733947","1329733941","1329733944","1329733938"],"photo_ids_order":["1329733938","1329733941","1329733944","1329733947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fc8d6b1480d764b33597232f4482209d.jpg","text":"TemporaryFile(/tmp/multipartBody6264667043011456498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196253298,"filename":"image_18012025_11_29_02_281729_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a74b01c2bf05c29da165ace84d5dbe4.jpg","text":"TemporaryFile(/tmp/multipartBody2374528388773913985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196253298,"filename":"image_18012025_11_29_02_281729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d587cdae9e61fa971e4f4a461a687b87.jpg","text":"TemporaryFile(/tmp/multipartBody3933445801793788347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196253298,"filename":"image_18012025_11_29_02_281729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c0b43564a679f1a59c47122e8157d70.jpg","text":"TemporaryFile(/tmp/multipartBody2416096295763209631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196253298,"filename":"image_18012025_11_28_02_190555_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329733944","file1":"1329733941","file0":"1329733938","file3":"1329733947"},"map_files_photo_id_array":[{"photo_id":"1329733944","filename":"file2"},{"photo_id":"1329733941","filename":"file1"},{"photo_id":"1329733938","filename":"file0"},{"photo_id":"1329733947","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329733947":["hashtag1","hashtag2"]},{"1329733941":["hashtag1","hashtag2"]},{"1329733944":["hashtag1","hashtag2"]},{"1329733938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329733947, 1329733941, 1329733944, 1329733938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.51094627380371 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:30:32.316886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/29/image_18012025_11_29_02_281729_0003.jpg', '/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0000.jpg', '/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0001.jpg', '/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/29/image_18012025_11_29_02_281729_0003.jpg
/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0000.jpg
/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0001.jpg
/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.882086038589478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:30:52.270082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/29/image_18012025_11_29_02_281729_0003.jpg', '/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0000.jpg', '/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0001.jpg', '/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/29/image_18012025_11_29_02_281729_0003.jpg
/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0000.jpg
/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0001.jpg
/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329734016","1329733997","1329734010","1329734013"],"photo_ids_order":["1329733997","1329734010","1329734013","1329734016"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bfebf7eca9eba4ce33854d3b1f2a63bf.jpg","text":"TemporaryFile(/tmp/multipartBody7879722571649111829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196323521,"filename":"image_18012025_11_30_02_521124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3ffe80da713f305615352db08e05152.jpg","text":"TemporaryFile(/tmp/multipartBody4684423688850774397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196323521,"filename":"image_18012025_11_29_02_281729_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e43ef341ee9fa15637e788055d23861f.jpg","text":"TemporaryFile(/tmp/multipartBody77857071516568986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196323521,"filename":"image_18012025_11_30_02_521124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/06b7351b494242cc1fe7830aec34ad3b.jpg","text":"TemporaryFile(/tmp/multipartBody7910730840411103177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196323521,"filename":"image_18012025_11_30_02_521124_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329734013","file1":"1329734010","file0":"1329733997","file3":"1329734016"},"map_files_photo_id_array":[{"photo_id":"1329734013","filename":"file2"},{"photo_id":"1329734010","filename":"file1"},{"photo_id":"1329733997","filename":"file0"},{"photo_id":"1329734016","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329734016":["hashtag1","hashtag2"]},{"1329733997":["hashtag1","hashtag2"]},{"1329734010":["hashtag1","hashtag2"]},{"1329734013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329734016, 1329733997, 1329734010, 1329734013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72369599342346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:31:32.603807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0003.jpg', '/home/pi/Desktop/images/18012025/11/31/image_18012025_11_31_02_703207_0000.jpg', '/home/pi/Desktop/images/18012025/11/31/image_18012025_11_31_02_703207_0001.jpg', '/home/pi/Desktop/images/18012025/11/31/image_18012025_11_31_02_703207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/30/image_18012025_11_30_02_521124_0003.jpg
/home/pi/Desktop/images/18012025/11/31/image_18012025_11_31_02_703207_0000.jpg
/home/pi/Desktop/images/18012025/11/31/image_18012025_11_31_02_703207_0001.jpg
/home/pi/Desktop/images/18012025/11/31/image_18012025_11_31_02_703207_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329734087","1329734080","1329734236","1329734122"],"photo_ids_order":["1329734080","1329734087","1329734122","1329734236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2bd1b3b91f3d28c36f9300e293c6436a.jpg","text":"TemporaryFile(/tmp/multipartBody2921602074746215768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196363816,"filename":"image_18012025_11_31_02_703207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5630a9e1cfa03e99f99d774aa685de1a.jpg","text":"TemporaryFile(/tmp/multipartBody8847568613508229557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196363816,"filename":"image_18012025_11_30_02_521124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed0d2552be34728d736e9c131a70283c.jpg","text":"TemporaryFile(/tmp/multipartBody4569871872742402219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196363816,"filename":"image_18012025_11_31_02_703207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ef87ee80452974b3e22fb3a9130ddaa.jpg","text":"TemporaryFile(/tmp/multipartBody6736205999846737507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196363816,"filename":"image_18012025_11_31_02_703207_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329734122","file1":"1329734087","file0":"1329734080","file3":"1329734236"},"map_files_photo_id_array":[{"photo_id":"1329734122","filename":"file2"},{"photo_id":"1329734087","filename":"file1"},{"photo_id":"1329734080","filename":"file0"},{"photo_id":"1329734236","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329734087":["hashtag1","hashtag2"]},{"1329734080":["hashtag1","hashtag2"]},{"1329734236":["hashtag1","hashtag2"]},{"1329734122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329734087, 1329734080, 1329734236, 1329734122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71668767929077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:32:22.722785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/31/image_18012025_11_31_02_703207_0003.jpg', '/home/pi/Desktop/images/18012025/11/32/image_18012025_11_32_02_880033_0000.jpg', '/home/pi/Desktop/images/18012025/11/32/image_18012025_11_32_02_880033_0001.jpg', '/home/pi/Desktop/images/18012025/11/32/image_18012025_11_32_02_880033_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/31/image_18012025_11_31_02_703207_0003.jpg
/home/pi/Desktop/images/18012025/11/32/image_18012025_11_32_02_880033_0000.jpg
/home/pi/Desktop/images/18012025/11/32/image_18012025_11_32_02_880033_0001.jpg
/home/pi/Desktop/images/18012025/11/32/image_18012025_11_32_02_880033_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329734273","1329734284","1329734278","1329734304"],"photo_ids_order":["1329734273","1329734278","1329734284","1329734304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f47dfc53c63b0f2ccfa20c9ad4b97e3e.jpg","text":"TemporaryFile(/tmp/multipartBody179012068664515904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196413728,"filename":"image_18012025_11_31_02_703207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3dc00ade06cfac864b1216706bc4b790.jpg","text":"TemporaryFile(/tmp/multipartBody8007623669603117650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196413728,"filename":"image_18012025_11_32_02_880033_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4650cb5cc4a983b65d973a55f0a404a.jpg","text":"TemporaryFile(/tmp/multipartBody3449963103954634532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196413728,"filename":"image_18012025_11_32_02_880033_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bee0032f27e9124d938fa7131d6ec152.jpg","text":"TemporaryFile(/tmp/multipartBody7277834356766217290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196413728,"filename":"image_18012025_11_32_02_880033_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329734284","file1":"1329734278","file0":"1329734273","file3":"1329734304"},"map_files_photo_id_array":[{"photo_id":"1329734284","filename":"file2"},{"photo_id":"1329734278","filename":"file1"},{"photo_id":"1329734273","filename":"file0"},{"photo_id":"1329734304","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329734273":["hashtag1","hashtag2"]},{"1329734284":["hashtag1","hashtag2"]},{"1329734278":["hashtag1","hashtag2"]},{"1329734304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329734273, 1329734284, 1329734278, 1329734304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43778109550476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:33:02.648068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/54/image_16012025_21_54_02_193054_0000.jpg', '/home/pi/Desktop/images/16012025/21/54/image_16012025_21_54_02_193054_0001.jpg', '/home/pi/Desktop/images/16012025/21/54/image_16012025_21_54_02_193054_0002.jpg', '/home/pi/Desktop/images/16012025/21/54/image_16012025_21_54_02_193054_0003.jpg', '/home/pi/Desktop/images/16012025/21/55/image_16012025_21_55_02_314263_0000.jpg', '/home/pi/Desktop/images/16012025/21/55/image_16012025_21_55_02_314263_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/54/image_16012025_21_54_02_193054_0000.jpg
/home/pi/Desktop/images/16012025/21/54/image_16012025_21_54_02_193054_0001.jpg
/home/pi/Desktop/images/16012025/21/54/image_16012025_21_54_02_193054_0002.jpg
/home/pi/Desktop/images/16012025/21/54/image_16012025_21_54_02_193054_0003.jpg
/home/pi/Desktop/images/16012025/21/55/image_16012025_21_55_02_314263_0000.jpg
/home/pi/Desktop/images/16012025/21/55/image_16012025_21_55_02_314263_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":["1329734792","1329734327","1329734321","1329734314","1329734317","1329734469"],"photo_ids_order":["1329734314","1329734317","1329734321","1329734327","1329734469","1329734792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4159232dbf6b96b6a023e9475273584.jpg","text":"TemporaryFile(/tmp/multipartBody4741011665615011835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196459636,"filename":"image_16012025_21_55_02_314263_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b7872a46982f498ea231ca97fbf10cd.jpg","text":"TemporaryFile(/tmp/multipartBody5389483961110544758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196459636,"filename":"image_16012025_21_54_02_193054_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/58f4a3368de0a44d752b2d9c21a30df5.jpg","text":"TemporaryFile(/tmp/multipartBody8671122128787307710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196459636,"filename":"image_16012025_21_54_02_193054_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1c6634b53016d64140c3486cf1e3860.jpg","text":"TemporaryFile(/tmp/multipartBody6057133660515811654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196459636,"filename":"image_16012025_21_54_02_193054_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9824c70765790fb939c0e36ef3ef1c3d.jpg","text":"TemporaryFile(/tmp/multipartBody4619669104629824846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196459636,"filename":"image_16012025_21_54_02_193054_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf628b1450bea14020e9ad212df350d5.jpg","text":"TemporaryFile(/tmp/multipartBody5304255814438032525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196459636,"filename":"image_16012025_21_55_02_314263_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329734321","file1":"1329734317","file0":"1329734314","file4":"1329734469","file5":"1329734792","file3":"1329734327"},"map_files_photo_id_array":[{"photo_id":"1329734792","filename":"file5"},{"photo_id":"1329734321","filename":"file2"},{"photo_id":"1329734469","filename":"file4"},{"photo_id":"1329734317","filename":"file1"},{"photo_id":"1329734314","filename":"file0"},{"photo_id":"1329734327","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329734792":["hashtag1","hashtag2"]},{"1329734327":["hashtag1","hashtag2"]},{"1329734321":["hashtag1","hashtag2"]},{"1329734314":["hashtag1","hashtag2"]},{"1329734317":["hashtag1","hashtag2"]},{"1329734469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329734792, 1329734327, 1329734321, 1329734314, 1329734317, 1329734469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.41408157348633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:34:02.524638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/32/image_18012025_11_32_02_880033_0003.jpg', '/home/pi/Desktop/images/18012025/11/33/image_18012025_11_33_03_101750_0000.jpg', '/home/pi/Desktop/images/18012025/11/33/image_18012025_11_33_03_101750_0001.jpg', '/home/pi/Desktop/images/18012025/11/33/image_18012025_11_33_03_101750_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/32/image_18012025_11_32_02_880033_0003.jpg
/home/pi/Desktop/images/18012025/11/33/image_18012025_11_33_03_101750_0000.jpg
/home/pi/Desktop/images/18012025/11/33/image_18012025_11_33_03_101750_0001.jpg
/home/pi/Desktop/images/18012025/11/33/image_18012025_11_33_03_101750_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329735151","1329735147","1329735213","1329735144"],"photo_ids_order":["1329735144","1329735147","1329735151","1329735213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d1a7fe961b30b6b35faebd41fe671765.jpg","text":"TemporaryFile(/tmp/multipartBody6507336551731696525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196514010,"filename":"image_18012025_11_33_03_101750_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e73235e113a60cf45fefce5fad95b850.jpg","text":"TemporaryFile(/tmp/multipartBody7108951018211583414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196514010,"filename":"image_18012025_11_33_03_101750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f23fda28600e11c0ee41da5e1f75a70.jpg","text":"TemporaryFile(/tmp/multipartBody1407860620595122312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196514010,"filename":"image_18012025_11_33_03_101750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6dfc6ea3e6521f1ddbc1c81449da6da2.jpg","text":"TemporaryFile(/tmp/multipartBody5307149894883322449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196514010,"filename":"image_18012025_11_32_02_880033_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329735151","file1":"1329735147","file0":"1329735144","file3":"1329735213"},"map_files_photo_id_array":[{"photo_id":"1329735151","filename":"file2"},{"photo_id":"1329735147","filename":"file1"},{"photo_id":"1329735144","filename":"file0"},{"photo_id":"1329735213","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329735151":["hashtag1","hashtag2"]},{"1329735147":["hashtag1","hashtag2"]},{"1329735213":["hashtag1","hashtag2"]},{"1329735144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329735151, 1329735147, 1329735213, 1329735144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.481168031692505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:34:52.029067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/33/image_18012025_11_33_03_101750_0003.jpg', '/home/pi/Desktop/images/18012025/11/34/image_18012025_11_34_02_201696_0000.jpg', '/home/pi/Desktop/images/18012025/11/34/image_18012025_11_34_02_201696_0001.jpg', '/home/pi/Desktop/images/18012025/11/34/image_18012025_11_34_02_201696_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/33/image_18012025_11_33_03_101750_0003.jpg
/home/pi/Desktop/images/18012025/11/34/image_18012025_11_34_02_201696_0000.jpg
/home/pi/Desktop/images/18012025/11/34/image_18012025_11_34_02_201696_0001.jpg
/home/pi/Desktop/images/18012025/11/34/image_18012025_11_34_02_201696_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329735347","1329735332","1329735349","1329735334"],"photo_ids_order":["1329735332","1329735334","1329735347","1329735349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f363878e9a967ad1820a9a06b72b3463.jpg","text":"TemporaryFile(/tmp/multipartBody6499924126274732720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196563579,"filename":"image_18012025_11_34_02_201696_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f1b9f90d7b5ec3247c653e6a248d3eb2.jpg","text":"TemporaryFile(/tmp/multipartBody5051205801296826856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196563579,"filename":"image_18012025_11_33_03_101750_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed7683c8cca31866711baec048b6841f.jpg","text":"TemporaryFile(/tmp/multipartBody3789756735596052438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196563579,"filename":"image_18012025_11_34_02_201696_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92adfec1b53136d187f454186fe2e405.jpg","text":"TemporaryFile(/tmp/multipartBody6767297695034297313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196563579,"filename":"image_18012025_11_34_02_201696_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329735347","file1":"1329735334","file0":"1329735332","file3":"1329735349"},"map_files_photo_id_array":[{"photo_id":"1329735347","filename":"file2"},{"photo_id":"1329735334","filename":"file1"},{"photo_id":"1329735332","filename":"file0"},{"photo_id":"1329735349","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329735347":["hashtag1","hashtag2"]},{"1329735332":["hashtag1","hashtag2"]},{"1329735349":["hashtag1","hashtag2"]},{"1329735334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329735347, 1329735332, 1329735349, 1329735334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.599733114242554 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-18 11:35:42.279838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/34/image_18012025_11_34_02_201696_0003.jpg', '/home/pi/Desktop/images/18012025/11/35/image_18012025_11_35_02_507005_0000.jpg', '/home/pi/Desktop/images/18012025/11/35/image_18012025_11_35_02_507005_0001.jpg', '/home/pi/Desktop/images/18012025/11/35/image_18012025_11_35_02_507005_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/34/image_18012025_11_34_02_201696_0003.jpg
/home/pi/Desktop/images/18012025/11/35/image_18012025_11_35_02_507005_0000.jpg
/home/pi/Desktop/images/18012025/11/35/image_18012025_11_35_02_507005_0001.jpg
/home/pi/Desktop/images/18012025/11/35/image_18012025_11_35_02_507005_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329735375","1329735380","1329735383","1329735377"],"photo_ids_order":["1329735375","1329735377","1329735380","1329735383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e94b54210fbca172c687a93c2cb3f42.jpg","text":"TemporaryFile(/tmp/multipartBody8960389272122608713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196613633,"filename":"image_18012025_11_34_02_201696_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/563f8f7d0cb3557fcbd6dc2b96176b94.jpg","text":"TemporaryFile(/tmp/multipartBody6717797540122505489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196613633,"filename":"image_18012025_11_35_02_507005_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec6c3f1476a39322c80c34ce8d6877e6.jpg","text":"TemporaryFile(/tmp/multipartBody4123611351875809895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196613633,"filename":"image_18012025_11_35_02_507005_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8db5ce7f9937e20e81f2e9ac76d4c08b.jpg","text":"TemporaryFile(/tmp/multipartBody4285120659552270345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196613633,"filename":"image_18012025_11_35_02_507005_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329735380","file1":"1329735377","file0":"1329735375","file3":"1329735383"},"map_files_photo_id_array":[{"photo_id":"1329735380","filename":"file2"},{"photo_id":"1329735377","filename":"file1"},{"photo_id":"1329735375","filename":"file0"},{"photo_id":"1329735383","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329735375":["hashtag1","hashtag2"]},{"1329735380":["hashtag1","hashtag2"]},{"1329735383":["hashtag1","hashtag2"]},{"1329735377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329735375, 1329735380, 1329735383, 1329735377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.99036526679993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:36:32.387825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/35/image_18012025_11_35_02_507005_0003.jpg', '/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0000.jpg', '/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0001.jpg', '/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/35/image_18012025_11_35_02_507005_0003.jpg
/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0000.jpg
/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0001.jpg
/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.550959587097168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:36:52.414645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/35/image_18012025_11_35_02_507005_0003.jpg', '/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0000.jpg', '/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0001.jpg', '/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/35/image_18012025_11_35_02_507005_0003.jpg
/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0000.jpg
/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0001.jpg
/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329735421","1329735412","1329735414","1329735417"],"photo_ids_order":["1329735412","1329735414","1329735417","1329735421"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/66f335785487b371a3e54700e6084fff.jpg","text":"TemporaryFile(/tmp/multipartBody6523945086766412034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196683363,"filename":"image_18012025_11_36_02_596518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/348a60e5abe5bf16cff9dd3e9ee95bf3.jpg","text":"TemporaryFile(/tmp/multipartBody2068906606604161694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196683363,"filename":"image_18012025_11_35_02_507005_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b200a84d4a4349078719850dcee7db87.jpg","text":"TemporaryFile(/tmp/multipartBody1972903210332173787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196683363,"filename":"image_18012025_11_36_02_596518_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b9acd886d12519e37c34567922c29f5.jpg","text":"TemporaryFile(/tmp/multipartBody1140822349303854517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196683363,"filename":"image_18012025_11_36_02_596518_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329735417","file1":"1329735414","file0":"1329735412","file3":"1329735421"},"map_files_photo_id_array":[{"photo_id":"1329735417","filename":"file2"},{"photo_id":"1329735414","filename":"file1"},{"photo_id":"1329735412","filename":"file0"},{"photo_id":"1329735421","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329735421":["hashtag1","hashtag2"]},{"1329735412":["hashtag1","hashtag2"]},{"1329735414":["hashtag1","hashtag2"]},{"1329735417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329735421, 1329735412, 1329735414, 1329735417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.953376054763794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:37:32.673334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0003.jpg', '/home/pi/Desktop/images/18012025/11/37/image_18012025_11_37_02_797087_0000.jpg', '/home/pi/Desktop/images/18012025/11/37/image_18012025_11_37_02_797087_0001.jpg', '/home/pi/Desktop/images/18012025/11/37/image_18012025_11_37_02_797087_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/36/image_18012025_11_36_02_596518_0003.jpg
/home/pi/Desktop/images/18012025/11/37/image_18012025_11_37_02_797087_0000.jpg
/home/pi/Desktop/images/18012025/11/37/image_18012025_11_37_02_797087_0001.jpg
/home/pi/Desktop/images/18012025/11/37/image_18012025_11_37_02_797087_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329735444","1329735453","1329735447","1329735440"],"photo_ids_order":["1329735440","1329735444","1329735447","1329735453"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe00bd28c698c71107d0154defbefaf5.jpg","text":"TemporaryFile(/tmp/multipartBody7223021671941691251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196724023,"filename":"image_18012025_11_37_02_797087_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac0a71f484cae14a7bf41bd5aec66fd2.jpg","text":"TemporaryFile(/tmp/multipartBody8962241927417135829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196724023,"filename":"image_18012025_11_37_02_797087_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc45691df8202b14ee596271e4f78b55.jpg","text":"TemporaryFile(/tmp/multipartBody4502238784339864503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196724023,"filename":"image_18012025_11_37_02_797087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/251c46e83416326dd36fa91f5419d369.jpg","text":"TemporaryFile(/tmp/multipartBody7573644926553491819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196724023,"filename":"image_18012025_11_36_02_596518_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329735447","file1":"1329735444","file0":"1329735440","file3":"1329735453"},"map_files_photo_id_array":[{"photo_id":"1329735447","filename":"file2"},{"photo_id":"1329735444","filename":"file1"},{"photo_id":"1329735440","filename":"file0"},{"photo_id":"1329735453","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329735444":["hashtag1","hashtag2"]},{"1329735453":["hashtag1","hashtag2"]},{"1329735447":["hashtag1","hashtag2"]},{"1329735440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329735444, 1329735453, 1329735447, 1329735440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.80289840698242 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:38:21.841616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/37/image_18012025_11_37_02_797087_0003.jpg', '/home/pi/Desktop/images/18012025/11/38/image_18012025_11_38_03_071378_0000.jpg', '/home/pi/Desktop/images/18012025/11/38/image_18012025_11_38_03_071378_0001.jpg', '/home/pi/Desktop/images/18012025/11/38/image_18012025_11_38_03_071378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/37/image_18012025_11_37_02_797087_0003.jpg
/home/pi/Desktop/images/18012025/11/38/image_18012025_11_38_03_071378_0000.jpg
/home/pi/Desktop/images/18012025/11/38/image_18012025_11_38_03_071378_0001.jpg
/home/pi/Desktop/images/18012025/11/38/image_18012025_11_38_03_071378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329735478","1329735474","1329735470","1329735482"],"photo_ids_order":["1329735470","1329735474","1329735478","1329735482"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1facd8b419a1b2a63aeda98f1740d053.jpg","text":"TemporaryFile(/tmp/multipartBody399020268665109608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196773190,"filename":"image_18012025_11_38_03_071378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a175923be3c3514023186262968db23.jpg","text":"TemporaryFile(/tmp/multipartBody4712846422058449238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196773190,"filename":"image_18012025_11_38_03_071378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2361831a1a926684f7fcedf5563e79c.jpg","text":"TemporaryFile(/tmp/multipartBody6549306017243046149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196773190,"filename":"image_18012025_11_37_02_797087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/00b4b3161149383b87d74ba3f02f5bd7.jpg","text":"TemporaryFile(/tmp/multipartBody7081134660512239909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196773190,"filename":"image_18012025_11_38_03_071378_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329735478","file1":"1329735474","file0":"1329735470","file3":"1329735482"},"map_files_photo_id_array":[{"photo_id":"1329735478","filename":"file2"},{"photo_id":"1329735474","filename":"file1"},{"photo_id":"1329735470","filename":"file0"},{"photo_id":"1329735482","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329735478":["hashtag1","hashtag2"]},{"1329735474":["hashtag1","hashtag2"]},{"1329735470":["hashtag1","hashtag2"]},{"1329735482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329735478, 1329735474, 1329735470, 1329735482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09083318710327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:39:02.507566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/55/image_16012025_21_55_02_314263_0002.jpg', '/home/pi/Desktop/images/16012025/21/55/image_16012025_21_55_02_314263_0003.jpg', '/home/pi/Desktop/images/16012025/21/56/image_16012025_21_56_02_462363_0000.jpg', '/home/pi/Desktop/images/16012025/21/56/image_16012025_21_56_02_462363_0001.jpg', '/home/pi/Desktop/images/16012025/21/56/image_16012025_21_56_02_462363_0002.jpg', '/home/pi/Desktop/images/16012025/21/56/image_16012025_21_56_02_462363_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/55/image_16012025_21_55_02_314263_0002.jpg
/home/pi/Desktop/images/16012025/21/55/image_16012025_21_55_02_314263_0003.jpg
/home/pi/Desktop/images/16012025/21/56/image_16012025_21_56_02_462363_0000.jpg
/home/pi/Desktop/images/16012025/21/56/image_16012025_21_56_02_462363_0001.jpg
/home/pi/Desktop/images/16012025/21/56/image_16012025_21_56_02_462363_0002.jpg
/home/pi/Desktop/images/16012025/21/56/image_16012025_21_56_02_462363_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":["1329735545","1329735518","1329735556","1329735540","1329735513","1329735551"],"photo_ids_order":["1329735513","1329735518","1329735540","1329735545","1329735551","1329735556"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86adace3ecfc8f4d919afaee2694d772.jpg","text":"TemporaryFile(/tmp/multipartBody8489101315404026805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196819860,"filename":"image_16012025_21_56_02_462363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/58389d7fbaf5181b52ab672a2b6d81b5.jpg","text":"TemporaryFile(/tmp/multipartBody7818769674299060173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196819860,"filename":"image_16012025_21_55_02_314263_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d74ba71b711e1e162eba2df134e06251.jpg","text":"TemporaryFile(/tmp/multipartBody241780256235960007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196819860,"filename":"image_16012025_21_56_02_462363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8cda44927d47c308127a8eb1a45353fe.jpg","text":"TemporaryFile(/tmp/multipartBody5781196256730293773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196819860,"filename":"image_16012025_21_56_02_462363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/83f445450d01ccb5955b64cbcd61afb0.jpg","text":"TemporaryFile(/tmp/multipartBody5191901226533706684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196819860,"filename":"image_16012025_21_55_02_314263_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb7f91a73355ee496e2256028bc39dae.jpg","text":"TemporaryFile(/tmp/multipartBody4553163899532262768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196819860,"filename":"image_16012025_21_56_02_462363_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329735540","file1":"1329735518","file0":"1329735513","file4":"1329735551","file5":"1329735556","file3":"1329735545"},"map_files_photo_id_array":[{"photo_id":"1329735556","filename":"file5"},{"photo_id":"1329735540","filename":"file2"},{"photo_id":"1329735551","filename":"file4"},{"photo_id":"1329735518","filename":"file1"},{"photo_id":"1329735513","filename":"file0"},{"photo_id":"1329735545","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329735545":["hashtag1","hashtag2"]},{"1329735518":["hashtag1","hashtag2"]},{"1329735556":["hashtag1","hashtag2"]},{"1329735540":["hashtag1","hashtag2"]},{"1329735513":["hashtag1","hashtag2"]},{"1329735551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329735545, 1329735518, 1329735556, 1329735540, 1329735513, 1329735551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.15749955177307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:40:02.546230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/38/image_18012025_11_38_03_071378_0003.jpg', '/home/pi/Desktop/images/18012025/11/39/image_18012025_11_39_02_186838_0000.jpg', '/home/pi/Desktop/images/18012025/11/39/image_18012025_11_39_02_186838_0001.jpg', '/home/pi/Desktop/images/18012025/11/39/image_18012025_11_39_02_186838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/38/image_18012025_11_38_03_071378_0003.jpg
/home/pi/Desktop/images/18012025/11/39/image_18012025_11_39_02_186838_0000.jpg
/home/pi/Desktop/images/18012025/11/39/image_18012025_11_39_02_186838_0001.jpg
/home/pi/Desktop/images/18012025/11/39/image_18012025_11_39_02_186838_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329735577","1329735571","1329735567","1329735582"],"photo_ids_order":["1329735567","1329735571","1329735577","1329735582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0803ca0ce65ead9ccaa26ed120a66a8c.jpg","text":"TemporaryFile(/tmp/multipartBody4100188314877491593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196874083,"filename":"image_18012025_11_39_02_186838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4a37bc5adb0d7cdc3029985e64b06921.jpg","text":"TemporaryFile(/tmp/multipartBody4924932513217185750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196874083,"filename":"image_18012025_11_39_02_186838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f1da90bfa3f90c549db333784b569c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7003798552417092834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196874083,"filename":"image_18012025_11_38_03_071378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13ac26bfb8786575eb41c3632ae1430b.jpg","text":"TemporaryFile(/tmp/multipartBody5139510667892733919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196874083,"filename":"image_18012025_11_39_02_186838_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329735577","file1":"1329735571","file0":"1329735567","file3":"1329735582"},"map_files_photo_id_array":[{"photo_id":"1329735577","filename":"file2"},{"photo_id":"1329735571","filename":"file1"},{"photo_id":"1329735567","filename":"file0"},{"photo_id":"1329735582","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329735577":["hashtag1","hashtag2"]},{"1329735571":["hashtag1","hashtag2"]},{"1329735567":["hashtag1","hashtag2"]},{"1329735582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329735577, 1329735571, 1329735567, 1329735582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.825870990753174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:40:52.382597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/39/image_18012025_11_39_02_186838_0003.jpg', '/home/pi/Desktop/images/18012025/11/40/image_18012025_11_40_02_415670_0000.jpg', '/home/pi/Desktop/images/18012025/11/40/image_18012025_11_40_02_415670_0001.jpg', '/home/pi/Desktop/images/18012025/11/40/image_18012025_11_40_02_415670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/39/image_18012025_11_39_02_186838_0003.jpg
/home/pi/Desktop/images/18012025/11/40/image_18012025_11_40_02_415670_0000.jpg
/home/pi/Desktop/images/18012025/11/40/image_18012025_11_40_02_415670_0001.jpg
/home/pi/Desktop/images/18012025/11/40/image_18012025_11_40_02_415670_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329735926","1329735733","1329735813","1329736052"],"photo_ids_order":["1329735733","1329735813","1329735926","1329736052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1cc0e5a806cbaff674932159bafddca1.jpg","text":"TemporaryFile(/tmp/multipartBody3981942688321890815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196923468,"filename":"image_18012025_11_40_02_415670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e0bb97c3d2004484b4c316926921cde.jpg","text":"TemporaryFile(/tmp/multipartBody3413784915502274187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196923468,"filename":"image_18012025_11_39_02_186838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2d0db0e37c715e094fa8686c06f3cdff.jpg","text":"TemporaryFile(/tmp/multipartBody6881091323044916655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196923468,"filename":"image_18012025_11_40_02_415670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f58eca5f4cd677b5415612fd2f6488d2.jpg","text":"TemporaryFile(/tmp/multipartBody4159509882749544923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196923468,"filename":"image_18012025_11_40_02_415670_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329735926","file1":"1329735813","file0":"1329735733","file3":"1329736052"},"map_files_photo_id_array":[{"photo_id":"1329735926","filename":"file2"},{"photo_id":"1329735813","filename":"file1"},{"photo_id":"1329735733","filename":"file0"},{"photo_id":"1329736052","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329735926":["hashtag1","hashtag2"]},{"1329735733":["hashtag1","hashtag2"]},{"1329735813":["hashtag1","hashtag2"]},{"1329736052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329735926, 1329735733, 1329735813, 1329736052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.316625118255615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:41:32.594594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/40/image_18012025_11_40_02_415670_0003.jpg', '/home/pi/Desktop/images/18012025/11/41/image_18012025_11_41_02_505532_0000.jpg', '/home/pi/Desktop/images/18012025/11/41/image_18012025_11_41_02_505532_0001.jpg', '/home/pi/Desktop/images/18012025/11/41/image_18012025_11_41_02_505532_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/40/image_18012025_11_40_02_415670_0003.jpg
/home/pi/Desktop/images/18012025/11/41/image_18012025_11_41_02_505532_0000.jpg
/home/pi/Desktop/images/18012025/11/41/image_18012025_11_41_02_505532_0001.jpg
/home/pi/Desktop/images/18012025/11/41/image_18012025_11_41_02_505532_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329736617","1329736602","1329736619","1329736613"],"photo_ids_order":["1329736602","1329736613","1329736617","1329736619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/72da5bc49feacd4fbb161230f43d210e.jpg","text":"TemporaryFile(/tmp/multipartBody7268101475277199639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196964061,"filename":"image_18012025_11_41_02_505532_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7acbeccd5f01651ee602067e45aecd7e.jpg","text":"TemporaryFile(/tmp/multipartBody9220194171376527236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196964061,"filename":"image_18012025_11_40_02_415670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2bffa492e4d5bcdddfdbbb950e9cf7de.jpg","text":"TemporaryFile(/tmp/multipartBody5121028082108256369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196964061,"filename":"image_18012025_11_41_02_505532_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d41913f43fe25b61385c04135929e55b.jpg","text":"TemporaryFile(/tmp/multipartBody4910514840135798196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737196964061,"filename":"image_18012025_11_41_02_505532_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329736617","file1":"1329736613","file0":"1329736602","file3":"1329736619"},"map_files_photo_id_array":[{"photo_id":"1329736617","filename":"file2"},{"photo_id":"1329736613","filename":"file1"},{"photo_id":"1329736602","filename":"file0"},{"photo_id":"1329736619","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329736617":["hashtag1","hashtag2"]},{"1329736602":["hashtag1","hashtag2"]},{"1329736619":["hashtag1","hashtag2"]},{"1329736613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329736617, 1329736602, 1329736619, 1329736613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.286696434020996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:42:22.737910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/41/image_18012025_11_41_02_505532_0003.jpg', '/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0000.jpg', '/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0001.jpg', '/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/41/image_18012025_11_41_02_505532_0003.jpg
/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0000.jpg
/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0001.jpg
/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.135639667510986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 11:42:42.748594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/41/image_18012025_11_41_02_505532_0003.jpg', '/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0000.jpg', '/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0001.jpg', '/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/41/image_18012025_11_41_02_505532_0003.jpg
/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0000.jpg
/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0001.jpg
/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329736802","1329736923","1329736993","1329736700"],"photo_ids_order":["1329736700","1329736802","1329736923","1329736993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f32056ffe582c6271d63bca529b7fb8.jpg","text":"TemporaryFile(/tmp/multipartBody5657646700427325890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197034243,"filename":"image_18012025_11_42_02_917527_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f4227ad081b9af2fce1af8c2a1a1fe66.jpg","text":"TemporaryFile(/tmp/multipartBody274813900959306497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197034243,"filename":"image_18012025_11_42_02_917527_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be4bc01bb51c6df1f8c66bf6a52a0b6e.jpg","text":"TemporaryFile(/tmp/multipartBody3505352642914205346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197034243,"filename":"image_18012025_11_42_02_917527_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/614ef385af0f389ca2898cddb2919627.jpg","text":"TemporaryFile(/tmp/multipartBody2110510713583306807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197034243,"filename":"image_18012025_11_41_02_505532_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329736923","file1":"1329736802","file0":"1329736700","file3":"1329736993"},"map_files_photo_id_array":[{"photo_id":"1329736923","filename":"file2"},{"photo_id":"1329736802","filename":"file1"},{"photo_id":"1329736700","filename":"file0"},{"photo_id":"1329736993","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329736802":["hashtag1","hashtag2"]},{"1329736923":["hashtag1","hashtag2"]},{"1329736993":["hashtag1","hashtag2"]},{"1329736700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329736802, 1329736923, 1329736993, 1329736700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63816595077515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:43:31.828198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0003.jpg', '/home/pi/Desktop/images/18012025/11/43/image_18012025_11_43_03_135029_0000.jpg', '/home/pi/Desktop/images/18012025/11/43/image_18012025_11_43_03_135029_0001.jpg', '/home/pi/Desktop/images/18012025/11/43/image_18012025_11_43_03_135029_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/42/image_18012025_11_42_02_917527_0003.jpg
/home/pi/Desktop/images/18012025/11/43/image_18012025_11_43_03_135029_0000.jpg
/home/pi/Desktop/images/18012025/11/43/image_18012025_11_43_03_135029_0001.jpg
/home/pi/Desktop/images/18012025/11/43/image_18012025_11_43_03_135029_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329737101","1329737181","1329737177","1329737036"],"photo_ids_order":["1329737036","1329737101","1329737177","1329737181"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da51e0b0ad42e4d67b2224f12093ef51.jpg","text":"TemporaryFile(/tmp/multipartBody2456571941826058649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197083057,"filename":"image_18012025_11_43_03_135029_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5258adb3ce12b677e0df342292f749a8.jpg","text":"TemporaryFile(/tmp/multipartBody4260238039921468934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197083057,"filename":"image_18012025_11_43_03_135029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/023f5bbf48a5db43d0995bd9ddd4ec74.jpg","text":"TemporaryFile(/tmp/multipartBody1228747946546170461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197083057,"filename":"image_18012025_11_43_03_135029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a97cda5958a13167a5974fd6ef359fe.jpg","text":"TemporaryFile(/tmp/multipartBody7427035041743737099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197083057,"filename":"image_18012025_11_42_02_917527_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329737177","file1":"1329737101","file0":"1329737036","file3":"1329737181"},"map_files_photo_id_array":[{"photo_id":"1329737177","filename":"file2"},{"photo_id":"1329737101","filename":"file1"},{"photo_id":"1329737036","filename":"file0"},{"photo_id":"1329737181","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329737101":["hashtag1","hashtag2"]},{"1329737181":["hashtag1","hashtag2"]},{"1329737177":["hashtag1","hashtag2"]},{"1329737036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329737101, 1329737181, 1329737177, 1329737036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18884873390198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:44:22.051924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/43/image_18012025_11_43_03_135029_0003.jpg', '/home/pi/Desktop/images/18012025/11/44/image_18012025_11_44_02_243222_0000.jpg', '/home/pi/Desktop/images/18012025/11/44/image_18012025_11_44_02_243222_0001.jpg', '/home/pi/Desktop/images/18012025/11/44/image_18012025_11_44_02_243222_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/43/image_18012025_11_43_03_135029_0003.jpg
/home/pi/Desktop/images/18012025/11/44/image_18012025_11_44_02_243222_0000.jpg
/home/pi/Desktop/images/18012025/11/44/image_18012025_11_44_02_243222_0001.jpg
/home/pi/Desktop/images/18012025/11/44/image_18012025_11_44_02_243222_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329737227","1329737241","1329737223","1329737237"],"photo_ids_order":["1329737223","1329737227","1329737237","1329737241"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a26fce735f044c8795daf1048f281cf9.jpg","text":"TemporaryFile(/tmp/multipartBody3417366141244998910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197133437,"filename":"image_18012025_11_44_02_243222_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee563bbb437622f23c835f9f29443a92.jpg","text":"TemporaryFile(/tmp/multipartBody2559870578163685228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197133437,"filename":"image_18012025_11_44_02_243222_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0dbde93033fea11c3a2f1db47489ac0b.jpg","text":"TemporaryFile(/tmp/multipartBody3684360135796548181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197133437,"filename":"image_18012025_11_43_03_135029_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba49912061dc9dbaec0dab371ad13e27.jpg","text":"TemporaryFile(/tmp/multipartBody3742110890520785033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197133437,"filename":"image_18012025_11_44_02_243222_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329737237","file1":"1329737227","file0":"1329737223","file3":"1329737241"},"map_files_photo_id_array":[{"photo_id":"1329737237","filename":"file2"},{"photo_id":"1329737227","filename":"file1"},{"photo_id":"1329737223","filename":"file0"},{"photo_id":"1329737241","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329737227":["hashtag1","hashtag2"]},{"1329737241":["hashtag1","hashtag2"]},{"1329737223":["hashtag1","hashtag2"]},{"1329737237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329737227, 1329737241, 1329737223, 1329737237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.37035274505615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:45:02.954522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/57/image_16012025_21_57_02_690240_0000.jpg', '/home/pi/Desktop/images/16012025/21/57/image_16012025_21_57_02_690240_0001.jpg', '/home/pi/Desktop/images/16012025/21/57/image_16012025_21_57_02_690240_0002.jpg', '/home/pi/Desktop/images/16012025/21/57/image_16012025_21_57_02_690240_0003.jpg', '/home/pi/Desktop/images/16012025/21/58/image_16012025_21_58_02_793191_0000.jpg', '/home/pi/Desktop/images/16012025/21/58/image_16012025_21_58_02_793191_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/57/image_16012025_21_57_02_690240_0000.jpg
/home/pi/Desktop/images/16012025/21/57/image_16012025_21_57_02_690240_0001.jpg
/home/pi/Desktop/images/16012025/21/57/image_16012025_21_57_02_690240_0002.jpg
/home/pi/Desktop/images/16012025/21/57/image_16012025_21_57_02_690240_0003.jpg
/home/pi/Desktop/images/16012025/21/58/image_16012025_21_58_02_793191_0000.jpg
/home/pi/Desktop/images/16012025/21/58/image_16012025_21_58_02_793191_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":["1329737656","1329737661","1329737608","1329737652","1329737684","1329737654"],"photo_ids_order":["1329737608","1329737652","1329737654","1329737656","1329737661","1329737684"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/26e99ae638d02c24f413aaf05052f035.jpg","text":"TemporaryFile(/tmp/multipartBody181354620351706916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197179571,"filename":"image_16012025_21_57_02_690240_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/130ba8b44963bf0e7b55b3707457ca18.jpg","text":"TemporaryFile(/tmp/multipartBody7801154745059349785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197179571,"filename":"image_16012025_21_58_02_793191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c27fefd51cc10ebac40e6420445fb07.jpg","text":"TemporaryFile(/tmp/multipartBody3460061474799166136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197179571,"filename":"image_16012025_21_57_02_690240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc5f1fffb791d546653f3534e4dd1c4c.jpg","text":"TemporaryFile(/tmp/multipartBody7653091728953034538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197179571,"filename":"image_16012025_21_57_02_690240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6671f832bd862af387eef2a8c7769ed8.jpg","text":"TemporaryFile(/tmp/multipartBody6734313606694048712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197179571,"filename":"image_16012025_21_58_02_793191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/325baafdc928a7788badc1c64c7ecd06.jpg","text":"TemporaryFile(/tmp/multipartBody948141530272724673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197179571,"filename":"image_16012025_21_57_02_690240_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329737654","file1":"1329737652","file0":"1329737608","file4":"1329737661","file5":"1329737684","file3":"1329737656"},"map_files_photo_id_array":[{"photo_id":"1329737684","filename":"file5"},{"photo_id":"1329737654","filename":"file2"},{"photo_id":"1329737661","filename":"file4"},{"photo_id":"1329737652","filename":"file1"},{"photo_id":"1329737608","filename":"file0"},{"photo_id":"1329737656","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329737656":["hashtag1","hashtag2"]},{"1329737661":["hashtag1","hashtag2"]},{"1329737608":["hashtag1","hashtag2"]},{"1329737652":["hashtag1","hashtag2"]},{"1329737684":["hashtag1","hashtag2"]},{"1329737654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329737656, 1329737661, 1329737608, 1329737652, 1329737684, 1329737654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.01633048057556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:46:02.762575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/44/image_18012025_11_44_02_243222_0003.jpg', '/home/pi/Desktop/images/18012025/11/45/image_18012025_11_45_02_380487_0000.jpg', '/home/pi/Desktop/images/18012025/11/45/image_18012025_11_45_02_380487_0001.jpg', '/home/pi/Desktop/images/18012025/11/45/image_18012025_11_45_02_380487_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/44/image_18012025_11_44_02_243222_0003.jpg
/home/pi/Desktop/images/18012025/11/45/image_18012025_11_45_02_380487_0000.jpg
/home/pi/Desktop/images/18012025/11/45/image_18012025_11_45_02_380487_0001.jpg
/home/pi/Desktop/images/18012025/11/45/image_18012025_11_45_02_380487_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329737713","1329737924","1329737711","1329737839"],"photo_ids_order":["1329737711","1329737713","1329737839","1329737924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b38776eaa525f24beb7700e9a63f3b28.jpg","text":"TemporaryFile(/tmp/multipartBody9147490183558311806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197234136,"filename":"image_18012025_11_45_02_380487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ecd6ffc6e4066c5ccb30fc357ddac93e.jpg","text":"TemporaryFile(/tmp/multipartBody7586150400991789733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197234136,"filename":"image_18012025_11_45_02_380487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/410a777896bbf32ec6599d798e770dac.jpg","text":"TemporaryFile(/tmp/multipartBody7078244309035476799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197234136,"filename":"image_18012025_11_44_02_243222_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fdf6c95180bc457067506fb9a79e131e.jpg","text":"TemporaryFile(/tmp/multipartBody2462976898928915690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197234136,"filename":"image_18012025_11_45_02_380487_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329737839","file1":"1329737713","file0":"1329737711","file3":"1329737924"},"map_files_photo_id_array":[{"photo_id":"1329737839","filename":"file2"},{"photo_id":"1329737713","filename":"file1"},{"photo_id":"1329737711","filename":"file0"},{"photo_id":"1329737924","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329737713":["hashtag1","hashtag2"]},{"1329737924":["hashtag1","hashtag2"]},{"1329737711":["hashtag1","hashtag2"]},{"1329737839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329737713, 1329737924, 1329737711, 1329737839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72120547294617 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:46:52.390226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/45/image_18012025_11_45_02_380487_0003.jpg', '/home/pi/Desktop/images/18012025/11/46/image_18012025_11_46_02_619356_0000.jpg', '/home/pi/Desktop/images/18012025/11/46/image_18012025_11_46_02_619356_0001.jpg', '/home/pi/Desktop/images/18012025/11/46/image_18012025_11_46_02_619356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/45/image_18012025_11_45_02_380487_0003.jpg
/home/pi/Desktop/images/18012025/11/46/image_18012025_11_46_02_619356_0000.jpg
/home/pi/Desktop/images/18012025/11/46/image_18012025_11_46_02_619356_0001.jpg
/home/pi/Desktop/images/18012025/11/46/image_18012025_11_46_02_619356_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329738306","1329738303","1329738275","1329738278"],"photo_ids_order":["1329738275","1329738278","1329738303","1329738306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fcf2134a3d93ce659e441de9f3bd567d.jpg","text":"TemporaryFile(/tmp/multipartBody1939185792774774968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197283688,"filename":"image_18012025_11_46_02_619356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5cb04a99b003ee74db49e8afd4b75a01.jpg","text":"TemporaryFile(/tmp/multipartBody2197088054866621801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197283688,"filename":"image_18012025_11_46_02_619356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ae5da60cab40a424b5d354b1892fff0.jpg","text":"TemporaryFile(/tmp/multipartBody6660029880908464688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197283688,"filename":"image_18012025_11_45_02_380487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a17c66aab4f194d5bb6e01c57a12bc15.jpg","text":"TemporaryFile(/tmp/multipartBody7989376546523533588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197283688,"filename":"image_18012025_11_46_02_619356_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329738303","file1":"1329738278","file0":"1329738275","file3":"1329738306"},"map_files_photo_id_array":[{"photo_id":"1329738303","filename":"file2"},{"photo_id":"1329738278","filename":"file1"},{"photo_id":"1329738275","filename":"file0"},{"photo_id":"1329738306","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329738306":["hashtag1","hashtag2"]},{"1329738303":["hashtag1","hashtag2"]},{"1329738275":["hashtag1","hashtag2"]},{"1329738278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329738306, 1329738303, 1329738275, 1329738278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98217177391052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:47:32.511875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/46/image_18012025_11_46_02_619356_0003.jpg', '/home/pi/Desktop/images/18012025/11/47/image_18012025_11_47_02_774915_0000.jpg', '/home/pi/Desktop/images/18012025/11/47/image_18012025_11_47_02_774915_0001.jpg', '/home/pi/Desktop/images/18012025/11/47/image_18012025_11_47_02_774915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/46/image_18012025_11_46_02_619356_0003.jpg
/home/pi/Desktop/images/18012025/11/47/image_18012025_11_47_02_774915_0000.jpg
/home/pi/Desktop/images/18012025/11/47/image_18012025_11_47_02_774915_0001.jpg
/home/pi/Desktop/images/18012025/11/47/image_18012025_11_47_02_774915_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329738363","1329738348","1329738365","1329738359"],"photo_ids_order":["1329738348","1329738359","1329738363","1329738365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/78e4036ebdcbedb4a125f44c5192ce41.jpg","text":"TemporaryFile(/tmp/multipartBody4878246042540789700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197323374,"filename":"image_18012025_11_47_02_774915_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da56303c0117df4f6e0c8947ab755938.jpg","text":"TemporaryFile(/tmp/multipartBody5743930002566591027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197323374,"filename":"image_18012025_11_46_02_619356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9e5a410546fb41d7d7c5c9b0694eebd.jpg","text":"TemporaryFile(/tmp/multipartBody6118388145360192215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197323374,"filename":"image_18012025_11_47_02_774915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d798d19536b4df9cefa16ae82bd5cab2.jpg","text":"TemporaryFile(/tmp/multipartBody14274809682722654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197323374,"filename":"image_18012025_11_47_02_774915_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329738363","file1":"1329738359","file0":"1329738348","file3":"1329738365"},"map_files_photo_id_array":[{"photo_id":"1329738363","filename":"file2"},{"photo_id":"1329738359","filename":"file1"},{"photo_id":"1329738348","filename":"file0"},{"photo_id":"1329738365","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329738363":["hashtag1","hashtag2"]},{"1329738348":["hashtag1","hashtag2"]},{"1329738365":["hashtag1","hashtag2"]},{"1329738359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329738363, 1329738348, 1329738365, 1329738359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.910370111465454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:48:21.811191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/47/image_18012025_11_47_02_774915_0003.jpg', '/home/pi/Desktop/images/18012025/11/48/image_18012025_11_48_02_903849_0000.jpg', '/home/pi/Desktop/images/18012025/11/48/image_18012025_11_48_02_903849_0001.jpg', '/home/pi/Desktop/images/18012025/11/48/image_18012025_11_48_02_903849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/47/image_18012025_11_47_02_774915_0003.jpg
/home/pi/Desktop/images/18012025/11/48/image_18012025_11_48_02_903849_0000.jpg
/home/pi/Desktop/images/18012025/11/48/image_18012025_11_48_02_903849_0001.jpg
/home/pi/Desktop/images/18012025/11/48/image_18012025_11_48_02_903849_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329738537","1329738507","1329738470","1329738503"],"photo_ids_order":["1329738470","1329738503","1329738507","1329738537"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74bc29e455a16ae5858e8bf92006151f.jpg","text":"TemporaryFile(/tmp/multipartBody1212209852742372676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197372864,"filename":"image_18012025_11_48_02_903849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/185a0d08f8ef3ee0e13c81d9f22bebd1.jpg","text":"TemporaryFile(/tmp/multipartBody2480459492001971996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197372864,"filename":"image_18012025_11_48_02_903849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ca8b8aa8d59f5843f1e7906bd6b7b5b.jpg","text":"TemporaryFile(/tmp/multipartBody3961297812048884200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197372864,"filename":"image_18012025_11_47_02_774915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3530ce1571e626180d2cfd9ae476deea.jpg","text":"TemporaryFile(/tmp/multipartBody8426338980382357054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197372864,"filename":"image_18012025_11_48_02_903849_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329738507","file1":"1329738503","file0":"1329738470","file3":"1329738537"},"map_files_photo_id_array":[{"photo_id":"1329738507","filename":"file2"},{"photo_id":"1329738503","filename":"file1"},{"photo_id":"1329738470","filename":"file0"},{"photo_id":"1329738537","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329738537":["hashtag1","hashtag2"]},{"1329738507":["hashtag1","hashtag2"]},{"1329738470":["hashtag1","hashtag2"]},{"1329738503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329738537, 1329738507, 1329738470, 1329738503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.53404116630554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:49:22.088826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/48/image_18012025_11_48_02_903849_0003.jpg', '/home/pi/Desktop/images/18012025/11/49/image_18012025_11_49_02_190567_0000.jpg', '/home/pi/Desktop/images/18012025/11/49/image_18012025_11_49_02_190567_0001.jpg', '/home/pi/Desktop/images/18012025/11/49/image_18012025_11_49_02_190567_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/48/image_18012025_11_48_02_903849_0003.jpg
/home/pi/Desktop/images/18012025/11/49/image_18012025_11_49_02_190567_0000.jpg
/home/pi/Desktop/images/18012025/11/49/image_18012025_11_49_02_190567_0001.jpg
/home/pi/Desktop/images/18012025/11/49/image_18012025_11_49_02_190567_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329738570","1329738557","1329738574","1329738565"],"photo_ids_order":["1329738557","1329738565","1329738570","1329738574"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8fc6f923e92f0ae2b32b9e842508473b.jpg","text":"TemporaryFile(/tmp/multipartBody8955262479579073936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197433854,"filename":"image_18012025_11_49_02_190567_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/540bb9e65f4e9261f89e910ba7bf4146.jpg","text":"TemporaryFile(/tmp/multipartBody2962826290808390302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197433854,"filename":"image_18012025_11_48_02_903849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce91b6ec9799eaee104ce6d09a9e3782.jpg","text":"TemporaryFile(/tmp/multipartBody6140271068243692852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197433854,"filename":"image_18012025_11_49_02_190567_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ea0720c7cad30b0bbb945fc6781d589.jpg","text":"TemporaryFile(/tmp/multipartBody1361310089641136376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197433854,"filename":"image_18012025_11_49_02_190567_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329738570","file1":"1329738565","file0":"1329738557","file3":"1329738574"},"map_files_photo_id_array":[{"photo_id":"1329738570","filename":"file2"},{"photo_id":"1329738565","filename":"file1"},{"photo_id":"1329738557","filename":"file0"},{"photo_id":"1329738574","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329738570":["hashtag1","hashtag2"]},{"1329738557":["hashtag1","hashtag2"]},{"1329738574":["hashtag1","hashtag2"]},{"1329738565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329738570, 1329738557, 1329738574, 1329738565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.51885151863098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:50:22.194766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/49/image_18012025_11_49_02_190567_0003.jpg', '/home/pi/Desktop/images/18012025/11/50/image_18012025_11_50_02_340973_0000.jpg', '/home/pi/Desktop/images/18012025/11/50/image_18012025_11_50_02_340973_0001.jpg', '/home/pi/Desktop/images/18012025/11/50/image_18012025_11_50_02_340973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/49/image_18012025_11_49_02_190567_0003.jpg
/home/pi/Desktop/images/18012025/11/50/image_18012025_11_50_02_340973_0000.jpg
/home/pi/Desktop/images/18012025/11/50/image_18012025_11_50_02_340973_0001.jpg
/home/pi/Desktop/images/18012025/11/50/image_18012025_11_50_02_340973_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329738590","1329738595","1329738607","1329738601"],"photo_ids_order":["1329738590","1329738595","1329738601","1329738607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/64ab03b3c775ba0c88d6aa56b67a1687.jpg","text":"TemporaryFile(/tmp/multipartBody3652087764899013602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197493478,"filename":"image_18012025_11_49_02_190567_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/201b60ec23df7b5d9e1ebfc455cd0ee6.jpg","text":"TemporaryFile(/tmp/multipartBody7176937423223129955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197493478,"filename":"image_18012025_11_50_02_340973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b14859b769c3f2dccdebb94a887e8d5.jpg","text":"TemporaryFile(/tmp/multipartBody1658097865727298385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197493478,"filename":"image_18012025_11_50_02_340973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f724b044ec35e5b231d72c4415a7d299.jpg","text":"TemporaryFile(/tmp/multipartBody2738998989774817708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197493478,"filename":"image_18012025_11_50_02_340973_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329738601","file1":"1329738595","file0":"1329738590","file3":"1329738607"},"map_files_photo_id_array":[{"photo_id":"1329738601","filename":"file2"},{"photo_id":"1329738595","filename":"file1"},{"photo_id":"1329738590","filename":"file0"},{"photo_id":"1329738607","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329738590":["hashtag1","hashtag2"]},{"1329738595":["hashtag1","hashtag2"]},{"1329738607":["hashtag1","hashtag2"]},{"1329738601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329738590, 1329738595, 1329738607, 1329738601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.53783965110779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:51:03.125812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/21/58/image_16012025_21_58_02_793191_0002.jpg', '/home/pi/Desktop/images/16012025/21/58/image_16012025_21_58_02_793191_0003.jpg', '/home/pi/Desktop/images/16012025/21/59/image_16012025_21_59_03_029414_0000.jpg', '/home/pi/Desktop/images/16012025/21/59/image_16012025_21_59_03_029414_0001.jpg', '/home/pi/Desktop/images/16012025/21/59/image_16012025_21_59_03_029414_0002.jpg', '/home/pi/Desktop/images/16012025/21/59/image_16012025_21_59_03_029414_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/21/58/image_16012025_21_58_02_793191_0002.jpg
/home/pi/Desktop/images/16012025/21/58/image_16012025_21_58_02_793191_0003.jpg
/home/pi/Desktop/images/16012025/21/59/image_16012025_21_59_03_029414_0000.jpg
/home/pi/Desktop/images/16012025/21/59/image_16012025_21_59_03_029414_0001.jpg
/home/pi/Desktop/images/16012025/21/59/image_16012025_21_59_03_029414_0002.jpg
/home/pi/Desktop/images/16012025/21/59/image_16012025_21_59_03_029414_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":["1329738633","1329738620","1329738623","1329738617","1329738640","1329738628"],"photo_ids_order":["1329738617","1329738620","1329738623","1329738628","1329738633","1329738640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9093a1f9097408bbeb22ade4e3687cf.jpg","text":"TemporaryFile(/tmp/multipartBody3127387619341187015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197539564,"filename":"image_16012025_21_59_03_029414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08bf9cfae9413c9abad86388ade4868e.jpg","text":"TemporaryFile(/tmp/multipartBody6545280447309761069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197539564,"filename":"image_16012025_21_58_02_793191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/27bf7cf8871ca06af6f906f296efaddb.jpg","text":"TemporaryFile(/tmp/multipartBody2444988321254238947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197539564,"filename":"image_16012025_21_59_03_029414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ea575c98205fdda73fd18f71518eb91.jpg","text":"TemporaryFile(/tmp/multipartBody755699457351958180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197539564,"filename":"image_16012025_21_58_02_793191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b78334f741b163fe7ef6a2615fe3110c.jpg","text":"TemporaryFile(/tmp/multipartBody1345697364628828479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197539564,"filename":"image_16012025_21_59_03_029414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c22bc3bbad339399b6f53d8e88d058f.jpg","text":"TemporaryFile(/tmp/multipartBody8667927172818352798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197539564,"filename":"image_16012025_21_59_03_029414_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329738623","file1":"1329738620","file0":"1329738617","file4":"1329738633","file5":"1329738640","file3":"1329738628"},"map_files_photo_id_array":[{"photo_id":"1329738640","filename":"file5"},{"photo_id":"1329738623","filename":"file2"},{"photo_id":"1329738633","filename":"file4"},{"photo_id":"1329738620","filename":"file1"},{"photo_id":"1329738617","filename":"file0"},{"photo_id":"1329738628","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329738633":["hashtag1","hashtag2"]},{"1329738620":["hashtag1","hashtag2"]},{"1329738623":["hashtag1","hashtag2"]},{"1329738617":["hashtag1","hashtag2"]},{"1329738640":["hashtag1","hashtag2"]},{"1329738628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329738633, 1329738620, 1329738623, 1329738617, 1329738640, 1329738628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.822083711624146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:52:03.017158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/50/image_18012025_11_50_02_340973_0003.jpg', '/home/pi/Desktop/images/18012025/11/51/image_18012025_11_51_02_555644_0000.jpg', '/home/pi/Desktop/images/18012025/11/51/image_18012025_11_51_02_555644_0001.jpg', '/home/pi/Desktop/images/18012025/11/51/image_18012025_11_51_02_555644_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/50/image_18012025_11_50_02_340973_0003.jpg
/home/pi/Desktop/images/18012025/11/51/image_18012025_11_51_02_555644_0000.jpg
/home/pi/Desktop/images/18012025/11/51/image_18012025_11_51_02_555644_0001.jpg
/home/pi/Desktop/images/18012025/11/51/image_18012025_11_51_02_555644_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329738648","1329738650","1329738653","1329738678"],"photo_ids_order":["1329738648","1329738650","1329738653","1329738678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b0f4e6dfa063cd6e5a980b2d8c50ff54.jpg","text":"TemporaryFile(/tmp/multipartBody3308138358128385184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197594154,"filename":"image_18012025_11_50_02_340973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf4d9f1e816873bad359a10ce3189da3.jpg","text":"TemporaryFile(/tmp/multipartBody5531608701291593187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197594154,"filename":"image_18012025_11_51_02_555644_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6babace2458de508ee0ca973ba0011c.jpg","text":"TemporaryFile(/tmp/multipartBody418898605405426996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197594154,"filename":"image_18012025_11_51_02_555644_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18f1065a2729a3050aa1d3c5f3bac407.jpg","text":"TemporaryFile(/tmp/multipartBody1051813202021172344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197594154,"filename":"image_18012025_11_51_02_555644_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329738653","file1":"1329738650","file0":"1329738648","file3":"1329738678"},"map_files_photo_id_array":[{"photo_id":"1329738653","filename":"file2"},{"photo_id":"1329738650","filename":"file1"},{"photo_id":"1329738648","filename":"file0"},{"photo_id":"1329738678","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329738648":["hashtag1","hashtag2"]},{"1329738650":["hashtag1","hashtag2"]},{"1329738653":["hashtag1","hashtag2"]},{"1329738678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329738648, 1329738650, 1329738653, 1329738678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.74847149848938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:52:52.529328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/51/image_18012025_11_51_02_555644_0003.jpg', '/home/pi/Desktop/images/18012025/11/52/image_18012025_11_52_02_707353_0000.jpg', '/home/pi/Desktop/images/18012025/11/52/image_18012025_11_52_02_707353_0001.jpg', '/home/pi/Desktop/images/18012025/11/52/image_18012025_11_52_02_707353_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/51/image_18012025_11_51_02_555644_0003.jpg
/home/pi/Desktop/images/18012025/11/52/image_18012025_11_52_02_707353_0000.jpg
/home/pi/Desktop/images/18012025/11/52/image_18012025_11_52_02_707353_0001.jpg
/home/pi/Desktop/images/18012025/11/52/image_18012025_11_52_02_707353_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329738747","1329738740","1329738742","1329738745"],"photo_ids_order":["1329738740","1329738742","1329738745","1329738747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/764a6bd5664fd33366bb246eb6bd0f9a.jpg","text":"TemporaryFile(/tmp/multipartBody8376768309535676176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197643876,"filename":"image_18012025_11_52_02_707353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4cb8d040b4724d6e194321f2edb81549.jpg","text":"TemporaryFile(/tmp/multipartBody7539470420223211803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197643876,"filename":"image_18012025_11_51_02_555644_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3be62053d5baf231ac873d9f92cff28.jpg","text":"TemporaryFile(/tmp/multipartBody5397461428510352025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197643876,"filename":"image_18012025_11_52_02_707353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ffe0654d6424ca38e7af9326f4225d70.jpg","text":"TemporaryFile(/tmp/multipartBody4560112464611949983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197643876,"filename":"image_18012025_11_52_02_707353_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329738745","file1":"1329738742","file0":"1329738740","file3":"1329738747"},"map_files_photo_id_array":[{"photo_id":"1329738745","filename":"file2"},{"photo_id":"1329738742","filename":"file1"},{"photo_id":"1329738740","filename":"file0"},{"photo_id":"1329738747","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329738747":["hashtag1","hashtag2"]},{"1329738740":["hashtag1","hashtag2"]},{"1329738742":["hashtag1","hashtag2"]},{"1329738745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329738747, 1329738740, 1329738742, 1329738745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.97692656517029 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 11:53:42.710749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/52/image_18012025_11_52_02_707353_0003.jpg', '/home/pi/Desktop/images/18012025/11/53/image_18012025_11_53_02_898676_0000.jpg', '/home/pi/Desktop/images/18012025/11/53/image_18012025_11_53_02_898676_0001.jpg', '/home/pi/Desktop/images/18012025/11/53/image_18012025_11_53_02_898676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/52/image_18012025_11_52_02_707353_0003.jpg
/home/pi/Desktop/images/18012025/11/53/image_18012025_11_53_02_898676_0000.jpg
/home/pi/Desktop/images/18012025/11/53/image_18012025_11_53_02_898676_0001.jpg
/home/pi/Desktop/images/18012025/11/53/image_18012025_11_53_02_898676_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329738966","1329738915","1329738871","1329738910"],"photo_ids_order":["1329738871","1329738910","1329738915","1329738966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/87846f81a941fd92f8275793fc39d7f1.jpg","text":"TemporaryFile(/tmp/multipartBody679626453330288014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197693347,"filename":"image_18012025_11_53_02_898676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c9997fa8f855cf39395b6f418e6037a8.jpg","text":"TemporaryFile(/tmp/multipartBody2048087624176536849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197693347,"filename":"image_18012025_11_53_02_898676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4523cfa9e6167af628705802aaadab41.jpg","text":"TemporaryFile(/tmp/multipartBody1184029378472902118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197693347,"filename":"image_18012025_11_52_02_707353_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d2d1096ce8ecc24058ddcf6fb2b39a8.jpg","text":"TemporaryFile(/tmp/multipartBody1102205546296082570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197693347,"filename":"image_18012025_11_53_02_898676_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329738915","file1":"1329738910","file0":"1329738871","file3":"1329738966"},"map_files_photo_id_array":[{"photo_id":"1329738915","filename":"file2"},{"photo_id":"1329738910","filename":"file1"},{"photo_id":"1329738871","filename":"file0"},{"photo_id":"1329738966","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329738966":["hashtag1","hashtag2"]},{"1329738915":["hashtag1","hashtag2"]},{"1329738871":["hashtag1","hashtag2"]},{"1329738910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329738966, 1329738915, 1329738871, 1329738910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0088677406311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 11:54:31.917522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/53/image_18012025_11_53_02_898676_0003.jpg', '/home/pi/Desktop/images/18012025/11/54/image_18012025_11_54_03_066216_0000.jpg', '/home/pi/Desktop/images/18012025/11/54/image_18012025_11_54_03_066216_0001.jpg', '/home/pi/Desktop/images/18012025/11/54/image_18012025_11_54_03_066216_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/53/image_18012025_11_53_02_898676_0003.jpg
/home/pi/Desktop/images/18012025/11/54/image_18012025_11_54_03_066216_0000.jpg
/home/pi/Desktop/images/18012025/11/54/image_18012025_11_54_03_066216_0001.jpg
/home/pi/Desktop/images/18012025/11/54/image_18012025_11_54_03_066216_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329739166","1329739168","1329739141","1329739161"],"photo_ids_order":["1329739141","1329739161","1329739166","1329739168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb568d892787437aa23049e6333925a7.jpg","text":"TemporaryFile(/tmp/multipartBody453261240108398839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197742869,"filename":"image_18012025_11_54_03_066216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da77f0913a20ac2fc5f433ca99027e80.jpg","text":"TemporaryFile(/tmp/multipartBody7250690851494011340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197742869,"filename":"image_18012025_11_54_03_066216_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0489e796740b627f6bd509cc57690642.jpg","text":"TemporaryFile(/tmp/multipartBody1052239807311647750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197742869,"filename":"image_18012025_11_53_02_898676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/184926e6046bfcf916836f2c33b52b17.jpg","text":"TemporaryFile(/tmp/multipartBody8859801770056886040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197742869,"filename":"image_18012025_11_54_03_066216_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329739166","file1":"1329739161","file0":"1329739141","file3":"1329739168"},"map_files_photo_id_array":[{"photo_id":"1329739166","filename":"file2"},{"photo_id":"1329739161","filename":"file1"},{"photo_id":"1329739141","filename":"file0"},{"photo_id":"1329739168","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329739166":["hashtag1","hashtag2"]},{"1329739168":["hashtag1","hashtag2"]},{"1329739141":["hashtag1","hashtag2"]},{"1329739161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329739166, 1329739168, 1329739141, 1329739161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.73520374298096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:55:22.213602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/54/image_18012025_11_54_03_066216_0003.jpg', '/home/pi/Desktop/images/18012025/11/55/image_18012025_11_55_02_275496_0000.jpg', '/home/pi/Desktop/images/18012025/11/55/image_18012025_11_55_02_275496_0001.jpg', '/home/pi/Desktop/images/18012025/11/55/image_18012025_11_55_02_275496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/54/image_18012025_11_54_03_066216_0003.jpg
/home/pi/Desktop/images/18012025/11/55/image_18012025_11_55_02_275496_0000.jpg
/home/pi/Desktop/images/18012025/11/55/image_18012025_11_55_02_275496_0001.jpg
/home/pi/Desktop/images/18012025/11/55/image_18012025_11_55_02_275496_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329739239","1329739227","1329739232","1329739243"],"photo_ids_order":["1329739227","1329739232","1329739239","1329739243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/140b9731294ecf0c6acbd69ce1bcddd8.jpg","text":"TemporaryFile(/tmp/multipartBody8384794536230415611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197793645,"filename":"image_18012025_11_55_02_275496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cc86be3f64735bd4407480c6a76e2db5.jpg","text":"TemporaryFile(/tmp/multipartBody6866913713598036380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197793645,"filename":"image_18012025_11_54_03_066216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f5df0f755216fa5db89499dbfe3dacd.jpg","text":"TemporaryFile(/tmp/multipartBody8564566715449821179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197793645,"filename":"image_18012025_11_55_02_275496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/544fd4a76e08ad15e8d4af11f3ffecb9.jpg","text":"TemporaryFile(/tmp/multipartBody2387661101108633359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197793645,"filename":"image_18012025_11_55_02_275496_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329739239","file1":"1329739232","file0":"1329739227","file3":"1329739243"},"map_files_photo_id_array":[{"photo_id":"1329739239","filename":"file2"},{"photo_id":"1329739232","filename":"file1"},{"photo_id":"1329739227","filename":"file0"},{"photo_id":"1329739243","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329739239":["hashtag1","hashtag2"]},{"1329739227":["hashtag1","hashtag2"]},{"1329739232":["hashtag1","hashtag2"]},{"1329739243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329739239, 1329739227, 1329739232, 1329739243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.37028908729553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 11:56:22.303320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/55/image_18012025_11_55_02_275496_0003.jpg', '/home/pi/Desktop/images/18012025/11/56/image_18012025_11_56_02_563239_0000.jpg', '/home/pi/Desktop/images/18012025/11/56/image_18012025_11_56_02_563239_0001.jpg', '/home/pi/Desktop/images/18012025/11/56/image_18012025_11_56_02_563239_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/55/image_18012025_11_55_02_275496_0003.jpg
/home/pi/Desktop/images/18012025/11/56/image_18012025_11_56_02_563239_0000.jpg
/home/pi/Desktop/images/18012025/11/56/image_18012025_11_56_02_563239_0001.jpg
/home/pi/Desktop/images/18012025/11/56/image_18012025_11_56_02_563239_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329739270","1329739264","1329739258","1329739252"],"photo_ids_order":["1329739252","1329739258","1329739264","1329739270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6c8993f493b734361dcea1b1f0a8225.jpg","text":"TemporaryFile(/tmp/multipartBody6302876382903423905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197853108,"filename":"image_18012025_11_56_02_563239_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/59dfaad5233be3f079715b10d5673fd3.jpg","text":"TemporaryFile(/tmp/multipartBody1217458812822944352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197853108,"filename":"image_18012025_11_56_02_563239_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03ec58e6f2921b2d1eb51276b0bfbb44.jpg","text":"TemporaryFile(/tmp/multipartBody6040729010436502583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197853108,"filename":"image_18012025_11_56_02_563239_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a79298697dfa43c937ef7a28da743f00.jpg","text":"TemporaryFile(/tmp/multipartBody878214980944150980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197853108,"filename":"image_18012025_11_55_02_275496_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329739264","file1":"1329739258","file0":"1329739252","file3":"1329739270"},"map_files_photo_id_array":[{"photo_id":"1329739264","filename":"file2"},{"photo_id":"1329739258","filename":"file1"},{"photo_id":"1329739252","filename":"file0"},{"photo_id":"1329739270","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329739270":["hashtag1","hashtag2"]},{"1329739264":["hashtag1","hashtag2"]},{"1329739258":["hashtag1","hashtag2"]},{"1329739252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329739270, 1329739264, 1329739258, 1329739252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36768460273743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:57:03.048714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/00/image_16012025_22_00_02_265679_0000.jpg', '/home/pi/Desktop/images/16012025/22/00/image_16012025_22_00_02_265679_0001.jpg', '/home/pi/Desktop/images/16012025/22/00/image_16012025_22_00_02_265679_0002.jpg', '/home/pi/Desktop/images/16012025/22/00/image_16012025_22_00_02_265679_0003.jpg', '/home/pi/Desktop/images/16012025/22/01/image_16012025_22_01_02_378317_0000.jpg', '/home/pi/Desktop/images/16012025/22/01/image_16012025_22_01_02_378317_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/00/image_16012025_22_00_02_265679_0000.jpg
/home/pi/Desktop/images/16012025/22/00/image_16012025_22_00_02_265679_0001.jpg
/home/pi/Desktop/images/16012025/22/00/image_16012025_22_00_02_265679_0002.jpg
/home/pi/Desktop/images/16012025/22/00/image_16012025_22_00_02_265679_0003.jpg
/home/pi/Desktop/images/16012025/22/01/image_16012025_22_01_02_378317_0000.jpg
/home/pi/Desktop/images/16012025/22/01/image_16012025_22_01_02_378317_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":["1329739305","1329739308","1329739312","1329739315","1329739299","1329739303"],"photo_ids_order":["1329739299","1329739303","1329739305","1329739308","1329739312","1329739315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ddfa483ba9e827d6afe7557c839d28dd.jpg","text":"TemporaryFile(/tmp/multipartBody6351549538299814397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197900147,"filename":"image_16012025_22_00_02_265679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b8afc50bb3f52fc8eb57dc58fb2e97c6.jpg","text":"TemporaryFile(/tmp/multipartBody2409055543277949624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197900147,"filename":"image_16012025_22_00_02_265679_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/81aba51f6e1ee9d3d842b128868fe62f.jpg","text":"TemporaryFile(/tmp/multipartBody7787217170228365253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197900147,"filename":"image_16012025_22_01_02_378317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/111b3e92010d9c4cc77a3fef6de268c8.jpg","text":"TemporaryFile(/tmp/multipartBody3441309093020596231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197900147,"filename":"image_16012025_22_01_02_378317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1c3b22995743a6b01b5b62c7189a980e.jpg","text":"TemporaryFile(/tmp/multipartBody1806746354621056300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197900147,"filename":"image_16012025_22_00_02_265679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65f0b790eb564e4b737c95af47980e5d.jpg","text":"TemporaryFile(/tmp/multipartBody6952438809456173711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737197900147,"filename":"image_16012025_22_00_02_265679_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329739305","file1":"1329739303","file0":"1329739299","file4":"1329739312","file5":"1329739315","file3":"1329739308"},"map_files_photo_id_array":[{"photo_id":"1329739315","filename":"file5"},{"photo_id":"1329739305","filename":"file2"},{"photo_id":"1329739312","filename":"file4"},{"photo_id":"1329739303","filename":"file1"},{"photo_id":"1329739299","filename":"file0"},{"photo_id":"1329739308","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329739305":["hashtag1","hashtag2"]},{"1329739308":["hashtag1","hashtag2"]},{"1329739312":["hashtag1","hashtag2"]},{"1329739315":["hashtag1","hashtag2"]},{"1329739299":["hashtag1","hashtag2"]},{"1329739303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329739305, 1329739308, 1329739312, 1329739315, 1329739299, 1329739303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.56652331352234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 11:59:03.478557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/56/image_18012025_11_56_02_563239_0003.jpg', '/home/pi/Desktop/images/18012025/11/57/image_18012025_11_57_02_694195_0000.jpg', '/home/pi/Desktop/images/18012025/11/57/image_18012025_11_57_02_694195_0001.jpg', '/home/pi/Desktop/images/18012025/11/57/image_18012025_11_57_02_694195_0002.jpg', '/home/pi/Desktop/images/18012025/11/57/image_18012025_11_57_02_694195_0003.jpg', '/home/pi/Desktop/images/18012025/11/58/image_18012025_11_58_02_844982_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/56/image_18012025_11_56_02_563239_0003.jpg
/home/pi/Desktop/images/18012025/11/57/image_18012025_11_57_02_694195_0000.jpg
/home/pi/Desktop/images/18012025/11/57/image_18012025_11_57_02_694195_0001.jpg
/home/pi/Desktop/images/18012025/11/57/image_18012025_11_57_02_694195_0002.jpg
/home/pi/Desktop/images/18012025/11/57/image_18012025_11_57_02_694195_0003.jpg
/home/pi/Desktop/images/18012025/11/58/image_18012025_11_58_02_844982_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329739571","1329739678","1329739573","1329739405","1329739420","1329739414"],"photo_ids_order":["1329739405","1329739414","1329739420","1329739571","1329739573","1329739678"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/892a62812519abe9a05c2edfe1defaa8.jpg","text":"TemporaryFile(/tmp/multipartBody2780005312416848366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198018911,"filename":"image_18012025_11_57_02_694195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/224f45073a772259c967c5f9d51c4b9a.jpg","text":"TemporaryFile(/tmp/multipartBody2918389319349319671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198018911,"filename":"image_18012025_11_58_02_844982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bfa2bb9e666347f4ddb2c591f6caa550.jpg","text":"TemporaryFile(/tmp/multipartBody6806111647213936943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198018911,"filename":"image_18012025_11_57_02_694195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4cf5c386dd05c2ec9306a1209a856262.jpg","text":"TemporaryFile(/tmp/multipartBody1833767775883021748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198018911,"filename":"image_18012025_11_56_02_563239_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/138549f685d73746b3aa04be3c81f1a0.jpg","text":"TemporaryFile(/tmp/multipartBody2076206267583832533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198018911,"filename":"image_18012025_11_57_02_694195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/78b44d213ba48f7037d3b9794dceb764.jpg","text":"TemporaryFile(/tmp/multipartBody3400798576418546466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198018911,"filename":"image_18012025_11_57_02_694195_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329739420","file1":"1329739414","file0":"1329739405","file4":"1329739573","file5":"1329739678","file3":"1329739571"},"map_files_photo_id_array":[{"photo_id":"1329739678","filename":"file5"},{"photo_id":"1329739420","filename":"file2"},{"photo_id":"1329739573","filename":"file4"},{"photo_id":"1329739414","filename":"file1"},{"photo_id":"1329739405","filename":"file0"},{"photo_id":"1329739571","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329739571":["hashtag1","hashtag2"]},{"1329739678":["hashtag1","hashtag2"]},{"1329739573":["hashtag1","hashtag2"]},{"1329739405":["hashtag1","hashtag2"]},{"1329739420":["hashtag1","hashtag2"]},{"1329739414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329739571, 1329739678, 1329739573, 1329739405, 1329739420, 1329739414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.459025144577026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:01:21.432336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/58/image_18012025_11_58_02_844982_0001.jpg', '/home/pi/Desktop/images/18012025/11/58/image_18012025_11_58_02_844982_0002.jpg', '/home/pi/Desktop/images/18012025/11/58/image_18012025_11_58_02_844982_0003.jpg', '/home/pi/Desktop/images/18012025/11/59/image_18012025_11_59_02_971966_0000.jpg', '/home/pi/Desktop/images/18012025/11/59/image_18012025_11_59_02_971966_0001.jpg', '/home/pi/Desktop/images/18012025/11/59/image_18012025_11_59_02_971966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/58/image_18012025_11_58_02_844982_0001.jpg
/home/pi/Desktop/images/18012025/11/58/image_18012025_11_58_02_844982_0002.jpg
/home/pi/Desktop/images/18012025/11/58/image_18012025_11_58_02_844982_0003.jpg
/home/pi/Desktop/images/18012025/11/59/image_18012025_11_59_02_971966_0000.jpg
/home/pi/Desktop/images/18012025/11/59/image_18012025_11_59_02_971966_0001.jpg
/home/pi/Desktop/images/18012025/11/59/image_18012025_11_59_02_971966_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329739926","1329739952","1329739943","1329739948","1329739933","1329739962"],"photo_ids_order":["1329739926","1329739933","1329739943","1329739948","1329739952","1329739962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5efcc0658dbd20b02561c3b3a4fc5868.jpg","text":"TemporaryFile(/tmp/multipartBody8875353106141514655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198157883,"filename":"image_18012025_11_58_02_844982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/df3f97695a08408ac0f2d5dd84ebdb5d.jpg","text":"TemporaryFile(/tmp/multipartBody191798622460933849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198157883,"filename":"image_18012025_11_59_02_971966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e055688a9059bf019a5d2f66ec8383ca.jpg","text":"TemporaryFile(/tmp/multipartBody46944822444173254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198157883,"filename":"image_18012025_11_58_02_844982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/916c2ecefea6238f362ddefdd1993ac8.jpg","text":"TemporaryFile(/tmp/multipartBody6233339060950774187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198157883,"filename":"image_18012025_11_59_02_971966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/51c8b9f1e91104f51ca66525fc36c909.jpg","text":"TemporaryFile(/tmp/multipartBody4497021343352282630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198157883,"filename":"image_18012025_11_58_02_844982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aeff8481a7123dc8bbb737939b2e50bc.jpg","text":"TemporaryFile(/tmp/multipartBody6184818411215444569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198157883,"filename":"image_18012025_11_59_02_971966_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329739943","file1":"1329739933","file0":"1329739926","file4":"1329739952","file5":"1329739962","file3":"1329739948"},"map_files_photo_id_array":[{"photo_id":"1329739962","filename":"file5"},{"photo_id":"1329739943","filename":"file2"},{"photo_id":"1329739952","filename":"file4"},{"photo_id":"1329739933","filename":"file1"},{"photo_id":"1329739926","filename":"file0"},{"photo_id":"1329739948","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329739926":["hashtag1","hashtag2"]},{"1329739952":["hashtag1","hashtag2"]},{"1329739943":["hashtag1","hashtag2"]},{"1329739948":["hashtag1","hashtag2"]},{"1329739933":["hashtag1","hashtag2"]},{"1329739962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329739926, 1329739952, 1329739943, 1329739948, 1329739933, 1329739962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.93585419654846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:02:22.634874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/11/59/image_18012025_11_59_02_971966_0003.jpg', '/home/pi/Desktop/images/18012025/12/00/image_18012025_12_00_03_132020_0000.jpg', '/home/pi/Desktop/images/18012025/12/00/image_18012025_12_00_03_132020_0001.jpg', '/home/pi/Desktop/images/18012025/12/00/image_18012025_12_00_03_132020_0002.jpg', '/home/pi/Desktop/images/18012025/12/00/image_18012025_12_00_03_132020_0003.jpg', '/home/pi/Desktop/images/18012025/12/02/image_18012025_12_02_19_781864_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/11/59/image_18012025_11_59_02_971966_0003.jpg
/home/pi/Desktop/images/18012025/12/00/image_18012025_12_00_03_132020_0000.jpg
/home/pi/Desktop/images/18012025/12/00/image_18012025_12_00_03_132020_0001.jpg
/home/pi/Desktop/images/18012025/12/00/image_18012025_12_00_03_132020_0002.jpg
/home/pi/Desktop/images/18012025/12/00/image_18012025_12_00_03_132020_0003.jpg
/home/pi/Desktop/images/18012025/12/02/image_18012025_12_02_19_781864_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329740005","1329739985","1329739988","1329739999","1329739980","1329739974"],"photo_ids_order":["1329739974","1329739980","1329739985","1329739988","1329739999","1329740005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e6b0dda17fdab999fa0cbf2cd3f12d9.jpg","text":"TemporaryFile(/tmp/multipartBody5317314251778672641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198219127,"filename":"image_18012025_12_02_19_781864_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fdad59d99cb6c08b81ad3cbdc17a3687.jpg","text":"TemporaryFile(/tmp/multipartBody1035604546946918759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198219127,"filename":"image_18012025_12_00_03_132020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/030438f55310b063986c845af6a593f1.jpg","text":"TemporaryFile(/tmp/multipartBody2608466258553826175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198219127,"filename":"image_18012025_12_00_03_132020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/976f5213344b76bd207ca8780eadf955.jpg","text":"TemporaryFile(/tmp/multipartBody5253242983682027521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198219127,"filename":"image_18012025_12_00_03_132020_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee81c5f550a7c9af526c608f14fba0ce.jpg","text":"TemporaryFile(/tmp/multipartBody4732514063481340627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198219127,"filename":"image_18012025_12_00_03_132020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4eff068ad9dbd58598e615e915b040f5.jpg","text":"TemporaryFile(/tmp/multipartBody7027146117593426493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198219127,"filename":"image_18012025_11_59_02_971966_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329739985","file1":"1329739980","file0":"1329739974","file4":"1329739999","file5":"1329740005","file3":"1329739988"},"map_files_photo_id_array":[{"photo_id":"1329740005","filename":"file5"},{"photo_id":"1329739985","filename":"file2"},{"photo_id":"1329739999","filename":"file4"},{"photo_id":"1329739980","filename":"file1"},{"photo_id":"1329739974","filename":"file0"},{"photo_id":"1329739988","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329740005":["hashtag1","hashtag2"]},{"1329739985":["hashtag1","hashtag2"]},{"1329739988":["hashtag1","hashtag2"]},{"1329739999":["hashtag1","hashtag2"]},{"1329739980":["hashtag1","hashtag2"]},{"1329739974":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329740005, 1329739985, 1329739988, 1329739999, 1329739980, 1329739974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.93656539916992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:03:21.854043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/02/image_18012025_12_02_19_781864_0001.jpg', '/home/pi/Desktop/images/18012025/12/02/image_18012025_12_02_19_781864_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/02/image_18012025_12_02_19_781864_0001.jpg
/home/pi/Desktop/images/18012025/12/02/image_18012025_12_02_19_781864_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329740043","1329740040"],"photo_ids_order":["1329740040","1329740043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/487c778d0396d1db49bc0278817186fd.jpg","text":"TemporaryFile(/tmp/multipartBody477999694846937053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198267459,"filename":"image_18012025_12_02_19_781864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f8bdaffe6ac108901cc4338a03ded3d.jpg","text":"TemporaryFile(/tmp/multipartBody5114259330807779977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198267459,"filename":"image_18012025_12_02_19_781864_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329740043","file0":"1329740040"},"map_files_photo_id_array":[{"photo_id":"1329740043","filename":"file1"},{"photo_id":"1329740040","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329740043":["hashtag1","hashtag2"]},{"1329740040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329740043, 1329740040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.70661735534668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 12:03:51.769246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/01/image_16012025_22_01_02_378317_0002.jpg', '/home/pi/Desktop/images/16012025/22/01/image_16012025_22_01_02_378317_0003.jpg', '/home/pi/Desktop/images/16012025/22/02/image_16012025_22_02_02_672178_0000.jpg', '/home/pi/Desktop/images/16012025/22/02/image_16012025_22_02_02_672178_0001.jpg', '/home/pi/Desktop/images/16012025/22/02/image_16012025_22_02_02_672178_0002.jpg', '/home/pi/Desktop/images/16012025/22/02/image_16012025_22_02_02_672178_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/01/image_16012025_22_01_02_378317_0002.jpg
/home/pi/Desktop/images/16012025/22/01/image_16012025_22_01_02_378317_0003.jpg
/home/pi/Desktop/images/16012025/22/02/image_16012025_22_02_02_672178_0000.jpg
/home/pi/Desktop/images/16012025/22/02/image_16012025_22_02_02_672178_0001.jpg
/home/pi/Desktop/images/16012025/22/02/image_16012025_22_02_02_672178_0002.jpg
/home/pi/Desktop/images/16012025/22/02/image_16012025_22_02_02_672178_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":["1329740136","1329740127","1329740132","1329740129","1329740111","1329740140"],"photo_ids_order":["1329740111","1329740127","1329740129","1329740132","1329740136","1329740140"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/718095c1a57d800c84e4e3e3bdf7ffd3.jpg","text":"TemporaryFile(/tmp/multipartBody4918303688590404554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198308981,"filename":"image_16012025_22_02_02_672178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95477f9e166d26e85c670b32b2ed63fa.jpg","text":"TemporaryFile(/tmp/multipartBody1177566954747911795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198308981,"filename":"image_16012025_22_01_02_378317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a323ae1be4406bc7bae4098397c5d098.jpg","text":"TemporaryFile(/tmp/multipartBody3434242607377037031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198308981,"filename":"image_16012025_22_02_02_672178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/40181fceac760cd290f188e9dced062b.jpg","text":"TemporaryFile(/tmp/multipartBody8141678837255131324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198308981,"filename":"image_16012025_22_02_02_672178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b44e58033026691c2a75a9223f449888.jpg","text":"TemporaryFile(/tmp/multipartBody2101885903930240388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198308981,"filename":"image_16012025_22_01_02_378317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e4c612d75f7d2edb5b2e8e5ca1aac83.jpg","text":"TemporaryFile(/tmp/multipartBody2648285037763443010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198308981,"filename":"image_16012025_22_02_02_672178_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329740129","file1":"1329740127","file0":"1329740111","file4":"1329740136","file5":"1329740140","file3":"1329740132"},"map_files_photo_id_array":[{"photo_id":"1329740140","filename":"file5"},{"photo_id":"1329740129","filename":"file2"},{"photo_id":"1329740136","filename":"file4"},{"photo_id":"1329740127","filename":"file1"},{"photo_id":"1329740111","filename":"file0"},{"photo_id":"1329740132","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329740136":["hashtag1","hashtag2"]},{"1329740127":["hashtag1","hashtag2"]},{"1329740132":["hashtag1","hashtag2"]},{"1329740129":["hashtag1","hashtag2"]},{"1329740111":["hashtag1","hashtag2"]},{"1329740140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329740136, 1329740127, 1329740132, 1329740129, 1329740111, 1329740140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.10561275482178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 12:04:51.908829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/02/image_18012025_12_02_19_781864_0003.jpg', '/home/pi/Desktop/images/18012025/12/04/image_18012025_12_04_02_182788_0000.jpg', '/home/pi/Desktop/images/18012025/12/04/image_18012025_12_04_02_182788_0001.jpg', '/home/pi/Desktop/images/18012025/12/04/image_18012025_12_04_02_182788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/02/image_18012025_12_02_19_781864_0003.jpg
/home/pi/Desktop/images/18012025/12/04/image_18012025_12_04_02_182788_0000.jpg
/home/pi/Desktop/images/18012025/12/04/image_18012025_12_04_02_182788_0001.jpg
/home/pi/Desktop/images/18012025/12/04/image_18012025_12_04_02_182788_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329740169","1329740154","1329740159","1329740164"],"photo_ids_order":["1329740154","1329740159","1329740164","1329740169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/545e8352274ed421b8e40110547dd345.jpg","text":"TemporaryFile(/tmp/multipartBody804162191033169547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198362656,"filename":"image_18012025_12_04_02_182788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e84fdc3cb01c23c7e1ce6fa204f3057.jpg","text":"TemporaryFile(/tmp/multipartBody5427756566000728233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198362656,"filename":"image_18012025_12_02_19_781864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/40fe8e6ca7df1171761bf5460230f3ad.jpg","text":"TemporaryFile(/tmp/multipartBody1596713596695849785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198362656,"filename":"image_18012025_12_04_02_182788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d2ec0022b0d944323f7756ebcc29a6a.jpg","text":"TemporaryFile(/tmp/multipartBody5166811193375293011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198362656,"filename":"image_18012025_12_04_02_182788_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329740164","file1":"1329740159","file0":"1329740154","file3":"1329740169"},"map_files_photo_id_array":[{"photo_id":"1329740164","filename":"file2"},{"photo_id":"1329740159","filename":"file1"},{"photo_id":"1329740154","filename":"file0"},{"photo_id":"1329740169","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329740169":["hashtag1","hashtag2"]},{"1329740154":["hashtag1","hashtag2"]},{"1329740159":["hashtag1","hashtag2"]},{"1329740164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329740169, 1329740154, 1329740159, 1329740164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80549693107605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 12:05:32.156190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/04/image_18012025_12_04_02_182788_0003.jpg', '/home/pi/Desktop/images/18012025/12/05/image_18012025_12_05_02_289744_0000.jpg', '/home/pi/Desktop/images/18012025/12/05/image_18012025_12_05_02_289744_0001.jpg', '/home/pi/Desktop/images/18012025/12/05/image_18012025_12_05_02_289744_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/04/image_18012025_12_04_02_182788_0003.jpg
/home/pi/Desktop/images/18012025/12/05/image_18012025_12_05_02_289744_0000.jpg
/home/pi/Desktop/images/18012025/12/05/image_18012025_12_05_02_289744_0001.jpg
/home/pi/Desktop/images/18012025/12/05/image_18012025_12_05_02_289744_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329740193","1329740196","1329740186","1329740190"],"photo_ids_order":["1329740186","1329740190","1329740193","1329740196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/61665a7b6ab5069c7446ec26fe56b3cb.jpg","text":"TemporaryFile(/tmp/multipartBody5983635428907832300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198402676,"filename":"image_18012025_12_05_02_289744_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ff3da9bb6eecd4f099dc6749550ed77.jpg","text":"TemporaryFile(/tmp/multipartBody150334273409476893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198402676,"filename":"image_18012025_12_05_02_289744_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03af3cecba2d5f3208dc43db9f8ac9ce.jpg","text":"TemporaryFile(/tmp/multipartBody6670360836633246976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198402676,"filename":"image_18012025_12_04_02_182788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee0c322dbd0f7bbdbc005b348c394485.jpg","text":"TemporaryFile(/tmp/multipartBody1921249429613467002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198402676,"filename":"image_18012025_12_05_02_289744_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329740193","file1":"1329740190","file0":"1329740186","file3":"1329740196"},"map_files_photo_id_array":[{"photo_id":"1329740193","filename":"file2"},{"photo_id":"1329740190","filename":"file1"},{"photo_id":"1329740186","filename":"file0"},{"photo_id":"1329740196","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329740193":["hashtag1","hashtag2"]},{"1329740196":["hashtag1","hashtag2"]},{"1329740186":["hashtag1","hashtag2"]},{"1329740190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329740193, 1329740196, 1329740186, 1329740190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04405236244202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:06:22.469620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/05/image_18012025_12_05_02_289744_0003.jpg', '/home/pi/Desktop/images/18012025/12/06/image_18012025_12_06_02_462132_0000.jpg', '/home/pi/Desktop/images/18012025/12/06/image_18012025_12_06_02_462132_0001.jpg', '/home/pi/Desktop/images/18012025/12/06/image_18012025_12_06_02_462132_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/05/image_18012025_12_05_02_289744_0003.jpg
/home/pi/Desktop/images/18012025/12/06/image_18012025_12_06_02_462132_0000.jpg
/home/pi/Desktop/images/18012025/12/06/image_18012025_12_06_02_462132_0001.jpg
/home/pi/Desktop/images/18012025/12/06/image_18012025_12_06_02_462132_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329741173","1329741179","1329741167","1329741183"],"photo_ids_order":["1329741167","1329741173","1329741179","1329741183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9f1d3ff40fd99f0b82e51c69946d8add.jpg","text":"TemporaryFile(/tmp/multipartBody6732107806130955890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198453445,"filename":"image_18012025_12_06_02_462132_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fc16e6a1e1b4328c779f2f9abaf6477f.jpg","text":"TemporaryFile(/tmp/multipartBody4264801414205265643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198453445,"filename":"image_18012025_12_06_02_462132_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b3a07521e1d260e3490683cc8694b6b.jpg","text":"TemporaryFile(/tmp/multipartBody8090224807229987368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198453445,"filename":"image_18012025_12_05_02_289744_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/31262b8e8d5f9433aace693583240121.jpg","text":"TemporaryFile(/tmp/multipartBody8487984172794454433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198453445,"filename":"image_18012025_12_06_02_462132_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329741179","file1":"1329741173","file0":"1329741167","file3":"1329741183"},"map_files_photo_id_array":[{"photo_id":"1329741179","filename":"file2"},{"photo_id":"1329741173","filename":"file1"},{"photo_id":"1329741167","filename":"file0"},{"photo_id":"1329741183","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329741173":["hashtag1","hashtag2"]},{"1329741179":["hashtag1","hashtag2"]},{"1329741167":["hashtag1","hashtag2"]},{"1329741183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329741173, 1329741179, 1329741167, 1329741183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68605303764343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:07:22.451726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/06/image_18012025_12_06_02_462132_0003.jpg', '/home/pi/Desktop/images/18012025/12/07/image_18012025_12_07_02_610301_0000.jpg', '/home/pi/Desktop/images/18012025/12/07/image_18012025_12_07_02_610301_0001.jpg', '/home/pi/Desktop/images/18012025/12/07/image_18012025_12_07_02_610301_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/06/image_18012025_12_06_02_462132_0003.jpg
/home/pi/Desktop/images/18012025/12/07/image_18012025_12_07_02_610301_0000.jpg
/home/pi/Desktop/images/18012025/12/07/image_18012025_12_07_02_610301_0001.jpg
/home/pi/Desktop/images/18012025/12/07/image_18012025_12_07_02_610301_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329741206","1329741527","1329741256","1329741489"],"photo_ids_order":["1329741206","1329741256","1329741489","1329741527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d62ad40ff561bb2fb32543e637ae7cce.jpg","text":"TemporaryFile(/tmp/multipartBody1367067533474614895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198513488,"filename":"image_18012025_12_06_02_462132_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3af1b1623a1ba31a1498d581eb076dd.jpg","text":"TemporaryFile(/tmp/multipartBody4036587043386075990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198513488,"filename":"image_18012025_12_07_02_610301_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/107c94ce0629783cb7217a7778b5cd31.jpg","text":"TemporaryFile(/tmp/multipartBody2104336845608774722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198513488,"filename":"image_18012025_12_07_02_610301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d947f5a787f45aa7e1628d924d6828b0.jpg","text":"TemporaryFile(/tmp/multipartBody1889196478665643375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198513488,"filename":"image_18012025_12_07_02_610301_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329741489","file1":"1329741256","file0":"1329741206","file3":"1329741527"},"map_files_photo_id_array":[{"photo_id":"1329741489","filename":"file2"},{"photo_id":"1329741256","filename":"file1"},{"photo_id":"1329741206","filename":"file0"},{"photo_id":"1329741527","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329741206":["hashtag1","hashtag2"]},{"1329741527":["hashtag1","hashtag2"]},{"1329741256":["hashtag1","hashtag2"]},{"1329741489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329741206, 1329741527, 1329741256, 1329741489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.32806086540222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:08:22.658343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/07/image_18012025_12_07_02_610301_0003.jpg', '/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0000.jpg', '/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0001.jpg', '/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/07/image_18012025_12_07_02_610301_0003.jpg
/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0000.jpg
/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0001.jpg
/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.000426292419434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 12:08:42.635268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/07/image_18012025_12_07_02_610301_0003.jpg', '/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0000.jpg', '/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0001.jpg', '/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/07/image_18012025_12_07_02_610301_0003.jpg
/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0000.jpg
/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0001.jpg
/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329741717","1329741711","1329741714","1329741718"],"photo_ids_order":["1329741711","1329741714","1329741717","1329741718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3656c7887787ff0a9ce188d33906e337.jpg","text":"TemporaryFile(/tmp/multipartBody6436510599222129643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198594077,"filename":"image_18012025_12_08_02_812515_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7c29b888c49bb4a8ec9d87a2bad07a7.jpg","text":"TemporaryFile(/tmp/multipartBody1662883827957638109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198594077,"filename":"image_18012025_12_07_02_610301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65b84b5f651bb74409fda205e08e9b33.jpg","text":"TemporaryFile(/tmp/multipartBody4256221518650468612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198594077,"filename":"image_18012025_12_08_02_812515_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/27209b41c511f2f7dbbb815f7c2ad27b.jpg","text":"TemporaryFile(/tmp/multipartBody3466104621646040671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198594077,"filename":"image_18012025_12_08_02_812515_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329741717","file1":"1329741714","file0":"1329741711","file3":"1329741718"},"map_files_photo_id_array":[{"photo_id":"1329741717","filename":"file2"},{"photo_id":"1329741714","filename":"file1"},{"photo_id":"1329741711","filename":"file0"},{"photo_id":"1329741718","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329741717":["hashtag1","hashtag2"]},{"1329741711":["hashtag1","hashtag2"]},{"1329741714":["hashtag1","hashtag2"]},{"1329741718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329741717, 1329741711, 1329741714, 1329741718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.104440212249756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 12:09:31.894198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0003.jpg', '/home/pi/Desktop/images/18012025/12/09/image_18012025_12_09_03_069462_0000.jpg', '/home/pi/Desktop/images/18012025/12/09/image_18012025_12_09_03_069462_0001.jpg', '/home/pi/Desktop/images/18012025/12/09/image_18012025_12_09_03_069462_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/08/image_18012025_12_08_02_812515_0003.jpg
/home/pi/Desktop/images/18012025/12/09/image_18012025_12_09_03_069462_0000.jpg
/home/pi/Desktop/images/18012025/12/09/image_18012025_12_09_03_069462_0001.jpg
/home/pi/Desktop/images/18012025/12/09/image_18012025_12_09_03_069462_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329741731","1329741749","1329741745","1329741739"],"photo_ids_order":["1329741731","1329741739","1329741745","1329741749"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c727a1bfdee4199492b85c00e4014077.jpg","text":"TemporaryFile(/tmp/multipartBody1196551930589743116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198643056,"filename":"image_18012025_12_08_02_812515_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6dc04bdc3297cbb50ac285fe143c4a81.jpg","text":"TemporaryFile(/tmp/multipartBody8668510673968892045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198643056,"filename":"image_18012025_12_09_03_069462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e5469395f5136c1c8c7413591cf92b7.jpg","text":"TemporaryFile(/tmp/multipartBody1918284804420708946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198643056,"filename":"image_18012025_12_09_03_069462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28dacff13873966443071750a5fa6c1f.jpg","text":"TemporaryFile(/tmp/multipartBody1876267734970500901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198643056,"filename":"image_18012025_12_09_03_069462_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329741745","file1":"1329741739","file0":"1329741731","file3":"1329741749"},"map_files_photo_id_array":[{"photo_id":"1329741745","filename":"file2"},{"photo_id":"1329741739","filename":"file1"},{"photo_id":"1329741731","filename":"file0"},{"photo_id":"1329741749","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329741731":["hashtag1","hashtag2"]},{"1329741749":["hashtag1","hashtag2"]},{"1329741745":["hashtag1","hashtag2"]},{"1329741739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329741731, 1329741749, 1329741745, 1329741739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.529696464538574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:10:22.034360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/09/image_18012025_12_09_03_069462_0003.jpg', '/home/pi/Desktop/images/18012025/12/10/image_18012025_12_10_02_300765_0000.jpg', '/home/pi/Desktop/images/18012025/12/10/image_18012025_12_10_02_300765_0001.jpg', '/home/pi/Desktop/images/18012025/12/10/image_18012025_12_10_02_300765_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/09/image_18012025_12_09_03_069462_0003.jpg
/home/pi/Desktop/images/18012025/12/10/image_18012025_12_10_02_300765_0000.jpg
/home/pi/Desktop/images/18012025/12/10/image_18012025_12_10_02_300765_0001.jpg
/home/pi/Desktop/images/18012025/12/10/image_18012025_12_10_02_300765_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329741764","1329741760","1329741757","1329741768"],"photo_ids_order":["1329741757","1329741760","1329741764","1329741768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e4860823e39cd887b9a912a1c6b0fb1d.jpg","text":"TemporaryFile(/tmp/multipartBody1958974539637136208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198693172,"filename":"image_18012025_12_10_02_300765_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/806a2507820cedf80d34cbd4b09deb0f.jpg","text":"TemporaryFile(/tmp/multipartBody8126550002471875673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198693172,"filename":"image_18012025_12_10_02_300765_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7d032c978e0afd1004d9717d89093bb.jpg","text":"TemporaryFile(/tmp/multipartBody3565737072484420565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198693172,"filename":"image_18012025_12_09_03_069462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7fa6e359ba8d5d98378efdc058affeb6.jpg","text":"TemporaryFile(/tmp/multipartBody4574663273828893558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198693172,"filename":"image_18012025_12_10_02_300765_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329741764","file1":"1329741760","file0":"1329741757","file3":"1329741768"},"map_files_photo_id_array":[{"photo_id":"1329741764","filename":"file2"},{"photo_id":"1329741760","filename":"file1"},{"photo_id":"1329741757","filename":"file0"},{"photo_id":"1329741768","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329741764":["hashtag1","hashtag2"]},{"1329741760":["hashtag1","hashtag2"]},{"1329741757":["hashtag1","hashtag2"]},{"1329741768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329741764, 1329741760, 1329741757, 1329741768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8345205783844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:11:02.827259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/03/image_16012025_22_03_02_792559_0000.jpg', '/home/pi/Desktop/images/16012025/22/03/image_16012025_22_03_02_792559_0001.jpg', '/home/pi/Desktop/images/16012025/22/03/image_16012025_22_03_02_792559_0002.jpg', '/home/pi/Desktop/images/16012025/22/03/image_16012025_22_03_02_792559_0003.jpg', '/home/pi/Desktop/images/16012025/22/04/image_16012025_22_04_02_964136_0000.jpg', '/home/pi/Desktop/images/16012025/22/04/image_16012025_22_04_02_964136_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/03/image_16012025_22_03_02_792559_0000.jpg
/home/pi/Desktop/images/16012025/22/03/image_16012025_22_03_02_792559_0001.jpg
/home/pi/Desktop/images/16012025/22/03/image_16012025_22_03_02_792559_0002.jpg
/home/pi/Desktop/images/16012025/22/03/image_16012025_22_03_02_792559_0003.jpg
/home/pi/Desktop/images/16012025/22/04/image_16012025_22_04_02_964136_0000.jpg
/home/pi/Desktop/images/16012025/22/04/image_16012025_22_04_02_964136_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329741810","1329741797","1329741785","1329741815","1329741790","1329741780"],"photo_ids_order":["1329741780","1329741785","1329741790","1329741797","1329741810","1329741815"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2645dd3ca2264cdac6b6f383a10576ce.jpg","text":"TemporaryFile(/tmp/multipartBody5450060010083781125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198740382,"filename":"image_16012025_22_04_02_964136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e9bd889092e25d201bb27f702aa675f.jpg","text":"TemporaryFile(/tmp/multipartBody1892574704549182143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198740382,"filename":"image_16012025_22_03_02_792559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1891a0f73ebe16dfce92f40eb1118d91.jpg","text":"TemporaryFile(/tmp/multipartBody8538699890439176018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198740382,"filename":"image_16012025_22_03_02_792559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d71e3fe4c1b3d433eab5a04226356da.jpg","text":"TemporaryFile(/tmp/multipartBody7371737098759031734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198740382,"filename":"image_16012025_22_04_02_964136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/379ad8bcc99afbf2f59a197addbd4705.jpg","text":"TemporaryFile(/tmp/multipartBody3441974409635012283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198740382,"filename":"image_16012025_22_03_02_792559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bdfddc1d46a34cc0b6ff9dc318182636.jpg","text":"TemporaryFile(/tmp/multipartBody1380079881744823005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198740382,"filename":"image_16012025_22_03_02_792559_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329741790","file1":"1329741785","file0":"1329741780","file4":"1329741810","file5":"1329741815","file3":"1329741797"},"map_files_photo_id_array":[{"photo_id":"1329741815","filename":"file5"},{"photo_id":"1329741790","filename":"file2"},{"photo_id":"1329741810","filename":"file4"},{"photo_id":"1329741785","filename":"file1"},{"photo_id":"1329741780","filename":"file0"},{"photo_id":"1329741797","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329741810":["hashtag1","hashtag2"]},{"1329741797":["hashtag1","hashtag2"]},{"1329741785":["hashtag1","hashtag2"]},{"1329741815":["hashtag1","hashtag2"]},{"1329741790":["hashtag1","hashtag2"]},{"1329741780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329741810, 1329741797, 1329741785, 1329741815, 1329741790, 1329741780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.6659517288208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:12:22.365743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/10/image_18012025_12_10_02_300765_0003.jpg', '/home/pi/Desktop/images/18012025/12/11/image_18012025_12_11_02_427120_0000.jpg', '/home/pi/Desktop/images/18012025/12/11/image_18012025_12_11_02_427120_0001.jpg', '/home/pi/Desktop/images/18012025/12/11/image_18012025_12_11_02_427120_0002.jpg', '/home/pi/Desktop/images/18012025/12/11/image_18012025_12_11_02_427120_0003.jpg', '/home/pi/Desktop/images/18012025/12/12/image_18012025_12_12_02_592870_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/10/image_18012025_12_10_02_300765_0003.jpg
/home/pi/Desktop/images/18012025/12/11/image_18012025_12_11_02_427120_0000.jpg
/home/pi/Desktop/images/18012025/12/11/image_18012025_12_11_02_427120_0001.jpg
/home/pi/Desktop/images/18012025/12/11/image_18012025_12_11_02_427120_0002.jpg
/home/pi/Desktop/images/18012025/12/11/image_18012025_12_11_02_427120_0003.jpg
/home/pi/Desktop/images/18012025/12/12/image_18012025_12_12_02_592870_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329741878","1329741886","1329741871","1329741865","1329741882","1329741885"],"photo_ids_order":["1329741865","1329741871","1329741878","1329741882","1329741885","1329741886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/61321027a7b4d36dbb8c4cbab8dbdee5.jpg","text":"TemporaryFile(/tmp/multipartBody3816233371717518187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198819197,"filename":"image_18012025_12_11_02_427120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0d473fea45f430001da950925e1ee6f5.jpg","text":"TemporaryFile(/tmp/multipartBody8383361849283120439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198819197,"filename":"image_18012025_12_12_02_592870_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bb66e49a3e9b01c8b12cf0032a067a15.jpg","text":"TemporaryFile(/tmp/multipartBody3572325174967648841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198819197,"filename":"image_18012025_12_11_02_427120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/039a182f4e0131cfe27d14aa0795b40f.jpg","text":"TemporaryFile(/tmp/multipartBody2120222319472575050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198819197,"filename":"image_18012025_12_10_02_300765_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7a7e03f9259894698d087f74f587fa1.jpg","text":"TemporaryFile(/tmp/multipartBody541006045899330676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198819197,"filename":"image_18012025_12_11_02_427120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03128c0dd8d2d6d888c5b9afdbb68797.jpg","text":"TemporaryFile(/tmp/multipartBody3676759879532694101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198819197,"filename":"image_18012025_12_11_02_427120_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329741878","file1":"1329741871","file0":"1329741865","file4":"1329741885","file5":"1329741886","file3":"1329741882"},"map_files_photo_id_array":[{"photo_id":"1329741886","filename":"file5"},{"photo_id":"1329741878","filename":"file2"},{"photo_id":"1329741885","filename":"file4"},{"photo_id":"1329741871","filename":"file1"},{"photo_id":"1329741865","filename":"file0"},{"photo_id":"1329741882","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329741878":["hashtag1","hashtag2"]},{"1329741886":["hashtag1","hashtag2"]},{"1329741871":["hashtag1","hashtag2"]},{"1329741865":["hashtag1","hashtag2"]},{"1329741882":["hashtag1","hashtag2"]},{"1329741885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329741878, 1329741886, 1329741871, 1329741865, 1329741882, 1329741885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.519887924194336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:13:22.524811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/12/image_18012025_12_12_02_592870_0001.jpg', '/home/pi/Desktop/images/18012025/12/12/image_18012025_12_12_02_592870_0002.jpg', '/home/pi/Desktop/images/18012025/12/12/image_18012025_12_12_02_592870_0003.jpg', '/home/pi/Desktop/images/18012025/12/13/image_18012025_12_13_02_685367_0000.jpg', '/home/pi/Desktop/images/18012025/12/13/image_18012025_12_13_02_685367_0001.jpg', '/home/pi/Desktop/images/18012025/12/13/image_18012025_12_13_02_685367_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/12/image_18012025_12_12_02_592870_0001.jpg
/home/pi/Desktop/images/18012025/12/12/image_18012025_12_12_02_592870_0002.jpg
/home/pi/Desktop/images/18012025/12/12/image_18012025_12_12_02_592870_0003.jpg
/home/pi/Desktop/images/18012025/12/13/image_18012025_12_13_02_685367_0000.jpg
/home/pi/Desktop/images/18012025/12/13/image_18012025_12_13_02_685367_0001.jpg
/home/pi/Desktop/images/18012025/12/13/image_18012025_12_13_02_685367_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329741900","1329741903","1329741896","1329741905","1329741910","1329741907"],"photo_ids_order":["1329741896","1329741900","1329741903","1329741905","1329741907","1329741910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/857ba295edd27f1f3093490a7f79f03b.jpg","text":"TemporaryFile(/tmp/multipartBody1620920036886754177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198879403,"filename":"image_18012025_12_12_02_592870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f35e12c1b1962fed0fad367dd44e0827.jpg","text":"TemporaryFile(/tmp/multipartBody2132626756655031921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198879403,"filename":"image_18012025_12_12_02_592870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/531d699579d7b9ec6017f75d349515b7.jpg","text":"TemporaryFile(/tmp/multipartBody8221866423583012351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198879403,"filename":"image_18012025_12_12_02_592870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c81ff196548ebcebc1d4c5ca4f6736dc.jpg","text":"TemporaryFile(/tmp/multipartBody5946310518668353573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198879403,"filename":"image_18012025_12_13_02_685367_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c6a7f24e19b694cc634169899250a01.jpg","text":"TemporaryFile(/tmp/multipartBody5864922419163025909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198879403,"filename":"image_18012025_12_13_02_685367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6de4c8c039a1d3649c7a6c6a04aa5895.jpg","text":"TemporaryFile(/tmp/multipartBody4349238469962913308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198879403,"filename":"image_18012025_12_13_02_685367_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329741903","file1":"1329741900","file0":"1329741896","file4":"1329741907","file5":"1329741910","file3":"1329741905"},"map_files_photo_id_array":[{"photo_id":"1329741910","filename":"file5"},{"photo_id":"1329741903","filename":"file2"},{"photo_id":"1329741907","filename":"file4"},{"photo_id":"1329741900","filename":"file1"},{"photo_id":"1329741896","filename":"file0"},{"photo_id":"1329741905","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329741900":["hashtag1","hashtag2"]},{"1329741903":["hashtag1","hashtag2"]},{"1329741896":["hashtag1","hashtag2"]},{"1329741905":["hashtag1","hashtag2"]},{"1329741910":["hashtag1","hashtag2"]},{"1329741907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329741900, 1329741903, 1329741896, 1329741905, 1329741910, 1329741907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.48914122581482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:14:22.697117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/13/image_18012025_12_13_02_685367_0003.jpg', '/home/pi/Desktop/images/18012025/12/14/image_18012025_12_14_02_928549_0000.jpg', '/home/pi/Desktop/images/18012025/12/14/image_18012025_12_14_02_928549_0001.jpg', '/home/pi/Desktop/images/18012025/12/14/image_18012025_12_14_02_928549_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/13/image_18012025_12_13_02_685367_0003.jpg
/home/pi/Desktop/images/18012025/12/14/image_18012025_12_14_02_928549_0000.jpg
/home/pi/Desktop/images/18012025/12/14/image_18012025_12_14_02_928549_0001.jpg
/home/pi/Desktop/images/18012025/12/14/image_18012025_12_14_02_928549_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329741941","1329741950","1329741947","1329741934"],"photo_ids_order":["1329741934","1329741941","1329741947","1329741950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d497d97f0eabb5b7372eb2397ba4f811.jpg","text":"TemporaryFile(/tmp/multipartBody3471677155455812200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198934384,"filename":"image_18012025_12_14_02_928549_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be015951ef104ee812baf4109c4ae97e.jpg","text":"TemporaryFile(/tmp/multipartBody8451329507109699685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198934384,"filename":"image_18012025_12_14_02_928549_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c635ac0dadc9c78d9f59ab16cb6333c.jpg","text":"TemporaryFile(/tmp/multipartBody5515443646419969571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198934384,"filename":"image_18012025_12_14_02_928549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af0b31de0e0f1d8e7c750c470fb8fa4f.jpg","text":"TemporaryFile(/tmp/multipartBody2984479247641586667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198934384,"filename":"image_18012025_12_13_02_685367_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329741947","file1":"1329741941","file0":"1329741934","file3":"1329741950"},"map_files_photo_id_array":[{"photo_id":"1329741947","filename":"file2"},{"photo_id":"1329741941","filename":"file1"},{"photo_id":"1329741934","filename":"file0"},{"photo_id":"1329741950","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329741941":["hashtag1","hashtag2"]},{"1329741950":["hashtag1","hashtag2"]},{"1329741947":["hashtag1","hashtag2"]},{"1329741934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329741941, 1329741950, 1329741947, 1329741934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.438936710357666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:15:21.947490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/14/image_18012025_12_14_02_928549_0003.jpg', '/home/pi/Desktop/images/18012025/12/15/image_18012025_12_15_03_102363_0000.jpg', '/home/pi/Desktop/images/18012025/12/15/image_18012025_12_15_03_102363_0001.jpg', '/home/pi/Desktop/images/18012025/12/15/image_18012025_12_15_03_102363_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/14/image_18012025_12_14_02_928549_0003.jpg
/home/pi/Desktop/images/18012025/12/15/image_18012025_12_15_03_102363_0000.jpg
/home/pi/Desktop/images/18012025/12/15/image_18012025_12_15_03_102363_0001.jpg
/home/pi/Desktop/images/18012025/12/15/image_18012025_12_15_03_102363_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329742019","1329742024","1329742003","1329742014"],"photo_ids_order":["1329742003","1329742014","1329742019","1329742024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0089b64e0a1fb1622f852b4d624deb2b.jpg","text":"TemporaryFile(/tmp/multipartBody1969576782977080688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198993260,"filename":"image_18012025_12_15_03_102363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/43005225ba9b98bd8f69fa9916c68ccf.jpg","text":"TemporaryFile(/tmp/multipartBody6249649693485866499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198993260,"filename":"image_18012025_12_15_03_102363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/233e36471072c4f569354850c4e5d214.jpg","text":"TemporaryFile(/tmp/multipartBody4248668735023411313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198993260,"filename":"image_18012025_12_14_02_928549_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f98ebebd4eea8dc5394c90e41fc1560.jpg","text":"TemporaryFile(/tmp/multipartBody6603294813757567361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737198993260,"filename":"image_18012025_12_15_03_102363_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329742019","file1":"1329742014","file0":"1329742003","file3":"1329742024"},"map_files_photo_id_array":[{"photo_id":"1329742019","filename":"file2"},{"photo_id":"1329742014","filename":"file1"},{"photo_id":"1329742003","filename":"file0"},{"photo_id":"1329742024","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329742019":["hashtag1","hashtag2"]},{"1329742024":["hashtag1","hashtag2"]},{"1329742003":["hashtag1","hashtag2"]},{"1329742014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329742019, 1329742024, 1329742003, 1329742014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.00875449180603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:16:02.628952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/04/image_16012025_22_04_02_964136_0002.jpg', '/home/pi/Desktop/images/16012025/22/04/image_16012025_22_04_02_964136_0003.jpg', '/home/pi/Desktop/images/16012025/22/05/image_16012025_22_05_03_132609_0000.jpg', '/home/pi/Desktop/images/16012025/22/05/image_16012025_22_05_03_132609_0001.jpg', '/home/pi/Desktop/images/16012025/22/05/image_16012025_22_05_03_132609_0002.jpg', '/home/pi/Desktop/images/16012025/22/05/image_16012025_22_05_03_132609_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/04/image_16012025_22_04_02_964136_0002.jpg
/home/pi/Desktop/images/16012025/22/04/image_16012025_22_04_02_964136_0003.jpg
/home/pi/Desktop/images/16012025/22/05/image_16012025_22_05_03_132609_0000.jpg
/home/pi/Desktop/images/16012025/22/05/image_16012025_22_05_03_132609_0001.jpg
/home/pi/Desktop/images/16012025/22/05/image_16012025_22_05_03_132609_0002.jpg
/home/pi/Desktop/images/16012025/22/05/image_16012025_22_05_03_132609_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329742126","1329742120","1329742105","1329742032","1329742035","1329742122"],"photo_ids_order":["1329742032","1329742035","1329742105","1329742120","1329742122","1329742126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/78dc4c0af9b7be4d693e9f731e070cc5.jpg","text":"TemporaryFile(/tmp/multipartBody7387558371592293074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199040578,"filename":"image_16012025_22_05_03_132609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/860d7f027b11f8b9339c7d4c8725ea1f.jpg","text":"TemporaryFile(/tmp/multipartBody1260778473108092648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199040578,"filename":"image_16012025_22_05_03_132609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b8b755acca5aa49aa61f963f5b3d543c.jpg","text":"TemporaryFile(/tmp/multipartBody1635948118637205720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199040578,"filename":"image_16012025_22_05_03_132609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dde32445720cf87d96be488aba5e86ee.jpg","text":"TemporaryFile(/tmp/multipartBody643256494958910911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199040578,"filename":"image_16012025_22_04_02_964136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6a75259dfe2ef2ecdcf2a9149272572.jpg","text":"TemporaryFile(/tmp/multipartBody5009508793944578069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199040578,"filename":"image_16012025_22_04_02_964136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4325288a18e228a34661776d871119ca.jpg","text":"TemporaryFile(/tmp/multipartBody5587649934368042427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199040578,"filename":"image_16012025_22_05_03_132609_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329742105","file1":"1329742035","file0":"1329742032","file4":"1329742122","file5":"1329742126","file3":"1329742120"},"map_files_photo_id_array":[{"photo_id":"1329742126","filename":"file5"},{"photo_id":"1329742105","filename":"file2"},{"photo_id":"1329742122","filename":"file4"},{"photo_id":"1329742035","filename":"file1"},{"photo_id":"1329742032","filename":"file0"},{"photo_id":"1329742120","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329742126":["hashtag1","hashtag2"]},{"1329742120":["hashtag1","hashtag2"]},{"1329742105":["hashtag1","hashtag2"]},{"1329742032":["hashtag1","hashtag2"]},{"1329742035":["hashtag1","hashtag2"]},{"1329742122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329742126, 1329742120, 1329742105, 1329742032, 1329742035, 1329742122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.476927757263184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:17:22.312017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/15/image_18012025_12_15_03_102363_0003.jpg', '/home/pi/Desktop/images/18012025/12/16/image_18012025_12_16_02_280951_0000.jpg', '/home/pi/Desktop/images/18012025/12/16/image_18012025_12_16_02_280951_0001.jpg', '/home/pi/Desktop/images/18012025/12/16/image_18012025_12_16_02_280951_0002.jpg', '/home/pi/Desktop/images/18012025/12/16/image_18012025_12_16_02_280951_0003.jpg', '/home/pi/Desktop/images/18012025/12/17/image_18012025_12_17_02_408317_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/15/image_18012025_12_15_03_102363_0003.jpg
/home/pi/Desktop/images/18012025/12/16/image_18012025_12_16_02_280951_0000.jpg
/home/pi/Desktop/images/18012025/12/16/image_18012025_12_16_02_280951_0001.jpg
/home/pi/Desktop/images/18012025/12/16/image_18012025_12_16_02_280951_0002.jpg
/home/pi/Desktop/images/18012025/12/16/image_18012025_12_16_02_280951_0003.jpg
/home/pi/Desktop/images/18012025/12/17/image_18012025_12_17_02_408317_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329742229","1329742220","1329742217","1329742226","1329742222","1329742224"],"photo_ids_order":["1329742217","1329742220","1329742222","1329742224","1329742226","1329742229"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/09695fc88955b95e890a76c3c99af4bd.jpg","text":"TemporaryFile(/tmp/multipartBody6047500075064926248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199118458,"filename":"image_18012025_12_17_02_408317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd7a5c061071400db5d29d2c7626e0ab.jpg","text":"TemporaryFile(/tmp/multipartBody2995601084223615762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199118458,"filename":"image_18012025_12_16_02_280951_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ac968eeba462ffd61eb6c32a975c01d.jpg","text":"TemporaryFile(/tmp/multipartBody1296891319191205717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199118458,"filename":"image_18012025_12_15_03_102363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3a4d6e0a2ed99a8d50eb86debbe4a78f.jpg","text":"TemporaryFile(/tmp/multipartBody8349680934720969240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199118458,"filename":"image_18012025_12_16_02_280951_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/99d54d5a592e3f523471268f86d05661.jpg","text":"TemporaryFile(/tmp/multipartBody7069263186214816940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199118458,"filename":"image_18012025_12_16_02_280951_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63365475d2e06197ee467084a00ed6a3.jpg","text":"TemporaryFile(/tmp/multipartBody570390603018459762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199118458,"filename":"image_18012025_12_16_02_280951_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329742222","file1":"1329742220","file0":"1329742217","file4":"1329742226","file5":"1329742229","file3":"1329742224"},"map_files_photo_id_array":[{"photo_id":"1329742229","filename":"file5"},{"photo_id":"1329742222","filename":"file2"},{"photo_id":"1329742226","filename":"file4"},{"photo_id":"1329742220","filename":"file1"},{"photo_id":"1329742217","filename":"file0"},{"photo_id":"1329742224","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329742229":["hashtag1","hashtag2"]},{"1329742220":["hashtag1","hashtag2"]},{"1329742217":["hashtag1","hashtag2"]},{"1329742226":["hashtag1","hashtag2"]},{"1329742222":["hashtag1","hashtag2"]},{"1329742224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329742229, 1329742220, 1329742217, 1329742226, 1329742222, 1329742224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.121283769607544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:18:22.416135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/17/image_18012025_12_17_02_408317_0001.jpg', '/home/pi/Desktop/images/18012025/12/17/image_18012025_12_17_02_408317_0002.jpg', '/home/pi/Desktop/images/18012025/12/17/image_18012025_12_17_02_408317_0003.jpg', '/home/pi/Desktop/images/18012025/12/18/image_18012025_12_18_02_597705_0000.jpg', '/home/pi/Desktop/images/18012025/12/18/image_18012025_12_18_02_597705_0001.jpg', '/home/pi/Desktop/images/18012025/12/18/image_18012025_12_18_02_597705_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/17/image_18012025_12_17_02_408317_0001.jpg
/home/pi/Desktop/images/18012025/12/17/image_18012025_12_17_02_408317_0002.jpg
/home/pi/Desktop/images/18012025/12/17/image_18012025_12_17_02_408317_0003.jpg
/home/pi/Desktop/images/18012025/12/18/image_18012025_12_18_02_597705_0000.jpg
/home/pi/Desktop/images/18012025/12/18/image_18012025_12_18_02_597705_0001.jpg
/home/pi/Desktop/images/18012025/12/18/image_18012025_12_18_02_597705_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329742259","1329742268","1329742250","1329742244","1329742255","1329742263"],"photo_ids_order":["1329742244","1329742250","1329742255","1329742259","1329742263","1329742268"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5ad1d277d005fdec0719bf2f5f5c235c.jpg","text":"TemporaryFile(/tmp/multipartBody8945037233862340271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199178515,"filename":"image_18012025_12_18_02_597705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0592e9bdbe1f87b4cecb674f3b30c2fc.jpg","text":"TemporaryFile(/tmp/multipartBody3731166485007603020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199178515,"filename":"image_18012025_12_18_02_597705_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1c2bad26424a226099117be6d9d31b4f.jpg","text":"TemporaryFile(/tmp/multipartBody2686707057678328206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199178515,"filename":"image_18012025_12_17_02_408317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f59a8841eac0d98065c982640228ad5.jpg","text":"TemporaryFile(/tmp/multipartBody512707177460146543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199178515,"filename":"image_18012025_12_17_02_408317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0572e080601eb60309e6d9e9daf1f797.jpg","text":"TemporaryFile(/tmp/multipartBody2405563435668438277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199178515,"filename":"image_18012025_12_17_02_408317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13efeeb3d88c1540e666abf8790ba14b.jpg","text":"TemporaryFile(/tmp/multipartBody4621509146716190312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199178515,"filename":"image_18012025_12_18_02_597705_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329742255","file1":"1329742250","file0":"1329742244","file4":"1329742263","file5":"1329742268","file3":"1329742259"},"map_files_photo_id_array":[{"photo_id":"1329742268","filename":"file5"},{"photo_id":"1329742255","filename":"file2"},{"photo_id":"1329742263","filename":"file4"},{"photo_id":"1329742250","filename":"file1"},{"photo_id":"1329742244","filename":"file0"},{"photo_id":"1329742259","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329742259":["hashtag1","hashtag2"]},{"1329742268":["hashtag1","hashtag2"]},{"1329742250":["hashtag1","hashtag2"]},{"1329742244":["hashtag1","hashtag2"]},{"1329742255":["hashtag1","hashtag2"]},{"1329742263":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329742259, 1329742268, 1329742250, 1329742244, 1329742255, 1329742263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.486000537872314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:19:22.582160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/18/image_18012025_12_18_02_597705_0003.jpg', '/home/pi/Desktop/images/18012025/12/19/image_18012025_12_19_02_779606_0000.jpg', '/home/pi/Desktop/images/18012025/12/19/image_18012025_12_19_02_779606_0001.jpg', '/home/pi/Desktop/images/18012025/12/19/image_18012025_12_19_02_779606_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/18/image_18012025_12_18_02_597705_0003.jpg
/home/pi/Desktop/images/18012025/12/19/image_18012025_12_19_02_779606_0000.jpg
/home/pi/Desktop/images/18012025/12/19/image_18012025_12_19_02_779606_0001.jpg
/home/pi/Desktop/images/18012025/12/19/image_18012025_12_19_02_779606_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329742280","1329742290","1329742287","1329742284"],"photo_ids_order":["1329742280","1329742284","1329742287","1329742290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ef4bb48a3b084a167e1705853b90121.jpg","text":"TemporaryFile(/tmp/multipartBody3812976425688915871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199233606,"filename":"image_18012025_12_18_02_597705_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/105773593c51e6d356c0bfa6e2b8e858.jpg","text":"TemporaryFile(/tmp/multipartBody8034953771039197702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199233606,"filename":"image_18012025_12_19_02_779606_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ef6662f90cce9abdbcbf1a6533c99e8.jpg","text":"TemporaryFile(/tmp/multipartBody6765401550588840969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199233606,"filename":"image_18012025_12_19_02_779606_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/741713f45dc6622009e85e8514b7adf1.jpg","text":"TemporaryFile(/tmp/multipartBody8657846819590193040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199233606,"filename":"image_18012025_12_19_02_779606_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329742287","file1":"1329742284","file0":"1329742280","file3":"1329742290"},"map_files_photo_id_array":[{"photo_id":"1329742287","filename":"file2"},{"photo_id":"1329742284","filename":"file1"},{"photo_id":"1329742280","filename":"file0"},{"photo_id":"1329742290","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329742280":["hashtag1","hashtag2"]},{"1329742290":["hashtag1","hashtag2"]},{"1329742287":["hashtag1","hashtag2"]},{"1329742284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329742280, 1329742290, 1329742287, 1329742284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3789176940918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:20:21.839758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/19/image_18012025_12_19_02_779606_0003.jpg', '/home/pi/Desktop/images/18012025/12/20/image_18012025_12_20_02_933939_0000.jpg', '/home/pi/Desktop/images/18012025/12/20/image_18012025_12_20_02_933939_0001.jpg', '/home/pi/Desktop/images/18012025/12/20/image_18012025_12_20_02_933939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/19/image_18012025_12_19_02_779606_0003.jpg
/home/pi/Desktop/images/18012025/12/20/image_18012025_12_20_02_933939_0000.jpg
/home/pi/Desktop/images/18012025/12/20/image_18012025_12_20_02_933939_0001.jpg
/home/pi/Desktop/images/18012025/12/20/image_18012025_12_20_02_933939_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329742316","1329742319","1329742313","1329742306"],"photo_ids_order":["1329742306","1329742313","1329742316","1329742319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5560d0f2b7e0413258e181dda4f5f8cf.jpg","text":"TemporaryFile(/tmp/multipartBody7281693448595480087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199292270,"filename":"image_18012025_12_20_02_933939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d3437b758639dbe36b0c8b612ffab7a.jpg","text":"TemporaryFile(/tmp/multipartBody3263130983046590667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199292270,"filename":"image_18012025_12_20_02_933939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c126610cfd7bccad3a8915b9fd83b272.jpg","text":"TemporaryFile(/tmp/multipartBody7283840219157049354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199292270,"filename":"image_18012025_12_20_02_933939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/44de7ac0e07eb7ca2655df2f0133c897.jpg","text":"TemporaryFile(/tmp/multipartBody8924864610453724724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199292270,"filename":"image_18012025_12_19_02_779606_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329742316","file1":"1329742313","file0":"1329742306","file3":"1329742319"},"map_files_photo_id_array":[{"photo_id":"1329742316","filename":"file2"},{"photo_id":"1329742313","filename":"file1"},{"photo_id":"1329742306","filename":"file0"},{"photo_id":"1329742319","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329742316":["hashtag1","hashtag2"]},{"1329742319":["hashtag1","hashtag2"]},{"1329742313":["hashtag1","hashtag2"]},{"1329742306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329742316, 1329742319, 1329742313, 1329742306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.277426958084106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:21:02.526636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/06/image_16012025_22_06_02_305703_0000.jpg', '/home/pi/Desktop/images/16012025/22/06/image_16012025_22_06_02_305703_0001.jpg', '/home/pi/Desktop/images/16012025/22/06/image_16012025_22_06_02_305703_0002.jpg', '/home/pi/Desktop/images/16012025/22/06/image_16012025_22_06_02_305703_0003.jpg', '/home/pi/Desktop/images/16012025/22/07/image_16012025_22_07_02_422013_0000.jpg', '/home/pi/Desktop/images/16012025/22/07/image_16012025_22_07_02_422013_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/06/image_16012025_22_06_02_305703_0000.jpg
/home/pi/Desktop/images/16012025/22/06/image_16012025_22_06_02_305703_0001.jpg
/home/pi/Desktop/images/16012025/22/06/image_16012025_22_06_02_305703_0002.jpg
/home/pi/Desktop/images/16012025/22/06/image_16012025_22_06_02_305703_0003.jpg
/home/pi/Desktop/images/16012025/22/07/image_16012025_22_07_02_422013_0000.jpg
/home/pi/Desktop/images/16012025/22/07/image_16012025_22_07_02_422013_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":["1329742358","1329742406","1329742386","1329742383","1329742410","1329742376"],"photo_ids_order":["1329742358","1329742376","1329742383","1329742386","1329742406","1329742410"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d66fc9419247526211d262902e4dae2.jpg","text":"TemporaryFile(/tmp/multipartBody8885979034465495873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199340913,"filename":"image_16012025_22_06_02_305703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/935168240d1d51dcdbb2bcfa0c233955.jpg","text":"TemporaryFile(/tmp/multipartBody8579647762732715973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199340913,"filename":"image_16012025_22_07_02_422013_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b3648cfa5d50a38caddb07a307fa3ca.jpg","text":"TemporaryFile(/tmp/multipartBody7591011446857922398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199340913,"filename":"image_16012025_22_06_02_305703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/26d9447f0a90553e08cf62fc3c2f3710.jpg","text":"TemporaryFile(/tmp/multipartBody923437369707377250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199340913,"filename":"image_16012025_22_06_02_305703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ddcf09dba70cfeb7be8754705e98455d.jpg","text":"TemporaryFile(/tmp/multipartBody4910146760053727679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199340913,"filename":"image_16012025_22_07_02_422013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a93afee58e71e3e9c970b1bdffecde83.jpg","text":"TemporaryFile(/tmp/multipartBody1600594814091585439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199340913,"filename":"image_16012025_22_06_02_305703_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329742383","file1":"1329742376","file0":"1329742358","file4":"1329742406","file5":"1329742410","file3":"1329742386"},"map_files_photo_id_array":[{"photo_id":"1329742410","filename":"file5"},{"photo_id":"1329742383","filename":"file2"},{"photo_id":"1329742406","filename":"file4"},{"photo_id":"1329742376","filename":"file1"},{"photo_id":"1329742358","filename":"file0"},{"photo_id":"1329742386","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329742358":["hashtag1","hashtag2"]},{"1329742406":["hashtag1","hashtag2"]},{"1329742386":["hashtag1","hashtag2"]},{"1329742383":["hashtag1","hashtag2"]},{"1329742410":["hashtag1","hashtag2"]},{"1329742376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329742358, 1329742406, 1329742386, 1329742383, 1329742410, 1329742376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.04991149902344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:22:02.475461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/20/image_18012025_12_20_02_933939_0003.jpg', '/home/pi/Desktop/images/18012025/12/21/image_18012025_12_21_02_155405_0001.jpg', '/home/pi/Desktop/images/18012025/12/21/image_18012025_12_21_02_155405_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/20/image_18012025_12_20_02_933939_0003.jpg
/home/pi/Desktop/images/18012025/12/21/image_18012025_12_21_02_155405_0001.jpg
/home/pi/Desktop/images/18012025/12/21/image_18012025_12_21_02_155405_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329742477","1329742461","1329742455"],"photo_ids_order":["1329742455","1329742461","1329742477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/859c637157236fbf00f49b9644bb9550.jpg","text":"TemporaryFile(/tmp/multipartBody7684035715125743461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199390193,"filename":"image_18012025_12_21_02_155405_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c1dd3e58f027fb86efcb4bb957e6014a.jpg","text":"TemporaryFile(/tmp/multipartBody2400352929289321033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199390193,"filename":"image_18012025_12_21_02_155405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd182bc7d933bfd3d835ec995ff792ae.jpg","text":"TemporaryFile(/tmp/multipartBody6966064729568236784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199390193,"filename":"image_18012025_12_20_02_933939_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329742477","file1":"1329742461","file0":"1329742455"},"map_files_photo_id_array":[{"photo_id":"1329742477","filename":"file2"},{"photo_id":"1329742461","filename":"file1"},{"photo_id":"1329742455","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329742477":["hashtag1","hashtag2"]},{"1329742461":["hashtag1","hashtag2"]},{"1329742455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329742477, 1329742461, 1329742455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.30531334877014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 12:22:42.094948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/21/image_18012025_12_21_02_155405_0003.jpg', '/home/pi/Desktop/images/18012025/12/22/image_18012025_12_22_02_417670_0000.jpg', '/home/pi/Desktop/images/18012025/12/22/image_18012025_12_22_02_417670_0001.jpg', '/home/pi/Desktop/images/18012025/12/22/image_18012025_12_22_02_417670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/21/image_18012025_12_21_02_155405_0003.jpg
/home/pi/Desktop/images/18012025/12/22/image_18012025_12_22_02_417670_0000.jpg
/home/pi/Desktop/images/18012025/12/22/image_18012025_12_22_02_417670_0001.jpg
/home/pi/Desktop/images/18012025/12/22/image_18012025_12_22_02_417670_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329743309","1329743391","1329743393","1329743387"],"photo_ids_order":["1329743309","1329743387","1329743391","1329743393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc63d0c45757d94bcfa6bd4a2cc91081.jpg","text":"TemporaryFile(/tmp/multipartBody4525116730008767371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199432465,"filename":"image_18012025_12_21_02_155405_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eddc79476e778c3c76a0d7607a2ada7a.jpg","text":"TemporaryFile(/tmp/multipartBody1230542689279179668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199432465,"filename":"image_18012025_12_22_02_417670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4354041c62c8e0978b8942765e9eafda.jpg","text":"TemporaryFile(/tmp/multipartBody6019569546159039316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199432465,"filename":"image_18012025_12_22_02_417670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d2b71aa7813452e83c2065d2218074a.jpg","text":"TemporaryFile(/tmp/multipartBody3673496437913358304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199432465,"filename":"image_18012025_12_22_02_417670_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329743391","file1":"1329743387","file0":"1329743309","file3":"1329743393"},"map_files_photo_id_array":[{"photo_id":"1329743391","filename":"file2"},{"photo_id":"1329743387","filename":"file1"},{"photo_id":"1329743309","filename":"file0"},{"photo_id":"1329743393","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329743309":["hashtag1","hashtag2"]},{"1329743391":["hashtag1","hashtag2"]},{"1329743393":["hashtag1","hashtag2"]},{"1329743387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329743309, 1329743391, 1329743393, 1329743387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8253378868103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:23:22.412675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/22/image_18012025_12_22_02_417670_0003.jpg', '/home/pi/Desktop/images/18012025/12/23/image_18012025_12_23_02_488506_0000.jpg', '/home/pi/Desktop/images/18012025/12/23/image_18012025_12_23_02_488506_0001.jpg', '/home/pi/Desktop/images/18012025/12/23/image_18012025_12_23_02_488506_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/22/image_18012025_12_22_02_417670_0003.jpg
/home/pi/Desktop/images/18012025/12/23/image_18012025_12_23_02_488506_0000.jpg
/home/pi/Desktop/images/18012025/12/23/image_18012025_12_23_02_488506_0001.jpg
/home/pi/Desktop/images/18012025/12/23/image_18012025_12_23_02_488506_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329743497","1329743500","1329743503","1329743493"],"photo_ids_order":["1329743493","1329743497","1329743500","1329743503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b091c427ecdbc7e4ad17e894063a9010.jpg","text":"TemporaryFile(/tmp/multipartBody4389978748049464590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199472454,"filename":"image_18012025_12_23_02_488506_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/820fda382c8a3b1851d1cedd71c1f34f.jpg","text":"TemporaryFile(/tmp/multipartBody7077723044532641030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199472454,"filename":"image_18012025_12_23_02_488506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53db58f625c99cb0ddaa63029956a0a0.jpg","text":"TemporaryFile(/tmp/multipartBody1049381215459475480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199472454,"filename":"image_18012025_12_23_02_488506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d932352ac751e4e4d3bea306950f7306.jpg","text":"TemporaryFile(/tmp/multipartBody8754483544097660425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199472454,"filename":"image_18012025_12_22_02_417670_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329743500","file1":"1329743497","file0":"1329743493","file3":"1329743503"},"map_files_photo_id_array":[{"photo_id":"1329743500","filename":"file2"},{"photo_id":"1329743497","filename":"file1"},{"photo_id":"1329743493","filename":"file0"},{"photo_id":"1329743503","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329743497":["hashtag1","hashtag2"]},{"1329743500":["hashtag1","hashtag2"]},{"1329743503":["hashtag1","hashtag2"]},{"1329743493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329743497, 1329743500, 1329743503, 1329743493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.173702239990234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:24:02.888991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/07/image_16012025_22_07_02_422013_0002.jpg', '/home/pi/Desktop/images/16012025/22/07/image_16012025_22_07_02_422013_0003.jpg', '/home/pi/Desktop/images/16012025/22/08/image_16012025_22_08_02_671350_0000.jpg', '/home/pi/Desktop/images/16012025/22/08/image_16012025_22_08_02_671350_0001.jpg', '/home/pi/Desktop/images/16012025/22/08/image_16012025_22_08_02_671350_0002.jpg', '/home/pi/Desktop/images/16012025/22/08/image_16012025_22_08_02_671350_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/07/image_16012025_22_07_02_422013_0002.jpg
/home/pi/Desktop/images/16012025/22/07/image_16012025_22_07_02_422013_0003.jpg
/home/pi/Desktop/images/16012025/22/08/image_16012025_22_08_02_671350_0000.jpg
/home/pi/Desktop/images/16012025/22/08/image_16012025_22_08_02_671350_0001.jpg
/home/pi/Desktop/images/16012025/22/08/image_16012025_22_08_02_671350_0002.jpg
/home/pi/Desktop/images/16012025/22/08/image_16012025_22_08_02_671350_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":["1329743900","1329743581","1329743731","1329743895","1329743937","1329743885"],"photo_ids_order":["1329743581","1329743731","1329743885","1329743895","1329743900","1329743937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/201cdcbb92b7e2fd7393ea08692094ad.jpg","text":"TemporaryFile(/tmp/multipartBody7860419960964235969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199520351,"filename":"image_16012025_22_08_02_671350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4b991970c7ad129a012c3fa6a5fad26.jpg","text":"TemporaryFile(/tmp/multipartBody6606753787770501768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199520351,"filename":"image_16012025_22_07_02_422013_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/58318b08bcfde475677faefc2ef2f91a.jpg","text":"TemporaryFile(/tmp/multipartBody6116650141157882886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199520351,"filename":"image_16012025_22_07_02_422013_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c95e92f57594953c4e71aae676c0ba03.jpg","text":"TemporaryFile(/tmp/multipartBody1568436605135652108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199520351,"filename":"image_16012025_22_08_02_671350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b102b1f36239179b9a95cadccb658deb.jpg","text":"TemporaryFile(/tmp/multipartBody3425331026981535864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199520351,"filename":"image_16012025_22_08_02_671350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c002417ef0c32f182a852f1f502eee7.jpg","text":"TemporaryFile(/tmp/multipartBody1625927565003758207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199520351,"filename":"image_16012025_22_08_02_671350_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329743885","file1":"1329743731","file0":"1329743581","file4":"1329743900","file5":"1329743937","file3":"1329743895"},"map_files_photo_id_array":[{"photo_id":"1329743937","filename":"file5"},{"photo_id":"1329743885","filename":"file2"},{"photo_id":"1329743900","filename":"file4"},{"photo_id":"1329743731","filename":"file1"},{"photo_id":"1329743581","filename":"file0"},{"photo_id":"1329743895","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329743900":["hashtag1","hashtag2"]},{"1329743581":["hashtag1","hashtag2"]},{"1329743731":["hashtag1","hashtag2"]},{"1329743895":["hashtag1","hashtag2"]},{"1329743937":["hashtag1","hashtag2"]},{"1329743885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329743900, 1329743581, 1329743731, 1329743895, 1329743937, 1329743885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.195480823516846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:25:03.248276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/23/image_18012025_12_23_02_488506_0003.jpg', '/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0000.jpg', '/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0001.jpg', '/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/23/image_18012025_12_23_02_488506_0003.jpg
/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0000.jpg
/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0001.jpg
/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.090569019317627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:25:22.770077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/23/image_18012025_12_23_02_488506_0003.jpg', '/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0000.jpg', '/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0001.jpg', '/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0002.jpg', '/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0003.jpg', '/home/pi/Desktop/images/18012025/12/25/image_18012025_12_25_02_790346_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/23/image_18012025_12_23_02_488506_0003.jpg
/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0000.jpg
/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0001.jpg
/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0002.jpg
/home/pi/Desktop/images/18012025/12/24/image_18012025_12_24_02_690027_0003.jpg
/home/pi/Desktop/images/18012025/12/25/image_18012025_12_25_02_790346_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329744103","1329744106","1329744100","1329744092","1329744155","1329744097"],"photo_ids_order":["1329744092","1329744097","1329744100","1329744103","1329744106","1329744155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/69c20eba098e6ab0659c3ad0edfab88c.jpg","text":"TemporaryFile(/tmp/multipartBody2085847288335954939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199599513,"filename":"image_18012025_12_24_02_690027_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5301a2fc4dde1e9ac119276aab6c8f6.jpg","text":"TemporaryFile(/tmp/multipartBody222224851200178748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199599513,"filename":"image_18012025_12_24_02_690027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1cb3c601909b5c75198dc402c04607da.jpg","text":"TemporaryFile(/tmp/multipartBody3048714915254378966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199599513,"filename":"image_18012025_12_24_02_690027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/51ce8c266aeec033ce28208eb4107fce.jpg","text":"TemporaryFile(/tmp/multipartBody7420990302741746855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199599513,"filename":"image_18012025_12_23_02_488506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f26fd8d3d23bb5f2093c70ace6e8354e.jpg","text":"TemporaryFile(/tmp/multipartBody769730027706573373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199599513,"filename":"image_18012025_12_25_02_790346_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/82422149859b1d5464985482ccc76838.jpg","text":"TemporaryFile(/tmp/multipartBody2307329900095661037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199599513,"filename":"image_18012025_12_24_02_690027_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744100","file1":"1329744097","file0":"1329744092","file4":"1329744106","file5":"1329744155","file3":"1329744103"},"map_files_photo_id_array":[{"photo_id":"1329744155","filename":"file5"},{"photo_id":"1329744100","filename":"file2"},{"photo_id":"1329744106","filename":"file4"},{"photo_id":"1329744097","filename":"file1"},{"photo_id":"1329744092","filename":"file0"},{"photo_id":"1329744103","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329744103":["hashtag1","hashtag2"]},{"1329744106":["hashtag1","hashtag2"]},{"1329744100":["hashtag1","hashtag2"]},{"1329744092":["hashtag1","hashtag2"]},{"1329744155":["hashtag1","hashtag2"]},{"1329744097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329744103, 1329744106, 1329744100, 1329744092, 1329744155, 1329744097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.38307499885559 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:26:21.854703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/25/image_18012025_12_25_02_790346_0001.jpg', '/home/pi/Desktop/images/18012025/12/25/image_18012025_12_25_02_790346_0002.jpg', '/home/pi/Desktop/images/18012025/12/25/image_18012025_12_25_02_790346_0003.jpg', '/home/pi/Desktop/images/18012025/12/26/image_18012025_12_26_02_984645_0000.jpg', '/home/pi/Desktop/images/18012025/12/26/image_18012025_12_26_02_984645_0001.jpg', '/home/pi/Desktop/images/18012025/12/26/image_18012025_12_26_02_984645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/25/image_18012025_12_25_02_790346_0001.jpg
/home/pi/Desktop/images/18012025/12/25/image_18012025_12_25_02_790346_0002.jpg
/home/pi/Desktop/images/18012025/12/25/image_18012025_12_25_02_790346_0003.jpg
/home/pi/Desktop/images/18012025/12/26/image_18012025_12_26_02_984645_0000.jpg
/home/pi/Desktop/images/18012025/12/26/image_18012025_12_26_02_984645_0001.jpg
/home/pi/Desktop/images/18012025/12/26/image_18012025_12_26_02_984645_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329744183","1329744192","1329744168","1329744188","1329744173","1329744178"],"photo_ids_order":["1329744168","1329744173","1329744178","1329744183","1329744188","1329744192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74e2bceb01216e77b6965cf1659066b0.jpg","text":"TemporaryFile(/tmp/multipartBody1959518859710137917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199658606,"filename":"image_18012025_12_26_02_984645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97b66bf84273d8fe481290cc97ade52f.jpg","text":"TemporaryFile(/tmp/multipartBody7378712229194714670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199658606,"filename":"image_18012025_12_26_02_984645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b613e66f8f69c51ad1309d4792d8ee1.jpg","text":"TemporaryFile(/tmp/multipartBody7026151594947434119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199658606,"filename":"image_18012025_12_25_02_790346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ab1032bef17706815affdde7e840e1c4.jpg","text":"TemporaryFile(/tmp/multipartBody5418302186235119910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199658606,"filename":"image_18012025_12_26_02_984645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ffbc5c2818833e644408949ac2f05200.jpg","text":"TemporaryFile(/tmp/multipartBody5326202499853182770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199658606,"filename":"image_18012025_12_25_02_790346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73b7a7fba95fb43cc7c0970539f5d294.jpg","text":"TemporaryFile(/tmp/multipartBody8377221540632709715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199658606,"filename":"image_18012025_12_25_02_790346_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744178","file1":"1329744173","file0":"1329744168","file4":"1329744188","file5":"1329744192","file3":"1329744183"},"map_files_photo_id_array":[{"photo_id":"1329744192","filename":"file5"},{"photo_id":"1329744178","filename":"file2"},{"photo_id":"1329744188","filename":"file4"},{"photo_id":"1329744173","filename":"file1"},{"photo_id":"1329744168","filename":"file0"},{"photo_id":"1329744183","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329744183":["hashtag1","hashtag2"]},{"1329744192":["hashtag1","hashtag2"]},{"1329744168":["hashtag1","hashtag2"]},{"1329744188":["hashtag1","hashtag2"]},{"1329744173":["hashtag1","hashtag2"]},{"1329744178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329744183, 1329744192, 1329744168, 1329744188, 1329744173, 1329744178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.895119428634644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:27:21.966867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/26/image_18012025_12_26_02_984645_0003.jpg', '/home/pi/Desktop/images/18012025/12/27/image_18012025_12_27_02_168188_0000.jpg', '/home/pi/Desktop/images/18012025/12/27/image_18012025_12_27_02_168188_0001.jpg', '/home/pi/Desktop/images/18012025/12/27/image_18012025_12_27_02_168188_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/26/image_18012025_12_26_02_984645_0003.jpg
/home/pi/Desktop/images/18012025/12/27/image_18012025_12_27_02_168188_0000.jpg
/home/pi/Desktop/images/18012025/12/27/image_18012025_12_27_02_168188_0001.jpg
/home/pi/Desktop/images/18012025/12/27/image_18012025_12_27_02_168188_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329744203","1329744208","1329744212","1329744209"],"photo_ids_order":["1329744203","1329744208","1329744209","1329744212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ada6cd03f6add9ea80000e8ca033e068.jpg","text":"TemporaryFile(/tmp/multipartBody2275366124826174319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199713144,"filename":"image_18012025_12_26_02_984645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed3c2f08c9a96373103a195702d99683.jpg","text":"TemporaryFile(/tmp/multipartBody4716646615071104280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199713144,"filename":"image_18012025_12_27_02_168188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa500d97f1a359bf16d8436edc74f59e.jpg","text":"TemporaryFile(/tmp/multipartBody1584611728454996584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199713144,"filename":"image_18012025_12_27_02_168188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a68485e13ca3555b9c122c71427d9c17.jpg","text":"TemporaryFile(/tmp/multipartBody1079596410419448102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199713144,"filename":"image_18012025_12_27_02_168188_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744209","file1":"1329744208","file0":"1329744203","file3":"1329744212"},"map_files_photo_id_array":[{"photo_id":"1329744209","filename":"file2"},{"photo_id":"1329744208","filename":"file1"},{"photo_id":"1329744203","filename":"file0"},{"photo_id":"1329744212","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329744203":["hashtag1","hashtag2"]},{"1329744208":["hashtag1","hashtag2"]},{"1329744212":["hashtag1","hashtag2"]},{"1329744209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329744203, 1329744208, 1329744212, 1329744209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.59424924850464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:28:22.164203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/27/image_18012025_12_27_02_168188_0003.jpg', '/home/pi/Desktop/images/18012025/12/28/image_18012025_12_28_02_386388_0000.jpg', '/home/pi/Desktop/images/18012025/12/28/image_18012025_12_28_02_386388_0001.jpg', '/home/pi/Desktop/images/18012025/12/28/image_18012025_12_28_02_386388_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/27/image_18012025_12_27_02_168188_0003.jpg
/home/pi/Desktop/images/18012025/12/28/image_18012025_12_28_02_386388_0000.jpg
/home/pi/Desktop/images/18012025/12/28/image_18012025_12_28_02_386388_0001.jpg
/home/pi/Desktop/images/18012025/12/28/image_18012025_12_28_02_386388_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329744223","1329744226","1329744234","1329744230"],"photo_ids_order":["1329744223","1329744226","1329744230","1329744234"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/265518e546ef3b05a6d51180b290cafd.jpg","text":"TemporaryFile(/tmp/multipartBody5537445968462526369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199773506,"filename":"image_18012025_12_27_02_168188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28ad1e5585daac26a2a3d79c5c3e28d4.jpg","text":"TemporaryFile(/tmp/multipartBody1702541968471342641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199773506,"filename":"image_18012025_12_28_02_386388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd5f2460515a7ec9d742632e90d13f11.jpg","text":"TemporaryFile(/tmp/multipartBody8199260447157073854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199773506,"filename":"image_18012025_12_28_02_386388_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b87ef6b5420aadb0c6c7141cb0859b4.jpg","text":"TemporaryFile(/tmp/multipartBody9147450096304340166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199773506,"filename":"image_18012025_12_28_02_386388_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744230","file1":"1329744226","file0":"1329744223","file3":"1329744234"},"map_files_photo_id_array":[{"photo_id":"1329744230","filename":"file2"},{"photo_id":"1329744226","filename":"file1"},{"photo_id":"1329744223","filename":"file0"},{"photo_id":"1329744234","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329744223":["hashtag1","hashtag2"]},{"1329744226":["hashtag1","hashtag2"]},{"1329744234":["hashtag1","hashtag2"]},{"1329744230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329744223, 1329744226, 1329744234, 1329744230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.25327014923096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:29:22.458364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/28/image_18012025_12_28_02_386388_0003.jpg', '/home/pi/Desktop/images/18012025/12/29/image_18012025_12_29_02_551589_0000.jpg', '/home/pi/Desktop/images/18012025/12/29/image_18012025_12_29_02_551589_0001.jpg', '/home/pi/Desktop/images/18012025/12/29/image_18012025_12_29_02_551589_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/28/image_18012025_12_28_02_386388_0003.jpg
/home/pi/Desktop/images/18012025/12/29/image_18012025_12_29_02_551589_0000.jpg
/home/pi/Desktop/images/18012025/12/29/image_18012025_12_29_02_551589_0001.jpg
/home/pi/Desktop/images/18012025/12/29/image_18012025_12_29_02_551589_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329744284","1329744269","1329744257","1329744277"],"photo_ids_order":["1329744257","1329744269","1329744277","1329744284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c61a497ad1944eea01d18fd86e4035f.jpg","text":"TemporaryFile(/tmp/multipartBody4822574134024190731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199833546,"filename":"image_18012025_12_29_02_551589_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/78eddf22e97b083616377b757f454227.jpg","text":"TemporaryFile(/tmp/multipartBody8193789280606075828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199833546,"filename":"image_18012025_12_29_02_551589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15a793408f3240bdbf2443776c265996.jpg","text":"TemporaryFile(/tmp/multipartBody5463043260950814981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199833546,"filename":"image_18012025_12_28_02_386388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9179d5827077b7f6b051f27461795ad0.jpg","text":"TemporaryFile(/tmp/multipartBody1307709945020369871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199833546,"filename":"image_18012025_12_29_02_551589_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744277","file1":"1329744269","file0":"1329744257","file3":"1329744284"},"map_files_photo_id_array":[{"photo_id":"1329744277","filename":"file2"},{"photo_id":"1329744269","filename":"file1"},{"photo_id":"1329744257","filename":"file0"},{"photo_id":"1329744284","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329744284":["hashtag1","hashtag2"]},{"1329744269":["hashtag1","hashtag2"]},{"1329744257":["hashtag1","hashtag2"]},{"1329744277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329744284, 1329744269, 1329744257, 1329744277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01694846153259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:30:02.962381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/09/image_16012025_22_09_02_960688_0000.jpg', '/home/pi/Desktop/images/16012025/22/09/image_16012025_22_09_02_960688_0001.jpg', '/home/pi/Desktop/images/16012025/22/09/image_16012025_22_09_02_960688_0002.jpg', '/home/pi/Desktop/images/16012025/22/09/image_16012025_22_09_02_960688_0003.jpg', '/home/pi/Desktop/images/16012025/22/10/image_16012025_22_10_03_040398_0000.jpg', '/home/pi/Desktop/images/16012025/22/10/image_16012025_22_10_03_040398_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/09/image_16012025_22_09_02_960688_0000.jpg
/home/pi/Desktop/images/16012025/22/09/image_16012025_22_09_02_960688_0001.jpg
/home/pi/Desktop/images/16012025/22/09/image_16012025_22_09_02_960688_0002.jpg
/home/pi/Desktop/images/16012025/22/09/image_16012025_22_09_02_960688_0003.jpg
/home/pi/Desktop/images/16012025/22/10/image_16012025_22_10_03_040398_0000.jpg
/home/pi/Desktop/images/16012025/22/10/image_16012025_22_10_03_040398_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":["1329744301","1329744304","1329744309","1329744318","1329744323","1329744314"],"photo_ids_order":["1329744301","1329744304","1329744309","1329744314","1329744318","1329744323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d432c2068cb93881939ba43a3c38407c.jpg","text":"TemporaryFile(/tmp/multipartBody2196641140431951862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199881034,"filename":"image_16012025_22_09_02_960688_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0bb4afb0b6854555b9e3765ba9c35b07.jpg","text":"TemporaryFile(/tmp/multipartBody3632371870849364067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199881034,"filename":"image_16012025_22_09_02_960688_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3a259ef83d22eb9a11755cbc0277db3.jpg","text":"TemporaryFile(/tmp/multipartBody521007799491716357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199881034,"filename":"image_16012025_22_09_02_960688_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5db9cac9e85bd780b204a6c780c1a1d5.jpg","text":"TemporaryFile(/tmp/multipartBody7147266974292592174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199881034,"filename":"image_16012025_22_10_03_040398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/91d29d84e058527ee9562ba1c3ea3e41.jpg","text":"TemporaryFile(/tmp/multipartBody1544810425364062168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199881034,"filename":"image_16012025_22_10_03_040398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/889b79990d56030cfe2b25b888523511.jpg","text":"TemporaryFile(/tmp/multipartBody116735623830453545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199881034,"filename":"image_16012025_22_09_02_960688_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744309","file1":"1329744304","file0":"1329744301","file4":"1329744318","file5":"1329744323","file3":"1329744314"},"map_files_photo_id_array":[{"photo_id":"1329744323","filename":"file5"},{"photo_id":"1329744309","filename":"file2"},{"photo_id":"1329744318","filename":"file4"},{"photo_id":"1329744304","filename":"file1"},{"photo_id":"1329744301","filename":"file0"},{"photo_id":"1329744314","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329744301":["hashtag1","hashtag2"]},{"1329744304":["hashtag1","hashtag2"]},{"1329744309":["hashtag1","hashtag2"]},{"1329744318":["hashtag1","hashtag2"]},{"1329744323":["hashtag1","hashtag2"]},{"1329744314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329744301, 1329744304, 1329744309, 1329744318, 1329744323, 1329744314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.97265839576721 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:31:02.299040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/29/image_18012025_12_29_02_551589_0003.jpg', '/home/pi/Desktop/images/18012025/12/30/image_18012025_12_30_02_823727_0000.jpg', '/home/pi/Desktop/images/18012025/12/30/image_18012025_12_30_02_823727_0001.jpg', '/home/pi/Desktop/images/18012025/12/30/image_18012025_12_30_02_823727_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/29/image_18012025_12_29_02_551589_0003.jpg
/home/pi/Desktop/images/18012025/12/30/image_18012025_12_30_02_823727_0000.jpg
/home/pi/Desktop/images/18012025/12/30/image_18012025_12_30_02_823727_0001.jpg
/home/pi/Desktop/images/18012025/12/30/image_18012025_12_30_02_823727_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329744400","1329744393","1329744394","1329744397"],"photo_ids_order":["1329744393","1329744394","1329744397","1329744400"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be443ad4336d825162e2d3d068b83e15.jpg","text":"TemporaryFile(/tmp/multipartBody7936052221714514953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199933178,"filename":"image_18012025_12_30_02_823727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a28e4226d4025a335fe08291d4dd72c4.jpg","text":"TemporaryFile(/tmp/multipartBody5604439225095281480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199933178,"filename":"image_18012025_12_29_02_551589_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e77d8f9f2222e9afb7217854b63178bb.jpg","text":"TemporaryFile(/tmp/multipartBody4189487416490111639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199933178,"filename":"image_18012025_12_30_02_823727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9628da96ca74364fd35c1660e4b6d907.jpg","text":"TemporaryFile(/tmp/multipartBody3415040488341356315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199933178,"filename":"image_18012025_12_30_02_823727_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744397","file1":"1329744394","file0":"1329744393","file3":"1329744400"},"map_files_photo_id_array":[{"photo_id":"1329744397","filename":"file2"},{"photo_id":"1329744394","filename":"file1"},{"photo_id":"1329744393","filename":"file0"},{"photo_id":"1329744400","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329744400":["hashtag1","hashtag2"]},{"1329744393":["hashtag1","hashtag2"]},{"1329744394":["hashtag1","hashtag2"]},{"1329744397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329744400, 1329744393, 1329744394, 1329744397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.80435132980347 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-18 12:31:51.786229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/30/image_18012025_12_30_02_823727_0003.jpg', '/home/pi/Desktop/images/18012025/12/31/image_18012025_12_31_02_872534_0000.jpg', '/home/pi/Desktop/images/18012025/12/31/image_18012025_12_31_02_872534_0001.jpg', '/home/pi/Desktop/images/18012025/12/31/image_18012025_12_31_02_872534_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/30/image_18012025_12_30_02_823727_0003.jpg
/home/pi/Desktop/images/18012025/12/31/image_18012025_12_31_02_872534_0000.jpg
/home/pi/Desktop/images/18012025/12/31/image_18012025_12_31_02_872534_0001.jpg
/home/pi/Desktop/images/18012025/12/31/image_18012025_12_31_02_872534_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329744474","1329744561","1329744560","1329744422"],"photo_ids_order":["1329744422","1329744474","1329744560","1329744561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/590ecc06a0ffcf3d410489dcd85ad7e0.jpg","text":"TemporaryFile(/tmp/multipartBody8426412951324736638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199982825,"filename":"image_18012025_12_31_02_872534_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/98581784c4e5b44d4bd42ae52ba4e9bc.jpg","text":"TemporaryFile(/tmp/multipartBody4446153855208333254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199982825,"filename":"image_18012025_12_31_02_872534_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/42562c61e6cb002d4b5b665108c7e22b.jpg","text":"TemporaryFile(/tmp/multipartBody5708012591035359195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199982825,"filename":"image_18012025_12_31_02_872534_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/679236f1e3e221c907f04c45f5beb2e0.jpg","text":"TemporaryFile(/tmp/multipartBody6761990972612859626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737199982825,"filename":"image_18012025_12_30_02_823727_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744560","file1":"1329744474","file0":"1329744422","file3":"1329744561"},"map_files_photo_id_array":[{"photo_id":"1329744560","filename":"file2"},{"photo_id":"1329744474","filename":"file1"},{"photo_id":"1329744422","filename":"file0"},{"photo_id":"1329744561","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329744474":["hashtag1","hashtag2"]},{"1329744561":["hashtag1","hashtag2"]},{"1329744560":["hashtag1","hashtag2"]},{"1329744422":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329744474, 1329744561, 1329744560, 1329744422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.36208915710449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 12:32:42.010395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/31/image_18012025_12_31_02_872534_0003.jpg', '/home/pi/Desktop/images/18012025/12/32/image_18012025_12_32_02_167963_0000.jpg', '/home/pi/Desktop/images/18012025/12/32/image_18012025_12_32_02_167963_0001.jpg', '/home/pi/Desktop/images/18012025/12/32/image_18012025_12_32_02_167963_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/31/image_18012025_12_31_02_872534_0003.jpg
/home/pi/Desktop/images/18012025/12/32/image_18012025_12_32_02_167963_0000.jpg
/home/pi/Desktop/images/18012025/12/32/image_18012025_12_32_02_167963_0001.jpg
/home/pi/Desktop/images/18012025/12/32/image_18012025_12_32_02_167963_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329744598","1329744604","1329744585","1329744580"],"photo_ids_order":["1329744580","1329744585","1329744598","1329744604"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da2eb15bcb4a2046fb4b276ba90be909.jpg","text":"TemporaryFile(/tmp/multipartBody2574297411299910182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200033269,"filename":"image_18012025_12_32_02_167963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/64f51d6ea6c96dfa463e07411c6bba14.jpg","text":"TemporaryFile(/tmp/multipartBody2828874088236013104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200033269,"filename":"image_18012025_12_32_02_167963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f656c20bfb1d4af35cbf161899c92c5.jpg","text":"TemporaryFile(/tmp/multipartBody8070128407698059161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200033269,"filename":"image_18012025_12_32_02_167963_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/98dacfb3b97ab09c721f4b478a05de96.jpg","text":"TemporaryFile(/tmp/multipartBody3746785549177672669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200033269,"filename":"image_18012025_12_31_02_872534_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744598","file1":"1329744585","file0":"1329744580","file3":"1329744604"},"map_files_photo_id_array":[{"photo_id":"1329744598","filename":"file2"},{"photo_id":"1329744585","filename":"file1"},{"photo_id":"1329744580","filename":"file0"},{"photo_id":"1329744604","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329744598":["hashtag1","hashtag2"]},{"1329744604":["hashtag1","hashtag2"]},{"1329744585":["hashtag1","hashtag2"]},{"1329744580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329744598, 1329744604, 1329744585, 1329744580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.038041830062866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:33:22.125398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/32/image_18012025_12_32_02_167963_0003.jpg', '/home/pi/Desktop/images/18012025/12/33/image_18012025_12_33_02_438303_0000.jpg', '/home/pi/Desktop/images/18012025/12/33/image_18012025_12_33_02_438303_0001.jpg', '/home/pi/Desktop/images/18012025/12/33/image_18012025_12_33_02_438303_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/32/image_18012025_12_32_02_167963_0003.jpg
/home/pi/Desktop/images/18012025/12/33/image_18012025_12_33_02_438303_0000.jpg
/home/pi/Desktop/images/18012025/12/33/image_18012025_12_33_02_438303_0001.jpg
/home/pi/Desktop/images/18012025/12/33/image_18012025_12_33_02_438303_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329744724","1329744639","1329744662","1329744656"],"photo_ids_order":["1329744639","1329744656","1329744662","1329744724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ea7d8eb7dc43fb48f4f94d8f105ca2d.jpg","text":"TemporaryFile(/tmp/multipartBody8062120281764942458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200073445,"filename":"image_18012025_12_33_02_438303_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d87e75e20852db0fa7215c1782f84ec.jpg","text":"TemporaryFile(/tmp/multipartBody7407143836769160340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200073445,"filename":"image_18012025_12_32_02_167963_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b0ac6a36a3b86a74186b32a16a62eafc.jpg","text":"TemporaryFile(/tmp/multipartBody3540452994409558915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200073445,"filename":"image_18012025_12_33_02_438303_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6029537827bbc86f2a2f82e25400eb16.jpg","text":"TemporaryFile(/tmp/multipartBody523992687416867251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200073445,"filename":"image_18012025_12_33_02_438303_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744662","file1":"1329744656","file0":"1329744639","file3":"1329744724"},"map_files_photo_id_array":[{"photo_id":"1329744662","filename":"file2"},{"photo_id":"1329744656","filename":"file1"},{"photo_id":"1329744639","filename":"file0"},{"photo_id":"1329744724","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329744724":["hashtag1","hashtag2"]},{"1329744639":["hashtag1","hashtag2"]},{"1329744662":["hashtag1","hashtag2"]},{"1329744656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329744724, 1329744639, 1329744662, 1329744656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.391130685806274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:34:22.348429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/33/image_18012025_12_33_02_438303_0003.jpg', '/home/pi/Desktop/images/18012025/12/34/image_18012025_12_34_02_576387_0000.jpg', '/home/pi/Desktop/images/18012025/12/34/image_18012025_12_34_02_576387_0001.jpg', '/home/pi/Desktop/images/18012025/12/34/image_18012025_12_34_02_576387_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/33/image_18012025_12_33_02_438303_0003.jpg
/home/pi/Desktop/images/18012025/12/34/image_18012025_12_34_02_576387_0000.jpg
/home/pi/Desktop/images/18012025/12/34/image_18012025_12_34_02_576387_0001.jpg
/home/pi/Desktop/images/18012025/12/34/image_18012025_12_34_02_576387_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329744748","1329744762","1329744758","1329744752"],"photo_ids_order":["1329744748","1329744752","1329744758","1329744762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e705eb3b76a04229200b923606211985.jpg","text":"TemporaryFile(/tmp/multipartBody2589746819643783102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200133438,"filename":"image_18012025_12_33_02_438303_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39ccffef230fd5442465a95e965199fe.jpg","text":"TemporaryFile(/tmp/multipartBody1563898789842380448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200133438,"filename":"image_18012025_12_34_02_576387_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b34cad019a598ad963b082f0956e50c7.jpg","text":"TemporaryFile(/tmp/multipartBody1892538732474881087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200133438,"filename":"image_18012025_12_34_02_576387_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50c94de1a980ed1484f87019dc70280c.jpg","text":"TemporaryFile(/tmp/multipartBody8678770007279598942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200133438,"filename":"image_18012025_12_34_02_576387_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744758","file1":"1329744752","file0":"1329744748","file3":"1329744762"},"map_files_photo_id_array":[{"photo_id":"1329744758","filename":"file2"},{"photo_id":"1329744752","filename":"file1"},{"photo_id":"1329744748","filename":"file0"},{"photo_id":"1329744762","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329744748":["hashtag1","hashtag2"]},{"1329744762":["hashtag1","hashtag2"]},{"1329744758":["hashtag1","hashtag2"]},{"1329744752":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329744748, 1329744762, 1329744758, 1329744752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6084623336792 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-18 12:35:22.519667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/34/image_18012025_12_34_02_576387_0003.jpg', '/home/pi/Desktop/images/18012025/12/35/image_18012025_12_35_02_654814_0000.jpg', '/home/pi/Desktop/images/18012025/12/35/image_18012025_12_35_02_654814_0001.jpg', '/home/pi/Desktop/images/18012025/12/35/image_18012025_12_35_02_654814_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/34/image_18012025_12_34_02_576387_0003.jpg
/home/pi/Desktop/images/18012025/12/35/image_18012025_12_35_02_654814_0000.jpg
/home/pi/Desktop/images/18012025/12/35/image_18012025_12_35_02_654814_0001.jpg
/home/pi/Desktop/images/18012025/12/35/image_18012025_12_35_02_654814_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329744805","1329744808","1329744783","1329744800"],"photo_ids_order":["1329744783","1329744800","1329744805","1329744808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aaa2954cb43a8c025c56981fa06bd3e7.jpg","text":"TemporaryFile(/tmp/multipartBody7638084119660487850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200193869,"filename":"image_18012025_12_35_02_654814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a1af2ae52c1e3148eb444226c97bc43.jpg","text":"TemporaryFile(/tmp/multipartBody2765385092646010749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200193869,"filename":"image_18012025_12_35_02_654814_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e18d34dae68ffc0042171f52b64ea6e0.jpg","text":"TemporaryFile(/tmp/multipartBody2532177404954101288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200193869,"filename":"image_18012025_12_34_02_576387_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bb17f94106019a7328819f23b954a5ad.jpg","text":"TemporaryFile(/tmp/multipartBody3867046050650623234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200193869,"filename":"image_18012025_12_35_02_654814_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744805","file1":"1329744800","file0":"1329744783","file3":"1329744808"},"map_files_photo_id_array":[{"photo_id":"1329744805","filename":"file2"},{"photo_id":"1329744800","filename":"file1"},{"photo_id":"1329744783","filename":"file0"},{"photo_id":"1329744808","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329744805":["hashtag1","hashtag2"]},{"1329744808":["hashtag1","hashtag2"]},{"1329744783":["hashtag1","hashtag2"]},{"1329744800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329744805, 1329744808, 1329744783, 1329744800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94579029083252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:36:02.933676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/10/image_16012025_22_10_03_040398_0002.jpg', '/home/pi/Desktop/images/16012025/22/10/image_16012025_22_10_03_040398_0003.jpg', '/home/pi/Desktop/images/16012025/22/11/image_16012025_22_11_02_262056_0000.jpg', '/home/pi/Desktop/images/16012025/22/11/image_16012025_22_11_02_262056_0001.jpg', '/home/pi/Desktop/images/16012025/22/11/image_16012025_22_11_02_262056_0002.jpg', '/home/pi/Desktop/images/16012025/22/11/image_16012025_22_11_02_262056_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/10/image_16012025_22_10_03_040398_0002.jpg
/home/pi/Desktop/images/16012025/22/10/image_16012025_22_10_03_040398_0003.jpg
/home/pi/Desktop/images/16012025/22/11/image_16012025_22_11_02_262056_0000.jpg
/home/pi/Desktop/images/16012025/22/11/image_16012025_22_11_02_262056_0001.jpg
/home/pi/Desktop/images/16012025/22/11/image_16012025_22_11_02_262056_0002.jpg
/home/pi/Desktop/images/16012025/22/11/image_16012025_22_11_02_262056_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":["1329744874","1329744901","1329744894","1329744918","1329744881","1329744920"],"photo_ids_order":["1329744874","1329744881","1329744894","1329744901","1329744918","1329744920"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54562095e51f0fa9d8a91c5e86306eea.jpg","text":"TemporaryFile(/tmp/multipartBody1778671361781510422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200241223,"filename":"image_16012025_22_10_03_040398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9aae6b6c9615954c00046ebb6632fda1.jpg","text":"TemporaryFile(/tmp/multipartBody3998835253648116156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200241223,"filename":"image_16012025_22_11_02_262056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a2f088093124e807b758a1eb5d5c8e9.jpg","text":"TemporaryFile(/tmp/multipartBody3725936359007119967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200241223,"filename":"image_16012025_22_11_02_262056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f53881e72349f6335a2b53cbde790d6.jpg","text":"TemporaryFile(/tmp/multipartBody7280309649223645864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200241223,"filename":"image_16012025_22_11_02_262056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e7627b59849804783bb72c44fc3eabb.jpg","text":"TemporaryFile(/tmp/multipartBody3681560528808587588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200241223,"filename":"image_16012025_22_10_03_040398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/914ebec2da2e5eb92b4504e6b97560e2.jpg","text":"TemporaryFile(/tmp/multipartBody6836677129827788814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200241223,"filename":"image_16012025_22_11_02_262056_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744894","file1":"1329744881","file0":"1329744874","file4":"1329744918","file5":"1329744920","file3":"1329744901"},"map_files_photo_id_array":[{"photo_id":"1329744920","filename":"file5"},{"photo_id":"1329744894","filename":"file2"},{"photo_id":"1329744918","filename":"file4"},{"photo_id":"1329744881","filename":"file1"},{"photo_id":"1329744874","filename":"file0"},{"photo_id":"1329744901","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329744874":["hashtag1","hashtag2"]},{"1329744901":["hashtag1","hashtag2"]},{"1329744894":["hashtag1","hashtag2"]},{"1329744918":["hashtag1","hashtag2"]},{"1329744881":["hashtag1","hashtag2"]},{"1329744920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329744874, 1329744901, 1329744894, 1329744918, 1329744881, 1329744920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.25404453277588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:37:02.489573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/35/image_18012025_12_35_02_654814_0003.jpg', '/home/pi/Desktop/images/18012025/12/36/image_18012025_12_36_02_847719_0000.jpg', '/home/pi/Desktop/images/18012025/12/36/image_18012025_12_36_02_847719_0001.jpg', '/home/pi/Desktop/images/18012025/12/36/image_18012025_12_36_02_847719_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/35/image_18012025_12_35_02_654814_0003.jpg
/home/pi/Desktop/images/18012025/12/36/image_18012025_12_36_02_847719_0000.jpg
/home/pi/Desktop/images/18012025/12/36/image_18012025_12_36_02_847719_0001.jpg
/home/pi/Desktop/images/18012025/12/36/image_18012025_12_36_02_847719_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329744940","1329744937","1329744944","1329744947"],"photo_ids_order":["1329744937","1329744940","1329744944","1329744947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67660d4325129b34fd7ed706ae6e2234.jpg","text":"TemporaryFile(/tmp/multipartBody8763304302481503681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200293994,"filename":"image_18012025_12_36_02_847719_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/865c7b52d4cc7d4ff4e65ba6562f6510.jpg","text":"TemporaryFile(/tmp/multipartBody2825454253900574859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200293994,"filename":"image_18012025_12_35_02_654814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4271c97dbfa3b92c3d6ff6c477218ab4.jpg","text":"TemporaryFile(/tmp/multipartBody8395291840233127360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200293994,"filename":"image_18012025_12_36_02_847719_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fcd9aa9da6feaf1a77a535aaef3f797e.jpg","text":"TemporaryFile(/tmp/multipartBody7458713798724507800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200293994,"filename":"image_18012025_12_36_02_847719_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329744944","file1":"1329744940","file0":"1329744937","file3":"1329744947"},"map_files_photo_id_array":[{"photo_id":"1329744944","filename":"file2"},{"photo_id":"1329744940","filename":"file1"},{"photo_id":"1329744937","filename":"file0"},{"photo_id":"1329744947","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329744940":["hashtag1","hashtag2"]},{"1329744937":["hashtag1","hashtag2"]},{"1329744944":["hashtag1","hashtag2"]},{"1329744947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329744940, 1329744937, 1329744944, 1329744947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.96100449562073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 12:37:51.881586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/36/image_18012025_12_36_02_847719_0003.jpg', '/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0000.jpg', '/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0001.jpg', '/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/36/image_18012025_12_36_02_847719_0003.jpg
/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0000.jpg
/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0001.jpg
/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.875781297683716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:38:22.132839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/36/image_18012025_12_36_02_847719_0003.jpg', '/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0000.jpg', '/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0001.jpg', '/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0002.jpg', '/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0003.jpg', '/home/pi/Desktop/images/18012025/12/38/image_18012025_12_38_02_336393_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/36/image_18012025_12_36_02_847719_0003.jpg
/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0000.jpg
/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0001.jpg
/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0002.jpg
/home/pi/Desktop/images/18012025/12/37/image_18012025_12_37_02_945327_0003.jpg
/home/pi/Desktop/images/18012025/12/38/image_18012025_12_38_02_336393_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329746247","1329746192","1329746351","1329746203","1329746196","1329746199"],"photo_ids_order":["1329746192","1329746196","1329746199","1329746203","1329746247","1329746351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a7ae9e65f7b166c2dc63b60f1aa085c1.jpg","text":"TemporaryFile(/tmp/multipartBody4760560079464193520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200378594,"filename":"image_18012025_12_37_02_945327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f68e888f02dd96cc27aff26272968c7.jpg","text":"TemporaryFile(/tmp/multipartBody3813478046950570701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200378594,"filename":"image_18012025_12_36_02_847719_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b9fc9ccffbdf493d2e87e767ede044b.jpg","text":"TemporaryFile(/tmp/multipartBody7830085274301171877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200378594,"filename":"image_18012025_12_38_02_336393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f40858fb870304bba35df2caad0d9ef.jpg","text":"TemporaryFile(/tmp/multipartBody1906331441990589348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200378594,"filename":"image_18012025_12_37_02_945327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd01895ad8b9f9f8eca78050f8aab8bd.jpg","text":"TemporaryFile(/tmp/multipartBody2640509710914278426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200378594,"filename":"image_18012025_12_37_02_945327_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2ecf9148d4407c8eb209ea5f719b1670.jpg","text":"TemporaryFile(/tmp/multipartBody4231854031631348923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200378594,"filename":"image_18012025_12_37_02_945327_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329746199","file1":"1329746196","file0":"1329746192","file4":"1329746247","file5":"1329746351","file3":"1329746203"},"map_files_photo_id_array":[{"photo_id":"1329746351","filename":"file5"},{"photo_id":"1329746199","filename":"file2"},{"photo_id":"1329746247","filename":"file4"},{"photo_id":"1329746196","filename":"file1"},{"photo_id":"1329746192","filename":"file0"},{"photo_id":"1329746203","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329746247":["hashtag1","hashtag2"]},{"1329746192":["hashtag1","hashtag2"]},{"1329746351":["hashtag1","hashtag2"]},{"1329746203":["hashtag1","hashtag2"]},{"1329746196":["hashtag1","hashtag2"]},{"1329746199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329746247, 1329746192, 1329746351, 1329746203, 1329746196, 1329746199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.98214864730835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:39:22.419291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/38/image_18012025_12_38_02_336393_0001.jpg', '/home/pi/Desktop/images/18012025/12/38/image_18012025_12_38_02_336393_0002.jpg', '/home/pi/Desktop/images/18012025/12/38/image_18012025_12_38_02_336393_0003.jpg', '/home/pi/Desktop/images/18012025/12/39/image_18012025_12_39_02_468550_0000.jpg', '/home/pi/Desktop/images/18012025/12/39/image_18012025_12_39_02_468550_0001.jpg', '/home/pi/Desktop/images/18012025/12/39/image_18012025_12_39_02_468550_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/38/image_18012025_12_38_02_336393_0001.jpg
/home/pi/Desktop/images/18012025/12/38/image_18012025_12_38_02_336393_0002.jpg
/home/pi/Desktop/images/18012025/12/38/image_18012025_12_38_02_336393_0003.jpg
/home/pi/Desktop/images/18012025/12/39/image_18012025_12_39_02_468550_0000.jpg
/home/pi/Desktop/images/18012025/12/39/image_18012025_12_39_02_468550_0001.jpg
/home/pi/Desktop/images/18012025/12/39/image_18012025_12_39_02_468550_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329746649","1329746646","1329746591","1329746666","1329746642","1329746632"],"photo_ids_order":["1329746591","1329746632","1329746642","1329746646","1329746649","1329746666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/874afaf8c36199684a74153666da695b.jpg","text":"TemporaryFile(/tmp/multipartBody5561682285612220430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200439154,"filename":"image_18012025_12_39_02_468550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/56a30092046fd54ec32fb83e56fadbf1.jpg","text":"TemporaryFile(/tmp/multipartBody8527288616585420799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200439154,"filename":"image_18012025_12_39_02_468550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/64c9b4e2143e028232a7193ab4e6cf49.jpg","text":"TemporaryFile(/tmp/multipartBody6909027169399057589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200439154,"filename":"image_18012025_12_38_02_336393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17fda89a691badf0abfd3cc0af0ce415.jpg","text":"TemporaryFile(/tmp/multipartBody5026434998546126680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200439154,"filename":"image_18012025_12_39_02_468550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60d3948baeb9548f90cce3fe1068b70a.jpg","text":"TemporaryFile(/tmp/multipartBody474883965293041124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200439154,"filename":"image_18012025_12_38_02_336393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7b830bd763de2abb41462de70afa577.jpg","text":"TemporaryFile(/tmp/multipartBody2305024760383549614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200439154,"filename":"image_18012025_12_38_02_336393_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329746642","file1":"1329746632","file0":"1329746591","file4":"1329746649","file5":"1329746666","file3":"1329746646"},"map_files_photo_id_array":[{"photo_id":"1329746666","filename":"file5"},{"photo_id":"1329746642","filename":"file2"},{"photo_id":"1329746649","filename":"file4"},{"photo_id":"1329746632","filename":"file1"},{"photo_id":"1329746591","filename":"file0"},{"photo_id":"1329746646","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329746649":["hashtag1","hashtag2"]},{"1329746646":["hashtag1","hashtag2"]},{"1329746591":["hashtag1","hashtag2"]},{"1329746666":["hashtag1","hashtag2"]},{"1329746642":["hashtag1","hashtag2"]},{"1329746632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329746649, 1329746646, 1329746591, 1329746666, 1329746642, 1329746632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.8518762588501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:40:22.472556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/39/image_18012025_12_39_02_468550_0003.jpg', '/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0000.jpg', '/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0001.jpg', '/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/39/image_18012025_12_39_02_468550_0003.jpg
/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0000.jpg
/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0001.jpg
/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.6942720413208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 12:40:42.480834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/39/image_18012025_12_39_02_468550_0003.jpg', '/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0000.jpg', '/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0001.jpg', '/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/39/image_18012025_12_39_02_468550_0003.jpg
/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0000.jpg
/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0001.jpg
/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329746686","1329746731","1329746691","1329746688"],"photo_ids_order":["1329746686","1329746688","1329746691","1329746731"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/31c6715fa9ba30a6bcd12dc6559fa1de.jpg","text":"TemporaryFile(/tmp/multipartBody8852797030088928723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200513596,"filename":"image_18012025_12_39_02_468550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cc7612bfc77dcb58daf34738fc2d9e5f.jpg","text":"TemporaryFile(/tmp/multipartBody4943442954494256289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200513596,"filename":"image_18012025_12_40_02_719979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c1e37c91525a6955544e9036a3d0d4a1.jpg","text":"TemporaryFile(/tmp/multipartBody2402060598031845331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200513596,"filename":"image_18012025_12_40_02_719979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7aa23b60d36d54a0ce5cb5bdea1e6d0.jpg","text":"TemporaryFile(/tmp/multipartBody2356324420504202960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200513596,"filename":"image_18012025_12_40_02_719979_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329746691","file1":"1329746688","file0":"1329746686","file3":"1329746731"},"map_files_photo_id_array":[{"photo_id":"1329746691","filename":"file2"},{"photo_id":"1329746688","filename":"file1"},{"photo_id":"1329746686","filename":"file0"},{"photo_id":"1329746731","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329746686":["hashtag1","hashtag2"]},{"1329746731":["hashtag1","hashtag2"]},{"1329746691":["hashtag1","hashtag2"]},{"1329746688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329746686, 1329746731, 1329746691, 1329746688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84115743637085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:41:22.626583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0003.jpg', '/home/pi/Desktop/images/18012025/12/41/image_18012025_12_41_02_814703_0000.jpg', '/home/pi/Desktop/images/18012025/12/41/image_18012025_12_41_02_814703_0001.jpg', '/home/pi/Desktop/images/18012025/12/41/image_18012025_12_41_02_814703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/40/image_18012025_12_40_02_719979_0003.jpg
/home/pi/Desktop/images/18012025/12/41/image_18012025_12_41_02_814703_0000.jpg
/home/pi/Desktop/images/18012025/12/41/image_18012025_12_41_02_814703_0001.jpg
/home/pi/Desktop/images/18012025/12/41/image_18012025_12_41_02_814703_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329746769","1329746757","1329746789","1329746777"],"photo_ids_order":["1329746757","1329746769","1329746777","1329746789"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9bd1a1d637f4735cf66f9dec38b19442.jpg","text":"TemporaryFile(/tmp/multipartBody2744840770024040995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200554432,"filename":"image_18012025_12_41_02_814703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc86859015bf23d76d41f40633fbe45b.jpg","text":"TemporaryFile(/tmp/multipartBody6199477090697207746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200554432,"filename":"image_18012025_12_40_02_719979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9cefc9c6cf0ea86aed49bf4a5bc2da1b.jpg","text":"TemporaryFile(/tmp/multipartBody3477881132882289066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200554432,"filename":"image_18012025_12_41_02_814703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f8b94e60e2574c0cf2a547ca2c44935a.jpg","text":"TemporaryFile(/tmp/multipartBody36905107679417179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200554432,"filename":"image_18012025_12_41_02_814703_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329746777","file1":"1329746769","file0":"1329746757","file3":"1329746789"},"map_files_photo_id_array":[{"photo_id":"1329746777","filename":"file2"},{"photo_id":"1329746769","filename":"file1"},{"photo_id":"1329746757","filename":"file0"},{"photo_id":"1329746789","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329746769":["hashtag1","hashtag2"]},{"1329746757":["hashtag1","hashtag2"]},{"1329746789":["hashtag1","hashtag2"]},{"1329746777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329746769, 1329746757, 1329746789, 1329746777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.4052095413208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:42:21.792285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/41/image_18012025_12_41_02_814703_0003.jpg', '/home/pi/Desktop/images/18012025/12/42/image_18012025_12_42_03_044330_0000.jpg', '/home/pi/Desktop/images/18012025/12/42/image_18012025_12_42_03_044330_0001.jpg', '/home/pi/Desktop/images/18012025/12/42/image_18012025_12_42_03_044330_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/41/image_18012025_12_41_02_814703_0003.jpg
/home/pi/Desktop/images/18012025/12/42/image_18012025_12_42_03_044330_0000.jpg
/home/pi/Desktop/images/18012025/12/42/image_18012025_12_42_03_044330_0001.jpg
/home/pi/Desktop/images/18012025/12/42/image_18012025_12_42_03_044330_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329746813","1329746816","1329746819","1329746809"],"photo_ids_order":["1329746809","1329746813","1329746816","1329746819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9f480d3cbd3a6834e1a601be932ee0c1.jpg","text":"TemporaryFile(/tmp/multipartBody197434684524509806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200613501,"filename":"image_18012025_12_42_03_044330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bdb100252a1a8add17c133a63ab23b4d.jpg","text":"TemporaryFile(/tmp/multipartBody619090400319034532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200613501,"filename":"image_18012025_12_42_03_044330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5bfa80e900cf6e4d2474282184757fda.jpg","text":"TemporaryFile(/tmp/multipartBody6057390153232117111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200613501,"filename":"image_18012025_12_42_03_044330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d47ac1ed91c0b507772d6569eddfa277.jpg","text":"TemporaryFile(/tmp/multipartBody1486549424186966341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200613501,"filename":"image_18012025_12_41_02_814703_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329746816","file1":"1329746813","file0":"1329746809","file3":"1329746819"},"map_files_photo_id_array":[{"photo_id":"1329746816","filename":"file2"},{"photo_id":"1329746813","filename":"file1"},{"photo_id":"1329746809","filename":"file0"},{"photo_id":"1329746819","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329746813":["hashtag1","hashtag2"]},{"1329746816":["hashtag1","hashtag2"]},{"1329746819":["hashtag1","hashtag2"]},{"1329746809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329746813, 1329746816, 1329746819, 1329746809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50684952735901 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:43:02.404652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/12/image_16012025_22_12_02_580070_0000.jpg', '/home/pi/Desktop/images/16012025/22/12/image_16012025_22_12_02_580070_0001.jpg', '/home/pi/Desktop/images/16012025/22/12/image_16012025_22_12_02_580070_0002.jpg', '/home/pi/Desktop/images/16012025/22/12/image_16012025_22_12_02_580070_0003.jpg', '/home/pi/Desktop/images/16012025/22/13/image_16012025_22_13_02_656103_0000.jpg', '/home/pi/Desktop/images/16012025/22/13/image_16012025_22_13_02_656103_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/12/image_16012025_22_12_02_580070_0000.jpg
/home/pi/Desktop/images/16012025/22/12/image_16012025_22_12_02_580070_0001.jpg
/home/pi/Desktop/images/16012025/22/12/image_16012025_22_12_02_580070_0002.jpg
/home/pi/Desktop/images/16012025/22/12/image_16012025_22_12_02_580070_0003.jpg
/home/pi/Desktop/images/16012025/22/13/image_16012025_22_13_02_656103_0000.jpg
/home/pi/Desktop/images/16012025/22/13/image_16012025_22_13_02_656103_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329746880","1329746874","1329746868","1329746885","1329746864","1329746855"],"photo_ids_order":["1329746855","1329746864","1329746868","1329746874","1329746880","1329746885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d39f86b49184aa8ae22613a64ac94b7a.jpg","text":"TemporaryFile(/tmp/multipartBody6628781147713863919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200660711,"filename":"image_16012025_22_13_02_656103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49836737f0a5a018b3d2b4c58841f170.jpg","text":"TemporaryFile(/tmp/multipartBody6262420118508088400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200660711,"filename":"image_16012025_22_12_02_580070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ba4a45992a1b5ab78db392b0bc3662c.jpg","text":"TemporaryFile(/tmp/multipartBody2014002510689338425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200660711,"filename":"image_16012025_22_12_02_580070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/55199082e1f7a16ab945c4329fd74264.jpg","text":"TemporaryFile(/tmp/multipartBody4134384551086297613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200660711,"filename":"image_16012025_22_13_02_656103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fc0281baeacb01225775bba5f585e3d4.jpg","text":"TemporaryFile(/tmp/multipartBody262055277127696613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200660711,"filename":"image_16012025_22_12_02_580070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/beb3ec1be0d4694a3184c45d08ecdb6e.jpg","text":"TemporaryFile(/tmp/multipartBody7753841234263176425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200660711,"filename":"image_16012025_22_12_02_580070_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329746868","file1":"1329746864","file0":"1329746855","file4":"1329746880","file5":"1329746885","file3":"1329746874"},"map_files_photo_id_array":[{"photo_id":"1329746885","filename":"file5"},{"photo_id":"1329746868","filename":"file2"},{"photo_id":"1329746880","filename":"file4"},{"photo_id":"1329746864","filename":"file1"},{"photo_id":"1329746855","filename":"file0"},{"photo_id":"1329746874","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329746880":["hashtag1","hashtag2"]},{"1329746874":["hashtag1","hashtag2"]},{"1329746868":["hashtag1","hashtag2"]},{"1329746885":["hashtag1","hashtag2"]},{"1329746864":["hashtag1","hashtag2"]},{"1329746855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329746880, 1329746874, 1329746868, 1329746885, 1329746864, 1329746855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.51249432563782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:44:22.185304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/42/image_18012025_12_42_03_044330_0003.jpg', '/home/pi/Desktop/images/18012025/12/43/image_18012025_12_43_02_125170_0000.jpg', '/home/pi/Desktop/images/18012025/12/43/image_18012025_12_43_02_125170_0001.jpg', '/home/pi/Desktop/images/18012025/12/43/image_18012025_12_43_02_125170_0002.jpg', '/home/pi/Desktop/images/18012025/12/43/image_18012025_12_43_02_125170_0003.jpg', '/home/pi/Desktop/images/18012025/12/44/image_18012025_12_44_02_372478_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/42/image_18012025_12_42_03_044330_0003.jpg
/home/pi/Desktop/images/18012025/12/43/image_18012025_12_43_02_125170_0000.jpg
/home/pi/Desktop/images/18012025/12/43/image_18012025_12_43_02_125170_0001.jpg
/home/pi/Desktop/images/18012025/12/43/image_18012025_12_43_02_125170_0002.jpg
/home/pi/Desktop/images/18012025/12/43/image_18012025_12_43_02_125170_0003.jpg
/home/pi/Desktop/images/18012025/12/44/image_18012025_12_44_02_372478_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329746993","1329746987","1329746990","1329746984","1329746963","1329746980"],"photo_ids_order":["1329746963","1329746980","1329746984","1329746987","1329746990","1329746993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/62f8d06adde358dc0af56670abb83921.jpg","text":"TemporaryFile(/tmp/multipartBody1175902281787493508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200738559,"filename":"image_18012025_12_44_02_372478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65de39effdf7d3a465eda400ec753c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8243226717225573233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200738559,"filename":"image_18012025_12_43_02_125170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3609a16ca7d0189c32e33f1ab99c946.jpg","text":"TemporaryFile(/tmp/multipartBody1333828638918480014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200738559,"filename":"image_18012025_12_43_02_125170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6fa412c23ab0c4198d925464d2a4c29.jpg","text":"TemporaryFile(/tmp/multipartBody6324364851007651245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200738559,"filename":"image_18012025_12_43_02_125170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/707a1dd90e1dc2d81b20fe9eb712c83f.jpg","text":"TemporaryFile(/tmp/multipartBody7605540840033448129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200738559,"filename":"image_18012025_12_42_03_044330_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a224888061cfcc6573ffcc51be8e3968.jpg","text":"TemporaryFile(/tmp/multipartBody4125103525581351196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200738559,"filename":"image_18012025_12_43_02_125170_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329746984","file1":"1329746980","file0":"1329746963","file4":"1329746990","file5":"1329746993","file3":"1329746987"},"map_files_photo_id_array":[{"photo_id":"1329746993","filename":"file5"},{"photo_id":"1329746984","filename":"file2"},{"photo_id":"1329746990","filename":"file4"},{"photo_id":"1329746980","filename":"file1"},{"photo_id":"1329746963","filename":"file0"},{"photo_id":"1329746987","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329746993":["hashtag1","hashtag2"]},{"1329746987":["hashtag1","hashtag2"]},{"1329746990":["hashtag1","hashtag2"]},{"1329746984":["hashtag1","hashtag2"]},{"1329746963":["hashtag1","hashtag2"]},{"1329746980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329746993, 1329746987, 1329746990, 1329746984, 1329746963, 1329746980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.197638750076294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:45:22.391648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/44/image_18012025_12_44_02_372478_0001.jpg', '/home/pi/Desktop/images/18012025/12/44/image_18012025_12_44_02_372478_0002.jpg', '/home/pi/Desktop/images/18012025/12/44/image_18012025_12_44_02_372478_0003.jpg', '/home/pi/Desktop/images/18012025/12/45/image_18012025_12_45_02_514704_0000.jpg', '/home/pi/Desktop/images/18012025/12/45/image_18012025_12_45_02_514704_0001.jpg', '/home/pi/Desktop/images/18012025/12/45/image_18012025_12_45_02_514704_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/44/image_18012025_12_44_02_372478_0001.jpg
/home/pi/Desktop/images/18012025/12/44/image_18012025_12_44_02_372478_0002.jpg
/home/pi/Desktop/images/18012025/12/44/image_18012025_12_44_02_372478_0003.jpg
/home/pi/Desktop/images/18012025/12/45/image_18012025_12_45_02_514704_0000.jpg
/home/pi/Desktop/images/18012025/12/45/image_18012025_12_45_02_514704_0001.jpg
/home/pi/Desktop/images/18012025/12/45/image_18012025_12_45_02_514704_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329747062","1329747041","1329747044","1329747025","1329747028","1329747063"],"photo_ids_order":["1329747025","1329747028","1329747041","1329747044","1329747062","1329747063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63ccd35f58256732459ab04ef3bf33cb.jpg","text":"TemporaryFile(/tmp/multipartBody3722330818775559189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200799494,"filename":"image_18012025_12_45_02_514704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/88472f0ee0f527d107fd1ec513398557.jpg","text":"TemporaryFile(/tmp/multipartBody5451142320802446129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200799494,"filename":"image_18012025_12_44_02_372478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ae0eda2e5925c2cc04ae914d800aded.jpg","text":"TemporaryFile(/tmp/multipartBody7935243070865032476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200799494,"filename":"image_18012025_12_45_02_514704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3d3355c4cf3960e7864d8e8ec310412b.jpg","text":"TemporaryFile(/tmp/multipartBody5079600801882464531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200799494,"filename":"image_18012025_12_44_02_372478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/005eec90af696354b93408944d1b10de.jpg","text":"TemporaryFile(/tmp/multipartBody8755806590416614622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200799494,"filename":"image_18012025_12_44_02_372478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/272e440d7b496c03e2ba3e1b9f2a0145.jpg","text":"TemporaryFile(/tmp/multipartBody899842025376640598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200799494,"filename":"image_18012025_12_45_02_514704_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329747041","file1":"1329747028","file0":"1329747025","file4":"1329747062","file5":"1329747063","file3":"1329747044"},"map_files_photo_id_array":[{"photo_id":"1329747063","filename":"file5"},{"photo_id":"1329747041","filename":"file2"},{"photo_id":"1329747062","filename":"file4"},{"photo_id":"1329747028","filename":"file1"},{"photo_id":"1329747025","filename":"file0"},{"photo_id":"1329747044","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329747062":["hashtag1","hashtag2"]},{"1329747041":["hashtag1","hashtag2"]},{"1329747044":["hashtag1","hashtag2"]},{"1329747025":["hashtag1","hashtag2"]},{"1329747028":["hashtag1","hashtag2"]},{"1329747063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329747062, 1329747041, 1329747044, 1329747025, 1329747028, 1329747063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.914947271347046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:46:22.483068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/45/image_18012025_12_45_02_514704_0003.jpg', '/home/pi/Desktop/images/18012025/12/46/image_18012025_12_46_02_782327_0000.jpg', '/home/pi/Desktop/images/18012025/12/46/image_18012025_12_46_02_782327_0001.jpg', '/home/pi/Desktop/images/18012025/12/46/image_18012025_12_46_02_782327_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/45/image_18012025_12_45_02_514704_0003.jpg
/home/pi/Desktop/images/18012025/12/46/image_18012025_12_46_02_782327_0000.jpg
/home/pi/Desktop/images/18012025/12/46/image_18012025_12_46_02_782327_0001.jpg
/home/pi/Desktop/images/18012025/12/46/image_18012025_12_46_02_782327_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329747383","1329747303","1329747298","1329747472"],"photo_ids_order":["1329747298","1329747303","1329747383","1329747472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3697d83c6cab00033bcd92783f6b2381.jpg","text":"TemporaryFile(/tmp/multipartBody3400716910327277119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200853672,"filename":"image_18012025_12_46_02_782327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d19f1105a0fb96708dafb4912ebc8eb.jpg","text":"TemporaryFile(/tmp/multipartBody3941234510855176280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200853672,"filename":"image_18012025_12_46_02_782327_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4617487404e6e3a6e625f3c8bcead4c.jpg","text":"TemporaryFile(/tmp/multipartBody8268676518844556059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200853672,"filename":"image_18012025_12_45_02_514704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/080c51fc8b297b887b5a9f8601c1ba66.jpg","text":"TemporaryFile(/tmp/multipartBody1923492868477246245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200853672,"filename":"image_18012025_12_46_02_782327_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329747383","file1":"1329747303","file0":"1329747298","file3":"1329747472"},"map_files_photo_id_array":[{"photo_id":"1329747383","filename":"file2"},{"photo_id":"1329747303","filename":"file1"},{"photo_id":"1329747298","filename":"file0"},{"photo_id":"1329747472","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329747383":["hashtag1","hashtag2"]},{"1329747303":["hashtag1","hashtag2"]},{"1329747298":["hashtag1","hashtag2"]},{"1329747472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329747383, 1329747303, 1329747298, 1329747472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.34389781951904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:47:03.415284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/13/image_16012025_22_13_02_656103_0002.jpg', '/home/pi/Desktop/images/16012025/22/13/image_16012025_22_13_02_656103_0003.jpg', '/home/pi/Desktop/images/16012025/22/14/image_16012025_22_14_02_802301_0000.jpg', '/home/pi/Desktop/images/16012025/22/14/image_16012025_22_14_02_802301_0001.jpg', '/home/pi/Desktop/images/16012025/22/14/image_16012025_22_14_02_802301_0002.jpg', '/home/pi/Desktop/images/16012025/22/14/image_16012025_22_14_02_802301_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/13/image_16012025_22_13_02_656103_0002.jpg
/home/pi/Desktop/images/16012025/22/13/image_16012025_22_13_02_656103_0003.jpg
/home/pi/Desktop/images/16012025/22/14/image_16012025_22_14_02_802301_0000.jpg
/home/pi/Desktop/images/16012025/22/14/image_16012025_22_14_02_802301_0001.jpg
/home/pi/Desktop/images/16012025/22/14/image_16012025_22_14_02_802301_0002.jpg
/home/pi/Desktop/images/16012025/22/14/image_16012025_22_14_02_802301_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329747738","1329747743","1329747731","1329747734","1329747715","1329747741"],"photo_ids_order":["1329747715","1329747731","1329747734","1329747738","1329747741","1329747743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8e5cad3284daa6fe93ce656d197e4b0.jpg","text":"TemporaryFile(/tmp/multipartBody4971759680745926839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200901681,"filename":"image_16012025_22_14_02_802301_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ea4de47b7f9d6cc6f849c57890cdc6f.jpg","text":"TemporaryFile(/tmp/multipartBody54774520307054603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200901681,"filename":"image_16012025_22_14_02_802301_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2304cbdf1d0e4a921d62c494bd519572.jpg","text":"TemporaryFile(/tmp/multipartBody537084672105502525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200901681,"filename":"image_16012025_22_13_02_656103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1133054b0e12c1e5c437725991e5672b.jpg","text":"TemporaryFile(/tmp/multipartBody862789307235493589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200901681,"filename":"image_16012025_22_14_02_802301_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/262060fbc68acd5c84a41d815e7db341.jpg","text":"TemporaryFile(/tmp/multipartBody5884261404826055342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200901681,"filename":"image_16012025_22_13_02_656103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2b721ef27503c84106b6e40b6c1bb0c.jpg","text":"TemporaryFile(/tmp/multipartBody6965128091666351471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200901681,"filename":"image_16012025_22_14_02_802301_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329747734","file1":"1329747731","file0":"1329747715","file4":"1329747741","file5":"1329747743","file3":"1329747738"},"map_files_photo_id_array":[{"photo_id":"1329747743","filename":"file5"},{"photo_id":"1329747734","filename":"file2"},{"photo_id":"1329747741","filename":"file4"},{"photo_id":"1329747731","filename":"file1"},{"photo_id":"1329747715","filename":"file0"},{"photo_id":"1329747738","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329747738":["hashtag1","hashtag2"]},{"1329747743":["hashtag1","hashtag2"]},{"1329747731":["hashtag1","hashtag2"]},{"1329747734":["hashtag1","hashtag2"]},{"1329747715":["hashtag1","hashtag2"]},{"1329747741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329747738, 1329747743, 1329747731, 1329747734, 1329747715, 1329747741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.08817648887634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:48:21.774799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/46/image_18012025_12_46_02_782327_0003.jpg', '/home/pi/Desktop/images/18012025/12/47/image_18012025_12_47_02_864953_0000.jpg', '/home/pi/Desktop/images/18012025/12/47/image_18012025_12_47_02_864953_0001.jpg', '/home/pi/Desktop/images/18012025/12/47/image_18012025_12_47_02_864953_0002.jpg', '/home/pi/Desktop/images/18012025/12/47/image_18012025_12_47_02_864953_0003.jpg', '/home/pi/Desktop/images/18012025/12/48/image_18012025_12_48_03_008119_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/46/image_18012025_12_46_02_782327_0003.jpg
/home/pi/Desktop/images/18012025/12/47/image_18012025_12_47_02_864953_0000.jpg
/home/pi/Desktop/images/18012025/12/47/image_18012025_12_47_02_864953_0001.jpg
/home/pi/Desktop/images/18012025/12/47/image_18012025_12_47_02_864953_0002.jpg
/home/pi/Desktop/images/18012025/12/47/image_18012025_12_47_02_864953_0003.jpg
/home/pi/Desktop/images/18012025/12/48/image_18012025_12_48_03_008119_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329747773","1329747776","1329747764","1329747778","1329747769","1329747780"],"photo_ids_order":["1329747764","1329747769","1329747773","1329747776","1329747778","1329747780"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6410fd7b607a65983f32f9979d6b22c0.jpg","text":"TemporaryFile(/tmp/multipartBody999617945044805125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200978051,"filename":"image_18012025_12_47_02_864953_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c92c5ff61f6dcfab63cebf1d52e9a3f2.jpg","text":"TemporaryFile(/tmp/multipartBody7057718776333569831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200978051,"filename":"image_18012025_12_47_02_864953_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cc18df6d76e80a4ed3804d6a4d47fbca.jpg","text":"TemporaryFile(/tmp/multipartBody486932818184876870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200978051,"filename":"image_18012025_12_46_02_782327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e64660638d677f9be2876697daa4495a.jpg","text":"TemporaryFile(/tmp/multipartBody8711475252431207619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200978051,"filename":"image_18012025_12_47_02_864953_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6844ea87dd7e42cf737d5985df63ae8.jpg","text":"TemporaryFile(/tmp/multipartBody3425960296357637518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200978051,"filename":"image_18012025_12_47_02_864953_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ea6fb9f52e60f677014f37a1340966f.jpg","text":"TemporaryFile(/tmp/multipartBody8901465314404945638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737200978051,"filename":"image_18012025_12_48_03_008119_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329747773","file1":"1329747769","file0":"1329747764","file4":"1329747778","file5":"1329747780","file3":"1329747776"},"map_files_photo_id_array":[{"photo_id":"1329747780","filename":"file5"},{"photo_id":"1329747773","filename":"file2"},{"photo_id":"1329747778","filename":"file4"},{"photo_id":"1329747769","filename":"file1"},{"photo_id":"1329747764","filename":"file0"},{"photo_id":"1329747776","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329747773":["hashtag1","hashtag2"]},{"1329747776":["hashtag1","hashtag2"]},{"1329747764":["hashtag1","hashtag2"]},{"1329747778":["hashtag1","hashtag2"]},{"1329747769":["hashtag1","hashtag2"]},{"1329747780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329747773, 1329747776, 1329747764, 1329747778, 1329747769, 1329747780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.48705434799194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:49:21.963899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/48/image_18012025_12_48_03_008119_0001.jpg', '/home/pi/Desktop/images/18012025/12/48/image_18012025_12_48_03_008119_0002.jpg', '/home/pi/Desktop/images/18012025/12/48/image_18012025_12_48_03_008119_0003.jpg', '/home/pi/Desktop/images/18012025/12/49/image_18012025_12_49_02_125246_0000.jpg', '/home/pi/Desktop/images/18012025/12/49/image_18012025_12_49_02_125246_0001.jpg', '/home/pi/Desktop/images/18012025/12/49/image_18012025_12_49_02_125246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/48/image_18012025_12_48_03_008119_0001.jpg
/home/pi/Desktop/images/18012025/12/48/image_18012025_12_48_03_008119_0002.jpg
/home/pi/Desktop/images/18012025/12/48/image_18012025_12_48_03_008119_0003.jpg
/home/pi/Desktop/images/18012025/12/49/image_18012025_12_49_02_125246_0000.jpg
/home/pi/Desktop/images/18012025/12/49/image_18012025_12_49_02_125246_0001.jpg
/home/pi/Desktop/images/18012025/12/49/image_18012025_12_49_02_125246_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329747801","1329747791","1329747794","1329747788","1329747796","1329747798"],"photo_ids_order":["1329747788","1329747791","1329747794","1329747796","1329747798","1329747801"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d07aa58e75f26c30fe67759178c862c.jpg","text":"TemporaryFile(/tmp/multipartBody2504188564125264698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201038374,"filename":"image_18012025_12_49_02_125246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60deecdaa23e949a60a043309fdb01d0.jpg","text":"TemporaryFile(/tmp/multipartBody7922036904965334895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201038374,"filename":"image_18012025_12_48_03_008119_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a14db4f2409f756334302c655c84676b.jpg","text":"TemporaryFile(/tmp/multipartBody8061639534613097184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201038374,"filename":"image_18012025_12_48_03_008119_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6e5531b3ce0361f0565d1fd94821a35.jpg","text":"TemporaryFile(/tmp/multipartBody1122208377491909828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201038374,"filename":"image_18012025_12_48_03_008119_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8f735f37a756785da556ab72864432c.jpg","text":"TemporaryFile(/tmp/multipartBody759752451301845230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201038374,"filename":"image_18012025_12_49_02_125246_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7042613610bdaf990332fdc78ecd24a0.jpg","text":"TemporaryFile(/tmp/multipartBody507379954331604709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201038374,"filename":"image_18012025_12_49_02_125246_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329747794","file1":"1329747791","file0":"1329747788","file4":"1329747798","file5":"1329747801","file3":"1329747796"},"map_files_photo_id_array":[{"photo_id":"1329747801","filename":"file5"},{"photo_id":"1329747794","filename":"file2"},{"photo_id":"1329747798","filename":"file4"},{"photo_id":"1329747791","filename":"file1"},{"photo_id":"1329747788","filename":"file0"},{"photo_id":"1329747796","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329747801":["hashtag1","hashtag2"]},{"1329747791":["hashtag1","hashtag2"]},{"1329747794":["hashtag1","hashtag2"]},{"1329747788":["hashtag1","hashtag2"]},{"1329747796":["hashtag1","hashtag2"]},{"1329747798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329747801, 1329747791, 1329747794, 1329747788, 1329747796, 1329747798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.826796770095825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:50:22.160899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/49/image_18012025_12_49_02_125246_0003.jpg', '/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0000.jpg', '/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0001.jpg', '/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/49/image_18012025_12_49_02_125246_0003.jpg
/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0000.jpg
/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0001.jpg
/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.66416883468628 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 12:50:42.176569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/49/image_18012025_12_49_02_125246_0003.jpg', '/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0000.jpg', '/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0001.jpg', '/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/49/image_18012025_12_49_02_125246_0003.jpg
/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0000.jpg
/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0001.jpg
/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329747909","1329747900","1329747924","1329747912"],"photo_ids_order":["1329747900","1329747909","1329747912","1329747924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c6feae64ddaabe713e8ffdd956cbb22.jpg","text":"TemporaryFile(/tmp/multipartBody1580132682553918019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201113212,"filename":"image_18012025_12_50_02_317317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff2a5d712e0cd7cd17cd0b3f08d81096.jpg","text":"TemporaryFile(/tmp/multipartBody8448181006188841797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201113212,"filename":"image_18012025_12_49_02_125246_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e9d0f38034e4867920482826b6e980f.jpg","text":"TemporaryFile(/tmp/multipartBody9214869268632579825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201113212,"filename":"image_18012025_12_50_02_317317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd9547d09cf8228cbff0055dd69ff76d.jpg","text":"TemporaryFile(/tmp/multipartBody2948497392724372217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201113212,"filename":"image_18012025_12_50_02_317317_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329747912","file1":"1329747909","file0":"1329747900","file3":"1329747924"},"map_files_photo_id_array":[{"photo_id":"1329747912","filename":"file2"},{"photo_id":"1329747909","filename":"file1"},{"photo_id":"1329747900","filename":"file0"},{"photo_id":"1329747924","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329747909":["hashtag1","hashtag2"]},{"1329747900":["hashtag1","hashtag2"]},{"1329747924":["hashtag1","hashtag2"]},{"1329747912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329747909, 1329747900, 1329747924, 1329747912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55175280570984 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-18 12:51:32.328577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0003.jpg', '/home/pi/Desktop/images/18012025/12/51/image_18012025_12_51_02_486458_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/50/image_18012025_12_50_02_317317_0003.jpg
/home/pi/Desktop/images/18012025/12/51/image_18012025_12_51_02_486458_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329747958","1329747955"],"photo_ids_order":["1329747955","1329747958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cb318ae7fb851fd525f098bcd1b7c384.jpg","text":"TemporaryFile(/tmp/multipartBody1678468737711013517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201158915,"filename":"image_18012025_12_51_02_486458_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0ca92bbc376fdedd916d6d0ed837fb0.jpg","text":"TemporaryFile(/tmp/multipartBody9128145938846830404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201158915,"filename":"image_18012025_12_50_02_317317_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329747958","file0":"1329747955"},"map_files_photo_id_array":[{"photo_id":"1329747958","filename":"file1"},{"photo_id":"1329747955","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329747958":["hashtag1","hashtag2"]},{"1329747955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329747958, 1329747955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.09617519378662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:52:02.941933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/15/image_16012025_22_15_02_980907_0000.jpg', '/home/pi/Desktop/images/16012025/22/15/image_16012025_22_15_02_980907_0001.jpg', '/home/pi/Desktop/images/16012025/22/15/image_16012025_22_15_02_980907_0002.jpg', '/home/pi/Desktop/images/16012025/22/15/image_16012025_22_15_02_980907_0003.jpg', '/home/pi/Desktop/images/16012025/22/16/image_16012025_22_16_02_111242_0000.jpg', '/home/pi/Desktop/images/16012025/22/16/image_16012025_22_16_02_111242_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/15/image_16012025_22_15_02_980907_0000.jpg
/home/pi/Desktop/images/16012025/22/15/image_16012025_22_15_02_980907_0001.jpg
/home/pi/Desktop/images/16012025/22/15/image_16012025_22_15_02_980907_0002.jpg
/home/pi/Desktop/images/16012025/22/15/image_16012025_22_15_02_980907_0003.jpg
/home/pi/Desktop/images/16012025/22/16/image_16012025_22_16_02_111242_0000.jpg
/home/pi/Desktop/images/16012025/22/16/image_16012025_22_16_02_111242_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329748046","1329748016","1329748021","1329748089","1329748044","1329748097"],"photo_ids_order":["1329748016","1329748021","1329748044","1329748046","1329748089","1329748097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1c89605c60a14ea9f9ae4d6355b3b4e.jpg","text":"TemporaryFile(/tmp/multipartBody5160877156930638401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201201049,"filename":"image_16012025_22_15_02_980907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f608a9b2cafd9c57e7ae24f106b39f9f.jpg","text":"TemporaryFile(/tmp/multipartBody2609184938695728022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201201049,"filename":"image_16012025_22_15_02_980907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f635c05629434ab717d1473c6b44d17.jpg","text":"TemporaryFile(/tmp/multipartBody7973869900334308865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201201049,"filename":"image_16012025_22_15_02_980907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a263580bf890364f78a6cbc280d6aa88.jpg","text":"TemporaryFile(/tmp/multipartBody4260234070973664382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201201049,"filename":"image_16012025_22_16_02_111242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d18bb05e7aa8837db0a2741c16d0f6e7.jpg","text":"TemporaryFile(/tmp/multipartBody1270049708508501325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201201049,"filename":"image_16012025_22_15_02_980907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/076dc822f00af34f5cfcb922de0f311b.jpg","text":"TemporaryFile(/tmp/multipartBody3040887537945894636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201201049,"filename":"image_16012025_22_16_02_111242_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329748044","file1":"1329748021","file0":"1329748016","file4":"1329748089","file5":"1329748097","file3":"1329748046"},"map_files_photo_id_array":[{"photo_id":"1329748097","filename":"file5"},{"photo_id":"1329748044","filename":"file2"},{"photo_id":"1329748089","filename":"file4"},{"photo_id":"1329748021","filename":"file1"},{"photo_id":"1329748016","filename":"file0"},{"photo_id":"1329748046","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329748046":["hashtag1","hashtag2"]},{"1329748016":["hashtag1","hashtag2"]},{"1329748021":["hashtag1","hashtag2"]},{"1329748089":["hashtag1","hashtag2"]},{"1329748044":["hashtag1","hashtag2"]},{"1329748097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329748046, 1329748016, 1329748021, 1329748089, 1329748044, 1329748097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.25839614868164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:53:22.727880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/51/image_18012025_12_51_02_486458_0003.jpg', '/home/pi/Desktop/images/18012025/12/52/image_18012025_12_52_02_778635_0000.jpg', '/home/pi/Desktop/images/18012025/12/52/image_18012025_12_52_02_778635_0002.jpg', '/home/pi/Desktop/images/18012025/12/52/image_18012025_12_52_02_778635_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/51/image_18012025_12_51_02_486458_0003.jpg
/home/pi/Desktop/images/18012025/12/52/image_18012025_12_52_02_778635_0000.jpg
/home/pi/Desktop/images/18012025/12/52/image_18012025_12_52_02_778635_0002.jpg
/home/pi/Desktop/images/18012025/12/52/image_18012025_12_52_02_778635_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":["1329748208","1329748198","1329748213","1329748203"],"photo_ids_order":["1329748198","1329748203","1329748208","1329748213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/021592ba20e2fad2406c5b015db51b35.jpg","text":"TemporaryFile(/tmp/multipartBody1675298392169194345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201274491,"filename":"image_18012025_12_52_02_778635_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/90295a216d1b15566a0f91abb3859b3f.jpg","text":"TemporaryFile(/tmp/multipartBody6277438147623343378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201274491,"filename":"image_18012025_12_51_02_486458_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7fa6e8ee3793b5aea65446d2983c253b.jpg","text":"TemporaryFile(/tmp/multipartBody1239631657712073344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201274491,"filename":"image_18012025_12_52_02_778635_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bcf814bfaee482254bd6fdb1abb0c65d.jpg","text":"TemporaryFile(/tmp/multipartBody5754778134258675811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201274491,"filename":"image_18012025_12_52_02_778635_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329748208","file1":"1329748203","file0":"1329748198","file3":"1329748213"},"map_files_photo_id_array":[{"photo_id":"1329748208","filename":"file2"},{"photo_id":"1329748203","filename":"file1"},{"photo_id":"1329748198","filename":"file0"},{"photo_id":"1329748213","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329748208":["hashtag1","hashtag2"]},{"1329748198":["hashtag1","hashtag2"]},{"1329748213":["hashtag1","hashtag2"]},{"1329748203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329748208, 1329748198, 1329748213, 1329748203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.50792932510376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:54:21.996518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/53/image_18012025_12_53_02_844184_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/53/image_18012025_12_53_02_844184_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329748220"],"photo_id":"1329748220","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fce5d36d00768f5aa5c764522020ab7b.jpg","text":"TemporaryFile(/tmp/multipartBody1363811297080660654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201325449,"filename":"image_18012025_12_53_02_844184_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1329748220"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329748220"}],"hashtags":[],"portfolio_id":"19724253","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 16.134546518325806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 12:54:41.913788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/16/image_16012025_22_16_02_111242_0002.jpg', '/home/pi/Desktop/images/16012025/22/16/image_16012025_22_16_02_111242_0003.jpg', '/home/pi/Desktop/images/16012025/22/17/image_16012025_22_17_02_354754_0000.jpg', '/home/pi/Desktop/images/16012025/22/17/image_16012025_22_17_02_354754_0001.jpg', '/home/pi/Desktop/images/16012025/22/17/image_16012025_22_17_02_354754_0002.jpg', '/home/pi/Desktop/images/16012025/22/17/image_16012025_22_17_02_354754_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/16/image_16012025_22_16_02_111242_0002.jpg
/home/pi/Desktop/images/16012025/22/16/image_16012025_22_16_02_111242_0003.jpg
/home/pi/Desktop/images/16012025/22/17/image_16012025_22_17_02_354754_0000.jpg
/home/pi/Desktop/images/16012025/22/17/image_16012025_22_17_02_354754_0001.jpg
/home/pi/Desktop/images/16012025/22/17/image_16012025_22_17_02_354754_0002.jpg
/home/pi/Desktop/images/16012025/22/17/image_16012025_22_17_02_354754_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329748265","1329748247","1329748285","1329748280","1329748283","1329748277"],"photo_ids_order":["1329748247","1329748265","1329748277","1329748280","1329748283","1329748285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ab08ad91938b4325a614b1e90baf706.jpg","text":"TemporaryFile(/tmp/multipartBody8379367649528407686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201358770,"filename":"image_16012025_22_16_02_111242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b063a34c552c6f7db56239656a342d8a.jpg","text":"TemporaryFile(/tmp/multipartBody7533077683095154214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201358770,"filename":"image_16012025_22_16_02_111242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5dc57a26e62cf2bc2a318ef6aefe44c5.jpg","text":"TemporaryFile(/tmp/multipartBody2064168726435371488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201358770,"filename":"image_16012025_22_17_02_354754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f9d409eb9d6654fce6d5ea5f8ec7607b.jpg","text":"TemporaryFile(/tmp/multipartBody8576678126031679781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201358770,"filename":"image_16012025_22_17_02_354754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c41d5b13f6f53b9b007b66a3e05d066.jpg","text":"TemporaryFile(/tmp/multipartBody7959505851819976716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201358770,"filename":"image_16012025_22_17_02_354754_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3706e81021be9aaf56edbfae6304f91b.jpg","text":"TemporaryFile(/tmp/multipartBody8390183046808379461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201358770,"filename":"image_16012025_22_17_02_354754_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329748277","file1":"1329748265","file0":"1329748247","file4":"1329748283","file5":"1329748285","file3":"1329748280"},"map_files_photo_id_array":[{"photo_id":"1329748285","filename":"file5"},{"photo_id":"1329748277","filename":"file2"},{"photo_id":"1329748283","filename":"file4"},{"photo_id":"1329748265","filename":"file1"},{"photo_id":"1329748247","filename":"file0"},{"photo_id":"1329748280","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329748265":["hashtag1","hashtag2"]},{"1329748247":["hashtag1","hashtag2"]},{"1329748285":["hashtag1","hashtag2"]},{"1329748280":["hashtag1","hashtag2"]},{"1329748283":["hashtag1","hashtag2"]},{"1329748277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329748265, 1329748247, 1329748285, 1329748280, 1329748283, 1329748277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.240654706954956 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 12:55:52.109608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/54/image_18012025_12_54_03_081345_0001.jpg', '/home/pi/Desktop/images/18012025/12/55/image_18012025_12_55_02_271103_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/54/image_18012025_12_54_03_081345_0001.jpg
/home/pi/Desktop/images/18012025/12/55/image_18012025_12_55_02_271103_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: 5.794514894485474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 12:56:02.744887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/54/image_18012025_12_54_03_081345_0001.jpg', '/home/pi/Desktop/images/18012025/12/55/image_18012025_12_55_02_271103_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/54/image_18012025_12_54_03_081345_0001.jpg
/home/pi/Desktop/images/18012025/12/55/image_18012025_12_55_02_271103_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329748349","1329748347"],"photo_ids_order":["1329748347","1329748349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/22d2bd69f6d766434bfcdb8b8631ea53.jpg","text":"TemporaryFile(/tmp/multipartBody4933617379929895178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201428967,"filename":"image_18012025_12_55_02_271103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b2083ca9390a6df331bc8177bc44a49f.jpg","text":"TemporaryFile(/tmp/multipartBody3609385463368498840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201428967,"filename":"image_18012025_12_54_03_081345_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329748349","file0":"1329748347"},"map_files_photo_id_array":[{"photo_id":"1329748349","filename":"file1"},{"photo_id":"1329748347","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329748349":["hashtag1","hashtag2"]},{"1329748347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329748349, 1329748347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.84219765663147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 12:56:32.304016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/55/image_18012025_12_55_02_271103_0002.jpg', '/home/pi/Desktop/images/18012025/12/56/image_18012025_12_56_02_520645_0000.jpg', '/home/pi/Desktop/images/18012025/12/56/image_18012025_12_56_02_520645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/55/image_18012025_12_55_02_271103_0002.jpg
/home/pi/Desktop/images/18012025/12/56/image_18012025_12_56_02_520645_0000.jpg
/home/pi/Desktop/images/18012025/12/56/image_18012025_12_56_02_520645_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329748406","1329748411","1329748413"],"photo_ids_order":["1329748406","1329748411","1329748413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/79d515a23fdf03bd72d534f8ed8ac876.jpg","text":"TemporaryFile(/tmp/multipartBody7282456468464286189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201461282,"filename":"image_18012025_12_55_02_271103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/68c074b1a6d40df52c3f28b8a348c5d8.jpg","text":"TemporaryFile(/tmp/multipartBody5492641401796920996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201461282,"filename":"image_18012025_12_56_02_520645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5cc5f999b85b4805a3451be652d309ae.jpg","text":"TemporaryFile(/tmp/multipartBody3498738451186726269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201461282,"filename":"image_18012025_12_56_02_520645_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329748413","file1":"1329748411","file0":"1329748406"},"map_files_photo_id_array":[{"photo_id":"1329748413","filename":"file2"},{"photo_id":"1329748411","filename":"file1"},{"photo_id":"1329748406","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329748406":["hashtag1","hashtag2"]},{"1329748411":["hashtag1","hashtag2"]},{"1329748413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329748406, 1329748411, 1329748413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.40196466445923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 12:57:22.476392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/56/image_18012025_12_56_02_520645_0003.jpg', '/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_0000.jpg', '/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_0001.jpg', '/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/56/image_18012025_12_56_02_520645_0003.jpg
/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_0000.jpg
/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_0001.jpg
/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_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-18 12:59:02.464309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/56/image_18012025_12_56_02_520645_0003.jpg', '/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_0000.jpg', '/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_0001.jpg', '/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/56/image_18012025_12_56_02_520645_0003.jpg
/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_0000.jpg
/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_0001.jpg
/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329748591","1329748618","1329748603","1329748612"],"photo_ids_order":["1329748591","1329748603","1329748612","1329748618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c78138b4e4e2f3b19d8bd1db19dcd84.jpg","text":"TemporaryFile(/tmp/multipartBody4847054640808873606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201614293,"filename":"image_18012025_12_56_02_520645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d13b617825370a749cb176336f3b2d27.jpg","text":"TemporaryFile(/tmp/multipartBody8018583730088774264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201614293,"filename":"image_18012025_12_57_02_655753_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/66b92d9a2cd8d96ff21c8901a7042c58.jpg","text":"TemporaryFile(/tmp/multipartBody2027584369277418914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201614293,"filename":"image_18012025_12_57_02_655753_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9510359016732fa7ef6a0501cab8995d.jpg","text":"TemporaryFile(/tmp/multipartBody3834791389845226755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201614293,"filename":"image_18012025_12_57_02_655753_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329748612","file1":"1329748603","file0":"1329748591","file3":"1329748618"},"map_files_photo_id_array":[{"photo_id":"1329748612","filename":"file2"},{"photo_id":"1329748603","filename":"file1"},{"photo_id":"1329748591","filename":"file0"},{"photo_id":"1329748618","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329748591":["hashtag1","hashtag2"]},{"1329748618":["hashtag1","hashtag2"]},{"1329748603":["hashtag1","hashtag2"]},{"1329748612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329748591, 1329748618, 1329748603, 1329748612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13843131065369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 12:59:51.745005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_0003.jpg', '/home/pi/Desktop/images/18012025/12/59/image_18012025_12_59_02_971465_0001.jpg', '/home/pi/Desktop/images/18012025/12/59/image_18012025_12_59_02_971465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/57/image_18012025_12_57_02_655753_0003.jpg
/home/pi/Desktop/images/18012025/12/59/image_18012025_12_59_02_971465_0001.jpg
/home/pi/Desktop/images/18012025/12/59/image_18012025_12_59_02_971465_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329748785","1329748788","1329748778"],"photo_ids_order":["1329748778","1329748785","1329748788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c69807972df405a5d04851fe33a251b.jpg","text":"TemporaryFile(/tmp/multipartBody1535957016344887412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201660704,"filename":"image_18012025_12_59_02_971465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6bb34c92d9d97de01fdbde7b14b5b64.jpg","text":"TemporaryFile(/tmp/multipartBody8976111423321866871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201660704,"filename":"image_18012025_12_59_02_971465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5f63b9858cd82b01bf9dcf23b1fe2204.jpg","text":"TemporaryFile(/tmp/multipartBody8870430168670540105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201660704,"filename":"image_18012025_12_57_02_655753_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329748788","file1":"1329748785","file0":"1329748778"},"map_files_photo_id_array":[{"photo_id":"1329748788","filename":"file2"},{"photo_id":"1329748785","filename":"file1"},{"photo_id":"1329748778","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329748785":["hashtag1","hashtag2"]},{"1329748788":["hashtag1","hashtag2"]},{"1329748778":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329748785, 1329748788, 1329748778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.663055181503296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 13:00:31.951775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/12/59/image_18012025_12_59_02_971465_0003.jpg', '/home/pi/Desktop/images/18012025/13/00/image_18012025_13_00_02_223874_0000.jpg', '/home/pi/Desktop/images/18012025/13/00/image_18012025_13_00_02_223874_0001.jpg', '/home/pi/Desktop/images/18012025/13/00/image_18012025_13_00_02_223874_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/12/59/image_18012025_12_59_02_971465_0003.jpg
/home/pi/Desktop/images/18012025/13/00/image_18012025_13_00_02_223874_0000.jpg
/home/pi/Desktop/images/18012025/13/00/image_18012025_13_00_02_223874_0001.jpg
/home/pi/Desktop/images/18012025/13/00/image_18012025_13_00_02_223874_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329748838","1329748843","1329748831","1329748836"],"photo_ids_order":["1329748831","1329748836","1329748838","1329748843"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/714b343f87c782e151f4fe6f29e518c1.jpg","text":"TemporaryFile(/tmp/multipartBody465603313449765717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201703603,"filename":"image_18012025_13_00_02_223874_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1347537b2fda783c2273f5cc64dc7958.jpg","text":"TemporaryFile(/tmp/multipartBody3166202271636689945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201703603,"filename":"image_18012025_13_00_02_223874_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e175f01b09195fa0c0ef8c2ce777e6ab.jpg","text":"TemporaryFile(/tmp/multipartBody3108973765470011905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201703603,"filename":"image_18012025_12_59_02_971465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8086ae8c7146e861193779c3c825149e.jpg","text":"TemporaryFile(/tmp/multipartBody4582996905885236532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201703603,"filename":"image_18012025_13_00_02_223874_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329748838","file1":"1329748836","file0":"1329748831","file3":"1329748843"},"map_files_photo_id_array":[{"photo_id":"1329748838","filename":"file2"},{"photo_id":"1329748836","filename":"file1"},{"photo_id":"1329748831","filename":"file0"},{"photo_id":"1329748843","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329748838":["hashtag1","hashtag2"]},{"1329748843":["hashtag1","hashtag2"]},{"1329748831":["hashtag1","hashtag2"]},{"1329748836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329748838, 1329748843, 1329748831, 1329748836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.74057626724243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:01:22.192563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/00/image_18012025_13_00_02_223874_0003.jpg', '/home/pi/Desktop/images/18012025/13/01/image_18012025_13_01_02_315543_0000.jpg', '/home/pi/Desktop/images/18012025/13/01/image_18012025_13_01_02_315543_0001.jpg', '/home/pi/Desktop/images/18012025/13/01/image_18012025_13_01_02_315543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/00/image_18012025_13_00_02_223874_0003.jpg
/home/pi/Desktop/images/18012025/13/01/image_18012025_13_01_02_315543_0000.jpg
/home/pi/Desktop/images/18012025/13/01/image_18012025_13_01_02_315543_0001.jpg
/home/pi/Desktop/images/18012025/13/01/image_18012025_13_01_02_315543_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329748853","1329748963","1329748957","1329748858"],"photo_ids_order":["1329748853","1329748858","1329748957","1329748963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/51e73d926acca9aa10fd60737432dce6.jpg","text":"TemporaryFile(/tmp/multipartBody8809169413570137718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201753455,"filename":"image_18012025_13_00_02_223874_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/05364fbbafcf5c304b5369e2b7718e16.jpg","text":"TemporaryFile(/tmp/multipartBody9009114022128335733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201753455,"filename":"image_18012025_13_01_02_315543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cc855c57b716327962739ae6a20028a4.jpg","text":"TemporaryFile(/tmp/multipartBody354137665571917106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201753455,"filename":"image_18012025_13_01_02_315543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da546d21bf6090bc6e00b092ff545020.jpg","text":"TemporaryFile(/tmp/multipartBody5930270182846774804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201753455,"filename":"image_18012025_13_01_02_315543_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329748957","file1":"1329748858","file0":"1329748853","file3":"1329748963"},"map_files_photo_id_array":[{"photo_id":"1329748957","filename":"file2"},{"photo_id":"1329748858","filename":"file1"},{"photo_id":"1329748853","filename":"file0"},{"photo_id":"1329748963","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329748853":["hashtag1","hashtag2"]},{"1329748963":["hashtag1","hashtag2"]},{"1329748957":["hashtag1","hashtag2"]},{"1329748858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329748853, 1329748963, 1329748957, 1329748858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07380151748657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:02:02.724268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/18/image_16012025_22_18_02_627695_0000.jpg', '/home/pi/Desktop/images/16012025/22/18/image_16012025_22_18_02_627695_0001.jpg', '/home/pi/Desktop/images/16012025/22/18/image_16012025_22_18_02_627695_0002.jpg', '/home/pi/Desktop/images/16012025/22/18/image_16012025_22_18_02_627695_0003.jpg', '/home/pi/Desktop/images/16012025/22/19/image_16012025_22_19_02_796389_0000.jpg', '/home/pi/Desktop/images/16012025/22/19/image_16012025_22_19_02_796389_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/18/image_16012025_22_18_02_627695_0000.jpg
/home/pi/Desktop/images/16012025/22/18/image_16012025_22_18_02_627695_0001.jpg
/home/pi/Desktop/images/16012025/22/18/image_16012025_22_18_02_627695_0002.jpg
/home/pi/Desktop/images/16012025/22/18/image_16012025_22_18_02_627695_0003.jpg
/home/pi/Desktop/images/16012025/22/19/image_16012025_22_19_02_796389_0000.jpg
/home/pi/Desktop/images/16012025/22/19/image_16012025_22_19_02_796389_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":["1329748999","1329749023","1329749034","1329748995","1329749007","1329748991"],"photo_ids_order":["1329748991","1329748995","1329748999","1329749007","1329749023","1329749034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8514042a53945a4cd4125dd2054eb5ac.jpg","text":"TemporaryFile(/tmp/multipartBody2013481646513407191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201800453,"filename":"image_16012025_22_18_02_627695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bb4a7dc52eb6f66a233d2590f7667117.jpg","text":"TemporaryFile(/tmp/multipartBody3012784920899287663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201800453,"filename":"image_16012025_22_19_02_796389_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0858373c0dc9ac78156fdd2da0e8dfa4.jpg","text":"TemporaryFile(/tmp/multipartBody8513256339889617419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201800453,"filename":"image_16012025_22_19_02_796389_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2001849b03cef2d8ce79a465426c4703.jpg","text":"TemporaryFile(/tmp/multipartBody7079277775337780821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201800453,"filename":"image_16012025_22_18_02_627695_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/56ab6c18da1a71a16ea0996feca87c6c.jpg","text":"TemporaryFile(/tmp/multipartBody5387439733465228395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201800453,"filename":"image_16012025_22_18_02_627695_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/77973804fea6baf7c6276fd92f3f293a.jpg","text":"TemporaryFile(/tmp/multipartBody4325372316468468037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201800453,"filename":"image_16012025_22_18_02_627695_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329748999","file1":"1329748995","file0":"1329748991","file4":"1329749023","file5":"1329749034","file3":"1329749007"},"map_files_photo_id_array":[{"photo_id":"1329749034","filename":"file5"},{"photo_id":"1329748999","filename":"file2"},{"photo_id":"1329749023","filename":"file4"},{"photo_id":"1329748995","filename":"file1"},{"photo_id":"1329748991","filename":"file0"},{"photo_id":"1329749007","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329748999":["hashtag1","hashtag2"]},{"1329749023":["hashtag1","hashtag2"]},{"1329749034":["hashtag1","hashtag2"]},{"1329748995":["hashtag1","hashtag2"]},{"1329749007":["hashtag1","hashtag2"]},{"1329748991":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329748999, 1329749023, 1329749034, 1329748995, 1329749007, 1329748991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.408265590667725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:03:03.195752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/01/image_18012025_13_01_02_315543_0003.jpg', '/home/pi/Desktop/images/18012025/13/02/image_18012025_13_02_02_575727_0000.jpg', '/home/pi/Desktop/images/18012025/13/02/image_18012025_13_02_02_575727_0001.jpg', '/home/pi/Desktop/images/18012025/13/02/image_18012025_13_02_02_575727_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/01/image_18012025_13_01_02_315543_0003.jpg
/home/pi/Desktop/images/18012025/13/02/image_18012025_13_02_02_575727_0000.jpg
/home/pi/Desktop/images/18012025/13/02/image_18012025_13_02_02_575727_0001.jpg
/home/pi/Desktop/images/18012025/13/02/image_18012025_13_02_02_575727_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329749062","1329749053","1329749049","1329749058"],"photo_ids_order":["1329749049","1329749053","1329749058","1329749062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/016eeb3a7248fbcb9c8e6e9ab4f87fbf.jpg","text":"TemporaryFile(/tmp/multipartBody8685589181660064892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201854558,"filename":"image_18012025_13_02_02_575727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/248fc5b5b99a463c789f6058e2ea1c1e.jpg","text":"TemporaryFile(/tmp/multipartBody1963976486574474333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201854558,"filename":"image_18012025_13_02_02_575727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/82d4e0534b0110a25af066729f44434d.jpg","text":"TemporaryFile(/tmp/multipartBody1199784871701516171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201854558,"filename":"image_18012025_13_01_02_315543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/55bb7595a89ea91274756617ba1794da.jpg","text":"TemporaryFile(/tmp/multipartBody5711738446637751547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201854558,"filename":"image_18012025_13_02_02_575727_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329749058","file1":"1329749053","file0":"1329749049","file3":"1329749062"},"map_files_photo_id_array":[{"photo_id":"1329749058","filename":"file2"},{"photo_id":"1329749053","filename":"file1"},{"photo_id":"1329749049","filename":"file0"},{"photo_id":"1329749062","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329749062":["hashtag1","hashtag2"]},{"1329749053":["hashtag1","hashtag2"]},{"1329749049":["hashtag1","hashtag2"]},{"1329749058":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329749062, 1329749053, 1329749049, 1329749058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.46735501289368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 13:03:52.485255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/02/image_18012025_13_02_02_575727_0003.jpg', '/home/pi/Desktop/images/18012025/13/03/image_18012025_13_03_02_664930_0000.jpg', '/home/pi/Desktop/images/18012025/13/03/image_18012025_13_03_02_664930_0001.jpg', '/home/pi/Desktop/images/18012025/13/03/image_18012025_13_03_02_664930_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/02/image_18012025_13_02_02_575727_0003.jpg
/home/pi/Desktop/images/18012025/13/03/image_18012025_13_03_02_664930_0000.jpg
/home/pi/Desktop/images/18012025/13/03/image_18012025_13_03_02_664930_0001.jpg
/home/pi/Desktop/images/18012025/13/03/image_18012025_13_03_02_664930_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329749095","1329749091","1329749079","1329749076"],"photo_ids_order":["1329749076","1329749079","1329749091","1329749095"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/20a2981e84d98051324279d5560ebb6a.jpg","text":"TemporaryFile(/tmp/multipartBody7813946942076587930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201903973,"filename":"image_18012025_13_03_02_664930_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/828df4a86f398ea040a6f65dc2ee8281.jpg","text":"TemporaryFile(/tmp/multipartBody2456502787911716628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201903973,"filename":"image_18012025_13_03_02_664930_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9315144343bfa2bb58bb01d48c1c0bd1.jpg","text":"TemporaryFile(/tmp/multipartBody7139376300832660144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201903973,"filename":"image_18012025_13_03_02_664930_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c8f60d251a786a9596cc88d62754275.jpg","text":"TemporaryFile(/tmp/multipartBody3422498241197679702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201903973,"filename":"image_18012025_13_02_02_575727_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329749091","file1":"1329749079","file0":"1329749076","file3":"1329749095"},"map_files_photo_id_array":[{"photo_id":"1329749091","filename":"file2"},{"photo_id":"1329749079","filename":"file1"},{"photo_id":"1329749076","filename":"file0"},{"photo_id":"1329749095","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329749095":["hashtag1","hashtag2"]},{"1329749091":["hashtag1","hashtag2"]},{"1329749079":["hashtag1","hashtag2"]},{"1329749076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329749095, 1329749091, 1329749079, 1329749076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.64356708526611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 13:04:42.804817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/03/image_18012025_13_03_02_664930_0003.jpg', '/home/pi/Desktop/images/18012025/13/04/image_18012025_13_04_02_870781_0000.jpg', '/home/pi/Desktop/images/18012025/13/04/image_18012025_13_04_02_870781_0001.jpg', '/home/pi/Desktop/images/18012025/13/04/image_18012025_13_04_02_870781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/03/image_18012025_13_03_02_664930_0003.jpg
/home/pi/Desktop/images/18012025/13/04/image_18012025_13_04_02_870781_0000.jpg
/home/pi/Desktop/images/18012025/13/04/image_18012025_13_04_02_870781_0001.jpg
/home/pi/Desktop/images/18012025/13/04/image_18012025_13_04_02_870781_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329749140","1329749143","1329749146","1329749145"],"photo_ids_order":["1329749140","1329749143","1329749145","1329749146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e028e5a32048d09f248e8c59a0ae8706.jpg","text":"TemporaryFile(/tmp/multipartBody7294099536816699782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201954202,"filename":"image_18012025_13_03_02_664930_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d1cc4b4d03a0ecd259c11e1900bca53c.jpg","text":"TemporaryFile(/tmp/multipartBody3472853414318190644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201954202,"filename":"image_18012025_13_04_02_870781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8d064d51c0a250cc688f0dc6d5fdc041.jpg","text":"TemporaryFile(/tmp/multipartBody8231650625071196592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201954202,"filename":"image_18012025_13_04_02_870781_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4921470450e291e9d61a9a3c92ccab0d.jpg","text":"TemporaryFile(/tmp/multipartBody4576285267812344507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737201954202,"filename":"image_18012025_13_04_02_870781_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329749145","file1":"1329749143","file0":"1329749140","file3":"1329749146"},"map_files_photo_id_array":[{"photo_id":"1329749145","filename":"file2"},{"photo_id":"1329749143","filename":"file1"},{"photo_id":"1329749140","filename":"file0"},{"photo_id":"1329749146","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329749140":["hashtag1","hashtag2"]},{"1329749143":["hashtag1","hashtag2"]},{"1329749146":["hashtag1","hashtag2"]},{"1329749145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329749140, 1329749143, 1329749146, 1329749145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.28805112838745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 13:05:31.843899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/04/image_18012025_13_04_02_870781_0003.jpg', '/home/pi/Desktop/images/18012025/13/05/image_18012025_13_05_03_056027_0000.jpg', '/home/pi/Desktop/images/18012025/13/05/image_18012025_13_05_03_056027_0001.jpg', '/home/pi/Desktop/images/18012025/13/05/image_18012025_13_05_03_056027_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/04/image_18012025_13_04_02_870781_0003.jpg
/home/pi/Desktop/images/18012025/13/05/image_18012025_13_05_03_056027_0000.jpg
/home/pi/Desktop/images/18012025/13/05/image_18012025_13_05_03_056027_0001.jpg
/home/pi/Desktop/images/18012025/13/05/image_18012025_13_05_03_056027_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329749240","1329749228","1329749212","1329749237"],"photo_ids_order":["1329749212","1329749228","1329749237","1329749240"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fbd3fe8b841aa4267e3cc8a1dcf8441d.jpg","text":"TemporaryFile(/tmp/multipartBody7963324421790498612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202003014,"filename":"image_18012025_13_05_03_056027_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/34b284f5466e535f151bcb8ae4d56501.jpg","text":"TemporaryFile(/tmp/multipartBody5513576957109750520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202003014,"filename":"image_18012025_13_05_03_056027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6dd583bdfe39ee77500a94c946510eb6.jpg","text":"TemporaryFile(/tmp/multipartBody2170682315726845223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202003014,"filename":"image_18012025_13_04_02_870781_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b1ecea7fc25b422ff9cad278d148c9c1.jpg","text":"TemporaryFile(/tmp/multipartBody3633520634910534096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202003014,"filename":"image_18012025_13_05_03_056027_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329749237","file1":"1329749228","file0":"1329749212","file3":"1329749240"},"map_files_photo_id_array":[{"photo_id":"1329749237","filename":"file2"},{"photo_id":"1329749228","filename":"file1"},{"photo_id":"1329749212","filename":"file0"},{"photo_id":"1329749240","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329749240":["hashtag1","hashtag2"]},{"1329749228":["hashtag1","hashtag2"]},{"1329749212":["hashtag1","hashtag2"]},{"1329749237":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329749240, 1329749228, 1329749212, 1329749237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.41732668876648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:06:22.053003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/05/image_18012025_13_05_03_056027_0003.jpg', '/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0000.jpg', '/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0001.jpg', '/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/05/image_18012025_13_05_03_056027_0003.jpg
/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0000.jpg
/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0001.jpg
/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.174017667770386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 13:06:42.059028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/05/image_18012025_13_05_03_056027_0003.jpg', '/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0000.jpg', '/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0001.jpg', '/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/05/image_18012025_13_05_03_056027_0003.jpg
/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0000.jpg
/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0001.jpg
/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329749293","1329749338","1329749295","1329749291"],"photo_ids_order":["1329749291","1329749293","1329749295","1329749338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6cc4707cabf50d7cbd75148aabe7c3f.jpg","text":"TemporaryFile(/tmp/multipartBody3310128781478372642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202073626,"filename":"image_18012025_13_06_02_270193_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cfbcff6a01cf0da910dbeba86d6b20be.jpg","text":"TemporaryFile(/tmp/multipartBody7815329808677470552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202073626,"filename":"image_18012025_13_06_02_270193_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1d267e71dcd5b171535aea0404619cff.jpg","text":"TemporaryFile(/tmp/multipartBody6510134909329265710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202073626,"filename":"image_18012025_13_06_02_270193_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e10a4b074f9849213499c8adbedd5acb.jpg","text":"TemporaryFile(/tmp/multipartBody6474673459143578692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202073626,"filename":"image_18012025_13_05_03_056027_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329749295","file1":"1329749293","file0":"1329749291","file3":"1329749338"},"map_files_photo_id_array":[{"photo_id":"1329749295","filename":"file2"},{"photo_id":"1329749293","filename":"file1"},{"photo_id":"1329749291","filename":"file0"},{"photo_id":"1329749338","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329749293":["hashtag1","hashtag2"]},{"1329749338":["hashtag1","hashtag2"]},{"1329749295":["hashtag1","hashtag2"]},{"1329749291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329749293, 1329749338, 1329749295, 1329749291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55683255195618 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-18 13:07:32.221663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0003.jpg', '/home/pi/Desktop/images/18012025/13/07/image_18012025_13_07_02_389525_0000.jpg', '/home/pi/Desktop/images/18012025/13/07/image_18012025_13_07_02_389525_0001.jpg', '/home/pi/Desktop/images/18012025/13/07/image_18012025_13_07_02_389525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/06/image_18012025_13_06_02_270193_0003.jpg
/home/pi/Desktop/images/18012025/13/07/image_18012025_13_07_02_389525_0000.jpg
/home/pi/Desktop/images/18012025/13/07/image_18012025_13_07_02_389525_0001.jpg
/home/pi/Desktop/images/18012025/13/07/image_18012025_13_07_02_389525_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329749440","1329749434","1329749427","1329749444"],"photo_ids_order":["1329749427","1329749434","1329749440","1329749444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bed5431050fc2695a118ca98baf1bf48.jpg","text":"TemporaryFile(/tmp/multipartBody3918066468092141506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202123675,"filename":"image_18012025_13_07_02_389525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f4ac9286cf525216c5e19eceb78d1743.jpg","text":"TemporaryFile(/tmp/multipartBody5434663143597335095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202123675,"filename":"image_18012025_13_07_02_389525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3d585519cc292e1d9978ce0ad754eee8.jpg","text":"TemporaryFile(/tmp/multipartBody5855426764648100804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202123675,"filename":"image_18012025_13_06_02_270193_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3bbd7721bccc5ec0ecc6b7d287512fc8.jpg","text":"TemporaryFile(/tmp/multipartBody5011031002986477959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202123675,"filename":"image_18012025_13_07_02_389525_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329749440","file1":"1329749434","file0":"1329749427","file3":"1329749444"},"map_files_photo_id_array":[{"photo_id":"1329749440","filename":"file2"},{"photo_id":"1329749434","filename":"file1"},{"photo_id":"1329749427","filename":"file0"},{"photo_id":"1329749444","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329749440":["hashtag1","hashtag2"]},{"1329749434":["hashtag1","hashtag2"]},{"1329749427":["hashtag1","hashtag2"]},{"1329749444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329749440, 1329749434, 1329749427, 1329749444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64067077636719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:08:22.445104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/07/image_18012025_13_07_02_389525_0003.jpg', '/home/pi/Desktop/images/18012025/13/08/image_18012025_13_08_02_573693_0000.jpg', '/home/pi/Desktop/images/18012025/13/08/image_18012025_13_08_02_573693_0001.jpg', '/home/pi/Desktop/images/18012025/13/08/image_18012025_13_08_02_573693_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/07/image_18012025_13_07_02_389525_0003.jpg
/home/pi/Desktop/images/18012025/13/08/image_18012025_13_08_02_573693_0000.jpg
/home/pi/Desktop/images/18012025/13/08/image_18012025_13_08_02_573693_0001.jpg
/home/pi/Desktop/images/18012025/13/08/image_18012025_13_08_02_573693_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329749899","1329750422","1329750066","1329750761"],"photo_ids_order":["1329749899","1329750066","1329750422","1329750761"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/78b1c9b472bd8b5b9060af9baf1d313b.jpg","text":"TemporaryFile(/tmp/multipartBody961481262133868135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202173755,"filename":"image_18012025_13_07_02_389525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/db809e30083f8f2e02dd52ca3b9613ce.jpg","text":"TemporaryFile(/tmp/multipartBody8740752691809972033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202173755,"filename":"image_18012025_13_08_02_573693_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/daeb871780e6247ccc5fdcf397130cb4.jpg","text":"TemporaryFile(/tmp/multipartBody5173295411458293706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202173755,"filename":"image_18012025_13_08_02_573693_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d54c704501858457cbf97f70510a7aca.jpg","text":"TemporaryFile(/tmp/multipartBody4083938185282391988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202173755,"filename":"image_18012025_13_08_02_573693_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329750422","file1":"1329750066","file0":"1329749899","file3":"1329750761"},"map_files_photo_id_array":[{"photo_id":"1329750422","filename":"file2"},{"photo_id":"1329750066","filename":"file1"},{"photo_id":"1329749899","filename":"file0"},{"photo_id":"1329750761","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329749899":["hashtag1","hashtag2"]},{"1329750422":["hashtag1","hashtag2"]},{"1329750066":["hashtag1","hashtag2"]},{"1329750761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329749899, 1329750422, 1329750066, 1329750761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02414298057556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:09:22.633509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/08/image_18012025_13_08_02_573693_0003.jpg', '/home/pi/Desktop/images/18012025/13/09/image_18012025_13_09_02_809369_0000.jpg', '/home/pi/Desktop/images/18012025/13/09/image_18012025_13_09_02_809369_0001.jpg', '/home/pi/Desktop/images/18012025/13/09/image_18012025_13_09_02_809369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/08/image_18012025_13_08_02_573693_0003.jpg
/home/pi/Desktop/images/18012025/13/09/image_18012025_13_09_02_809369_0000.jpg
/home/pi/Desktop/images/18012025/13/09/image_18012025_13_09_02_809369_0001.jpg
/home/pi/Desktop/images/18012025/13/09/image_18012025_13_09_02_809369_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329750785","1329750803","1329750789","1329750782"],"photo_ids_order":["1329750782","1329750785","1329750789","1329750803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/43ab4e77669d3999c31eedb61ae276cc.jpg","text":"TemporaryFile(/tmp/multipartBody2705698330944740833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202234194,"filename":"image_18012025_13_09_02_809369_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/58ec8f3d4fb5fee3e105420b035cee26.jpg","text":"TemporaryFile(/tmp/multipartBody6311936857836739872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202234194,"filename":"image_18012025_13_09_02_809369_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e6ba5187c35ad4ead52132cca97a1e6.jpg","text":"TemporaryFile(/tmp/multipartBody3106420815673618070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202234194,"filename":"image_18012025_13_09_02_809369_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/780a7c0799996d23be8589afb7bed600.jpg","text":"TemporaryFile(/tmp/multipartBody2735775217652430448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202234194,"filename":"image_18012025_13_08_02_573693_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329750789","file1":"1329750785","file0":"1329750782","file3":"1329750803"},"map_files_photo_id_array":[{"photo_id":"1329750789","filename":"file2"},{"photo_id":"1329750785","filename":"file1"},{"photo_id":"1329750782","filename":"file0"},{"photo_id":"1329750803","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329750785":["hashtag1","hashtag2"]},{"1329750803":["hashtag1","hashtag2"]},{"1329750789":["hashtag1","hashtag2"]},{"1329750782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329750785, 1329750803, 1329750789, 1329750782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.85334134101868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:10:21.848778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/09/image_18012025_13_09_02_809369_0003.jpg', '/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0000.jpg', '/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0001.jpg', '/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/09/image_18012025_13_09_02_809369_0003.jpg
/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0000.jpg
/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0001.jpg
/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.121230363845825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 13:10:41.817761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/09/image_18012025_13_09_02_809369_0003.jpg', '/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0000.jpg', '/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0001.jpg', '/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/09/image_18012025_13_09_02_809369_0003.jpg
/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0000.jpg
/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0001.jpg
/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329751383","1329751380","1329751394","1329751412"],"photo_ids_order":["1329751380","1329751383","1329751394","1329751412"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/91ed21e42f84dfba35ede6bc8e9bb199.jpg","text":"TemporaryFile(/tmp/multipartBody3190544650558725473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202313320,"filename":"image_18012025_13_10_02_963808_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c743066c2b6a787212acfacaa3eea5b8.jpg","text":"TemporaryFile(/tmp/multipartBody631732480265279260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202313320,"filename":"image_18012025_13_09_02_809369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d514bb73a436b17768508cf0d2c6dafb.jpg","text":"TemporaryFile(/tmp/multipartBody8623407583679260625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202313320,"filename":"image_18012025_13_10_02_963808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2ee1f59714c28721b741a6cfb13fa99.jpg","text":"TemporaryFile(/tmp/multipartBody2478074956336970246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202313320,"filename":"image_18012025_13_10_02_963808_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329751394","file1":"1329751383","file0":"1329751380","file3":"1329751412"},"map_files_photo_id_array":[{"photo_id":"1329751394","filename":"file2"},{"photo_id":"1329751383","filename":"file1"},{"photo_id":"1329751380","filename":"file0"},{"photo_id":"1329751412","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329751383":["hashtag1","hashtag2"]},{"1329751380":["hashtag1","hashtag2"]},{"1329751394":["hashtag1","hashtag2"]},{"1329751412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329751383, 1329751380, 1329751394, 1329751412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74360108375549 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 13:11:31.911887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0003.jpg', '/home/pi/Desktop/images/18012025/13/11/image_18012025_13_11_02_170502_0000.jpg', '/home/pi/Desktop/images/18012025/13/11/image_18012025_13_11_02_170502_0001.jpg', '/home/pi/Desktop/images/18012025/13/11/image_18012025_13_11_02_170502_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/10/image_18012025_13_10_02_963808_0003.jpg
/home/pi/Desktop/images/18012025/13/11/image_18012025_13_11_02_170502_0000.jpg
/home/pi/Desktop/images/18012025/13/11/image_18012025_13_11_02_170502_0001.jpg
/home/pi/Desktop/images/18012025/13/11/image_18012025_13_11_02_170502_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329751465","1329751456","1329751461","1329751451"],"photo_ids_order":["1329751451","1329751456","1329751461","1329751465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a737e3ab300f312412f6ed132866463c.jpg","text":"TemporaryFile(/tmp/multipartBody6192587253592261668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202363464,"filename":"image_18012025_13_11_02_170502_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/897ef6d2efeb0fed2e700ac1ab665371.jpg","text":"TemporaryFile(/tmp/multipartBody2834034957133592560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202363464,"filename":"image_18012025_13_11_02_170502_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/725b466ffb33b1afff1ced8dbab3fbcf.jpg","text":"TemporaryFile(/tmp/multipartBody8011110327388567118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202363464,"filename":"image_18012025_13_11_02_170502_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe7b692f86656c4d28ff03d33d599c84.jpg","text":"TemporaryFile(/tmp/multipartBody2574205636799754031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202363464,"filename":"image_18012025_13_10_02_963808_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329751461","file1":"1329751456","file0":"1329751451","file3":"1329751465"},"map_files_photo_id_array":[{"photo_id":"1329751461","filename":"file2"},{"photo_id":"1329751456","filename":"file1"},{"photo_id":"1329751451","filename":"file0"},{"photo_id":"1329751465","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329751465":["hashtag1","hashtag2"]},{"1329751456":["hashtag1","hashtag2"]},{"1329751461":["hashtag1","hashtag2"]},{"1329751451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329751465, 1329751456, 1329751461, 1329751451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.32600688934326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:12:22.117498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/11/image_18012025_13_11_02_170502_0003.jpg', '/home/pi/Desktop/images/18012025/13/12/image_18012025_13_12_02_326308_0000.jpg', '/home/pi/Desktop/images/18012025/13/12/image_18012025_13_12_02_326308_0001.jpg', '/home/pi/Desktop/images/18012025/13/12/image_18012025_13_12_02_326308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/11/image_18012025_13_11_02_170502_0003.jpg
/home/pi/Desktop/images/18012025/13/12/image_18012025_13_12_02_326308_0000.jpg
/home/pi/Desktop/images/18012025/13/12/image_18012025_13_12_02_326308_0001.jpg
/home/pi/Desktop/images/18012025/13/12/image_18012025_13_12_02_326308_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329751492","1329751497","1329751482","1329751487"],"photo_ids_order":["1329751482","1329751487","1329751492","1329751497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a35d0a0722356c07b2ec0481883b1ac9.jpg","text":"TemporaryFile(/tmp/multipartBody8546930552309162260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202413458,"filename":"image_18012025_13_12_02_326308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0db667533d98e5a12882ca7de4c43255.jpg","text":"TemporaryFile(/tmp/multipartBody3382722580479210689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202413458,"filename":"image_18012025_13_12_02_326308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21584fee696d32af114acae0d8da5c45.jpg","text":"TemporaryFile(/tmp/multipartBody6286474918653887620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202413458,"filename":"image_18012025_13_11_02_170502_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e117e017ce49ef9031976a162c239ef.jpg","text":"TemporaryFile(/tmp/multipartBody8610661011880741219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202413458,"filename":"image_18012025_13_12_02_326308_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329751492","file1":"1329751487","file0":"1329751482","file3":"1329751497"},"map_files_photo_id_array":[{"photo_id":"1329751492","filename":"file2"},{"photo_id":"1329751487","filename":"file1"},{"photo_id":"1329751482","filename":"file0"},{"photo_id":"1329751497","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329751492":["hashtag1","hashtag2"]},{"1329751497":["hashtag1","hashtag2"]},{"1329751482":["hashtag1","hashtag2"]},{"1329751487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329751492, 1329751497, 1329751482, 1329751487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05479669570923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:13:02.762857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/19/image_16012025_22_19_02_796389_0002.jpg', '/home/pi/Desktop/images/16012025/22/19/image_16012025_22_19_02_796389_0003.jpg', '/home/pi/Desktop/images/16012025/22/20/image_16012025_22_20_02_978885_0000.jpg', '/home/pi/Desktop/images/16012025/22/20/image_16012025_22_20_02_978885_0001.jpg', '/home/pi/Desktop/images/16012025/22/20/image_16012025_22_20_02_978885_0002.jpg', '/home/pi/Desktop/images/16012025/22/20/image_16012025_22_20_02_978885_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/19/image_16012025_22_19_02_796389_0002.jpg
/home/pi/Desktop/images/16012025/22/19/image_16012025_22_19_02_796389_0003.jpg
/home/pi/Desktop/images/16012025/22/20/image_16012025_22_20_02_978885_0000.jpg
/home/pi/Desktop/images/16012025/22/20/image_16012025_22_20_02_978885_0001.jpg
/home/pi/Desktop/images/16012025/22/20/image_16012025_22_20_02_978885_0002.jpg
/home/pi/Desktop/images/16012025/22/20/image_16012025_22_20_02_978885_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":["1329751552","1329751528","1329751543","1329751525","1329751536","1329751559"],"photo_ids_order":["1329751525","1329751528","1329751536","1329751543","1329751552","1329751559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/572545f328e8603b6d2a25013d33df84.jpg","text":"TemporaryFile(/tmp/multipartBody6977934825123712090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202461037,"filename":"image_16012025_22_20_02_978885_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b00ab40f853a691998feb073a63fd341.jpg","text":"TemporaryFile(/tmp/multipartBody550675573446100045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202461037,"filename":"image_16012025_22_19_02_796389_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2126418b9b5dc3a474237e3f73409036.jpg","text":"TemporaryFile(/tmp/multipartBody4133195872113387424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202461037,"filename":"image_16012025_22_20_02_978885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/45e1ebf0bd4d3350c4f1067071053401.jpg","text":"TemporaryFile(/tmp/multipartBody6217279723111483346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202461037,"filename":"image_16012025_22_19_02_796389_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be8f0c95e2781f1f35f249c48898c00b.jpg","text":"TemporaryFile(/tmp/multipartBody481872372086072403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202461037,"filename":"image_16012025_22_20_02_978885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/51d00b5ae50a4baf12c6a2981535f66e.jpg","text":"TemporaryFile(/tmp/multipartBody8561869147792607165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202461037,"filename":"image_16012025_22_20_02_978885_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329751536","file1":"1329751528","file0":"1329751525","file4":"1329751552","file5":"1329751559","file3":"1329751543"},"map_files_photo_id_array":[{"photo_id":"1329751559","filename":"file5"},{"photo_id":"1329751536","filename":"file2"},{"photo_id":"1329751552","filename":"file4"},{"photo_id":"1329751528","filename":"file1"},{"photo_id":"1329751525","filename":"file0"},{"photo_id":"1329751543","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329751552":["hashtag1","hashtag2"]},{"1329751528":["hashtag1","hashtag2"]},{"1329751543":["hashtag1","hashtag2"]},{"1329751525":["hashtag1","hashtag2"]},{"1329751536":["hashtag1","hashtag2"]},{"1329751559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329751552, 1329751528, 1329751543, 1329751525, 1329751536, 1329751559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.972511291503906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:14:02.892046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/12/image_18012025_13_12_02_326308_0003.jpg', '/home/pi/Desktop/images/18012025/13/13/image_18012025_13_13_02_507771_0000.jpg', '/home/pi/Desktop/images/18012025/13/13/image_18012025_13_13_02_507771_0001.jpg', '/home/pi/Desktop/images/18012025/13/13/image_18012025_13_13_02_507771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/12/image_18012025_13_12_02_326308_0003.jpg
/home/pi/Desktop/images/18012025/13/13/image_18012025_13_13_02_507771_0000.jpg
/home/pi/Desktop/images/18012025/13/13/image_18012025_13_13_02_507771_0001.jpg
/home/pi/Desktop/images/18012025/13/13/image_18012025_13_13_02_507771_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329751603","1329751626","1329751605","1329751622"],"photo_ids_order":["1329751603","1329751605","1329751622","1329751626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a460733e0be5ef899470e3711c1c424.jpg","text":"TemporaryFile(/tmp/multipartBody2803954428545643375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202514440,"filename":"image_18012025_13_12_02_326308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e03f227cf4e3ac86141535a92842ced4.jpg","text":"TemporaryFile(/tmp/multipartBody2773310460371499320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202514440,"filename":"image_18012025_13_13_02_507771_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0abb29e9714bd5d797813be305b5e4c4.jpg","text":"TemporaryFile(/tmp/multipartBody2189633302816445762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202514440,"filename":"image_18012025_13_13_02_507771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8f312e40ea245724258739ecb0a2f3e.jpg","text":"TemporaryFile(/tmp/multipartBody785966989400760367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202514440,"filename":"image_18012025_13_13_02_507771_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329751622","file1":"1329751605","file0":"1329751603","file3":"1329751626"},"map_files_photo_id_array":[{"photo_id":"1329751622","filename":"file2"},{"photo_id":"1329751605","filename":"file1"},{"photo_id":"1329751603","filename":"file0"},{"photo_id":"1329751626","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329751603":["hashtag1","hashtag2"]},{"1329751626":["hashtag1","hashtag2"]},{"1329751605":["hashtag1","hashtag2"]},{"1329751622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329751603, 1329751626, 1329751605, 1329751622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05891013145447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 13:14:52.398454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/13/image_18012025_13_13_02_507771_0003.jpg', '/home/pi/Desktop/images/18012025/13/14/image_18012025_13_14_02_538009_0000.jpg', '/home/pi/Desktop/images/18012025/13/14/image_18012025_13_14_02_538009_0001.jpg', '/home/pi/Desktop/images/18012025/13/14/image_18012025_13_14_02_538009_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/13/image_18012025_13_13_02_507771_0003.jpg
/home/pi/Desktop/images/18012025/13/14/image_18012025_13_14_02_538009_0000.jpg
/home/pi/Desktop/images/18012025/13/14/image_18012025_13_14_02_538009_0001.jpg
/home/pi/Desktop/images/18012025/13/14/image_18012025_13_14_02_538009_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329751687","1329751708","1329751705","1329751698"],"photo_ids_order":["1329751687","1329751698","1329751705","1329751708"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b55f66cec8f0d76228456dcc7139fe5d.jpg","text":"TemporaryFile(/tmp/multipartBody4949794944254873153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202563834,"filename":"image_18012025_13_13_02_507771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b8ee1b5f8dbb2484a3db503d478e6a1.jpg","text":"TemporaryFile(/tmp/multipartBody3866193338343321690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202563834,"filename":"image_18012025_13_14_02_538009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/23c8f8533e39894ce18319bfda70ca18.jpg","text":"TemporaryFile(/tmp/multipartBody3009267139848414821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202563834,"filename":"image_18012025_13_14_02_538009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e15d3ec1e54aa08e4d6780cf87d8116.jpg","text":"TemporaryFile(/tmp/multipartBody917474166057757324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202563834,"filename":"image_18012025_13_14_02_538009_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329751705","file1":"1329751698","file0":"1329751687","file3":"1329751708"},"map_files_photo_id_array":[{"photo_id":"1329751705","filename":"file2"},{"photo_id":"1329751698","filename":"file1"},{"photo_id":"1329751687","filename":"file0"},{"photo_id":"1329751708","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329751687":["hashtag1","hashtag2"]},{"1329751708":["hashtag1","hashtag2"]},{"1329751705":["hashtag1","hashtag2"]},{"1329751698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329751687, 1329751708, 1329751705, 1329751698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.35749959945679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 13:15:32.541988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/14/image_18012025_13_14_02_538009_0003.jpg', '/home/pi/Desktop/images/18012025/13/15/image_18012025_13_15_02_875705_0000.jpg', '/home/pi/Desktop/images/18012025/13/15/image_18012025_13_15_02_875705_0001.jpg', '/home/pi/Desktop/images/18012025/13/15/image_18012025_13_15_02_875705_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/14/image_18012025_13_14_02_538009_0003.jpg
/home/pi/Desktop/images/18012025/13/15/image_18012025_13_15_02_875705_0000.jpg
/home/pi/Desktop/images/18012025/13/15/image_18012025_13_15_02_875705_0001.jpg
/home/pi/Desktop/images/18012025/13/15/image_18012025_13_15_02_875705_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329751747","1329751741","1329751734","1329751751"],"photo_ids_order":["1329751734","1329751741","1329751747","1329751751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a7e186e26b79e51b27483418e4ea7a94.jpg","text":"TemporaryFile(/tmp/multipartBody3832479715603176428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202603662,"filename":"image_18012025_13_15_02_875705_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5f7bcb410ec8b7fa9a7eb89bdd11402a.jpg","text":"TemporaryFile(/tmp/multipartBody8220279602556986077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202603662,"filename":"image_18012025_13_15_02_875705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f11c9f50b00e9e08d42bf9adc2163c70.jpg","text":"TemporaryFile(/tmp/multipartBody8113573174917362216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202603662,"filename":"image_18012025_13_14_02_538009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/885a7a096e1b8414ead9da5021fa1f6a.jpg","text":"TemporaryFile(/tmp/multipartBody534633695496201028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202603662,"filename":"image_18012025_13_15_02_875705_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329751747","file1":"1329751741","file0":"1329751734","file3":"1329751751"},"map_files_photo_id_array":[{"photo_id":"1329751747","filename":"file2"},{"photo_id":"1329751741","filename":"file1"},{"photo_id":"1329751734","filename":"file0"},{"photo_id":"1329751751","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329751747":["hashtag1","hashtag2"]},{"1329751741":["hashtag1","hashtag2"]},{"1329751734":["hashtag1","hashtag2"]},{"1329751751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329751747, 1329751741, 1329751734, 1329751751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.31973910331726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:16:21.818959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/15/image_18012025_13_15_02_875705_0003.jpg', '/home/pi/Desktop/images/18012025/13/16/image_18012025_13_16_03_003228_0000.jpg', '/home/pi/Desktop/images/18012025/13/16/image_18012025_13_16_03_003228_0001.jpg', '/home/pi/Desktop/images/18012025/13/16/image_18012025_13_16_03_003228_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/15/image_18012025_13_15_02_875705_0003.jpg
/home/pi/Desktop/images/18012025/13/16/image_18012025_13_16_03_003228_0000.jpg
/home/pi/Desktop/images/18012025/13/16/image_18012025_13_16_03_003228_0001.jpg
/home/pi/Desktop/images/18012025/13/16/image_18012025_13_16_03_003228_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329751843","1329751855","1329751848","1329751838"],"photo_ids_order":["1329751838","1329751843","1329751848","1329751855"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89613171ba184a7058da733e951f4ceb.jpg","text":"TemporaryFile(/tmp/multipartBody5763276969291435643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202653352,"filename":"image_18012025_13_16_03_003228_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7bfb0e3cd17d786d3d8aa6aac5cdabe1.jpg","text":"TemporaryFile(/tmp/multipartBody4522475756257506168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202653352,"filename":"image_18012025_13_16_03_003228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2bd70a50bc9c7d680ffc7b497fcf7341.jpg","text":"TemporaryFile(/tmp/multipartBody1412305071935638596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202653352,"filename":"image_18012025_13_16_03_003228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c16724f469e2029925c8ed4a153c73b.jpg","text":"TemporaryFile(/tmp/multipartBody2516473946255863413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202653352,"filename":"image_18012025_13_15_02_875705_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329751848","file1":"1329751843","file0":"1329751838","file3":"1329751855"},"map_files_photo_id_array":[{"photo_id":"1329751848","filename":"file2"},{"photo_id":"1329751843","filename":"file1"},{"photo_id":"1329751838","filename":"file0"},{"photo_id":"1329751855","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329751843":["hashtag1","hashtag2"]},{"1329751855":["hashtag1","hashtag2"]},{"1329751848":["hashtag1","hashtag2"]},{"1329751838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329751843, 1329751855, 1329751848, 1329751838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.764108657836914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:17:02.551137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/21/image_16012025_22_21_02_224273_0000.jpg', '/home/pi/Desktop/images/16012025/22/21/image_16012025_22_21_02_224273_0001.jpg', '/home/pi/Desktop/images/16012025/22/21/image_16012025_22_21_02_224273_0002.jpg', '/home/pi/Desktop/images/16012025/22/21/image_16012025_22_21_02_224273_0003.jpg', '/home/pi/Desktop/images/16012025/22/22/image_16012025_22_22_02_385798_0000.jpg', '/home/pi/Desktop/images/16012025/22/22/image_16012025_22_22_02_385798_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/21/image_16012025_22_21_02_224273_0000.jpg
/home/pi/Desktop/images/16012025/22/21/image_16012025_22_21_02_224273_0001.jpg
/home/pi/Desktop/images/16012025/22/21/image_16012025_22_21_02_224273_0002.jpg
/home/pi/Desktop/images/16012025/22/21/image_16012025_22_21_02_224273_0003.jpg
/home/pi/Desktop/images/16012025/22/22/image_16012025_22_22_02_385798_0000.jpg
/home/pi/Desktop/images/16012025/22/22/image_16012025_22_22_02_385798_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":["1329751897","1329751867","1329751881","1329751886","1329751871","1329751874"],"photo_ids_order":["1329751867","1329751871","1329751874","1329751881","1329751886","1329751897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8628bdd72cb21568587bdd667bba7956.jpg","text":"TemporaryFile(/tmp/multipartBody3320917759063321443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202700345,"filename":"image_16012025_22_22_02_385798_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b99e648ee539ca5f8b15d5ba916650ca.jpg","text":"TemporaryFile(/tmp/multipartBody9105332242632988511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202700345,"filename":"image_16012025_22_21_02_224273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/026c2af5a9d4bd3ce81cb19a3b895913.jpg","text":"TemporaryFile(/tmp/multipartBody4922031295532331894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202700345,"filename":"image_16012025_22_21_02_224273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9260db8dfd2a50840b45492e73da7ece.jpg","text":"TemporaryFile(/tmp/multipartBody1944240441853751023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202700345,"filename":"image_16012025_22_22_02_385798_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff5bddb4be413a24589155037fcec6df.jpg","text":"TemporaryFile(/tmp/multipartBody7637960032507191809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202700345,"filename":"image_16012025_22_21_02_224273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5648ef7bff6d865f21c66fb4800d87f1.jpg","text":"TemporaryFile(/tmp/multipartBody2002899412965870469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202700345,"filename":"image_16012025_22_21_02_224273_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329751874","file1":"1329751871","file0":"1329751867","file4":"1329751886","file5":"1329751897","file3":"1329751881"},"map_files_photo_id_array":[{"photo_id":"1329751897","filename":"file5"},{"photo_id":"1329751874","filename":"file2"},{"photo_id":"1329751886","filename":"file4"},{"photo_id":"1329751871","filename":"file1"},{"photo_id":"1329751867","filename":"file0"},{"photo_id":"1329751881","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329751897":["hashtag1","hashtag2"]},{"1329751867":["hashtag1","hashtag2"]},{"1329751881":["hashtag1","hashtag2"]},{"1329751886":["hashtag1","hashtag2"]},{"1329751871":["hashtag1","hashtag2"]},{"1329751874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329751897, 1329751867, 1329751881, 1329751886, 1329751871, 1329751874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.34558653831482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:18:02.561769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/16/image_18012025_13_16_03_003228_0003.jpg', '/home/pi/Desktop/images/18012025/13/17/image_18012025_13_17_02_198058_0000.jpg', '/home/pi/Desktop/images/18012025/13/17/image_18012025_13_17_02_198058_0001.jpg', '/home/pi/Desktop/images/18012025/13/17/image_18012025_13_17_02_198058_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/16/image_18012025_13_16_03_003228_0003.jpg
/home/pi/Desktop/images/18012025/13/17/image_18012025_13_17_02_198058_0000.jpg
/home/pi/Desktop/images/18012025/13/17/image_18012025_13_17_02_198058_0001.jpg
/home/pi/Desktop/images/18012025/13/17/image_18012025_13_17_02_198058_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329752230","1329752121","1329752393","1329752351"],"photo_ids_order":["1329752121","1329752230","1329752351","1329752393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7a1180aaa7611a44c13afbda667f82f.jpg","text":"TemporaryFile(/tmp/multipartBody1837902800820243778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202754006,"filename":"image_18012025_13_17_02_198058_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b2840a2aa79f4130ca6d1b217858352e.jpg","text":"TemporaryFile(/tmp/multipartBody3899735343926574512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202754006,"filename":"image_18012025_13_16_03_003228_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8237415560b43f3dd9d92c799c324fa2.jpg","text":"TemporaryFile(/tmp/multipartBody8556069698273562937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202754006,"filename":"image_18012025_13_17_02_198058_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0274bb769c32134cbae8fe2ad2e2fae5.jpg","text":"TemporaryFile(/tmp/multipartBody253247168803663511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202754006,"filename":"image_18012025_13_17_02_198058_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329752351","file1":"1329752230","file0":"1329752121","file3":"1329752393"},"map_files_photo_id_array":[{"photo_id":"1329752351","filename":"file2"},{"photo_id":"1329752230","filename":"file1"},{"photo_id":"1329752121","filename":"file0"},{"photo_id":"1329752393","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329752230":["hashtag1","hashtag2"]},{"1329752121":["hashtag1","hashtag2"]},{"1329752393":["hashtag1","hashtag2"]},{"1329752351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329752230, 1329752121, 1329752393, 1329752351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.688820362091064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 13:18:52.126181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/17/image_18012025_13_17_02_198058_0003.jpg', '/home/pi/Desktop/images/18012025/13/18/image_18012025_13_18_02_299525_0000.jpg', '/home/pi/Desktop/images/18012025/13/18/image_18012025_13_18_02_299525_0001.jpg', '/home/pi/Desktop/images/18012025/13/18/image_18012025_13_18_02_299525_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/17/image_18012025_13_17_02_198058_0003.jpg
/home/pi/Desktop/images/18012025/13/18/image_18012025_13_18_02_299525_0000.jpg
/home/pi/Desktop/images/18012025/13/18/image_18012025_13_18_02_299525_0001.jpg
/home/pi/Desktop/images/18012025/13/18/image_18012025_13_18_02_299525_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329752725","1329752550","1329752706","1329752771"],"photo_ids_order":["1329752550","1329752706","1329752725","1329752771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0db7eb7ece57d8df8a3ba105ec95272d.jpg","text":"TemporaryFile(/tmp/multipartBody4696026848915960854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202803487,"filename":"image_18012025_13_18_02_299525_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48f7eecc7ef0e83e902756d76ebfc781.jpg","text":"TemporaryFile(/tmp/multipartBody9071401504517655004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202803487,"filename":"image_18012025_13_17_02_198058_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97d004f207c0c67ac64d491cfab80fc0.jpg","text":"TemporaryFile(/tmp/multipartBody98862946252103861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202803487,"filename":"image_18012025_13_18_02_299525_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/244ef111587c77cbee42e374c58393f0.jpg","text":"TemporaryFile(/tmp/multipartBody7249776885454033795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202803487,"filename":"image_18012025_13_18_02_299525_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329752725","file1":"1329752706","file0":"1329752550","file3":"1329752771"},"map_files_photo_id_array":[{"photo_id":"1329752725","filename":"file2"},{"photo_id":"1329752706","filename":"file1"},{"photo_id":"1329752550","filename":"file0"},{"photo_id":"1329752771","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329752725":["hashtag1","hashtag2"]},{"1329752550":["hashtag1","hashtag2"]},{"1329752706":["hashtag1","hashtag2"]},{"1329752771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329752725, 1329752550, 1329752706, 1329752771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.701239824295044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 13:19:42.394704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/18/image_18012025_13_18_02_299525_0003.jpg', '/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0000.jpg', '/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0001.jpg', '/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/18/image_18012025_13_18_02_299525_0003.jpg
/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0000.jpg
/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0001.jpg
/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.892195463180542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:20:02.889966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/18/image_18012025_13_18_02_299525_0003.jpg', '/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0000.jpg', '/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0001.jpg', '/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/18/image_18012025_13_18_02_299525_0003.jpg
/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0000.jpg
/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0001.jpg
/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329752884","1329752887","1329752881","1329752869"],"photo_ids_order":["1329752869","1329752881","1329752884","1329752887"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d23f6943efc4c49ccb3f45c0c60ec398.jpg","text":"TemporaryFile(/tmp/multipartBody3199390455114999157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202874185,"filename":"image_18012025_13_19_02_535745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e83db94560c3f9089b7401ba26a301d.jpg","text":"TemporaryFile(/tmp/multipartBody8379021641222029815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202874185,"filename":"image_18012025_13_19_02_535745_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2282190189f5d6fa1ec6148c4cba7255.jpg","text":"TemporaryFile(/tmp/multipartBody9035956686413903545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202874185,"filename":"image_18012025_13_19_02_535745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d6d1c248aa10bee547ebc2198c2ee9b.jpg","text":"TemporaryFile(/tmp/multipartBody7334147489778987457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202874185,"filename":"image_18012025_13_18_02_299525_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329752884","file1":"1329752881","file0":"1329752869","file3":"1329752887"},"map_files_photo_id_array":[{"photo_id":"1329752884","filename":"file2"},{"photo_id":"1329752881","filename":"file1"},{"photo_id":"1329752869","filename":"file0"},{"photo_id":"1329752887","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329752884":["hashtag1","hashtag2"]},{"1329752887":["hashtag1","hashtag2"]},{"1329752881":["hashtag1","hashtag2"]},{"1329752869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329752884, 1329752887, 1329752881, 1329752869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39918351173401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 13:20:52.510614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0003.jpg', '/home/pi/Desktop/images/18012025/13/20/image_18012025_13_20_02_736409_0000.jpg', '/home/pi/Desktop/images/18012025/13/20/image_18012025_13_20_02_736409_0001.jpg', '/home/pi/Desktop/images/18012025/13/20/image_18012025_13_20_02_736409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/19/image_18012025_13_19_02_535745_0003.jpg
/home/pi/Desktop/images/18012025/13/20/image_18012025_13_20_02_736409_0000.jpg
/home/pi/Desktop/images/18012025/13/20/image_18012025_13_20_02_736409_0001.jpg
/home/pi/Desktop/images/18012025/13/20/image_18012025_13_20_02_736409_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329752934","1329752919","1329752936","1329752912"],"photo_ids_order":["1329752912","1329752919","1329752934","1329752936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/260cde8d8f1841232c5bb73dc31f9fa3.jpg","text":"TemporaryFile(/tmp/multipartBody3605379218661356434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202923897,"filename":"image_18012025_13_20_02_736409_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e886dc287ccc49f11304067c86e67ea.jpg","text":"TemporaryFile(/tmp/multipartBody3841296520361717382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202923897,"filename":"image_18012025_13_20_02_736409_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54c5af075cca49cf3151b7cde6351753.jpg","text":"TemporaryFile(/tmp/multipartBody4462242707781025591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202923897,"filename":"image_18012025_13_20_02_736409_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b57440f8fe62e2a55c1a20346470a44.jpg","text":"TemporaryFile(/tmp/multipartBody6346244873307576709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202923897,"filename":"image_18012025_13_19_02_535745_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329752934","file1":"1329752919","file0":"1329752912","file3":"1329752936"},"map_files_photo_id_array":[{"photo_id":"1329752934","filename":"file2"},{"photo_id":"1329752919","filename":"file1"},{"photo_id":"1329752912","filename":"file0"},{"photo_id":"1329752936","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329752934":["hashtag1","hashtag2"]},{"1329752919":["hashtag1","hashtag2"]},{"1329752936":["hashtag1","hashtag2"]},{"1329752912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329752934, 1329752919, 1329752936, 1329752912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.407156229019165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 13:21:32.656005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/20/image_18012025_13_20_02_736409_0003.jpg', '/home/pi/Desktop/images/18012025/13/21/image_18012025_13_21_02_890098_0000.jpg', '/home/pi/Desktop/images/18012025/13/21/image_18012025_13_21_02_890098_0001.jpg', '/home/pi/Desktop/images/18012025/13/21/image_18012025_13_21_02_890098_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/20/image_18012025_13_20_02_736409_0003.jpg
/home/pi/Desktop/images/18012025/13/21/image_18012025_13_21_02_890098_0000.jpg
/home/pi/Desktop/images/18012025/13/21/image_18012025_13_21_02_890098_0001.jpg
/home/pi/Desktop/images/18012025/13/21/image_18012025_13_21_02_890098_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329752959","1329752964","1329752986","1329752968"],"photo_ids_order":["1329752959","1329752964","1329752968","1329752986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/db9ef316d63f31baf8723bf914497e05.jpg","text":"TemporaryFile(/tmp/multipartBody572084307869906016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202964318,"filename":"image_18012025_13_20_02_736409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f0ece0bd678e4475d8d1e0a387a2f617.jpg","text":"TemporaryFile(/tmp/multipartBody3082687417221015596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202964318,"filename":"image_18012025_13_21_02_890098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/47c8baee906c299592f35029ab421258.jpg","text":"TemporaryFile(/tmp/multipartBody3977802680889186933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202964318,"filename":"image_18012025_13_21_02_890098_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/953cc31a2e0a7e5f0a484ae1dc72de66.jpg","text":"TemporaryFile(/tmp/multipartBody3629738054562376552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737202964318,"filename":"image_18012025_13_21_02_890098_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329752968","file1":"1329752964","file0":"1329752959","file3":"1329752986"},"map_files_photo_id_array":[{"photo_id":"1329752968","filename":"file2"},{"photo_id":"1329752964","filename":"file1"},{"photo_id":"1329752959","filename":"file0"},{"photo_id":"1329752986","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329752959":["hashtag1","hashtag2"]},{"1329752964":["hashtag1","hashtag2"]},{"1329752986":["hashtag1","hashtag2"]},{"1329752968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329752959, 1329752964, 1329752986, 1329752968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.978609800338745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:22:21.898233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/21/image_18012025_13_21_02_890098_0003.jpg', '/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0000.jpg', '/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0001.jpg', '/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/21/image_18012025_13_21_02_890098_0003.jpg
/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0000.jpg
/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0001.jpg
/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.057783365249634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 13:22:41.931231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/21/image_18012025_13_21_02_890098_0003.jpg', '/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0000.jpg', '/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0001.jpg', '/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/21/image_18012025_13_21_02_890098_0003.jpg
/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0000.jpg
/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0001.jpg
/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329753057","1329753060","1329753041","1329753050"],"photo_ids_order":["1329753041","1329753050","1329753057","1329753060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d5eadb51e647c3bc12ba7fa856844f57.jpg","text":"TemporaryFile(/tmp/multipartBody6940695512762281256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203033356,"filename":"image_18012025_13_22_03_054040_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cc5e362eab48804ca0a00ceaeabe4a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4216907316983076311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203033356,"filename":"image_18012025_13_22_03_054040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48ae99950041e3d72ce74e565bec13b2.jpg","text":"TemporaryFile(/tmp/multipartBody8323853471624863452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203033356,"filename":"image_18012025_13_21_02_890098_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fcf128b758855cb541c3af280031be27.jpg","text":"TemporaryFile(/tmp/multipartBody1097767917048484999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203033356,"filename":"image_18012025_13_22_03_054040_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329753057","file1":"1329753050","file0":"1329753041","file3":"1329753060"},"map_files_photo_id_array":[{"photo_id":"1329753057","filename":"file2"},{"photo_id":"1329753050","filename":"file1"},{"photo_id":"1329753041","filename":"file0"},{"photo_id":"1329753060","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329753057":["hashtag1","hashtag2"]},{"1329753060":["hashtag1","hashtag2"]},{"1329753041":["hashtag1","hashtag2"]},{"1329753050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329753057, 1329753060, 1329753041, 1329753050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94159770011902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:23:22.073927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0003.jpg', '/home/pi/Desktop/images/18012025/13/23/image_18012025_13_23_02_287760_0000.jpg', '/home/pi/Desktop/images/18012025/13/23/image_18012025_13_23_02_287760_0001.jpg', '/home/pi/Desktop/images/18012025/13/23/image_18012025_13_23_02_287760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/22/image_18012025_13_22_03_054040_0003.jpg
/home/pi/Desktop/images/18012025/13/23/image_18012025_13_23_02_287760_0000.jpg
/home/pi/Desktop/images/18012025/13/23/image_18012025_13_23_02_287760_0001.jpg
/home/pi/Desktop/images/18012025/13/23/image_18012025_13_23_02_287760_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329753095","1329753089","1329753080","1329753101"],"photo_ids_order":["1329753080","1329753089","1329753095","1329753101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dfe10182ebc4ac6e7bb1350d3cd073d0.jpg","text":"TemporaryFile(/tmp/multipartBody2130132248116482726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203073654,"filename":"image_18012025_13_23_02_287760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f0ea0e7f003641aa763efab17bfa7a78.jpg","text":"TemporaryFile(/tmp/multipartBody4041840972804315748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203073654,"filename":"image_18012025_13_23_02_287760_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73cea62fb402d6e6e7fbd0ea8c8c141e.jpg","text":"TemporaryFile(/tmp/multipartBody3515777616574674120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203073654,"filename":"image_18012025_13_22_03_054040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/196dbace4dd5f459ef6cfc78fbd89825.jpg","text":"TemporaryFile(/tmp/multipartBody9205266531135429074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203073654,"filename":"image_18012025_13_23_02_287760_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329753095","file1":"1329753089","file0":"1329753080","file3":"1329753101"},"map_files_photo_id_array":[{"photo_id":"1329753095","filename":"file2"},{"photo_id":"1329753089","filename":"file1"},{"photo_id":"1329753080","filename":"file0"},{"photo_id":"1329753101","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329753095":["hashtag1","hashtag2"]},{"1329753089":["hashtag1","hashtag2"]},{"1329753080":["hashtag1","hashtag2"]},{"1329753101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329753095, 1329753089, 1329753080, 1329753101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25927925109863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:24:22.252342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/23/image_18012025_13_23_02_287760_0003.jpg', '/home/pi/Desktop/images/18012025/13/24/image_18012025_13_24_02_435270_0000.jpg', '/home/pi/Desktop/images/18012025/13/24/image_18012025_13_24_02_435270_0001.jpg', '/home/pi/Desktop/images/18012025/13/24/image_18012025_13_24_02_435270_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/23/image_18012025_13_23_02_287760_0003.jpg
/home/pi/Desktop/images/18012025/13/24/image_18012025_13_24_02_435270_0000.jpg
/home/pi/Desktop/images/18012025/13/24/image_18012025_13_24_02_435270_0001.jpg
/home/pi/Desktop/images/18012025/13/24/image_18012025_13_24_02_435270_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329753171","1329753185","1329753164","1329753178"],"photo_ids_order":["1329753164","1329753171","1329753178","1329753185"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f91de779fbe3fdca161a530c70f97c8a.jpg","text":"TemporaryFile(/tmp/multipartBody9029171127848823421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203133562,"filename":"image_18012025_13_24_02_435270_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/347d8e63ca461cf38170931d73e8e6fe.jpg","text":"TemporaryFile(/tmp/multipartBody1927537422835795398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203133562,"filename":"image_18012025_13_24_02_435270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/06bdabf46088cc739965c5aef0610233.jpg","text":"TemporaryFile(/tmp/multipartBody1029907160122989857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203133562,"filename":"image_18012025_13_23_02_287760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a4daf78d13ad0b85bd8316e89f67146.jpg","text":"TemporaryFile(/tmp/multipartBody8305385329424506783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203133562,"filename":"image_18012025_13_24_02_435270_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329753178","file1":"1329753171","file0":"1329753164","file3":"1329753185"},"map_files_photo_id_array":[{"photo_id":"1329753178","filename":"file2"},{"photo_id":"1329753171","filename":"file1"},{"photo_id":"1329753164","filename":"file0"},{"photo_id":"1329753185","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329753171":["hashtag1","hashtag2"]},{"1329753185":["hashtag1","hashtag2"]},{"1329753164":["hashtag1","hashtag2"]},{"1329753178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329753171, 1329753185, 1329753164, 1329753178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.882057666778564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:25:03.016786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/22/image_16012025_22_22_02_385798_0002.jpg', '/home/pi/Desktop/images/16012025/22/22/image_16012025_22_22_02_385798_0003.jpg', '/home/pi/Desktop/images/16012025/22/23/image_16012025_22_23_02_560815_0000.jpg', '/home/pi/Desktop/images/16012025/22/23/image_16012025_22_23_02_560815_0001.jpg', '/home/pi/Desktop/images/16012025/22/23/image_16012025_22_23_02_560815_0002.jpg', '/home/pi/Desktop/images/16012025/22/23/image_16012025_22_23_02_560815_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/22/image_16012025_22_22_02_385798_0002.jpg
/home/pi/Desktop/images/16012025/22/22/image_16012025_22_22_02_385798_0003.jpg
/home/pi/Desktop/images/16012025/22/23/image_16012025_22_23_02_560815_0000.jpg
/home/pi/Desktop/images/16012025/22/23/image_16012025_22_23_02_560815_0001.jpg
/home/pi/Desktop/images/16012025/22/23/image_16012025_22_23_02_560815_0002.jpg
/home/pi/Desktop/images/16012025/22/23/image_16012025_22_23_02_560815_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329753202","1329753197","1329753224","1329753218","1329753193","1329753208"],"photo_ids_order":["1329753193","1329753197","1329753202","1329753208","1329753218","1329753224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9fda4e99e18a4fc438d9478a22527cfb.jpg","text":"TemporaryFile(/tmp/multipartBody2984622030364766464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203180917,"filename":"image_16012025_22_23_02_560815_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/06210adadbc8dfffd6cd331c39246ed8.jpg","text":"TemporaryFile(/tmp/multipartBody386953852399756939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203180917,"filename":"image_16012025_22_22_02_385798_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/66ab44324a495fbff9a3e8a455a2f16b.jpg","text":"TemporaryFile(/tmp/multipartBody3550586820098863926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203180917,"filename":"image_16012025_22_23_02_560815_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b8ed502fbb9a4805037a149f89f6d679.jpg","text":"TemporaryFile(/tmp/multipartBody6970811605912392502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203180917,"filename":"image_16012025_22_23_02_560815_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d1280efb8bbf9133a410435b93f9beb9.jpg","text":"TemporaryFile(/tmp/multipartBody8003576051962768810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203180917,"filename":"image_16012025_22_22_02_385798_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aaf406e09d70af8620d431e757c8e3bc.jpg","text":"TemporaryFile(/tmp/multipartBody6792316791247249463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203180917,"filename":"image_16012025_22_23_02_560815_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329753202","file1":"1329753197","file0":"1329753193","file4":"1329753218","file5":"1329753224","file3":"1329753208"},"map_files_photo_id_array":[{"photo_id":"1329753224","filename":"file5"},{"photo_id":"1329753202","filename":"file2"},{"photo_id":"1329753218","filename":"file4"},{"photo_id":"1329753197","filename":"file1"},{"photo_id":"1329753193","filename":"file0"},{"photo_id":"1329753208","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329753202":["hashtag1","hashtag2"]},{"1329753197":["hashtag1","hashtag2"]},{"1329753224":["hashtag1","hashtag2"]},{"1329753218":["hashtag1","hashtag2"]},{"1329753193":["hashtag1","hashtag2"]},{"1329753208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329753202, 1329753197, 1329753224, 1329753218, 1329753193, 1329753208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.29143762588501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:26:22.778589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/24/image_18012025_13_24_02_435270_0003.jpg', '/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0000.jpg', '/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0001.jpg', '/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0002.jpg', '/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0003.jpg', '/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/24/image_18012025_13_24_02_435270_0003.jpg
/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0000.jpg
/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0001.jpg
/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0002.jpg
/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0003.jpg
/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.250888347625732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 13:26:42.774446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/24/image_18012025_13_24_02_435270_0003.jpg', '/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0000.jpg', '/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0001.jpg', '/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0002.jpg', '/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0003.jpg', '/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/24/image_18012025_13_24_02_435270_0003.jpg
/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0000.jpg
/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0001.jpg
/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0002.jpg
/home/pi/Desktop/images/18012025/13/25/image_18012025_13_25_02_650870_0003.jpg
/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329753273","1329753282","1329753312","1329753315","1329753309","1329753280"],"photo_ids_order":["1329753273","1329753280","1329753282","1329753309","1329753312","1329753315"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/31fa3035c76be3239669ae768a682112.jpg","text":"TemporaryFile(/tmp/multipartBody7823108687476276995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203279447,"filename":"image_18012025_13_24_02_435270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/834587a6d487bab016ea38cbbf410474.jpg","text":"TemporaryFile(/tmp/multipartBody8151439785717920213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203279447,"filename":"image_18012025_13_25_02_650870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/69f2cf8cf1fa0124bd4fdb991c0fd75a.jpg","text":"TemporaryFile(/tmp/multipartBody3548050908263465471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203279447,"filename":"image_18012025_13_25_02_650870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7299356df94e9b00048226834e44c128.jpg","text":"TemporaryFile(/tmp/multipartBody9158096125379804474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203279447,"filename":"image_18012025_13_26_02_724081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ebdc712f5caa92bde56c7bae75170ca.jpg","text":"TemporaryFile(/tmp/multipartBody2160779424671628649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203279447,"filename":"image_18012025_13_25_02_650870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8143866cf0f04db49d5aba8952c1e531.jpg","text":"TemporaryFile(/tmp/multipartBody6814909112722560197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203279447,"filename":"image_18012025_13_25_02_650870_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329753282","file1":"1329753280","file0":"1329753273","file4":"1329753312","file5":"1329753315","file3":"1329753309"},"map_files_photo_id_array":[{"photo_id":"1329753315","filename":"file5"},{"photo_id":"1329753282","filename":"file2"},{"photo_id":"1329753312","filename":"file4"},{"photo_id":"1329753280","filename":"file1"},{"photo_id":"1329753273","filename":"file0"},{"photo_id":"1329753309","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329753273":["hashtag1","hashtag2"]},{"1329753282":["hashtag1","hashtag2"]},{"1329753312":["hashtag1","hashtag2"]},{"1329753315":["hashtag1","hashtag2"]},{"1329753309":["hashtag1","hashtag2"]},{"1329753280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329753273, 1329753282, 1329753312, 1329753315, 1329753309, 1329753280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.094741344451904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 13:27:41.896056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0001.jpg', '/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0002.jpg', '/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0003.jpg', '/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0000.jpg', '/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0001.jpg', '/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0001.jpg
/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0002.jpg
/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0003.jpg
/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0000.jpg
/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0001.jpg
/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.4772047996521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:28:02.482360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0001.jpg', '/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0002.jpg', '/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0003.jpg', '/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0000.jpg', '/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0001.jpg', '/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0001.jpg
/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0002.jpg
/home/pi/Desktop/images/18012025/13/26/image_18012025_13_26_02_724081_0003.jpg
/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0000.jpg
/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0001.jpg
/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329753471","1329753456","1329753476","1329753446","1329753463","1329753451"],"photo_ids_order":["1329753446","1329753451","1329753456","1329753463","1329753471","1329753476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63a3433f48fa5455b8accef2d07e5694.jpg","text":"TemporaryFile(/tmp/multipartBody963723254562898030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203359403,"filename":"image_18012025_13_27_03_097337_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f76b1b20608b41eb2efcaafe2973d17.jpg","text":"TemporaryFile(/tmp/multipartBody7073095267476720976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203359403,"filename":"image_18012025_13_26_02_724081_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e7aa16ed8b79036c2a67f84b1287cde.jpg","text":"TemporaryFile(/tmp/multipartBody8163932326191004584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203359403,"filename":"image_18012025_13_27_03_097337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fc82777a906805c289abba9b6f75ca0e.jpg","text":"TemporaryFile(/tmp/multipartBody2057519724177023520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203359403,"filename":"image_18012025_13_26_02_724081_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0d8f4c8453dbde2954b36ad055cc59ef.jpg","text":"TemporaryFile(/tmp/multipartBody5181763342246859275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203359403,"filename":"image_18012025_13_27_03_097337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6084b0c29848f4591fdcf80489572826.jpg","text":"TemporaryFile(/tmp/multipartBody6263884500871281228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203359403,"filename":"image_18012025_13_26_02_724081_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329753456","file1":"1329753451","file0":"1329753446","file4":"1329753471","file5":"1329753476","file3":"1329753463"},"map_files_photo_id_array":[{"photo_id":"1329753476","filename":"file5"},{"photo_id":"1329753456","filename":"file2"},{"photo_id":"1329753471","filename":"file4"},{"photo_id":"1329753451","filename":"file1"},{"photo_id":"1329753446","filename":"file0"},{"photo_id":"1329753463","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329753471":["hashtag1","hashtag2"]},{"1329753456":["hashtag1","hashtag2"]},{"1329753476":["hashtag1","hashtag2"]},{"1329753446":["hashtag1","hashtag2"]},{"1329753463":["hashtag1","hashtag2"]},{"1329753451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329753471, 1329753456, 1329753476, 1329753446, 1329753463, 1329753451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.43209743499756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:29:02.842933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0003.jpg', '/home/pi/Desktop/images/18012025/13/28/image_18012025_13_28_02_333064_0000.jpg', '/home/pi/Desktop/images/18012025/13/28/image_18012025_13_28_02_333064_0001.jpg', '/home/pi/Desktop/images/18012025/13/28/image_18012025_13_28_02_333064_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/27/image_18012025_13_27_03_097337_0003.jpg
/home/pi/Desktop/images/18012025/13/28/image_18012025_13_28_02_333064_0000.jpg
/home/pi/Desktop/images/18012025/13/28/image_18012025_13_28_02_333064_0001.jpg
/home/pi/Desktop/images/18012025/13/28/image_18012025_13_28_02_333064_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329753483","1329753497","1329753491","1329753487"],"photo_ids_order":["1329753483","1329753487","1329753491","1329753497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01a479b3294fe4f0c557be0a8aebe794.jpg","text":"TemporaryFile(/tmp/multipartBody3290824003415293010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203414387,"filename":"image_18012025_13_27_03_097337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a668e19e8839e0022d5b46b7c0ac7c49.jpg","text":"TemporaryFile(/tmp/multipartBody5574919160649784470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203414387,"filename":"image_18012025_13_28_02_333064_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/42c433cb8cafe665aad8a8b725d14d8b.jpg","text":"TemporaryFile(/tmp/multipartBody7959299291047974174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203414387,"filename":"image_18012025_13_28_02_333064_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c126a02036d9c732e72af36cb9fbeff.jpg","text":"TemporaryFile(/tmp/multipartBody4553212636140793831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203414387,"filename":"image_18012025_13_28_02_333064_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329753491","file1":"1329753487","file0":"1329753483","file3":"1329753497"},"map_files_photo_id_array":[{"photo_id":"1329753491","filename":"file2"},{"photo_id":"1329753487","filename":"file1"},{"photo_id":"1329753483","filename":"file0"},{"photo_id":"1329753497","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329753483":["hashtag1","hashtag2"]},{"1329753497":["hashtag1","hashtag2"]},{"1329753491":["hashtag1","hashtag2"]},{"1329753487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329753483, 1329753497, 1329753491, 1329753487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.80319952964783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 13:29:52.298201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/28/image_18012025_13_28_02_333064_0003.jpg', '/home/pi/Desktop/images/18012025/13/29/image_18012025_13_29_02_496169_0000.jpg', '/home/pi/Desktop/images/18012025/13/29/image_18012025_13_29_02_496169_0001.jpg', '/home/pi/Desktop/images/18012025/13/29/image_18012025_13_29_02_496169_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/28/image_18012025_13_28_02_333064_0003.jpg
/home/pi/Desktop/images/18012025/13/29/image_18012025_13_29_02_496169_0000.jpg
/home/pi/Desktop/images/18012025/13/29/image_18012025_13_29_02_496169_0001.jpg
/home/pi/Desktop/images/18012025/13/29/image_18012025_13_29_02_496169_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329753514","1329753521","1329753524","1329753518"],"photo_ids_order":["1329753514","1329753518","1329753521","1329753524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e13b16cea95b3ec180173fd6fdbe83f.jpg","text":"TemporaryFile(/tmp/multipartBody6520587004687614495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203463494,"filename":"image_18012025_13_28_02_333064_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/271b3b1581d698f8f895f8cb33844839.jpg","text":"TemporaryFile(/tmp/multipartBody4291691577482994912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203463494,"filename":"image_18012025_13_29_02_496169_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39eeaafbf193dc4dd00757b104b9ae93.jpg","text":"TemporaryFile(/tmp/multipartBody8099807606020997670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203463494,"filename":"image_18012025_13_29_02_496169_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/87a86736267317046c675885b362b78d.jpg","text":"TemporaryFile(/tmp/multipartBody5431827249433455988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203463494,"filename":"image_18012025_13_29_02_496169_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329753521","file1":"1329753518","file0":"1329753514","file3":"1329753524"},"map_files_photo_id_array":[{"photo_id":"1329753521","filename":"file2"},{"photo_id":"1329753518","filename":"file1"},{"photo_id":"1329753514","filename":"file0"},{"photo_id":"1329753524","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329753514":["hashtag1","hashtag2"]},{"1329753521":["hashtag1","hashtag2"]},{"1329753524":["hashtag1","hashtag2"]},{"1329753518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329753514, 1329753521, 1329753524, 1329753518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.5705349445343 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-18 13:30:42.484679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/29/image_18012025_13_29_02_496169_0003.jpg', '/home/pi/Desktop/images/18012025/13/30/image_18012025_13_30_02_646455_0000.jpg', '/home/pi/Desktop/images/18012025/13/30/image_18012025_13_30_02_646455_0001.jpg', '/home/pi/Desktop/images/18012025/13/30/image_18012025_13_30_02_646455_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/29/image_18012025_13_29_02_496169_0003.jpg
/home/pi/Desktop/images/18012025/13/30/image_18012025_13_30_02_646455_0000.jpg
/home/pi/Desktop/images/18012025/13/30/image_18012025_13_30_02_646455_0001.jpg
/home/pi/Desktop/images/18012025/13/30/image_18012025_13_30_02_646455_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329753579","1329753599","1329753598","1329753595"],"photo_ids_order":["1329753579","1329753595","1329753598","1329753599"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4cda3a987a2d9c232438f20517fb4aca.jpg","text":"TemporaryFile(/tmp/multipartBody7423404521454966065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203513684,"filename":"image_18012025_13_29_02_496169_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d35594b3e471be07b5b73a6866e98e6e.jpg","text":"TemporaryFile(/tmp/multipartBody8852124731491610211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203513684,"filename":"image_18012025_13_30_02_646455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d54587039c7a9a0b8d582564db9beda.jpg","text":"TemporaryFile(/tmp/multipartBody3897902378808007671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203513684,"filename":"image_18012025_13_30_02_646455_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1d2fa0bc4ae8101979373d5868dee462.jpg","text":"TemporaryFile(/tmp/multipartBody2694616254798142624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203513684,"filename":"image_18012025_13_30_02_646455_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329753598","file1":"1329753595","file0":"1329753579","file3":"1329753599"},"map_files_photo_id_array":[{"photo_id":"1329753598","filename":"file2"},{"photo_id":"1329753595","filename":"file1"},{"photo_id":"1329753579","filename":"file0"},{"photo_id":"1329753599","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329753579":["hashtag1","hashtag2"]},{"1329753599":["hashtag1","hashtag2"]},{"1329753598":["hashtag1","hashtag2"]},{"1329753595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329753579, 1329753599, 1329753598, 1329753595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.56252956390381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:31:22.650031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/30/image_18012025_13_30_02_646455_0003.jpg', '/home/pi/Desktop/images/18012025/13/31/image_18012025_13_31_02_883316_0000.jpg', '/home/pi/Desktop/images/18012025/13/31/image_18012025_13_31_02_883316_0001.jpg', '/home/pi/Desktop/images/18012025/13/31/image_18012025_13_31_02_883316_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/30/image_18012025_13_30_02_646455_0003.jpg
/home/pi/Desktop/images/18012025/13/31/image_18012025_13_31_02_883316_0000.jpg
/home/pi/Desktop/images/18012025/13/31/image_18012025_13_31_02_883316_0001.jpg
/home/pi/Desktop/images/18012025/13/31/image_18012025_13_31_02_883316_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329753642","1329753639","1329753606","1329753610"],"photo_ids_order":["1329753606","1329753610","1329753639","1329753642"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f15495c00a5c7e03951f966cf6a71045.jpg","text":"TemporaryFile(/tmp/multipartBody6523045987294447294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203554101,"filename":"image_18012025_13_31_02_883316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f03777c0cf4bd8213642e74b2c7f79eb.jpg","text":"TemporaryFile(/tmp/multipartBody187881224680548103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203554101,"filename":"image_18012025_13_31_02_883316_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be23bdd9e7d428241abe3f815b709d28.jpg","text":"TemporaryFile(/tmp/multipartBody5467081611628771609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203554101,"filename":"image_18012025_13_30_02_646455_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/85284a7a13d690691e4923d933b693e4.jpg","text":"TemporaryFile(/tmp/multipartBody8299276797839787988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203554101,"filename":"image_18012025_13_31_02_883316_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329753639","file1":"1329753610","file0":"1329753606","file3":"1329753642"},"map_files_photo_id_array":[{"photo_id":"1329753639","filename":"file2"},{"photo_id":"1329753610","filename":"file1"},{"photo_id":"1329753606","filename":"file0"},{"photo_id":"1329753642","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329753642":["hashtag1","hashtag2"]},{"1329753639":["hashtag1","hashtag2"]},{"1329753606":["hashtag1","hashtag2"]},{"1329753610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329753642, 1329753639, 1329753606, 1329753610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.17451453208923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:32:21.865382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/31/image_18012025_13_31_02_883316_0003.jpg', '/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0000.jpg', '/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0001.jpg', '/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/31/image_18012025_13_31_02_883316_0003.jpg
/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0000.jpg
/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0001.jpg
/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.78528904914856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 13:32:41.847954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/31/image_18012025_13_31_02_883316_0003.jpg', '/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0000.jpg', '/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0001.jpg', '/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/31/image_18012025_13_31_02_883316_0003.jpg
/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0000.jpg
/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0001.jpg
/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329753785","1329753782","1329753779","1329753787"],"photo_ids_order":["1329753779","1329753782","1329753785","1329753787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18c8289a9cd295f3d47950d724013b08.jpg","text":"TemporaryFile(/tmp/multipartBody4098276714636559923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203633006,"filename":"image_18012025_13_32_03_032543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d2ed4f9bf910fc5d6d5bae1ec8058939.jpg","text":"TemporaryFile(/tmp/multipartBody7141104866864490449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203633006,"filename":"image_18012025_13_32_03_032543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd2a686dd5b3210aeb1d23384fae3825.jpg","text":"TemporaryFile(/tmp/multipartBody194080036320165537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203633006,"filename":"image_18012025_13_31_02_883316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/531805b30edb573b445ce06a4149c1d0.jpg","text":"TemporaryFile(/tmp/multipartBody3215340328028007604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203633006,"filename":"image_18012025_13_32_03_032543_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329753785","file1":"1329753782","file0":"1329753779","file3":"1329753787"},"map_files_photo_id_array":[{"photo_id":"1329753785","filename":"file2"},{"photo_id":"1329753782","filename":"file1"},{"photo_id":"1329753779","filename":"file0"},{"photo_id":"1329753787","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329753785":["hashtag1","hashtag2"]},{"1329753782":["hashtag1","hashtag2"]},{"1329753779":["hashtag1","hashtag2"]},{"1329753787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329753785, 1329753782, 1329753779, 1329753787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0063157081604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:33:22.091024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0003.jpg', '/home/pi/Desktop/images/18012025/13/33/image_18012025_13_33_02_208908_0000.jpg', '/home/pi/Desktop/images/18012025/13/33/image_18012025_13_33_02_208908_0001.jpg', '/home/pi/Desktop/images/18012025/13/33/image_18012025_13_33_02_208908_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/32/image_18012025_13_32_03_032543_0003.jpg
/home/pi/Desktop/images/18012025/13/33/image_18012025_13_33_02_208908_0000.jpg
/home/pi/Desktop/images/18012025/13/33/image_18012025_13_33_02_208908_0001.jpg
/home/pi/Desktop/images/18012025/13/33/image_18012025_13_33_02_208908_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329753855","1329753825","1329753842","1329753812"],"photo_ids_order":["1329753812","1329753825","1329753842","1329753855"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/534e04b7bb6d4e62949c8593d9de98aa.jpg","text":"TemporaryFile(/tmp/multipartBody9124213182946081362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203672168,"filename":"image_18012025_13_33_02_208908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/011393de6f4b3a5d032f0b1359756637.jpg","text":"TemporaryFile(/tmp/multipartBody5384906272063468010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203672168,"filename":"image_18012025_13_33_02_208908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5fc337af65c208b3e701bbbecde5febe.jpg","text":"TemporaryFile(/tmp/multipartBody2368297975689492374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203672168,"filename":"image_18012025_13_33_02_208908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e284a525a54a7c53a56de6a7e714510.jpg","text":"TemporaryFile(/tmp/multipartBody6787930309516540755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203672168,"filename":"image_18012025_13_32_03_032543_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329753842","file1":"1329753825","file0":"1329753812","file3":"1329753855"},"map_files_photo_id_array":[{"photo_id":"1329753842","filename":"file2"},{"photo_id":"1329753825","filename":"file1"},{"photo_id":"1329753812","filename":"file0"},{"photo_id":"1329753855","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329753855":["hashtag1","hashtag2"]},{"1329753825":["hashtag1","hashtag2"]},{"1329753842":["hashtag1","hashtag2"]},{"1329753812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329753855, 1329753825, 1329753842, 1329753812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.01885795593262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:34:02.526022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/24/image_16012025_22_24_02_693906_0000.jpg', '/home/pi/Desktop/images/16012025/22/24/image_16012025_22_24_02_693906_0001.jpg', '/home/pi/Desktop/images/16012025/22/24/image_16012025_22_24_02_693906_0002.jpg', '/home/pi/Desktop/images/16012025/22/24/image_16012025_22_24_02_693906_0003.jpg', '/home/pi/Desktop/images/16012025/22/25/image_16012025_22_25_02_923679_0000.jpg', '/home/pi/Desktop/images/16012025/22/25/image_16012025_22_25_02_923679_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/24/image_16012025_22_24_02_693906_0000.jpg
/home/pi/Desktop/images/16012025/22/24/image_16012025_22_24_02_693906_0001.jpg
/home/pi/Desktop/images/16012025/22/24/image_16012025_22_24_02_693906_0002.jpg
/home/pi/Desktop/images/16012025/22/24/image_16012025_22_24_02_693906_0003.jpg
/home/pi/Desktop/images/16012025/22/25/image_16012025_22_25_02_923679_0000.jpg
/home/pi/Desktop/images/16012025/22/25/image_16012025_22_25_02_923679_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":["1329753945","1329753875","1329753923","1329753964","1329753967","1329753949"],"photo_ids_order":["1329753875","1329753923","1329753945","1329753949","1329753964","1329753967"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c10d754160117a6399d635d26e8768d.jpg","text":"TemporaryFile(/tmp/multipartBody4812983871032134882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203720747,"filename":"image_16012025_22_24_02_693906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/699f977334d9126356a80a95f8069057.jpg","text":"TemporaryFile(/tmp/multipartBody4377170953764303303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203720747,"filename":"image_16012025_22_24_02_693906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b138f5d3eb3a75cc9bc8a9a979f88f1.jpg","text":"TemporaryFile(/tmp/multipartBody1182040138426944195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203720747,"filename":"image_16012025_22_24_02_693906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/622e4ade2c7c8f6de477dc685fb564a4.jpg","text":"TemporaryFile(/tmp/multipartBody7080326246357198703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203720747,"filename":"image_16012025_22_25_02_923679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f9ede55930a32efc28964055d2a1501.jpg","text":"TemporaryFile(/tmp/multipartBody8192641992741362041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203720747,"filename":"image_16012025_22_25_02_923679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eeff31ee1e5a6fb0ab822084580d083a.jpg","text":"TemporaryFile(/tmp/multipartBody2881971966821071714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203720747,"filename":"image_16012025_22_24_02_693906_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329753945","file1":"1329753923","file0":"1329753875","file4":"1329753964","file5":"1329753967","file3":"1329753949"},"map_files_photo_id_array":[{"photo_id":"1329753967","filename":"file5"},{"photo_id":"1329753945","filename":"file2"},{"photo_id":"1329753964","filename":"file4"},{"photo_id":"1329753923","filename":"file1"},{"photo_id":"1329753875","filename":"file0"},{"photo_id":"1329753949","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329753945":["hashtag1","hashtag2"]},{"1329753875":["hashtag1","hashtag2"]},{"1329753923":["hashtag1","hashtag2"]},{"1329753964":["hashtag1","hashtag2"]},{"1329753967":["hashtag1","hashtag2"]},{"1329753949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329753945, 1329753875, 1329753923, 1329753964, 1329753967, 1329753949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.870790243148804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:35:03.054760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/33/image_18012025_13_33_02_208908_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/33/image_18012025_13_33_02_208908_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.3219563961029053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:35:22.315996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/33/image_18012025_13_33_02_208908_0003.jpg', '/home/pi/Desktop/images/18012025/13/34/image_18012025_13_34_02_335195_0003.jpg', '/home/pi/Desktop/images/18012025/13/35/image_18012025_13_35_02_568607_0000.jpg', '/home/pi/Desktop/images/18012025/13/35/image_18012025_13_35_02_568607_0001.jpg', '/home/pi/Desktop/images/18012025/13/35/image_18012025_13_35_02_568607_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/33/image_18012025_13_33_02_208908_0003.jpg
/home/pi/Desktop/images/18012025/13/34/image_18012025_13_34_02_335195_0003.jpg
/home/pi/Desktop/images/18012025/13/35/image_18012025_13_35_02_568607_0000.jpg
/home/pi/Desktop/images/18012025/13/35/image_18012025_13_35_02_568607_0001.jpg
/home/pi/Desktop/images/18012025/13/35/image_18012025_13_35_02_568607_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329754010","1329754007","1329753997","1329753991","1329754003"],"photo_ids_order":["1329753991","1329753997","1329754003","1329754007","1329754010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a3bc32a4082a9ef7b8506df73c32ebcb.jpg","text":"TemporaryFile(/tmp/multipartBody5953075901622226806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203795587,"filename":"image_18012025_13_35_02_568607_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8adb4f88ff6dad719a61a2a75400b907.jpg","text":"TemporaryFile(/tmp/multipartBody1558235079638847723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203795587,"filename":"image_18012025_13_35_02_568607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4865bd869c471f5a87e1c4f48603d9e2.jpg","text":"TemporaryFile(/tmp/multipartBody521990427583383180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203795587,"filename":"image_18012025_13_34_02_335195_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ad71c3c61fd6f0eb86f9ed259513c45.jpg","text":"TemporaryFile(/tmp/multipartBody194091931168767054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203795587,"filename":"image_18012025_13_33_02_208908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a0f3d41e836b95eb5d9d49c341f9519.jpg","text":"TemporaryFile(/tmp/multipartBody6187180934275106149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203795587,"filename":"image_18012025_13_35_02_568607_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329754003","file1":"1329753997","file0":"1329753991","file4":"1329754010","file3":"1329754007"},"map_files_photo_id_array":[{"photo_id":"1329754003","filename":"file2"},{"photo_id":"1329754010","filename":"file4"},{"photo_id":"1329753997","filename":"file1"},{"photo_id":"1329753991","filename":"file0"},{"photo_id":"1329754007","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329754010":["hashtag1","hashtag2"]},{"1329754007":["hashtag1","hashtag2"]},{"1329753997":["hashtag1","hashtag2"]},{"1329753991":["hashtag1","hashtag2"]},{"1329754003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329754010, 1329754007, 1329753997, 1329753991, 1329754003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 49.143842458724976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:36:22.541857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/35/image_18012025_13_35_02_568607_0003.jpg', '/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0000.jpg', '/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0001.jpg', '/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/35/image_18012025_13_35_02_568607_0003.jpg
/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0000.jpg
/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0001.jpg
/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.59809136390686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 13:36:42.552760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/35/image_18012025_13_35_02_568607_0003.jpg', '/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0000.jpg', '/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0001.jpg', '/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/35/image_18012025_13_35_02_568607_0003.jpg
/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0000.jpg
/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0001.jpg
/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329754941","1329754914","1329754943","1329754910"],"photo_ids_order":["1329754910","1329754914","1329754941","1329754943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/195b6cd10bd5e011fc6838f0a66e40de.jpg","text":"TemporaryFile(/tmp/multipartBody8272082983355182706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203873527,"filename":"image_18012025_13_36_02_742345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0445b5965ae49c88618a2a2e1c0bf343.jpg","text":"TemporaryFile(/tmp/multipartBody1615845766748633859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203873527,"filename":"image_18012025_13_36_02_742345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cb7b45deacc734280e4363ecbff3d551.jpg","text":"TemporaryFile(/tmp/multipartBody8902054456693077223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203873527,"filename":"image_18012025_13_36_02_742345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96dcce6ec49c4608585f6c1f0b9bf991.jpg","text":"TemporaryFile(/tmp/multipartBody3764083865048894988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203873527,"filename":"image_18012025_13_35_02_568607_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329754941","file1":"1329754914","file0":"1329754910","file3":"1329754943"},"map_files_photo_id_array":[{"photo_id":"1329754941","filename":"file2"},{"photo_id":"1329754914","filename":"file1"},{"photo_id":"1329754910","filename":"file0"},{"photo_id":"1329754943","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329754941":["hashtag1","hashtag2"]},{"1329754914":["hashtag1","hashtag2"]},{"1329754943":["hashtag1","hashtag2"]},{"1329754910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329754941, 1329754914, 1329754943, 1329754910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64706802368164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:37:22.773599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0003.jpg', '/home/pi/Desktop/images/18012025/13/37/image_18012025_13_37_02_868134_0000.jpg', '/home/pi/Desktop/images/18012025/13/37/image_18012025_13_37_02_868134_0001.jpg', '/home/pi/Desktop/images/18012025/13/37/image_18012025_13_37_02_868134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/36/image_18012025_13_36_02_742345_0003.jpg
/home/pi/Desktop/images/18012025/13/37/image_18012025_13_37_02_868134_0000.jpg
/home/pi/Desktop/images/18012025/13/37/image_18012025_13_37_02_868134_0001.jpg
/home/pi/Desktop/images/18012025/13/37/image_18012025_13_37_02_868134_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329755012","1329755023","1329755017","1329755005"],"photo_ids_order":["1329755005","1329755012","1329755017","1329755023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eaa07e9c256e5154d81faddb56103833.jpg","text":"TemporaryFile(/tmp/multipartBody6569416644059613019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203913676,"filename":"image_18012025_13_37_02_868134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ecb857f73634f2e3fe393493bf370078.jpg","text":"TemporaryFile(/tmp/multipartBody1452246841483694100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203913676,"filename":"image_18012025_13_37_02_868134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/26162dfb60c9a9f243b1cae7a19244e3.jpg","text":"TemporaryFile(/tmp/multipartBody3222521991151730270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203913676,"filename":"image_18012025_13_37_02_868134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73b9944a0d94bc7ae5f986f1a4aea932.jpg","text":"TemporaryFile(/tmp/multipartBody321770648593349842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203913676,"filename":"image_18012025_13_36_02_742345_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329755017","file1":"1329755012","file0":"1329755005","file3":"1329755023"},"map_files_photo_id_array":[{"photo_id":"1329755017","filename":"file2"},{"photo_id":"1329755012","filename":"file1"},{"photo_id":"1329755005","filename":"file0"},{"photo_id":"1329755023","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329755012":["hashtag1","hashtag2"]},{"1329755023":["hashtag1","hashtag2"]},{"1329755017":["hashtag1","hashtag2"]},{"1329755005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329755012, 1329755023, 1329755017, 1329755005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.089301109313965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:38:21.999195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/37/image_18012025_13_37_02_868134_0003.jpg', '/home/pi/Desktop/images/18012025/13/38/image_18012025_13_38_03_145272_0000.jpg', '/home/pi/Desktop/images/18012025/13/38/image_18012025_13_38_03_145272_0001.jpg', '/home/pi/Desktop/images/18012025/13/38/image_18012025_13_38_03_145272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/37/image_18012025_13_37_02_868134_0003.jpg
/home/pi/Desktop/images/18012025/13/38/image_18012025_13_38_03_145272_0000.jpg
/home/pi/Desktop/images/18012025/13/38/image_18012025_13_38_03_145272_0001.jpg
/home/pi/Desktop/images/18012025/13/38/image_18012025_13_38_03_145272_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329755498","1329755502","1329755494","1329755458"],"photo_ids_order":["1329755458","1329755494","1329755498","1329755502"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a82b5535580a0fe43b3be0cdf05fee8.jpg","text":"TemporaryFile(/tmp/multipartBody6018264971113350124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203972976,"filename":"image_18012025_13_38_03_145272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63d79cbab89b10db3b1f374384f44505.jpg","text":"TemporaryFile(/tmp/multipartBody3185950216030020599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203972976,"filename":"image_18012025_13_38_03_145272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/72558e01fd6b52c08fd64ca6210f3ace.jpg","text":"TemporaryFile(/tmp/multipartBody2922110719089652615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203972976,"filename":"image_18012025_13_38_03_145272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f326b6e71ddb9750a6e650ba18613649.jpg","text":"TemporaryFile(/tmp/multipartBody176379349168241644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737203972976,"filename":"image_18012025_13_37_02_868134_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329755498","file1":"1329755494","file0":"1329755458","file3":"1329755502"},"map_files_photo_id_array":[{"photo_id":"1329755498","filename":"file2"},{"photo_id":"1329755494","filename":"file1"},{"photo_id":"1329755458","filename":"file0"},{"photo_id":"1329755502","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329755498":["hashtag1","hashtag2"]},{"1329755502":["hashtag1","hashtag2"]},{"1329755494":["hashtag1","hashtag2"]},{"1329755458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329755498, 1329755502, 1329755494, 1329755458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56138753890991 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-18 13:39:22.090451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/38/image_18012025_13_38_03_145272_0003.jpg', '/home/pi/Desktop/images/18012025/13/39/image_18012025_13_39_02_329617_0000.jpg', '/home/pi/Desktop/images/18012025/13/39/image_18012025_13_39_02_329617_0001.jpg', '/home/pi/Desktop/images/18012025/13/39/image_18012025_13_39_02_329617_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/38/image_18012025_13_38_03_145272_0003.jpg
/home/pi/Desktop/images/18012025/13/39/image_18012025_13_39_02_329617_0000.jpg
/home/pi/Desktop/images/18012025/13/39/image_18012025_13_39_02_329617_0001.jpg
/home/pi/Desktop/images/18012025/13/39/image_18012025_13_39_02_329617_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329755747","1329755788","1329755860","1329755758"],"photo_ids_order":["1329755747","1329755758","1329755788","1329755860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6801cf751dce2419658dbec983d08820.jpg","text":"TemporaryFile(/tmp/multipartBody6635864717655676172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204033421,"filename":"image_18012025_13_38_03_145272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ae178efd0f0456dcd98ca8834176b7f.jpg","text":"TemporaryFile(/tmp/multipartBody3186218834669688822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204033421,"filename":"image_18012025_13_39_02_329617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c73051dc29c32aa5ffc2b296dcc3b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4404738480475109140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204033421,"filename":"image_18012025_13_39_02_329617_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bcf20427f48336ac0d297160ad5e46e6.jpg","text":"TemporaryFile(/tmp/multipartBody461866730205855550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204033421,"filename":"image_18012025_13_39_02_329617_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329755788","file1":"1329755758","file0":"1329755747","file3":"1329755860"},"map_files_photo_id_array":[{"photo_id":"1329755788","filename":"file2"},{"photo_id":"1329755758","filename":"file1"},{"photo_id":"1329755747","filename":"file0"},{"photo_id":"1329755860","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329755747":["hashtag1","hashtag2"]},{"1329755788":["hashtag1","hashtag2"]},{"1329755860":["hashtag1","hashtag2"]},{"1329755758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329755747, 1329755788, 1329755860, 1329755758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98749041557312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:40:02.531126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/25/image_16012025_22_25_02_923679_0002.jpg', '/home/pi/Desktop/images/16012025/22/25/image_16012025_22_25_02_923679_0003.jpg', '/home/pi/Desktop/images/16012025/22/26/image_16012025_22_26_03_044887_0000.jpg', '/home/pi/Desktop/images/16012025/22/26/image_16012025_22_26_03_044887_0001.jpg', '/home/pi/Desktop/images/16012025/22/26/image_16012025_22_26_03_044887_0002.jpg', '/home/pi/Desktop/images/16012025/22/26/image_16012025_22_26_03_044887_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/25/image_16012025_22_25_02_923679_0002.jpg
/home/pi/Desktop/images/16012025/22/25/image_16012025_22_25_02_923679_0003.jpg
/home/pi/Desktop/images/16012025/22/26/image_16012025_22_26_03_044887_0000.jpg
/home/pi/Desktop/images/16012025/22/26/image_16012025_22_26_03_044887_0001.jpg
/home/pi/Desktop/images/16012025/22/26/image_16012025_22_26_03_044887_0002.jpg
/home/pi/Desktop/images/16012025/22/26/image_16012025_22_26_03_044887_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":["1329756083","1329756079","1329756067","1329756087","1329756071","1329756074"],"photo_ids_order":["1329756067","1329756071","1329756074","1329756079","1329756083","1329756087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/45dc2a3efdd08726839014558abdda49.jpg","text":"TemporaryFile(/tmp/multipartBody5776474016717030768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204080193,"filename":"image_16012025_22_26_03_044887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73aee2616e344bb41dc31d2488d7eb00.jpg","text":"TemporaryFile(/tmp/multipartBody2192907071460158277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204080193,"filename":"image_16012025_22_26_03_044887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/19f36c9fbb4f48def3bc91033350ed8d.jpg","text":"TemporaryFile(/tmp/multipartBody1836190345927874990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204080193,"filename":"image_16012025_22_25_02_923679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba9f23736b4efc1536e82a5d9b676f5a.jpg","text":"TemporaryFile(/tmp/multipartBody7204667549426338282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204080193,"filename":"image_16012025_22_26_03_044887_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4834089ed671264247d5ce0c887fe8c0.jpg","text":"TemporaryFile(/tmp/multipartBody8819902174621925076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204080193,"filename":"image_16012025_22_25_02_923679_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ccf16a0af2565a71a0d366511377b3d0.jpg","text":"TemporaryFile(/tmp/multipartBody3311308846269451138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204080193,"filename":"image_16012025_22_26_03_044887_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756074","file1":"1329756071","file0":"1329756067","file4":"1329756083","file5":"1329756087","file3":"1329756079"},"map_files_photo_id_array":[{"photo_id":"1329756087","filename":"file5"},{"photo_id":"1329756074","filename":"file2"},{"photo_id":"1329756083","filename":"file4"},{"photo_id":"1329756071","filename":"file1"},{"photo_id":"1329756067","filename":"file0"},{"photo_id":"1329756079","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329756083":["hashtag1","hashtag2"]},{"1329756079":["hashtag1","hashtag2"]},{"1329756067":["hashtag1","hashtag2"]},{"1329756087":["hashtag1","hashtag2"]},{"1329756071":["hashtag1","hashtag2"]},{"1329756074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329756083, 1329756079, 1329756067, 1329756087, 1329756071, 1329756074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.564820289611816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:41:03.022164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/39/image_18012025_13_39_02_329617_0003.jpg', '/home/pi/Desktop/images/18012025/13/40/image_18012025_13_40_02_426283_0000.jpg', '/home/pi/Desktop/images/18012025/13/40/image_18012025_13_40_02_426283_0001.jpg', '/home/pi/Desktop/images/18012025/13/40/image_18012025_13_40_02_426283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/39/image_18012025_13_39_02_329617_0003.jpg
/home/pi/Desktop/images/18012025/13/40/image_18012025_13_40_02_426283_0000.jpg
/home/pi/Desktop/images/18012025/13/40/image_18012025_13_40_02_426283_0001.jpg
/home/pi/Desktop/images/18012025/13/40/image_18012025_13_40_02_426283_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329756101","1329756096","1329756105","1329756098"],"photo_ids_order":["1329756096","1329756098","1329756101","1329756105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/048a49d25199c2af755e1721ca0a97ee.jpg","text":"TemporaryFile(/tmp/multipartBody2237764832058131079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204134865,"filename":"image_18012025_13_40_02_426283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d583df0618fe0f55323732e745fc261.jpg","text":"TemporaryFile(/tmp/multipartBody949235622863570366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204134865,"filename":"image_18012025_13_39_02_329617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4b4a3dca3e85259655370a5a0bb6763d.jpg","text":"TemporaryFile(/tmp/multipartBody1398619518857913664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204134865,"filename":"image_18012025_13_40_02_426283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0aa41b6b68063b6da76bbf48c42262bd.jpg","text":"TemporaryFile(/tmp/multipartBody7726665746282565155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204134865,"filename":"image_18012025_13_40_02_426283_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756101","file1":"1329756098","file0":"1329756096","file3":"1329756105"},"map_files_photo_id_array":[{"photo_id":"1329756101","filename":"file2"},{"photo_id":"1329756098","filename":"file1"},{"photo_id":"1329756096","filename":"file0"},{"photo_id":"1329756105","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329756101":["hashtag1","hashtag2"]},{"1329756096":["hashtag1","hashtag2"]},{"1329756105":["hashtag1","hashtag2"]},{"1329756098":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329756101, 1329756096, 1329756105, 1329756098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.0326189994812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 13:41:52.393785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/40/image_18012025_13_40_02_426283_0003.jpg', '/home/pi/Desktop/images/18012025/13/41/image_18012025_13_41_02_620128_0000.jpg', '/home/pi/Desktop/images/18012025/13/41/image_18012025_13_41_02_620128_0001.jpg', '/home/pi/Desktop/images/18012025/13/41/image_18012025_13_41_02_620128_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/40/image_18012025_13_40_02_426283_0003.jpg
/home/pi/Desktop/images/18012025/13/41/image_18012025_13_41_02_620128_0000.jpg
/home/pi/Desktop/images/18012025/13/41/image_18012025_13_41_02_620128_0001.jpg
/home/pi/Desktop/images/18012025/13/41/image_18012025_13_41_02_620128_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329756122","1329756121","1329756124","1329756120"],"photo_ids_order":["1329756120","1329756121","1329756122","1329756124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cfd355f2ca70d966d3c56dbb7e671f10.jpg","text":"TemporaryFile(/tmp/multipartBody7813857635358360709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204183619,"filename":"image_18012025_13_41_02_620128_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9467e9c38ac8335a0ad4363fed8ae399.jpg","text":"TemporaryFile(/tmp/multipartBody3414902295432419152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204183619,"filename":"image_18012025_13_41_02_620128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2aa06c872eb99000e981b1aa6f8a3e87.jpg","text":"TemporaryFile(/tmp/multipartBody2072303453787832264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204183619,"filename":"image_18012025_13_41_02_620128_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf6aa8726eb129bd4734613ed7955155.jpg","text":"TemporaryFile(/tmp/multipartBody4169651426260274426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204183619,"filename":"image_18012025_13_40_02_426283_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756122","file1":"1329756121","file0":"1329756120","file3":"1329756124"},"map_files_photo_id_array":[{"photo_id":"1329756122","filename":"file2"},{"photo_id":"1329756121","filename":"file1"},{"photo_id":"1329756120","filename":"file0"},{"photo_id":"1329756124","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329756122":["hashtag1","hashtag2"]},{"1329756121":["hashtag1","hashtag2"]},{"1329756124":["hashtag1","hashtag2"]},{"1329756120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329756122, 1329756121, 1329756124, 1329756120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.71764087677002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 13:42:42.641039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/41/image_18012025_13_41_02_620128_0003.jpg', '/home/pi/Desktop/images/18012025/13/42/image_18012025_13_42_02_733115_0000.jpg', '/home/pi/Desktop/images/18012025/13/42/image_18012025_13_42_02_733115_0001.jpg', '/home/pi/Desktop/images/18012025/13/42/image_18012025_13_42_02_733115_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/41/image_18012025_13_41_02_620128_0003.jpg
/home/pi/Desktop/images/18012025/13/42/image_18012025_13_42_02_733115_0000.jpg
/home/pi/Desktop/images/18012025/13/42/image_18012025_13_42_02_733115_0001.jpg
/home/pi/Desktop/images/18012025/13/42/image_18012025_13_42_02_733115_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329756158","1329756160","1329756156","1329756152"],"photo_ids_order":["1329756152","1329756156","1329756158","1329756160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9115c27db931e466219c0410d04ae36a.jpg","text":"TemporaryFile(/tmp/multipartBody5143764809661846370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204233835,"filename":"image_18012025_13_42_02_733115_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/577812b2d11f73accde1f27d19c495b6.jpg","text":"TemporaryFile(/tmp/multipartBody401466571824786243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204233835,"filename":"image_18012025_13_42_02_733115_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/961a28378f8098a38a023425138b2996.jpg","text":"TemporaryFile(/tmp/multipartBody7122113102968953430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204233835,"filename":"image_18012025_13_42_02_733115_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aabba1de0dd85cec6102503eab9189fd.jpg","text":"TemporaryFile(/tmp/multipartBody3890028828746459536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204233835,"filename":"image_18012025_13_41_02_620128_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756158","file1":"1329756156","file0":"1329756152","file3":"1329756160"},"map_files_photo_id_array":[{"photo_id":"1329756158","filename":"file2"},{"photo_id":"1329756156","filename":"file1"},{"photo_id":"1329756152","filename":"file0"},{"photo_id":"1329756160","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329756158":["hashtag1","hashtag2"]},{"1329756160":["hashtag1","hashtag2"]},{"1329756156":["hashtag1","hashtag2"]},{"1329756152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329756158, 1329756160, 1329756156, 1329756152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01104235649109 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:43:22.712254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/42/image_18012025_13_42_02_733115_0003.jpg', '/home/pi/Desktop/images/18012025/13/43/image_18012025_13_43_02_897351_0000.jpg', '/home/pi/Desktop/images/18012025/13/43/image_18012025_13_43_02_897351_0001.jpg', '/home/pi/Desktop/images/18012025/13/43/image_18012025_13_43_02_897351_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/42/image_18012025_13_42_02_733115_0003.jpg
/home/pi/Desktop/images/18012025/13/43/image_18012025_13_43_02_897351_0000.jpg
/home/pi/Desktop/images/18012025/13/43/image_18012025_13_43_02_897351_0001.jpg
/home/pi/Desktop/images/18012025/13/43/image_18012025_13_43_02_897351_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329756175","1329756187","1329756169","1329756182"],"photo_ids_order":["1329756169","1329756175","1329756182","1329756187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1cda27549866b153be08e33e5f15e82d.jpg","text":"TemporaryFile(/tmp/multipartBody1723546111054576292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204274332,"filename":"image_18012025_13_43_02_897351_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e70a5f60c94a2164189b4a0c0d85ada3.jpg","text":"TemporaryFile(/tmp/multipartBody2965718759072160088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204274332,"filename":"image_18012025_13_43_02_897351_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/55ad9a7056edad5de4d71e875af8c5ab.jpg","text":"TemporaryFile(/tmp/multipartBody1625798470716138977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204274332,"filename":"image_18012025_13_42_02_733115_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e1d6e809f55c665e32ed3c446c4eeea.jpg","text":"TemporaryFile(/tmp/multipartBody2470314738876804028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204274332,"filename":"image_18012025_13_43_02_897351_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756182","file1":"1329756175","file0":"1329756169","file3":"1329756187"},"map_files_photo_id_array":[{"photo_id":"1329756182","filename":"file2"},{"photo_id":"1329756175","filename":"file1"},{"photo_id":"1329756169","filename":"file0"},{"photo_id":"1329756187","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329756175":["hashtag1","hashtag2"]},{"1329756187":["hashtag1","hashtag2"]},{"1329756169":["hashtag1","hashtag2"]},{"1329756182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329756175, 1329756187, 1329756169, 1329756182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18415188789368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:44:21.986038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/43/image_18012025_13_43_02_897351_0003.jpg', '/home/pi/Desktop/images/18012025/13/44/image_18012025_13_44_03_159372_0000.jpg', '/home/pi/Desktop/images/18012025/13/44/image_18012025_13_44_03_159372_0001.jpg', '/home/pi/Desktop/images/18012025/13/44/image_18012025_13_44_03_159372_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/43/image_18012025_13_43_02_897351_0003.jpg
/home/pi/Desktop/images/18012025/13/44/image_18012025_13_44_03_159372_0000.jpg
/home/pi/Desktop/images/18012025/13/44/image_18012025_13_44_03_159372_0001.jpg
/home/pi/Desktop/images/18012025/13/44/image_18012025_13_44_03_159372_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329756209","1329756199","1329756204","1329756216"],"photo_ids_order":["1329756199","1329756204","1329756209","1329756216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8dd169e8d705f91bcda26145aa76d179.jpg","text":"TemporaryFile(/tmp/multipartBody5418452639750680662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204333420,"filename":"image_18012025_13_44_03_159372_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8483b2fcf09c80dc6903c7baaf6b1664.jpg","text":"TemporaryFile(/tmp/multipartBody7432778484092178104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204333420,"filename":"image_18012025_13_43_02_897351_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a03ba34a907d175c32993333fda87171.jpg","text":"TemporaryFile(/tmp/multipartBody3498538689611187544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204333420,"filename":"image_18012025_13_44_03_159372_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/41365d6e2ca2744f0000fc80827bba0a.jpg","text":"TemporaryFile(/tmp/multipartBody3992380019434743737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204333420,"filename":"image_18012025_13_44_03_159372_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756209","file1":"1329756204","file0":"1329756199","file3":"1329756216"},"map_files_photo_id_array":[{"photo_id":"1329756209","filename":"file2"},{"photo_id":"1329756204","filename":"file1"},{"photo_id":"1329756199","filename":"file0"},{"photo_id":"1329756216","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329756209":["hashtag1","hashtag2"]},{"1329756199":["hashtag1","hashtag2"]},{"1329756204":["hashtag1","hashtag2"]},{"1329756216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329756209, 1329756199, 1329756204, 1329756216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.56949830055237 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-18 13:45:22.118281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/44/image_18012025_13_44_03_159372_0003.jpg', '/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0000.jpg', '/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0001.jpg', '/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/44/image_18012025_13_44_03_159372_0003.jpg
/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0000.jpg
/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0001.jpg
/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.245184898376465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 13:45:42.249739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/44/image_18012025_13_44_03_159372_0003.jpg', '/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0000.jpg', '/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0001.jpg', '/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/44/image_18012025_13_44_03_159372_0003.jpg
/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0000.jpg
/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0001.jpg
/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329756416","1329756472","1329756448","1329756488"],"photo_ids_order":["1329756416","1329756448","1329756472","1329756488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95e86152a71fae699c83af8e8ac3544f.jpg","text":"TemporaryFile(/tmp/multipartBody5998965030444030935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204413853,"filename":"image_18012025_13_44_03_159372_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e2f92bc2ca614dc203e7c7225325c41d.jpg","text":"TemporaryFile(/tmp/multipartBody6064551231447855500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204413853,"filename":"image_18012025_13_45_02_304578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1162af3e36b5eb3b01d9bb88dca687a2.jpg","text":"TemporaryFile(/tmp/multipartBody8264224270588856866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204413853,"filename":"image_18012025_13_45_02_304578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/002139f7d04c3ce1599cc340e69c6bb5.jpg","text":"TemporaryFile(/tmp/multipartBody8823938769139035963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204413853,"filename":"image_18012025_13_45_02_304578_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756472","file1":"1329756448","file0":"1329756416","file3":"1329756488"},"map_files_photo_id_array":[{"photo_id":"1329756472","filename":"file2"},{"photo_id":"1329756448","filename":"file1"},{"photo_id":"1329756416","filename":"file0"},{"photo_id":"1329756488","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329756416":["hashtag1","hashtag2"]},{"1329756472":["hashtag1","hashtag2"]},{"1329756448":["hashtag1","hashtag2"]},{"1329756488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329756416, 1329756472, 1329756448, 1329756488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.17494487762451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 13:46:32.305450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0003.jpg', '/home/pi/Desktop/images/18012025/13/46/image_18012025_13_46_02_565816_0000.jpg', '/home/pi/Desktop/images/18012025/13/46/image_18012025_13_46_02_565816_0001.jpg', '/home/pi/Desktop/images/18012025/13/46/image_18012025_13_46_02_565816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/45/image_18012025_13_45_02_304578_0003.jpg
/home/pi/Desktop/images/18012025/13/46/image_18012025_13_46_02_565816_0000.jpg
/home/pi/Desktop/images/18012025/13/46/image_18012025_13_46_02_565816_0001.jpg
/home/pi/Desktop/images/18012025/13/46/image_18012025_13_46_02_565816_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329756574","1329756570","1329756567","1329756581"],"photo_ids_order":["1329756567","1329756570","1329756574","1329756581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4310b91711eb8ec6f2f845e9021ac0e4.jpg","text":"TemporaryFile(/tmp/multipartBody5602016975060652895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204463700,"filename":"image_18012025_13_46_02_565816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e98dd78c233ea70381347a7922f1a63.jpg","text":"TemporaryFile(/tmp/multipartBody643620946264664988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204463700,"filename":"image_18012025_13_46_02_565816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5b374abea3ca52e69dc18562d8aca3de.jpg","text":"TemporaryFile(/tmp/multipartBody7150599074241183483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204463700,"filename":"image_18012025_13_45_02_304578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/55ecd7ac8d7018559dadbdd0a8aba424.jpg","text":"TemporaryFile(/tmp/multipartBody6066038544571878227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204463700,"filename":"image_18012025_13_46_02_565816_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756574","file1":"1329756570","file0":"1329756567","file3":"1329756581"},"map_files_photo_id_array":[{"photo_id":"1329756574","filename":"file2"},{"photo_id":"1329756570","filename":"file1"},{"photo_id":"1329756567","filename":"file0"},{"photo_id":"1329756581","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329756574":["hashtag1","hashtag2"]},{"1329756570":["hashtag1","hashtag2"]},{"1329756567":["hashtag1","hashtag2"]},{"1329756581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329756574, 1329756570, 1329756567, 1329756581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.993738889694214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:47:22.468466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/46/image_18012025_13_46_02_565816_0003.jpg', '/home/pi/Desktop/images/18012025/13/47/image_18012025_13_47_02_619860_0000.jpg', '/home/pi/Desktop/images/18012025/13/47/image_18012025_13_47_02_619860_0001.jpg', '/home/pi/Desktop/images/18012025/13/47/image_18012025_13_47_02_619860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/46/image_18012025_13_46_02_565816_0003.jpg
/home/pi/Desktop/images/18012025/13/47/image_18012025_13_47_02_619860_0000.jpg
/home/pi/Desktop/images/18012025/13/47/image_18012025_13_47_02_619860_0001.jpg
/home/pi/Desktop/images/18012025/13/47/image_18012025_13_47_02_619860_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329756676","1329756663","1329756672","1329756692"],"photo_ids_order":["1329756663","1329756672","1329756676","1329756692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ba367994858ccfa8e7553a52054f196.jpg","text":"TemporaryFile(/tmp/multipartBody7998301968444106141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204513623,"filename":"image_18012025_13_47_02_619860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a3a4595aed5f739e1d5c248c1cfbe660.jpg","text":"TemporaryFile(/tmp/multipartBody3140081308361687445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204513623,"filename":"image_18012025_13_46_02_565816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3aa964094cbd103a511e71d19a3aa7d1.jpg","text":"TemporaryFile(/tmp/multipartBody1749287841776611255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204513623,"filename":"image_18012025_13_47_02_619860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f40f035c52f46edc6b73eee2735cd726.jpg","text":"TemporaryFile(/tmp/multipartBody1079254476076295103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204513623,"filename":"image_18012025_13_47_02_619860_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756676","file1":"1329756672","file0":"1329756663","file3":"1329756692"},"map_files_photo_id_array":[{"photo_id":"1329756676","filename":"file2"},{"photo_id":"1329756672","filename":"file1"},{"photo_id":"1329756663","filename":"file0"},{"photo_id":"1329756692","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329756676":["hashtag1","hashtag2"]},{"1329756663":["hashtag1","hashtag2"]},{"1329756672":["hashtag1","hashtag2"]},{"1329756692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329756676, 1329756663, 1329756672, 1329756692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.908145904541016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:48:03.000886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0000.jpg', '/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0001.jpg', '/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0002.jpg', '/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0003.jpg', '/home/pi/Desktop/images/16012025/22/28/image_16012025_22_28_02_505872_0000.jpg', '/home/pi/Desktop/images/16012025/22/28/image_16012025_22_28_02_505872_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0000.jpg
/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0001.jpg
/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0002.jpg
/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0003.jpg
/home/pi/Desktop/images/16012025/22/28/image_16012025_22_28_02_505872_0000.jpg
/home/pi/Desktop/images/16012025/22/28/image_16012025_22_28_02_505872_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.905842542648315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:48:22.681669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/47/image_18012025_13_47_02_619860_0003.jpg', '/home/pi/Desktop/images/18012025/13/48/image_18012025_13_48_02_833885_0000.jpg', '/home/pi/Desktop/images/18012025/13/48/image_18012025_13_48_02_833885_0001.jpg', '/home/pi/Desktop/images/18012025/13/48/image_18012025_13_48_02_833885_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/47/image_18012025_13_47_02_619860_0003.jpg
/home/pi/Desktop/images/18012025/13/48/image_18012025_13_48_02_833885_0000.jpg
/home/pi/Desktop/images/18012025/13/48/image_18012025_13_48_02_833885_0001.jpg
/home/pi/Desktop/images/18012025/13/48/image_18012025_13_48_02_833885_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329756758","1329756746","1329756752","1329756740"],"photo_ids_order":["1329756740","1329756746","1329756752","1329756758"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d6a71c6f9c3a3b054c5fdd556148711.jpg","text":"TemporaryFile(/tmp/multipartBody3988130072341106162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204573980,"filename":"image_18012025_13_48_02_833885_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/575eb5d0ea876de84dcebb30caae53b6.jpg","text":"TemporaryFile(/tmp/multipartBody546202668888344484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204573980,"filename":"image_18012025_13_48_02_833885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e28874ea40de395e64147ee114cd002.jpg","text":"TemporaryFile(/tmp/multipartBody1198511248785082630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204573980,"filename":"image_18012025_13_48_02_833885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60efa55d3efa63c9ff9c6ae5f26c1349.jpg","text":"TemporaryFile(/tmp/multipartBody7112770185210650075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204573980,"filename":"image_18012025_13_47_02_619860_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756752","file1":"1329756746","file0":"1329756740","file3":"1329756758"},"map_files_photo_id_array":[{"photo_id":"1329756752","filename":"file2"},{"photo_id":"1329756746","filename":"file1"},{"photo_id":"1329756740","filename":"file0"},{"photo_id":"1329756758","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329756758":["hashtag1","hashtag2"]},{"1329756746":["hashtag1","hashtag2"]},{"1329756752":["hashtag1","hashtag2"]},{"1329756740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329756758, 1329756746, 1329756752, 1329756740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03572702407837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:49:21.838467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/48/image_18012025_13_48_02_833885_0003.jpg', '/home/pi/Desktop/images/18012025/13/49/image_18012025_13_49_03_000053_0000.jpg', '/home/pi/Desktop/images/18012025/13/49/image_18012025_13_49_03_000053_0001.jpg', '/home/pi/Desktop/images/18012025/13/49/image_18012025_13_49_03_000053_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/48/image_18012025_13_48_02_833885_0003.jpg
/home/pi/Desktop/images/18012025/13/49/image_18012025_13_49_03_000053_0000.jpg
/home/pi/Desktop/images/18012025/13/49/image_18012025_13_49_03_000053_0001.jpg
/home/pi/Desktop/images/18012025/13/49/image_18012025_13_49_03_000053_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329756842","1329756847","1329756837","1329756851"],"photo_ids_order":["1329756837","1329756842","1329756847","1329756851"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/308eb307182ac08c9fcaa25447502f2b.jpg","text":"TemporaryFile(/tmp/multipartBody3431484036217153657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204633388,"filename":"image_18012025_13_49_03_000053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/199c0057c459a5146377de9dd313f36c.jpg","text":"TemporaryFile(/tmp/multipartBody4567485604971322950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204633388,"filename":"image_18012025_13_49_03_000053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7b7d546784d1609fd6ad67271bb53e9.jpg","text":"TemporaryFile(/tmp/multipartBody1564559767619806656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204633388,"filename":"image_18012025_13_48_02_833885_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8bc84c1d742afbad9673f2e3c6af664a.jpg","text":"TemporaryFile(/tmp/multipartBody3881432241232038826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204633388,"filename":"image_18012025_13_49_03_000053_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756847","file1":"1329756842","file0":"1329756837","file3":"1329756851"},"map_files_photo_id_array":[{"photo_id":"1329756847","filename":"file2"},{"photo_id":"1329756842","filename":"file1"},{"photo_id":"1329756837","filename":"file0"},{"photo_id":"1329756851","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329756842":["hashtag1","hashtag2"]},{"1329756847":["hashtag1","hashtag2"]},{"1329756837":["hashtag1","hashtag2"]},{"1329756851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329756842, 1329756847, 1329756837, 1329756851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.203031063079834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:50:22.009716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/49/image_18012025_13_49_03_000053_0003.jpg', '/home/pi/Desktop/images/18012025/13/50/image_18012025_13_50_02_180754_0000.jpg', '/home/pi/Desktop/images/18012025/13/50/image_18012025_13_50_02_180754_0001.jpg', '/home/pi/Desktop/images/18012025/13/50/image_18012025_13_50_02_180754_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/49/image_18012025_13_49_03_000053_0003.jpg
/home/pi/Desktop/images/18012025/13/50/image_18012025_13_50_02_180754_0000.jpg
/home/pi/Desktop/images/18012025/13/50/image_18012025_13_50_02_180754_0001.jpg
/home/pi/Desktop/images/18012025/13/50/image_18012025_13_50_02_180754_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329756863","1329756870","1329756866","1329756875"],"photo_ids_order":["1329756863","1329756866","1329756870","1329756875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ce88e5aa0a5aa9b8fc9bc0db5798bed.jpg","text":"TemporaryFile(/tmp/multipartBody9079937936728484994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204693070,"filename":"image_18012025_13_49_03_000053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1321a0cc7b54e726a8224d646841f948.jpg","text":"TemporaryFile(/tmp/multipartBody5762830511288499961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204693070,"filename":"image_18012025_13_50_02_180754_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2e14c77f2d9327ffcb1a83e771fd8cc.jpg","text":"TemporaryFile(/tmp/multipartBody6705718347016979680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204693070,"filename":"image_18012025_13_50_02_180754_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a06e478693a5291cab3d45535643b780.jpg","text":"TemporaryFile(/tmp/multipartBody4198633860675046306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204693070,"filename":"image_18012025_13_50_02_180754_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756870","file1":"1329756866","file0":"1329756863","file3":"1329756875"},"map_files_photo_id_array":[{"photo_id":"1329756870","filename":"file2"},{"photo_id":"1329756866","filename":"file1"},{"photo_id":"1329756863","filename":"file0"},{"photo_id":"1329756875","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329756863":["hashtag1","hashtag2"]},{"1329756870":["hashtag1","hashtag2"]},{"1329756866":["hashtag1","hashtag2"]},{"1329756875":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329756863, 1329756870, 1329756866, 1329756875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.058412075042725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:51:22.161286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/50/image_18012025_13_50_02_180754_0003.jpg', '/home/pi/Desktop/images/18012025/13/51/image_18012025_13_51_02_364497_0000.jpg', '/home/pi/Desktop/images/18012025/13/51/image_18012025_13_51_02_364497_0001.jpg', '/home/pi/Desktop/images/18012025/13/51/image_18012025_13_51_02_364497_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/50/image_18012025_13_50_02_180754_0003.jpg
/home/pi/Desktop/images/18012025/13/51/image_18012025_13_51_02_364497_0000.jpg
/home/pi/Desktop/images/18012025/13/51/image_18012025_13_51_02_364497_0001.jpg
/home/pi/Desktop/images/18012025/13/51/image_18012025_13_51_02_364497_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329756905","1329756901","1329756894","1329756897"],"photo_ids_order":["1329756894","1329756897","1329756901","1329756905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d0f2dd3fa42cd05e97dc554fa530ce9.jpg","text":"TemporaryFile(/tmp/multipartBody905580411805039899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204753709,"filename":"image_18012025_13_51_02_364497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b52ff997e9bc144e082fb6eaafc91e7.jpg","text":"TemporaryFile(/tmp/multipartBody2970460097112664360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204753709,"filename":"image_18012025_13_51_02_364497_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/746f88934e0ba8941f0550fefeebcede.jpg","text":"TemporaryFile(/tmp/multipartBody2004673348204209955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204753709,"filename":"image_18012025_13_50_02_180754_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7395c1aa4957de8b339842563332e40f.jpg","text":"TemporaryFile(/tmp/multipartBody8079765814457568129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204753709,"filename":"image_18012025_13_51_02_364497_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756901","file1":"1329756897","file0":"1329756894","file3":"1329756905"},"map_files_photo_id_array":[{"photo_id":"1329756901","filename":"file2"},{"photo_id":"1329756897","filename":"file1"},{"photo_id":"1329756894","filename":"file0"},{"photo_id":"1329756905","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329756905":["hashtag1","hashtag2"]},{"1329756901":["hashtag1","hashtag2"]},{"1329756894":["hashtag1","hashtag2"]},{"1329756897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329756905, 1329756901, 1329756894, 1329756897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.53779697418213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:52:22.399869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/51/image_18012025_13_51_02_364497_0003.jpg', '/home/pi/Desktop/images/18012025/13/52/image_18012025_13_52_02_556966_0000.jpg', '/home/pi/Desktop/images/18012025/13/52/image_18012025_13_52_02_556966_0001.jpg', '/home/pi/Desktop/images/18012025/13/52/image_18012025_13_52_02_556966_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/51/image_18012025_13_51_02_364497_0003.jpg
/home/pi/Desktop/images/18012025/13/52/image_18012025_13_52_02_556966_0000.jpg
/home/pi/Desktop/images/18012025/13/52/image_18012025_13_52_02_556966_0001.jpg
/home/pi/Desktop/images/18012025/13/52/image_18012025_13_52_02_556966_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329756937","1329756930","1329756924","1329756918"],"photo_ids_order":["1329756918","1329756924","1329756930","1329756937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/34adccb9a04a0de64dab3d4a3759ff88.jpg","text":"TemporaryFile(/tmp/multipartBody1783060335796460989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204813842,"filename":"image_18012025_13_52_02_556966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/71726c47fcdfb3c204be39ae2ddd9373.jpg","text":"TemporaryFile(/tmp/multipartBody3787985728563688632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204813842,"filename":"image_18012025_13_52_02_556966_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eaaf999096df6e429fa26c2f9337888f.jpg","text":"TemporaryFile(/tmp/multipartBody4596246859216823079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204813842,"filename":"image_18012025_13_52_02_556966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2bbe02b27e5313435b02d91073d0eece.jpg","text":"TemporaryFile(/tmp/multipartBody6865167119399281089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204813842,"filename":"image_18012025_13_51_02_364497_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329756930","file1":"1329756924","file0":"1329756918","file3":"1329756937"},"map_files_photo_id_array":[{"photo_id":"1329756930","filename":"file2"},{"photo_id":"1329756924","filename":"file1"},{"photo_id":"1329756918","filename":"file0"},{"photo_id":"1329756937","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329756937":["hashtag1","hashtag2"]},{"1329756930":["hashtag1","hashtag2"]},{"1329756924":["hashtag1","hashtag2"]},{"1329756918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329756937, 1329756930, 1329756924, 1329756918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.24495816230774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:53:22.514656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/52/image_18012025_13_52_02_556966_0003.jpg', '/home/pi/Desktop/images/18012025/13/53/image_18012025_13_53_02_715215_0000.jpg', '/home/pi/Desktop/images/18012025/13/53/image_18012025_13_53_02_715215_0001.jpg', '/home/pi/Desktop/images/18012025/13/53/image_18012025_13_53_02_715215_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/52/image_18012025_13_52_02_556966_0003.jpg
/home/pi/Desktop/images/18012025/13/53/image_18012025_13_53_02_715215_0000.jpg
/home/pi/Desktop/images/18012025/13/53/image_18012025_13_53_02_715215_0001.jpg
/home/pi/Desktop/images/18012025/13/53/image_18012025_13_53_02_715215_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329757183","1329757237","1329757188","1329757349"],"photo_ids_order":["1329757183","1329757188","1329757237","1329757349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5f0d879fb316ebfec853db67f4171e0c.jpg","text":"TemporaryFile(/tmp/multipartBody8179494970835979058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204874097,"filename":"image_18012025_13_52_02_556966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9da83aa5e4d5992f95128f068749b504.jpg","text":"TemporaryFile(/tmp/multipartBody8500359740751690147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204874097,"filename":"image_18012025_13_53_02_715215_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21778a8073d1d0509ba38af8b8cc8221.jpg","text":"TemporaryFile(/tmp/multipartBody8619560455203766891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204874097,"filename":"image_18012025_13_53_02_715215_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d904cc4e22bf0461723e2ba3e666ab73.jpg","text":"TemporaryFile(/tmp/multipartBody4012189966498812419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204874097,"filename":"image_18012025_13_53_02_715215_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329757237","file1":"1329757188","file0":"1329757183","file3":"1329757349"},"map_files_photo_id_array":[{"photo_id":"1329757237","filename":"file2"},{"photo_id":"1329757188","filename":"file1"},{"photo_id":"1329757183","filename":"file0"},{"photo_id":"1329757349","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329757183":["hashtag1","hashtag2"]},{"1329757237":["hashtag1","hashtag2"]},{"1329757188":["hashtag1","hashtag2"]},{"1329757349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329757183, 1329757237, 1329757188, 1329757349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.004552602767944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 13:54:22.671122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/53/image_18012025_13_53_02_715215_0003.jpg', '/home/pi/Desktop/images/18012025/13/54/image_18012025_13_54_02_851909_0000.jpg', '/home/pi/Desktop/images/18012025/13/54/image_18012025_13_54_02_851909_0001.jpg', '/home/pi/Desktop/images/18012025/13/54/image_18012025_13_54_02_851909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/53/image_18012025_13_53_02_715215_0003.jpg
/home/pi/Desktop/images/18012025/13/54/image_18012025_13_54_02_851909_0000.jpg
/home/pi/Desktop/images/18012025/13/54/image_18012025_13_54_02_851909_0001.jpg
/home/pi/Desktop/images/18012025/13/54/image_18012025_13_54_02_851909_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329758649","1329758643","1329758637","1329758630"],"photo_ids_order":["1329758630","1329758637","1329758643","1329758649"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28574cb33647721d01caae4dd371c2a1.jpg","text":"TemporaryFile(/tmp/multipartBody2405301282527303355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204934094,"filename":"image_18012025_13_54_02_851909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86dd694fdbe1d016483ef9886a432520.jpg","text":"TemporaryFile(/tmp/multipartBody7047390462221596896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204934094,"filename":"image_18012025_13_54_02_851909_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9403f0fc9613950a719bd30483ab036f.jpg","text":"TemporaryFile(/tmp/multipartBody4489842776181939750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204934094,"filename":"image_18012025_13_54_02_851909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a4bcfde38064efc0fa8c218f2b1d21f.jpg","text":"TemporaryFile(/tmp/multipartBody2903506423398987581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204934094,"filename":"image_18012025_13_53_02_715215_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329758643","file1":"1329758637","file0":"1329758630","file3":"1329758649"},"map_files_photo_id_array":[{"photo_id":"1329758643","filename":"file2"},{"photo_id":"1329758637","filename":"file1"},{"photo_id":"1329758630","filename":"file0"},{"photo_id":"1329758649","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329758649":["hashtag1","hashtag2"]},{"1329758643":["hashtag1","hashtag2"]},{"1329758637":["hashtag1","hashtag2"]},{"1329758630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329758649, 1329758643, 1329758637, 1329758630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.643819093704224 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-18 13:55:21.891511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/54/image_18012025_13_54_02_851909_0003.jpg', '/home/pi/Desktop/images/18012025/13/55/image_18012025_13_55_03_044685_0000.jpg', '/home/pi/Desktop/images/18012025/13/55/image_18012025_13_55_03_044685_0001.jpg', '/home/pi/Desktop/images/18012025/13/55/image_18012025_13_55_03_044685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/54/image_18012025_13_54_02_851909_0003.jpg
/home/pi/Desktop/images/18012025/13/55/image_18012025_13_55_03_044685_0000.jpg
/home/pi/Desktop/images/18012025/13/55/image_18012025_13_55_03_044685_0001.jpg
/home/pi/Desktop/images/18012025/13/55/image_18012025_13_55_03_044685_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329758985","1329758975","1329758989","1329758980"],"photo_ids_order":["1329758975","1329758980","1329758985","1329758989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f43f9bb26ecfc2519bba2433f3262e31.jpg","text":"TemporaryFile(/tmp/multipartBody200501656177770577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204993202,"filename":"image_18012025_13_55_03_044685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/173c107ef433ff56b2f56d79ce1ba3da.jpg","text":"TemporaryFile(/tmp/multipartBody7780581044682638064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204993202,"filename":"image_18012025_13_54_02_851909_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48b41ded084762ace560f5e7f4936ad4.jpg","text":"TemporaryFile(/tmp/multipartBody9113938471328960536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204993202,"filename":"image_18012025_13_55_03_044685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9417290c148a32a4a876617021e996dc.jpg","text":"TemporaryFile(/tmp/multipartBody1127514870819008023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737204993202,"filename":"image_18012025_13_55_03_044685_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329758985","file1":"1329758980","file0":"1329758975","file3":"1329758989"},"map_files_photo_id_array":[{"photo_id":"1329758985","filename":"file2"},{"photo_id":"1329758980","filename":"file1"},{"photo_id":"1329758975","filename":"file0"},{"photo_id":"1329758989","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329758985":["hashtag1","hashtag2"]},{"1329758975":["hashtag1","hashtag2"]},{"1329758989":["hashtag1","hashtag2"]},{"1329758980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329758985, 1329758975, 1329758989, 1329758980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.84610176086426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:56:02.439583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0000.jpg', '/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0001.jpg', '/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0002.jpg', '/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0003.jpg', '/home/pi/Desktop/images/16012025/22/28/image_16012025_22_28_02_505872_0000.jpg', '/home/pi/Desktop/images/16012025/22/28/image_16012025_22_28_02_505872_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0000.jpg
/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0001.jpg
/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0002.jpg
/home/pi/Desktop/images/16012025/22/27/image_16012025_22_27_02_240767_0003.jpg
/home/pi/Desktop/images/16012025/22/28/image_16012025_22_28_02_505872_0000.jpg
/home/pi/Desktop/images/16012025/22/28/image_16012025_22_28_02_505872_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":["1329759164","1329759196","1329759190","1329759238","1329759166","1329759247"],"photo_ids_order":["1329759164","1329759166","1329759190","1329759196","1329759238","1329759247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8ffe8c80ce2074b47bdbc822c4d69be.jpg","text":"TemporaryFile(/tmp/multipartBody4936577519501236689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205039539,"filename":"image_16012025_22_27_02_240767_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d792b4e1a8136498d22340f08915243c.jpg","text":"TemporaryFile(/tmp/multipartBody1908832676661797230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205039539,"filename":"image_16012025_22_27_02_240767_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eceb0ec2ff78ac10cc5eef3d86ecd5e4.jpg","text":"TemporaryFile(/tmp/multipartBody6999008589871271705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205039539,"filename":"image_16012025_22_27_02_240767_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eed6bec30d37d1953ae84dfec62c7f32.jpg","text":"TemporaryFile(/tmp/multipartBody3769938137923167208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205039539,"filename":"image_16012025_22_28_02_505872_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f1255086de3ff5fcba9c52d218d7eeb.jpg","text":"TemporaryFile(/tmp/multipartBody9160680155896983899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205039539,"filename":"image_16012025_22_27_02_240767_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/00ef02f87f1284db0fa8daa93d0a08df.jpg","text":"TemporaryFile(/tmp/multipartBody6586884644970686917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205039539,"filename":"image_16012025_22_28_02_505872_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329759190","file1":"1329759166","file0":"1329759164","file4":"1329759238","file5":"1329759247","file3":"1329759196"},"map_files_photo_id_array":[{"photo_id":"1329759247","filename":"file5"},{"photo_id":"1329759190","filename":"file2"},{"photo_id":"1329759238","filename":"file4"},{"photo_id":"1329759166","filename":"file1"},{"photo_id":"1329759164","filename":"file0"},{"photo_id":"1329759196","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329759164":["hashtag1","hashtag2"]},{"1329759196":["hashtag1","hashtag2"]},{"1329759190":["hashtag1","hashtag2"]},{"1329759238":["hashtag1","hashtag2"]},{"1329759166":["hashtag1","hashtag2"]},{"1329759247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329759164, 1329759196, 1329759190, 1329759238, 1329759166, 1329759247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.765766859054565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 13:57:02.702135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/55/image_18012025_13_55_03_044685_0003.jpg', '/home/pi/Desktop/images/18012025/13/56/image_18012025_13_56_02_254413_0000.jpg', '/home/pi/Desktop/images/18012025/13/56/image_18012025_13_56_02_254413_0001.jpg', '/home/pi/Desktop/images/18012025/13/56/image_18012025_13_56_02_254413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/55/image_18012025_13_55_03_044685_0003.jpg
/home/pi/Desktop/images/18012025/13/56/image_18012025_13_56_02_254413_0000.jpg
/home/pi/Desktop/images/18012025/13/56/image_18012025_13_56_02_254413_0001.jpg
/home/pi/Desktop/images/18012025/13/56/image_18012025_13_56_02_254413_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329759513","1329759506","1329759509","1329759571"],"photo_ids_order":["1329759506","1329759509","1329759513","1329759571"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5ba6eba3729b6ef0c133d5990bba5ab6.jpg","text":"TemporaryFile(/tmp/multipartBody5668340738870572574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205094222,"filename":"image_18012025_13_56_02_254413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/29f9cb39969741ced4b3424fe0d0f244.jpg","text":"TemporaryFile(/tmp/multipartBody7522738227264890154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205094222,"filename":"image_18012025_13_55_03_044685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9eb250c9beea1b58d5d290bb26e91df3.jpg","text":"TemporaryFile(/tmp/multipartBody6597704763924485699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205094222,"filename":"image_18012025_13_56_02_254413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f7748368289a736bea2f44b18a4cde2.jpg","text":"TemporaryFile(/tmp/multipartBody374991606109718948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205094222,"filename":"image_18012025_13_56_02_254413_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329759513","file1":"1329759509","file0":"1329759506","file3":"1329759571"},"map_files_photo_id_array":[{"photo_id":"1329759513","filename":"file2"},{"photo_id":"1329759509","filename":"file1"},{"photo_id":"1329759506","filename":"file0"},{"photo_id":"1329759571","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329759513":["hashtag1","hashtag2"]},{"1329759506":["hashtag1","hashtag2"]},{"1329759509":["hashtag1","hashtag2"]},{"1329759571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329759513, 1329759506, 1329759509, 1329759571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.439844369888306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 13:57:52.232148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/56/image_18012025_13_56_02_254413_0003.jpg', '/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_0000.jpg', '/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_0001.jpg', '/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/56/image_18012025_13_56_02_254413_0003.jpg
/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_0000.jpg
/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_0001.jpg
/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_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-18 13:59:03.132866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/56/image_18012025_13_56_02_254413_0003.jpg', '/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_0000.jpg', '/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_0001.jpg', '/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_0002.jpg', '/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_0003.jpg', '/home/pi/Desktop/images/18012025/13/58/image_18012025_13_58_02_451210_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/56/image_18012025_13_56_02_254413_0003.jpg
/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_0000.jpg
/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_0001.jpg
/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_0002.jpg
/home/pi/Desktop/images/18012025/13/57/image_18012025_13_57_02_432563_0003.jpg
/home/pi/Desktop/images/18012025/13/58/image_18012025_13_58_02_451210_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329759645","1329759641","1329759617","1329759608","1329759628","1329759622"],"photo_ids_order":["1329759608","1329759617","1329759622","1329759628","1329759641","1329759645"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d781f183dd0d744e298923665443c514.jpg","text":"TemporaryFile(/tmp/multipartBody2112380106929956540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205219687,"filename":"image_18012025_13_58_02_451210_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8aea110f5001f776b5fde5f377a2b0c9.jpg","text":"TemporaryFile(/tmp/multipartBody6520557127677696836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205219687,"filename":"image_18012025_13_57_02_432563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5de2521092443d5b6e8522f767e61618.jpg","text":"TemporaryFile(/tmp/multipartBody8973563687885459108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205219687,"filename":"image_18012025_13_57_02_432563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c599e5bda583f132469e740a49634733.jpg","text":"TemporaryFile(/tmp/multipartBody4250806907079703472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205219687,"filename":"image_18012025_13_56_02_254413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8250cabbc4397ab5a5356bbe191411c0.jpg","text":"TemporaryFile(/tmp/multipartBody6930739435227114172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205219687,"filename":"image_18012025_13_57_02_432563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d8ca6e0d210996340654111543041d1.jpg","text":"TemporaryFile(/tmp/multipartBody2298156219146127673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205219687,"filename":"image_18012025_13_57_02_432563_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329759622","file1":"1329759617","file0":"1329759608","file4":"1329759641","file5":"1329759645","file3":"1329759628"},"map_files_photo_id_array":[{"photo_id":"1329759645","filename":"file5"},{"photo_id":"1329759622","filename":"file2"},{"photo_id":"1329759641","filename":"file4"},{"photo_id":"1329759617","filename":"file1"},{"photo_id":"1329759608","filename":"file0"},{"photo_id":"1329759628","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329759645":["hashtag1","hashtag2"]},{"1329759641":["hashtag1","hashtag2"]},{"1329759617":["hashtag1","hashtag2"]},{"1329759608":["hashtag1","hashtag2"]},{"1329759628":["hashtag1","hashtag2"]},{"1329759622":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329759645, 1329759641, 1329759617, 1329759608, 1329759628, 1329759622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.96573281288147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:00:21.794120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/58/image_18012025_13_58_02_451210_0001.jpg', '/home/pi/Desktop/images/18012025/13/58/image_18012025_13_58_02_451210_0002.jpg', '/home/pi/Desktop/images/18012025/13/58/image_18012025_13_58_02_451210_0003.jpg', '/home/pi/Desktop/images/18012025/13/59/image_18012025_13_59_02_779207_0000.jpg', '/home/pi/Desktop/images/18012025/13/59/image_18012025_13_59_02_779207_0001.jpg', '/home/pi/Desktop/images/18012025/13/59/image_18012025_13_59_02_779207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/58/image_18012025_13_58_02_451210_0001.jpg
/home/pi/Desktop/images/18012025/13/58/image_18012025_13_58_02_451210_0002.jpg
/home/pi/Desktop/images/18012025/13/58/image_18012025_13_58_02_451210_0003.jpg
/home/pi/Desktop/images/18012025/13/59/image_18012025_13_59_02_779207_0000.jpg
/home/pi/Desktop/images/18012025/13/59/image_18012025_13_59_02_779207_0001.jpg
/home/pi/Desktop/images/18012025/13/59/image_18012025_13_59_02_779207_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329760362","1329760479","1329760467","1329760226","1329760427","1329760400"],"photo_ids_order":["1329760226","1329760362","1329760400","1329760427","1329760467","1329760479"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/38d2591664a392cd1d7bf9c518b1a256.jpg","text":"TemporaryFile(/tmp/multipartBody419586169641703344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205298102,"filename":"image_18012025_13_58_02_451210_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7abbca32e2a3f1af5dc58a95dfcab6de.jpg","text":"TemporaryFile(/tmp/multipartBody2303804770501125220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205298102,"filename":"image_18012025_13_59_02_779207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4bf29d9f33001f8ff9aa42b6a80a86ab.jpg","text":"TemporaryFile(/tmp/multipartBody3279470900204180708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205298102,"filename":"image_18012025_13_59_02_779207_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/71aaa610b0b5926f444724f96b65062d.jpg","text":"TemporaryFile(/tmp/multipartBody1300172927203813374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205298102,"filename":"image_18012025_13_58_02_451210_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb14ea5daf9d474a5f261df7ddc3299d.jpg","text":"TemporaryFile(/tmp/multipartBody5702947184832424585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205298102,"filename":"image_18012025_13_59_02_779207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c1e454fdef7222564d411bd17c8a58e9.jpg","text":"TemporaryFile(/tmp/multipartBody5431816455667514067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205298102,"filename":"image_18012025_13_58_02_451210_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329760400","file1":"1329760362","file0":"1329760226","file4":"1329760467","file5":"1329760479","file3":"1329760427"},"map_files_photo_id_array":[{"photo_id":"1329760479","filename":"file5"},{"photo_id":"1329760400","filename":"file2"},{"photo_id":"1329760467","filename":"file4"},{"photo_id":"1329760362","filename":"file1"},{"photo_id":"1329760226","filename":"file0"},{"photo_id":"1329760427","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329760362":["hashtag1","hashtag2"]},{"1329760479":["hashtag1","hashtag2"]},{"1329760467":["hashtag1","hashtag2"]},{"1329760226":["hashtag1","hashtag2"]},{"1329760427":["hashtag1","hashtag2"]},{"1329760400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329760362, 1329760479, 1329760467, 1329760226, 1329760427, 1329760400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.89158225059509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:01:22.071400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/13/59/image_18012025_13_59_02_779207_0003.jpg', '/home/pi/Desktop/images/18012025/14/00/image_18012025_14_00_02_992240_0000.jpg', '/home/pi/Desktop/images/18012025/14/00/image_18012025_14_00_02_992240_0001.jpg', '/home/pi/Desktop/images/18012025/14/00/image_18012025_14_00_02_992240_0002.jpg', '/home/pi/Desktop/images/18012025/14/00/image_18012025_14_00_02_992240_0003.jpg', '/home/pi/Desktop/images/18012025/14/01/image_18012025_14_01_02_163704_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/13/59/image_18012025_13_59_02_779207_0003.jpg
/home/pi/Desktop/images/18012025/14/00/image_18012025_14_00_02_992240_0000.jpg
/home/pi/Desktop/images/18012025/14/00/image_18012025_14_00_02_992240_0001.jpg
/home/pi/Desktop/images/18012025/14/00/image_18012025_14_00_02_992240_0002.jpg
/home/pi/Desktop/images/18012025/14/00/image_18012025_14_00_02_992240_0003.jpg
/home/pi/Desktop/images/18012025/14/01/image_18012025_14_01_02_163704_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329760513","1329760522","1329760516","1329760509","1329760518","1329760503"],"photo_ids_order":["1329760503","1329760509","1329760513","1329760516","1329760518","1329760522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce9780e43b13bd0022e3307da23c64d5.jpg","text":"TemporaryFile(/tmp/multipartBody4817064681910478758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205358350,"filename":"image_18012025_14_00_02_992240_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c062c5ed96faa2494f2f7d7ae1573be.jpg","text":"TemporaryFile(/tmp/multipartBody7541726193427864395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205358350,"filename":"image_18012025_14_01_02_163704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be8357b8f76851fe411d0a2bb53020f3.jpg","text":"TemporaryFile(/tmp/multipartBody8444980198873677846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205358350,"filename":"image_18012025_14_00_02_992240_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/99d57a45480a49ad8256d91a30347b1f.jpg","text":"TemporaryFile(/tmp/multipartBody4787902355267043693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205358350,"filename":"image_18012025_14_00_02_992240_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/808a29baa5bea6b2dffb492ba3377695.jpg","text":"TemporaryFile(/tmp/multipartBody3251091304006753561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205358350,"filename":"image_18012025_14_00_02_992240_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef495cf94de59f324ec55350b1ee9c4c.jpg","text":"TemporaryFile(/tmp/multipartBody935395801147670081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205358350,"filename":"image_18012025_13_59_02_779207_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329760513","file1":"1329760509","file0":"1329760503","file4":"1329760518","file5":"1329760522","file3":"1329760516"},"map_files_photo_id_array":[{"photo_id":"1329760522","filename":"file5"},{"photo_id":"1329760513","filename":"file2"},{"photo_id":"1329760518","filename":"file4"},{"photo_id":"1329760509","filename":"file1"},{"photo_id":"1329760503","filename":"file0"},{"photo_id":"1329760516","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329760513":["hashtag1","hashtag2"]},{"1329760522":["hashtag1","hashtag2"]},{"1329760516":["hashtag1","hashtag2"]},{"1329760509":["hashtag1","hashtag2"]},{"1329760518":["hashtag1","hashtag2"]},{"1329760503":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329760513, 1329760522, 1329760516, 1329760509, 1329760518, 1329760503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.551655530929565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:02:22.367714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/01/image_18012025_14_01_02_163704_0001.jpg', '/home/pi/Desktop/images/18012025/14/01/image_18012025_14_01_02_163704_0002.jpg', '/home/pi/Desktop/images/18012025/14/01/image_18012025_14_01_02_163704_0003.jpg', '/home/pi/Desktop/images/18012025/14/02/image_18012025_14_02_02_514144_0000.jpg', '/home/pi/Desktop/images/18012025/14/02/image_18012025_14_02_02_514144_0001.jpg', '/home/pi/Desktop/images/18012025/14/02/image_18012025_14_02_02_514144_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/01/image_18012025_14_01_02_163704_0001.jpg
/home/pi/Desktop/images/18012025/14/01/image_18012025_14_01_02_163704_0002.jpg
/home/pi/Desktop/images/18012025/14/01/image_18012025_14_01_02_163704_0003.jpg
/home/pi/Desktop/images/18012025/14/02/image_18012025_14_02_02_514144_0000.jpg
/home/pi/Desktop/images/18012025/14/02/image_18012025_14_02_02_514144_0001.jpg
/home/pi/Desktop/images/18012025/14/02/image_18012025_14_02_02_514144_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329760561","1329760553","1329760538","1329760564","1329760558","1329760573"],"photo_ids_order":["1329760538","1329760553","1329760558","1329760561","1329760564","1329760573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/36b52ff9bb46968199b65c55656fd6bf.jpg","text":"TemporaryFile(/tmp/multipartBody5791984144942211746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205419010,"filename":"image_18012025_14_02_02_514144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/59ac947ff6dc9354be43ac015697e31a.jpg","text":"TemporaryFile(/tmp/multipartBody5797167338972877904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205419010,"filename":"image_18012025_14_01_02_163704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0effedcc775d8738804a4b9eb24887da.jpg","text":"TemporaryFile(/tmp/multipartBody2614491495695528635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205419010,"filename":"image_18012025_14_01_02_163704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/820cea758eee1667b803c81ec937e4f0.jpg","text":"TemporaryFile(/tmp/multipartBody2252693207427726613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205419010,"filename":"image_18012025_14_02_02_514144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c43fdcf6fac55f492dfbf3080ccef19b.jpg","text":"TemporaryFile(/tmp/multipartBody3347836657699140240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205419010,"filename":"image_18012025_14_01_02_163704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d6e949f26eda3b83d6a754127f6f579.jpg","text":"TemporaryFile(/tmp/multipartBody2222011222436610262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205419010,"filename":"image_18012025_14_02_02_514144_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329760558","file1":"1329760553","file0":"1329760538","file4":"1329760564","file5":"1329760573","file3":"1329760561"},"map_files_photo_id_array":[{"photo_id":"1329760573","filename":"file5"},{"photo_id":"1329760558","filename":"file2"},{"photo_id":"1329760564","filename":"file4"},{"photo_id":"1329760553","filename":"file1"},{"photo_id":"1329760538","filename":"file0"},{"photo_id":"1329760561","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329760561":["hashtag1","hashtag2"]},{"1329760553":["hashtag1","hashtag2"]},{"1329760538":["hashtag1","hashtag2"]},{"1329760564":["hashtag1","hashtag2"]},{"1329760558":["hashtag1","hashtag2"]},{"1329760573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329760561, 1329760553, 1329760538, 1329760564, 1329760558, 1329760573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.48833632469177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:03:22.406375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/02/image_18012025_14_02_02_514144_0003.jpg', '/home/pi/Desktop/images/18012025/14/03/image_18012025_14_03_02_646149_0000.jpg', '/home/pi/Desktop/images/18012025/14/03/image_18012025_14_03_02_646149_0001.jpg', '/home/pi/Desktop/images/18012025/14/03/image_18012025_14_03_02_646149_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/02/image_18012025_14_02_02_514144_0003.jpg
/home/pi/Desktop/images/18012025/14/03/image_18012025_14_03_02_646149_0000.jpg
/home/pi/Desktop/images/18012025/14/03/image_18012025_14_03_02_646149_0001.jpg
/home/pi/Desktop/images/18012025/14/03/image_18012025_14_03_02_646149_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329760648","1329760592","1329760652","1329760630"],"photo_ids_order":["1329760592","1329760630","1329760648","1329760652"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/026a55b9ee704cb235a2238b6d260f1a.jpg","text":"TemporaryFile(/tmp/multipartBody1953039900307554807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205473531,"filename":"image_18012025_14_03_02_646149_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d784527cfa0b173f10d263c747ab4a6.jpg","text":"TemporaryFile(/tmp/multipartBody1152088980621513154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205473531,"filename":"image_18012025_14_02_02_514144_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f5ec41ff260c9c1eb9b3875155700d7e.jpg","text":"TemporaryFile(/tmp/multipartBody6843155520700765660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205473531,"filename":"image_18012025_14_03_02_646149_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4373bac59e7e156d583c0ce89bb417b7.jpg","text":"TemporaryFile(/tmp/multipartBody1407122229849949196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205473531,"filename":"image_18012025_14_03_02_646149_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329760648","file1":"1329760630","file0":"1329760592","file3":"1329760652"},"map_files_photo_id_array":[{"photo_id":"1329760648","filename":"file2"},{"photo_id":"1329760630","filename":"file1"},{"photo_id":"1329760592","filename":"file0"},{"photo_id":"1329760652","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329760648":["hashtag1","hashtag2"]},{"1329760592":["hashtag1","hashtag2"]},{"1329760652":["hashtag1","hashtag2"]},{"1329760630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329760648, 1329760592, 1329760652, 1329760630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29066061973572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 14:04:02.889886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/28/image_16012025_22_28_02_505872_0002.jpg', '/home/pi/Desktop/images/16012025/22/28/image_16012025_22_28_02_505872_0003.jpg', '/home/pi/Desktop/images/16012025/22/29/image_16012025_22_29_02_714424_0000.jpg', '/home/pi/Desktop/images/16012025/22/29/image_16012025_22_29_02_714424_0001.jpg', '/home/pi/Desktop/images/16012025/22/29/image_16012025_22_29_02_714424_0002.jpg', '/home/pi/Desktop/images/16012025/22/29/image_16012025_22_29_02_714424_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/28/image_16012025_22_28_02_505872_0002.jpg
/home/pi/Desktop/images/16012025/22/28/image_16012025_22_28_02_505872_0003.jpg
/home/pi/Desktop/images/16012025/22/29/image_16012025_22_29_02_714424_0000.jpg
/home/pi/Desktop/images/16012025/22/29/image_16012025_22_29_02_714424_0001.jpg
/home/pi/Desktop/images/16012025/22/29/image_16012025_22_29_02_714424_0002.jpg
/home/pi/Desktop/images/16012025/22/29/image_16012025_22_29_02_714424_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":["1329760729","1329760723","1329760734","1329760719","1329760739","1329760712"],"photo_ids_order":["1329760712","1329760719","1329760723","1329760729","1329760734","1329760739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/529a30aaa4e95b8c1abbf9c053ecb952.jpg","text":"TemporaryFile(/tmp/multipartBody4413905102653120829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205520554,"filename":"image_16012025_22_29_02_714424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ad582643c23099c18531576745fe75d.jpg","text":"TemporaryFile(/tmp/multipartBody3568128811187318642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205520554,"filename":"image_16012025_22_29_02_714424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6fe2efb6dc785c3c1bc8585a61788a08.jpg","text":"TemporaryFile(/tmp/multipartBody8439518544785734726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205520554,"filename":"image_16012025_22_29_02_714424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/75c7d3659bdc1ce1aa1bcb7b54ecbcf3.jpg","text":"TemporaryFile(/tmp/multipartBody4758095537815186434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205520554,"filename":"image_16012025_22_28_02_505872_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/24c3d3a33ae3b2e23303f35ea499c85a.jpg","text":"TemporaryFile(/tmp/multipartBody4757724705966779047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205520554,"filename":"image_16012025_22_29_02_714424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/99b3b153c3bcdbd2ed43d950995481cb.jpg","text":"TemporaryFile(/tmp/multipartBody4304507408863835957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205520554,"filename":"image_16012025_22_28_02_505872_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329760723","file1":"1329760719","file0":"1329760712","file4":"1329760734","file5":"1329760739","file3":"1329760729"},"map_files_photo_id_array":[{"photo_id":"1329760739","filename":"file5"},{"photo_id":"1329760723","filename":"file2"},{"photo_id":"1329760734","filename":"file4"},{"photo_id":"1329760719","filename":"file1"},{"photo_id":"1329760712","filename":"file0"},{"photo_id":"1329760729","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329760729":["hashtag1","hashtag2"]},{"1329760723":["hashtag1","hashtag2"]},{"1329760734":["hashtag1","hashtag2"]},{"1329760719":["hashtag1","hashtag2"]},{"1329760739":["hashtag1","hashtag2"]},{"1329760712":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329760729, 1329760723, 1329760734, 1329760719, 1329760739, 1329760712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.23435115814209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 14:05:03.411492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/03/image_18012025_14_03_02_646149_0003.jpg', '/home/pi/Desktop/images/18012025/14/04/image_18012025_14_04_02_774175_0000.jpg', '/home/pi/Desktop/images/18012025/14/04/image_18012025_14_04_02_774175_0001.jpg', '/home/pi/Desktop/images/18012025/14/04/image_18012025_14_04_02_774175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/03/image_18012025_14_03_02_646149_0003.jpg
/home/pi/Desktop/images/18012025/14/04/image_18012025_14_04_02_774175_0000.jpg
/home/pi/Desktop/images/18012025/14/04/image_18012025_14_04_02_774175_0001.jpg
/home/pi/Desktop/images/18012025/14/04/image_18012025_14_04_02_774175_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329760907","1329760792","1329760910","1329760750"],"photo_ids_order":["1329760750","1329760792","1329760907","1329760910"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de4baf4241fadf48fdf2068974286607.jpg","text":"TemporaryFile(/tmp/multipartBody5581378816360288313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205574797,"filename":"image_18012025_14_04_02_774175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9645eae85fc49b0caeddcf2951e26f59.jpg","text":"TemporaryFile(/tmp/multipartBody6827288032735886791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205574797,"filename":"image_18012025_14_04_02_774175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff214b171fbcd17e7d7953da51725823.jpg","text":"TemporaryFile(/tmp/multipartBody2342997899597404125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205574797,"filename":"image_18012025_14_04_02_774175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f9744a4bed80ace28c5bef1834ee583f.jpg","text":"TemporaryFile(/tmp/multipartBody3159203479598894832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205574797,"filename":"image_18012025_14_03_02_646149_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329760907","file1":"1329760792","file0":"1329760750","file3":"1329760910"},"map_files_photo_id_array":[{"photo_id":"1329760907","filename":"file2"},{"photo_id":"1329760792","filename":"file1"},{"photo_id":"1329760750","filename":"file0"},{"photo_id":"1329760910","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329760907":["hashtag1","hashtag2"]},{"1329760792":["hashtag1","hashtag2"]},{"1329760910":["hashtag1","hashtag2"]},{"1329760750":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329760907, 1329760792, 1329760910, 1329760750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19867157936096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 14:05:52.698870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/04/image_18012025_14_04_02_774175_0003.jpg', '/home/pi/Desktop/images/18012025/14/05/image_18012025_14_05_02_832251_0000.jpg', '/home/pi/Desktop/images/18012025/14/05/image_18012025_14_05_02_832251_0001.jpg', '/home/pi/Desktop/images/18012025/14/05/image_18012025_14_05_02_832251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/04/image_18012025_14_04_02_774175_0003.jpg
/home/pi/Desktop/images/18012025/14/05/image_18012025_14_05_02_832251_0000.jpg
/home/pi/Desktop/images/18012025/14/05/image_18012025_14_05_02_832251_0001.jpg
/home/pi/Desktop/images/18012025/14/05/image_18012025_14_05_02_832251_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329761262","1329761024","1329761593","1329761596"],"photo_ids_order":["1329761024","1329761262","1329761593","1329761596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a1ef125a5581ff4e38821ce0aa0f3735.jpg","text":"TemporaryFile(/tmp/multipartBody210599574324597140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205624064,"filename":"image_18012025_14_05_02_832251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a3d42e033f104bc213d56a56d934b224.jpg","text":"TemporaryFile(/tmp/multipartBody3824717537409222504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205624064,"filename":"image_18012025_14_04_02_774175_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/904e0bf1875ea37bfbb8f1845b344166.jpg","text":"TemporaryFile(/tmp/multipartBody3229650994896029704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205624064,"filename":"image_18012025_14_05_02_832251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d7300e38f75a0f11bbb5c018fc930849.jpg","text":"TemporaryFile(/tmp/multipartBody5812489044532380125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205624064,"filename":"image_18012025_14_05_02_832251_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329761593","file1":"1329761262","file0":"1329761024","file3":"1329761596"},"map_files_photo_id_array":[{"photo_id":"1329761593","filename":"file2"},{"photo_id":"1329761262","filename":"file1"},{"photo_id":"1329761024","filename":"file0"},{"photo_id":"1329761596","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329761262":["hashtag1","hashtag2"]},{"1329761024":["hashtag1","hashtag2"]},{"1329761593":["hashtag1","hashtag2"]},{"1329761596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329761262, 1329761024, 1329761593, 1329761596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.26948022842407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 14:06:41.885269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/05/image_18012025_14_05_02_832251_0003.jpg', '/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0000.jpg', '/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0001.jpg', '/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/05/image_18012025_14_05_02_832251_0003.jpg
/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0000.jpg
/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0001.jpg
/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.470958948135376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 14:07:02.714790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/05/image_18012025_14_05_02_832251_0003.jpg', '/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0000.jpg', '/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0001.jpg', '/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/05/image_18012025_14_05_02_832251_0003.jpg
/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0000.jpg
/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0001.jpg
/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329761919","1329761628","1329761756","1329761905"],"photo_ids_order":["1329761628","1329761756","1329761905","1329761919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e37953d4daa13be0493d9308abfaa931.jpg","text":"TemporaryFile(/tmp/multipartBody1033546943527937373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205693676,"filename":"image_18012025_14_06_03_062881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/51ef79b3e280a46514eb65f1dca040f3.jpg","text":"TemporaryFile(/tmp/multipartBody5992456703872021622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205693676,"filename":"image_18012025_14_05_02_832251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60579086083b143d830ab94ea9fcd522.jpg","text":"TemporaryFile(/tmp/multipartBody505295855249122286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205693676,"filename":"image_18012025_14_06_03_062881_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9b477006b0c754686cdca34fcfdc75d.jpg","text":"TemporaryFile(/tmp/multipartBody5386805129861997527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205693676,"filename":"image_18012025_14_06_03_062881_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329761905","file1":"1329761756","file0":"1329761628","file3":"1329761919"},"map_files_photo_id_array":[{"photo_id":"1329761905","filename":"file2"},{"photo_id":"1329761756","filename":"file1"},{"photo_id":"1329761628","filename":"file0"},{"photo_id":"1329761919","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329761919":["hashtag1","hashtag2"]},{"1329761628":["hashtag1","hashtag2"]},{"1329761756":["hashtag1","hashtag2"]},{"1329761905":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329761919, 1329761628, 1329761756, 1329761905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19830679893494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 14:07:52.087507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0003.jpg', '/home/pi/Desktop/images/18012025/14/07/image_18012025_14_07_02_304376_0000.jpg', '/home/pi/Desktop/images/18012025/14/07/image_18012025_14_07_02_304376_0001.jpg', '/home/pi/Desktop/images/18012025/14/07/image_18012025_14_07_02_304376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/06/image_18012025_14_06_03_062881_0003.jpg
/home/pi/Desktop/images/18012025/14/07/image_18012025_14_07_02_304376_0000.jpg
/home/pi/Desktop/images/18012025/14/07/image_18012025_14_07_02_304376_0001.jpg
/home/pi/Desktop/images/18012025/14/07/image_18012025_14_07_02_304376_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329762065","1329762088","1329762121","1329762118"],"photo_ids_order":["1329762065","1329762088","1329762118","1329762121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e94256808408f6b3515e93e7b72f5a2e.jpg","text":"TemporaryFile(/tmp/multipartBody1033067907545339545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205743132,"filename":"image_18012025_14_06_03_062881_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bde47a1f7cdf982a9f1f76403d8d3b9f.jpg","text":"TemporaryFile(/tmp/multipartBody2056295986890191020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205743132,"filename":"image_18012025_14_07_02_304376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a8d851b40ab1f9c28bbab8d195df9c6.jpg","text":"TemporaryFile(/tmp/multipartBody5901413021670684310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205743132,"filename":"image_18012025_14_07_02_304376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c758449b089f72fb512ee5a9e19d0da.jpg","text":"TemporaryFile(/tmp/multipartBody6437063294242643483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205743132,"filename":"image_18012025_14_07_02_304376_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329762118","file1":"1329762088","file0":"1329762065","file3":"1329762121"},"map_files_photo_id_array":[{"photo_id":"1329762118","filename":"file2"},{"photo_id":"1329762088","filename":"file1"},{"photo_id":"1329762065","filename":"file0"},{"photo_id":"1329762121","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329762065":["hashtag1","hashtag2"]},{"1329762088":["hashtag1","hashtag2"]},{"1329762121":["hashtag1","hashtag2"]},{"1329762118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329762065, 1329762088, 1329762121, 1329762118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77767825126648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 14:08:32.270424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/07/image_18012025_14_07_02_304376_0003.jpg', '/home/pi/Desktop/images/18012025/14/08/image_18012025_14_08_02_496526_0000.jpg', '/home/pi/Desktop/images/18012025/14/08/image_18012025_14_08_02_496526_0001.jpg', '/home/pi/Desktop/images/18012025/14/08/image_18012025_14_08_02_496526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/07/image_18012025_14_07_02_304376_0003.jpg
/home/pi/Desktop/images/18012025/14/08/image_18012025_14_08_02_496526_0000.jpg
/home/pi/Desktop/images/18012025/14/08/image_18012025_14_08_02_496526_0001.jpg
/home/pi/Desktop/images/18012025/14/08/image_18012025_14_08_02_496526_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329762144","1329762147","1329762149","1329762139"],"photo_ids_order":["1329762139","1329762144","1329762147","1329762149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2907f24215b13f6e3b006ffa51f2bebf.jpg","text":"TemporaryFile(/tmp/multipartBody39503736160938512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205783411,"filename":"image_18012025_14_08_02_496526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a2766187486bbf6aff09743418cb23c.jpg","text":"TemporaryFile(/tmp/multipartBody2561419358411890107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205783411,"filename":"image_18012025_14_08_02_496526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/486dafa6035f1e2bf565eaf85ef9b657.jpg","text":"TemporaryFile(/tmp/multipartBody6339147890971167293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205783411,"filename":"image_18012025_14_08_02_496526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4804236ac93060215def9508cd903853.jpg","text":"TemporaryFile(/tmp/multipartBody6020497389567164306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205783411,"filename":"image_18012025_14_07_02_304376_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329762147","file1":"1329762144","file0":"1329762139","file3":"1329762149"},"map_files_photo_id_array":[{"photo_id":"1329762147","filename":"file2"},{"photo_id":"1329762144","filename":"file1"},{"photo_id":"1329762139","filename":"file0"},{"photo_id":"1329762149","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329762144":["hashtag1","hashtag2"]},{"1329762147":["hashtag1","hashtag2"]},{"1329762149":["hashtag1","hashtag2"]},{"1329762139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329762144, 1329762147, 1329762149, 1329762139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.536179542541504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:09:22.452582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/08/image_18012025_14_08_02_496526_0003.jpg', '/home/pi/Desktop/images/18012025/14/09/image_18012025_14_09_02_609568_0000.jpg', '/home/pi/Desktop/images/18012025/14/09/image_18012025_14_09_02_609568_0001.jpg', '/home/pi/Desktop/images/18012025/14/09/image_18012025_14_09_02_609568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/08/image_18012025_14_08_02_496526_0003.jpg
/home/pi/Desktop/images/18012025/14/09/image_18012025_14_09_02_609568_0000.jpg
/home/pi/Desktop/images/18012025/14/09/image_18012025_14_09_02_609568_0001.jpg
/home/pi/Desktop/images/18012025/14/09/image_18012025_14_09_02_609568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329762191","1329762175","1329762184","1329762180"],"photo_ids_order":["1329762175","1329762180","1329762184","1329762191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01785c65dcb4b1153074f296d4150cc3.jpg","text":"TemporaryFile(/tmp/multipartBody7278809829891280408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205833564,"filename":"image_18012025_14_09_02_609568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e95616f3b0cf080baa9cb120e3b11bba.jpg","text":"TemporaryFile(/tmp/multipartBody3229953847940612725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205833564,"filename":"image_18012025_14_08_02_496526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b73bd278579355a6cdef88325fbba4e3.jpg","text":"TemporaryFile(/tmp/multipartBody3606263400373614085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205833564,"filename":"image_18012025_14_09_02_609568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b6430021c0675abecd690cb360daa0e.jpg","text":"TemporaryFile(/tmp/multipartBody2080104436462533040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205833564,"filename":"image_18012025_14_09_02_609568_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329762184","file1":"1329762180","file0":"1329762175","file3":"1329762191"},"map_files_photo_id_array":[{"photo_id":"1329762184","filename":"file2"},{"photo_id":"1329762180","filename":"file1"},{"photo_id":"1329762175","filename":"file0"},{"photo_id":"1329762191","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329762191":["hashtag1","hashtag2"]},{"1329762175":["hashtag1","hashtag2"]},{"1329762184":["hashtag1","hashtag2"]},{"1329762180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329762191, 1329762175, 1329762184, 1329762180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52791357040405 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-18 14:10:22.660341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/09/image_18012025_14_09_02_609568_0003.jpg', '/home/pi/Desktop/images/18012025/14/10/image_18012025_14_10_02_817832_0000.jpg', '/home/pi/Desktop/images/18012025/14/10/image_18012025_14_10_02_817832_0001.jpg', '/home/pi/Desktop/images/18012025/14/10/image_18012025_14_10_02_817832_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/09/image_18012025_14_09_02_609568_0003.jpg
/home/pi/Desktop/images/18012025/14/10/image_18012025_14_10_02_817832_0000.jpg
/home/pi/Desktop/images/18012025/14/10/image_18012025_14_10_02_817832_0001.jpg
/home/pi/Desktop/images/18012025/14/10/image_18012025_14_10_02_817832_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329762339","1329762327","1329762322","1329762333"],"photo_ids_order":["1329762322","1329762327","1329762333","1329762339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd841187ca5b87db8521f91eb9479292.jpg","text":"TemporaryFile(/tmp/multipartBody5237499511102784246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205893722,"filename":"image_18012025_14_10_02_817832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/689466de5cc20ea75f56e093fc42c54a.jpg","text":"TemporaryFile(/tmp/multipartBody6535779907054803626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205893722,"filename":"image_18012025_14_10_02_817832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2bc8597c73b46e40183afaa409903766.jpg","text":"TemporaryFile(/tmp/multipartBody3549024092562463609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205893722,"filename":"image_18012025_14_09_02_609568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9aba2472bc5c803781561ecc1ef44c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5251889525582823363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205893722,"filename":"image_18012025_14_10_02_817832_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329762333","file1":"1329762327","file0":"1329762322","file3":"1329762339"},"map_files_photo_id_array":[{"photo_id":"1329762333","filename":"file2"},{"photo_id":"1329762327","filename":"file1"},{"photo_id":"1329762322","filename":"file0"},{"photo_id":"1329762339","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329762339":["hashtag1","hashtag2"]},{"1329762327":["hashtag1","hashtag2"]},{"1329762322":["hashtag1","hashtag2"]},{"1329762333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329762339, 1329762327, 1329762322, 1329762333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.71649432182312 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-18 14:11:21.953415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/10/image_18012025_14_10_02_817832_0003.jpg', '/home/pi/Desktop/images/18012025/14/11/image_18012025_14_11_03_005504_0000.jpg', '/home/pi/Desktop/images/18012025/14/11/image_18012025_14_11_03_005504_0001.jpg', '/home/pi/Desktop/images/18012025/14/11/image_18012025_14_11_03_005504_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/10/image_18012025_14_10_02_817832_0003.jpg
/home/pi/Desktop/images/18012025/14/11/image_18012025_14_11_03_005504_0000.jpg
/home/pi/Desktop/images/18012025/14/11/image_18012025_14_11_03_005504_0001.jpg
/home/pi/Desktop/images/18012025/14/11/image_18012025_14_11_03_005504_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329762420","1329762401","1329762427","1329762390"],"photo_ids_order":["1329762390","1329762401","1329762420","1329762427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f9ba5b09f692ae823eeafb5eb0d87ad.jpg","text":"TemporaryFile(/tmp/multipartBody2307419761404253026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205953063,"filename":"image_18012025_14_11_03_005504_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a7b18e809ed557811e05022cd14cb3ff.jpg","text":"TemporaryFile(/tmp/multipartBody1788016160734234340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205953063,"filename":"image_18012025_14_11_03_005504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc6fcf76ceaa6ed24cac2b6ce4ec3fbf.jpg","text":"TemporaryFile(/tmp/multipartBody7549349639323785565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205953063,"filename":"image_18012025_14_11_03_005504_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01d291a7e558e0d96fe336ec3ca41397.jpg","text":"TemporaryFile(/tmp/multipartBody7002143402889123977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737205953063,"filename":"image_18012025_14_10_02_817832_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329762420","file1":"1329762401","file0":"1329762390","file3":"1329762427"},"map_files_photo_id_array":[{"photo_id":"1329762420","filename":"file2"},{"photo_id":"1329762401","filename":"file1"},{"photo_id":"1329762390","filename":"file0"},{"photo_id":"1329762427","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329762420":["hashtag1","hashtag2"]},{"1329762401":["hashtag1","hashtag2"]},{"1329762427":["hashtag1","hashtag2"]},{"1329762390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329762420, 1329762401, 1329762427, 1329762390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.865490674972534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:12:22.023552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/11/image_18012025_14_11_03_005504_0003.jpg', '/home/pi/Desktop/images/18012025/14/12/image_18012025_14_12_02_190848_0000.jpg', '/home/pi/Desktop/images/18012025/14/12/image_18012025_14_12_02_190848_0001.jpg', '/home/pi/Desktop/images/18012025/14/12/image_18012025_14_12_02_190848_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/11/image_18012025_14_11_03_005504_0003.jpg
/home/pi/Desktop/images/18012025/14/12/image_18012025_14_12_02_190848_0000.jpg
/home/pi/Desktop/images/18012025/14/12/image_18012025_14_12_02_190848_0001.jpg
/home/pi/Desktop/images/18012025/14/12/image_18012025_14_12_02_190848_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329762456","1329762461","1329762467","1329762472"],"photo_ids_order":["1329762456","1329762461","1329762467","1329762472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/58eeba86b36c7389311828197891cb87.jpg","text":"TemporaryFile(/tmp/multipartBody3144275939411268704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206013608,"filename":"image_18012025_14_11_03_005504_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d99580b2fccf133b5f6c8a36f5cdd9a.jpg","text":"TemporaryFile(/tmp/multipartBody6796800356341381758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206013608,"filename":"image_18012025_14_12_02_190848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46f8e098ce97c68833d9008ffcb9b352.jpg","text":"TemporaryFile(/tmp/multipartBody517090164064655638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206013608,"filename":"image_18012025_14_12_02_190848_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5bc80e2ec4e13ac33801b2d8aa32bc98.jpg","text":"TemporaryFile(/tmp/multipartBody4152306459059903833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206013608,"filename":"image_18012025_14_12_02_190848_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329762467","file1":"1329762461","file0":"1329762456","file3":"1329762472"},"map_files_photo_id_array":[{"photo_id":"1329762467","filename":"file2"},{"photo_id":"1329762461","filename":"file1"},{"photo_id":"1329762456","filename":"file0"},{"photo_id":"1329762472","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329762456":["hashtag1","hashtag2"]},{"1329762461":["hashtag1","hashtag2"]},{"1329762467":["hashtag1","hashtag2"]},{"1329762472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329762456, 1329762461, 1329762467, 1329762472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.78200125694275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:13:22.262069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/12/image_18012025_14_12_02_190848_0003.jpg', '/home/pi/Desktop/images/18012025/14/13/image_18012025_14_13_02_398506_0000.jpg', '/home/pi/Desktop/images/18012025/14/13/image_18012025_14_13_02_398506_0001.jpg', '/home/pi/Desktop/images/18012025/14/13/image_18012025_14_13_02_398506_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/12/image_18012025_14_12_02_190848_0003.jpg
/home/pi/Desktop/images/18012025/14/13/image_18012025_14_13_02_398506_0000.jpg
/home/pi/Desktop/images/18012025/14/13/image_18012025_14_13_02_398506_0001.jpg
/home/pi/Desktop/images/18012025/14/13/image_18012025_14_13_02_398506_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329762510","1329762504","1329762494","1329762499"],"photo_ids_order":["1329762494","1329762499","1329762504","1329762510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/728332d5bc131ccead3e0597babdd2e9.jpg","text":"TemporaryFile(/tmp/multipartBody7349014812444534543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206073496,"filename":"image_18012025_14_13_02_398506_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2507b94116ccf6bb064f9a3622b42caf.jpg","text":"TemporaryFile(/tmp/multipartBody6410324479843188456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206073496,"filename":"image_18012025_14_13_02_398506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e91d42ad3bcb52127b6cd8a6c2610581.jpg","text":"TemporaryFile(/tmp/multipartBody8194493571091071022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206073496,"filename":"image_18012025_14_12_02_190848_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a179930e8d96129b465f28031c14882d.jpg","text":"TemporaryFile(/tmp/multipartBody5874030247949333314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206073496,"filename":"image_18012025_14_13_02_398506_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329762504","file1":"1329762499","file0":"1329762494","file3":"1329762510"},"map_files_photo_id_array":[{"photo_id":"1329762504","filename":"file2"},{"photo_id":"1329762499","filename":"file1"},{"photo_id":"1329762494","filename":"file0"},{"photo_id":"1329762510","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329762510":["hashtag1","hashtag2"]},{"1329762504":["hashtag1","hashtag2"]},{"1329762494":["hashtag1","hashtag2"]},{"1329762499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329762510, 1329762504, 1329762494, 1329762499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.46749711036682 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-18 14:14:22.456732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/13/image_18012025_14_13_02_398506_0003.jpg', '/home/pi/Desktop/images/18012025/14/14/image_18012025_14_14_02_600585_0000.jpg', '/home/pi/Desktop/images/18012025/14/14/image_18012025_14_14_02_600585_0001.jpg', '/home/pi/Desktop/images/18012025/14/14/image_18012025_14_14_02_600585_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/13/image_18012025_14_13_02_398506_0003.jpg
/home/pi/Desktop/images/18012025/14/14/image_18012025_14_14_02_600585_0000.jpg
/home/pi/Desktop/images/18012025/14/14/image_18012025_14_14_02_600585_0001.jpg
/home/pi/Desktop/images/18012025/14/14/image_18012025_14_14_02_600585_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329762522","1329762556","1329762526","1329762531"],"photo_ids_order":["1329762522","1329762526","1329762531","1329762556"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1c285738d19f45abc468e2bbf515192e.jpg","text":"TemporaryFile(/tmp/multipartBody4583546561933407438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206133801,"filename":"image_18012025_14_13_02_398506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f37b8bc2a3c5c94b2e997ffca381049b.jpg","text":"TemporaryFile(/tmp/multipartBody5837621326884734255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206133801,"filename":"image_18012025_14_14_02_600585_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3512c308a8c85293495a3cd7bad2583f.jpg","text":"TemporaryFile(/tmp/multipartBody9194200283477329486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206133801,"filename":"image_18012025_14_14_02_600585_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe35972ab7a45193d24165175c2d5811.jpg","text":"TemporaryFile(/tmp/multipartBody5182388654966143322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206133801,"filename":"image_18012025_14_14_02_600585_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329762531","file1":"1329762526","file0":"1329762522","file3":"1329762556"},"map_files_photo_id_array":[{"photo_id":"1329762531","filename":"file2"},{"photo_id":"1329762526","filename":"file1"},{"photo_id":"1329762522","filename":"file0"},{"photo_id":"1329762556","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329762522":["hashtag1","hashtag2"]},{"1329762556":["hashtag1","hashtag2"]},{"1329762526":["hashtag1","hashtag2"]},{"1329762531":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329762522, 1329762556, 1329762526, 1329762531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53756833076477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 14:15:03.292754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/30/image_16012025_22_30_02_793577_0000.jpg', '/home/pi/Desktop/images/16012025/22/30/image_16012025_22_30_02_793577_0001.jpg', '/home/pi/Desktop/images/16012025/22/30/image_16012025_22_30_02_793577_0002.jpg', '/home/pi/Desktop/images/16012025/22/30/image_16012025_22_30_02_793577_0003.jpg', '/home/pi/Desktop/images/16012025/22/31/image_16012025_22_31_03_031619_0000.jpg', '/home/pi/Desktop/images/16012025/22/31/image_16012025_22_31_03_031619_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/30/image_16012025_22_30_02_793577_0000.jpg
/home/pi/Desktop/images/16012025/22/30/image_16012025_22_30_02_793577_0001.jpg
/home/pi/Desktop/images/16012025/22/30/image_16012025_22_30_02_793577_0002.jpg
/home/pi/Desktop/images/16012025/22/30/image_16012025_22_30_02_793577_0003.jpg
/home/pi/Desktop/images/16012025/22/31/image_16012025_22_31_03_031619_0000.jpg
/home/pi/Desktop/images/16012025/22/31/image_16012025_22_31_03_031619_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":["1329762612","1329762605","1329762608","1329762574","1329762631","1329762597"],"photo_ids_order":["1329762574","1329762597","1329762605","1329762608","1329762612","1329762631"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aad60baf352eb56883fddcf6bdd22dbf.jpg","text":"TemporaryFile(/tmp/multipartBody1154811587508650171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206181646,"filename":"image_16012025_22_31_03_031619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/290ceb3280f804dcc383d0d4afc99398.jpg","text":"TemporaryFile(/tmp/multipartBody185673840728941547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206181646,"filename":"image_16012025_22_30_02_793577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/375640f3d809a061abb13ee5a25d1a72.jpg","text":"TemporaryFile(/tmp/multipartBody2690391765198093997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206181646,"filename":"image_16012025_22_30_02_793577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c88949315c2489988c05c2fd77c39660.jpg","text":"TemporaryFile(/tmp/multipartBody6989703297508341994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206181646,"filename":"image_16012025_22_30_02_793577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b1a20ccfaaddde3b972e24a07b515474.jpg","text":"TemporaryFile(/tmp/multipartBody6255627483825822528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206181646,"filename":"image_16012025_22_31_03_031619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01423029fb1cb23cc38f571598b11b11.jpg","text":"TemporaryFile(/tmp/multipartBody4061195933536910938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206181646,"filename":"image_16012025_22_30_02_793577_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329762605","file1":"1329762597","file0":"1329762574","file4":"1329762612","file5":"1329762631","file3":"1329762608"},"map_files_photo_id_array":[{"photo_id":"1329762631","filename":"file5"},{"photo_id":"1329762605","filename":"file2"},{"photo_id":"1329762612","filename":"file4"},{"photo_id":"1329762597","filename":"file1"},{"photo_id":"1329762574","filename":"file0"},{"photo_id":"1329762608","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329762612":["hashtag1","hashtag2"]},{"1329762605":["hashtag1","hashtag2"]},{"1329762608":["hashtag1","hashtag2"]},{"1329762574":["hashtag1","hashtag2"]},{"1329762631":["hashtag1","hashtag2"]},{"1329762597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329762612, 1329762605, 1329762608, 1329762574, 1329762631, 1329762597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.92600989341736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 14:16:03.183468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/14/image_18012025_14_14_02_600585_0003.jpg', '/home/pi/Desktop/images/18012025/14/15/image_18012025_14_15_02_758001_0000.jpg', '/home/pi/Desktop/images/18012025/14/15/image_18012025_14_15_02_758001_0001.jpg', '/home/pi/Desktop/images/18012025/14/15/image_18012025_14_15_02_758001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/14/image_18012025_14_14_02_600585_0003.jpg
/home/pi/Desktop/images/18012025/14/15/image_18012025_14_15_02_758001_0000.jpg
/home/pi/Desktop/images/18012025/14/15/image_18012025_14_15_02_758001_0001.jpg
/home/pi/Desktop/images/18012025/14/15/image_18012025_14_15_02_758001_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329762734","1329762821","1329762643","1329762823"],"photo_ids_order":["1329762643","1329762734","1329762821","1329762823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c588d0e7bb15ef1d7241854b65dbd3e.jpg","text":"TemporaryFile(/tmp/multipartBody7540056936402789749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206234381,"filename":"image_18012025_14_15_02_758001_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4541e22a2715b20612a552d66f1060de.jpg","text":"TemporaryFile(/tmp/multipartBody3096159752812379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206234381,"filename":"image_18012025_14_15_02_758001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3bec84e2f10e88d26b9e4c926675af6d.jpg","text":"TemporaryFile(/tmp/multipartBody5928843948083819421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206234381,"filename":"image_18012025_14_14_02_600585_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9660c7bffda71ce675b9e995c8350f12.jpg","text":"TemporaryFile(/tmp/multipartBody4881752170357618528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206234381,"filename":"image_18012025_14_15_02_758001_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329762821","file1":"1329762734","file0":"1329762643","file3":"1329762823"},"map_files_photo_id_array":[{"photo_id":"1329762821","filename":"file2"},{"photo_id":"1329762734","filename":"file1"},{"photo_id":"1329762643","filename":"file0"},{"photo_id":"1329762823","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329762734":["hashtag1","hashtag2"]},{"1329762821":["hashtag1","hashtag2"]},{"1329762643":["hashtag1","hashtag2"]},{"1329762823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329762734, 1329762821, 1329762643, 1329762823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04512071609497 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-18 14:16:52.634480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/15/image_18012025_14_15_02_758001_0003.jpg', '/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0000.jpg', '/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0001.jpg', '/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/15/image_18012025_14_15_02_758001_0003.jpg
/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0000.jpg
/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0001.jpg
/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.153405666351318 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:17:21.882529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/15/image_18012025_14_15_02_758001_0003.jpg', '/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0000.jpg', '/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0001.jpg', '/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0002.jpg', '/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0003.jpg', '/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/15/image_18012025_14_15_02_758001_0003.jpg
/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0000.jpg
/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0001.jpg
/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0002.jpg
/home/pi/Desktop/images/18012025/14/16/image_18012025_14_16_02_979177_0003.jpg
/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329762866","1329762869","1329762854","1329762863","1329762874","1329762858"],"photo_ids_order":["1329762854","1329762858","1329762863","1329762866","1329762869","1329762874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9f7b73f7462e48eaf1a019a0b4adda4.jpg","text":"TemporaryFile(/tmp/multipartBody1219627434877752482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206318947,"filename":"image_18012025_14_16_02_979177_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/658cadf7754b64d8d90caf7b543d43a2.jpg","text":"TemporaryFile(/tmp/multipartBody3529261569563836490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206318947,"filename":"image_18012025_14_16_02_979177_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c4e7613fb5682062c79a1c7513429fa.jpg","text":"TemporaryFile(/tmp/multipartBody7997766344013809583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206318947,"filename":"image_18012025_14_15_02_758001_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/41e183e2ec36bd905e68311a4e11eb28.jpg","text":"TemporaryFile(/tmp/multipartBody6359620059391113586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206318947,"filename":"image_18012025_14_16_02_979177_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48b487cdab3ce59903d439b9ff14753c.jpg","text":"TemporaryFile(/tmp/multipartBody6107354571433102724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206318947,"filename":"image_18012025_14_17_03_079369_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a3ab28270ba9e18d1917bf95e0f9fcfc.jpg","text":"TemporaryFile(/tmp/multipartBody229728586987227342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206318947,"filename":"image_18012025_14_16_02_979177_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329762863","file1":"1329762858","file0":"1329762854","file4":"1329762869","file5":"1329762874","file3":"1329762866"},"map_files_photo_id_array":[{"photo_id":"1329762874","filename":"file5"},{"photo_id":"1329762863","filename":"file2"},{"photo_id":"1329762869","filename":"file4"},{"photo_id":"1329762858","filename":"file1"},{"photo_id":"1329762854","filename":"file0"},{"photo_id":"1329762866","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329762866":["hashtag1","hashtag2"]},{"1329762869":["hashtag1","hashtag2"]},{"1329762854":["hashtag1","hashtag2"]},{"1329762863":["hashtag1","hashtag2"]},{"1329762874":["hashtag1","hashtag2"]},{"1329762858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329762866, 1329762869, 1329762854, 1329762863, 1329762874, 1329762858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.52826380729675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:18:21.978076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0001.jpg', '/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0002.jpg', '/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0003.jpg', '/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0000.jpg', '/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0001.jpg', '/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0001.jpg
/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0002.jpg
/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0003.jpg
/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0000.jpg
/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0001.jpg
/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.93752145767212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 14:18:42.009671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0001.jpg', '/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0002.jpg', '/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0003.jpg', '/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0000.jpg', '/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0001.jpg', '/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0001.jpg
/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0002.jpg
/home/pi/Desktop/images/18012025/14/17/image_18012025_14_17_03_079369_0003.jpg
/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0000.jpg
/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0001.jpg
/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329762927","1329762920","1329762928","1329762922","1329762916","1329763104"],"photo_ids_order":["1329762916","1329762920","1329762922","1329762927","1329762928","1329763104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/db414f031465a5c82e1b14f3a440494d.jpg","text":"TemporaryFile(/tmp/multipartBody447737446703453063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206399329,"filename":"image_18012025_14_18_02_184591_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/574e0db8dd20ef35fea2ea0b3a5fd8b2.jpg","text":"TemporaryFile(/tmp/multipartBody179126053483081847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206399329,"filename":"image_18012025_14_17_03_079369_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bee41e8cdbe886b65128ca70b2e09a9e.jpg","text":"TemporaryFile(/tmp/multipartBody5559102882184512067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206399329,"filename":"image_18012025_14_18_02_184591_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a59a4b79f386ef466baff390c69b9a89.jpg","text":"TemporaryFile(/tmp/multipartBody7892299885733060818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206399329,"filename":"image_18012025_14_17_03_079369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9283d55f810286d28a10a60700b3e8c8.jpg","text":"TemporaryFile(/tmp/multipartBody8593334841414263026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206399329,"filename":"image_18012025_14_17_03_079369_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2dc9bf1bcd3c088666b2d197d1590da.jpg","text":"TemporaryFile(/tmp/multipartBody4440691136223627398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206399329,"filename":"image_18012025_14_18_02_184591_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329762922","file1":"1329762920","file0":"1329762916","file4":"1329762928","file5":"1329763104","file3":"1329762927"},"map_files_photo_id_array":[{"photo_id":"1329763104","filename":"file5"},{"photo_id":"1329762922","filename":"file2"},{"photo_id":"1329762928","filename":"file4"},{"photo_id":"1329762920","filename":"file1"},{"photo_id":"1329762916","filename":"file0"},{"photo_id":"1329762927","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329762927":["hashtag1","hashtag2"]},{"1329762920":["hashtag1","hashtag2"]},{"1329762928":["hashtag1","hashtag2"]},{"1329762922":["hashtag1","hashtag2"]},{"1329762916":["hashtag1","hashtag2"]},{"1329763104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329762927, 1329762920, 1329762928, 1329762922, 1329762916, 1329763104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.23043417930603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 14:19:52.172759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0003.jpg', '/home/pi/Desktop/images/18012025/14/19/image_18012025_14_19_02_369311_0000.jpg', '/home/pi/Desktop/images/18012025/14/19/image_18012025_14_19_02_369311_0001.jpg', '/home/pi/Desktop/images/18012025/14/19/image_18012025_14_19_02_369311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/18/image_18012025_14_18_02_184591_0003.jpg
/home/pi/Desktop/images/18012025/14/19/image_18012025_14_19_02_369311_0000.jpg
/home/pi/Desktop/images/18012025/14/19/image_18012025_14_19_02_369311_0001.jpg
/home/pi/Desktop/images/18012025/14/19/image_18012025_14_19_02_369311_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329763742","1329763744","1329763740","1329763737"],"photo_ids_order":["1329763737","1329763740","1329763742","1329763744"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e0175bbe3202a595209618b5d9b5f0e.jpg","text":"TemporaryFile(/tmp/multipartBody4282595099660712009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206463772,"filename":"image_18012025_14_19_02_369311_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/36471d3aef748d93dc7feb6b1da22def.jpg","text":"TemporaryFile(/tmp/multipartBody6272665335234549651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206463772,"filename":"image_18012025_14_19_02_369311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97619181578aff5682094053f6fd306f.jpg","text":"TemporaryFile(/tmp/multipartBody5500408540217203910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206463772,"filename":"image_18012025_14_19_02_369311_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7ea0f5c1b5771d0b7159ae3ee1a76cf.jpg","text":"TemporaryFile(/tmp/multipartBody2574646153554258707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206463772,"filename":"image_18012025_14_18_02_184591_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329763742","file1":"1329763740","file0":"1329763737","file3":"1329763744"},"map_files_photo_id_array":[{"photo_id":"1329763742","filename":"file2"},{"photo_id":"1329763740","filename":"file1"},{"photo_id":"1329763737","filename":"file0"},{"photo_id":"1329763744","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329763742":["hashtag1","hashtag2"]},{"1329763744":["hashtag1","hashtag2"]},{"1329763740":["hashtag1","hashtag2"]},{"1329763737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329763742, 1329763744, 1329763740, 1329763737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.550461769104004 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-18 14:20:42.461496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/19/image_18012025_14_19_02_369311_0003.jpg', '/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0000.jpg', '/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0001.jpg', '/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/19/image_18012025_14_19_02_369311_0003.jpg
/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0000.jpg
/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0001.jpg
/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.01308012008667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 14:21:03.110846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/19/image_18012025_14_19_02_369311_0003.jpg', '/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0000.jpg', '/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0001.jpg', '/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/19/image_18012025_14_19_02_369311_0003.jpg
/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0000.jpg
/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0001.jpg
/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329764033","1329764062","1329764044","1329764036"],"photo_ids_order":["1329764033","1329764036","1329764044","1329764062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ceabaf4af9263ddcc147d5fe838729f.jpg","text":"TemporaryFile(/tmp/multipartBody1901699937814835439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206534612,"filename":"image_18012025_14_19_02_369311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c6c85c8ec2fae627206835f982937a6.jpg","text":"TemporaryFile(/tmp/multipartBody741107796488741801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206534612,"filename":"image_18012025_14_20_02_580174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8032ea44623cb2031a9a2f91c4160d14.jpg","text":"TemporaryFile(/tmp/multipartBody7415860016942760889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206534612,"filename":"image_18012025_14_20_02_580174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9800824ec94ece1a5c17504a01a2c945.jpg","text":"TemporaryFile(/tmp/multipartBody649202853119110188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206534612,"filename":"image_18012025_14_20_02_580174_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329764044","file1":"1329764036","file0":"1329764033","file3":"1329764062"},"map_files_photo_id_array":[{"photo_id":"1329764044","filename":"file2"},{"photo_id":"1329764036","filename":"file1"},{"photo_id":"1329764033","filename":"file0"},{"photo_id":"1329764062","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329764033":["hashtag1","hashtag2"]},{"1329764062":["hashtag1","hashtag2"]},{"1329764044":["hashtag1","hashtag2"]},{"1329764036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329764033, 1329764062, 1329764044, 1329764036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32699227333069 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 14:21:52.486691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0003.jpg', '/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0000.jpg', '/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0001.jpg', '/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0003.jpg
/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0000.jpg
/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0001.jpg
/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.853659868240356 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:22:22.702549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0003.jpg', '/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0000.jpg', '/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0001.jpg', '/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0002.jpg', '/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0003.jpg', '/home/pi/Desktop/images/18012025/14/22/image_18012025_14_22_02_875241_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/20/image_18012025_14_20_02_580174_0003.jpg
/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0000.jpg
/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0001.jpg
/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0002.jpg
/home/pi/Desktop/images/18012025/14/21/image_18012025_14_21_02_721676_0003.jpg
/home/pi/Desktop/images/18012025/14/22/image_18012025_14_22_02_875241_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329764126","1329764122","1329764131","1329764119","1329764124","1329764115"],"photo_ids_order":["1329764115","1329764119","1329764122","1329764124","1329764126","1329764131"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e3f93d58f46db778445e1f0c59dbdcf.jpg","text":"TemporaryFile(/tmp/multipartBody8095244313008195526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206619129,"filename":"image_18012025_14_21_02_721676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd83ab85c3457dd37aeff339bd148344.jpg","text":"TemporaryFile(/tmp/multipartBody2994350041963091212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206619129,"filename":"image_18012025_14_21_02_721676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cefc64ca114726ff3f59bd5ac4628bd9.jpg","text":"TemporaryFile(/tmp/multipartBody7585191258020623271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206619129,"filename":"image_18012025_14_22_02_875241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5bef95dbe00bd74e460ab7537d466557.jpg","text":"TemporaryFile(/tmp/multipartBody3449805101770202073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206619129,"filename":"image_18012025_14_21_02_721676_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ece4fa056309d8ed1306bd051df3197.jpg","text":"TemporaryFile(/tmp/multipartBody3430881725850630718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206619129,"filename":"image_18012025_14_21_02_721676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f96fabade1bd5bbf9f8fea5ff8f00028.jpg","text":"TemporaryFile(/tmp/multipartBody3267124016718920762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206619129,"filename":"image_18012025_14_20_02_580174_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329764122","file1":"1329764119","file0":"1329764115","file4":"1329764126","file5":"1329764131","file3":"1329764124"},"map_files_photo_id_array":[{"photo_id":"1329764131","filename":"file5"},{"photo_id":"1329764122","filename":"file2"},{"photo_id":"1329764126","filename":"file4"},{"photo_id":"1329764119","filename":"file1"},{"photo_id":"1329764115","filename":"file0"},{"photo_id":"1329764124","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329764126":["hashtag1","hashtag2"]},{"1329764122":["hashtag1","hashtag2"]},{"1329764131":["hashtag1","hashtag2"]},{"1329764119":["hashtag1","hashtag2"]},{"1329764124":["hashtag1","hashtag2"]},{"1329764115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329764126, 1329764122, 1329764131, 1329764119, 1329764124, 1329764115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.92011904716492 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:23:21.965271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/22/image_18012025_14_22_02_875241_0001.jpg', '/home/pi/Desktop/images/18012025/14/22/image_18012025_14_22_02_875241_0002.jpg', '/home/pi/Desktop/images/18012025/14/22/image_18012025_14_22_02_875241_0003.jpg', '/home/pi/Desktop/images/18012025/14/23/image_18012025_14_23_03_088178_0000.jpg', '/home/pi/Desktop/images/18012025/14/23/image_18012025_14_23_03_088178_0001.jpg', '/home/pi/Desktop/images/18012025/14/23/image_18012025_14_23_03_088178_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/22/image_18012025_14_22_02_875241_0001.jpg
/home/pi/Desktop/images/18012025/14/22/image_18012025_14_22_02_875241_0002.jpg
/home/pi/Desktop/images/18012025/14/22/image_18012025_14_22_02_875241_0003.jpg
/home/pi/Desktop/images/18012025/14/23/image_18012025_14_23_03_088178_0000.jpg
/home/pi/Desktop/images/18012025/14/23/image_18012025_14_23_03_088178_0001.jpg
/home/pi/Desktop/images/18012025/14/23/image_18012025_14_23_03_088178_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329764185","1329764146","1329764171","1329764189","1329764183","1329764156"],"photo_ids_order":["1329764146","1329764156","1329764171","1329764183","1329764185","1329764189"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5bece8560b5dd7c0097367ba383dfc93.jpg","text":"TemporaryFile(/tmp/multipartBody4393481143383290431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206678509,"filename":"image_18012025_14_23_03_088178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15362169fbce6f9eb7b0219deace641d.jpg","text":"TemporaryFile(/tmp/multipartBody3933818161562301612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206678509,"filename":"image_18012025_14_22_02_875241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/480cadcaab87bb2cd0c7a42690075c23.jpg","text":"TemporaryFile(/tmp/multipartBody2484856870091499724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206678509,"filename":"image_18012025_14_22_02_875241_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/026b6b92431bc314abf56a73e88401f0.jpg","text":"TemporaryFile(/tmp/multipartBody4543566714664868370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206678509,"filename":"image_18012025_14_23_03_088178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50fceda308520616c80bf5c3d73480b2.jpg","text":"TemporaryFile(/tmp/multipartBody4877771003751722944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206678509,"filename":"image_18012025_14_23_03_088178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d52aa248f81201670af0012d96da4b7e.jpg","text":"TemporaryFile(/tmp/multipartBody6968667401089299810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206678509,"filename":"image_18012025_14_22_02_875241_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329764171","file1":"1329764156","file0":"1329764146","file4":"1329764185","file5":"1329764189","file3":"1329764183"},"map_files_photo_id_array":[{"photo_id":"1329764189","filename":"file5"},{"photo_id":"1329764171","filename":"file2"},{"photo_id":"1329764185","filename":"file4"},{"photo_id":"1329764156","filename":"file1"},{"photo_id":"1329764146","filename":"file0"},{"photo_id":"1329764183","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329764185":["hashtag1","hashtag2"]},{"1329764146":["hashtag1","hashtag2"]},{"1329764171":["hashtag1","hashtag2"]},{"1329764189":["hashtag1","hashtag2"]},{"1329764183":["hashtag1","hashtag2"]},{"1329764156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329764185, 1329764146, 1329764171, 1329764189, 1329764183, 1329764156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.745872497558594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:24:22.091492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/23/image_18012025_14_23_03_088178_0003.jpg', '/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0000.jpg', '/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0001.jpg', '/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/23/image_18012025_14_23_03_088178_0003.jpg
/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0000.jpg
/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0001.jpg
/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.356773138046265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 14:24:42.009647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/23/image_18012025_14_23_03_088178_0003.jpg', '/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0000.jpg', '/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0001.jpg', '/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/23/image_18012025_14_23_03_088178_0003.jpg
/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0000.jpg
/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0001.jpg
/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329764222","1329764215","1329764220","1329764217"],"photo_ids_order":["1329764215","1329764217","1329764220","1329764222"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/00e9be22a2ddc5459149270102c96dce.jpg","text":"TemporaryFile(/tmp/multipartBody1711818300661976107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206753764,"filename":"image_18012025_14_24_02_283461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b2f05c769bac02d8af58e0b28ba57e5a.jpg","text":"TemporaryFile(/tmp/multipartBody2241296716247669186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206753764,"filename":"image_18012025_14_23_03_088178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c9c23c638b8f060d8339450aebdb960.jpg","text":"TemporaryFile(/tmp/multipartBody8860864570441528449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206753764,"filename":"image_18012025_14_24_02_283461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/37d66b40e9d5899a22b985b372fb7c88.jpg","text":"TemporaryFile(/tmp/multipartBody7116067638314231709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206753764,"filename":"image_18012025_14_24_02_283461_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329764220","file1":"1329764217","file0":"1329764215","file3":"1329764222"},"map_files_photo_id_array":[{"photo_id":"1329764220","filename":"file2"},{"photo_id":"1329764217","filename":"file1"},{"photo_id":"1329764215","filename":"file0"},{"photo_id":"1329764222","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329764222":["hashtag1","hashtag2"]},{"1329764215":["hashtag1","hashtag2"]},{"1329764220":["hashtag1","hashtag2"]},{"1329764217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329764222, 1329764215, 1329764220, 1329764217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32991647720337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:25:22.153658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0003.jpg', '/home/pi/Desktop/images/18012025/14/25/image_18012025_14_25_02_386558_0000.jpg', '/home/pi/Desktop/images/18012025/14/25/image_18012025_14_25_02_386558_0001.jpg', '/home/pi/Desktop/images/18012025/14/25/image_18012025_14_25_02_386558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/24/image_18012025_14_24_02_283461_0003.jpg
/home/pi/Desktop/images/18012025/14/25/image_18012025_14_25_02_386558_0000.jpg
/home/pi/Desktop/images/18012025/14/25/image_18012025_14_25_02_386558_0001.jpg
/home/pi/Desktop/images/18012025/14/25/image_18012025_14_25_02_386558_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329764243","1329764233","1329764238","1329764247"],"photo_ids_order":["1329764233","1329764238","1329764243","1329764247"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aaf0cd83daefaf2225a1f6b4bdecbf4e.jpg","text":"TemporaryFile(/tmp/multipartBody7101158739597293806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206793742,"filename":"image_18012025_14_25_02_386558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d7db9f5038f07e851d08749128ecd9ef.jpg","text":"TemporaryFile(/tmp/multipartBody6863135494961373448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206793742,"filename":"image_18012025_14_24_02_283461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/107a216c89dbe8ec3547fcd648b74edd.jpg","text":"TemporaryFile(/tmp/multipartBody8225644956036996016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206793742,"filename":"image_18012025_14_25_02_386558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d329d047f2a4b0444e07c9408a9283ac.jpg","text":"TemporaryFile(/tmp/multipartBody8223700898755891766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206793742,"filename":"image_18012025_14_25_02_386558_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329764243","file1":"1329764238","file0":"1329764233","file3":"1329764247"},"map_files_photo_id_array":[{"photo_id":"1329764243","filename":"file2"},{"photo_id":"1329764238","filename":"file1"},{"photo_id":"1329764233","filename":"file0"},{"photo_id":"1329764247","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329764243":["hashtag1","hashtag2"]},{"1329764233":["hashtag1","hashtag2"]},{"1329764238":["hashtag1","hashtag2"]},{"1329764247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329764243, 1329764233, 1329764238, 1329764247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.104963541030884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:26:22.477899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/25/image_18012025_14_25_02_386558_0003.jpg', '/home/pi/Desktop/images/18012025/14/26/image_18012025_14_26_02_546920_0000.jpg', '/home/pi/Desktop/images/18012025/14/26/image_18012025_14_26_02_546920_0001.jpg', '/home/pi/Desktop/images/18012025/14/26/image_18012025_14_26_02_546920_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/25/image_18012025_14_25_02_386558_0003.jpg
/home/pi/Desktop/images/18012025/14/26/image_18012025_14_26_02_546920_0000.jpg
/home/pi/Desktop/images/18012025/14/26/image_18012025_14_26_02_546920_0001.jpg
/home/pi/Desktop/images/18012025/14/26/image_18012025_14_26_02_546920_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329764275","1329764290","1329764271","1329764267"],"photo_ids_order":["1329764267","1329764271","1329764275","1329764290"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/82f2e891b137aafb095e956e6a62254b.jpg","text":"TemporaryFile(/tmp/multipartBody605354067498256597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206853700,"filename":"image_18012025_14_26_02_546920_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4b4d3ad65943fa15082adfb07fdbf381.jpg","text":"TemporaryFile(/tmp/multipartBody4826404270895157645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206853700,"filename":"image_18012025_14_26_02_546920_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d5564d9bb2fba41f7894fe6609621a97.jpg","text":"TemporaryFile(/tmp/multipartBody7055623013202504217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206853700,"filename":"image_18012025_14_26_02_546920_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/215f249c2e8e9aa5b8124217a7eec61c.jpg","text":"TemporaryFile(/tmp/multipartBody3810414551320924369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206853700,"filename":"image_18012025_14_25_02_386558_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329764275","file1":"1329764271","file0":"1329764267","file3":"1329764290"},"map_files_photo_id_array":[{"photo_id":"1329764275","filename":"file2"},{"photo_id":"1329764271","filename":"file1"},{"photo_id":"1329764267","filename":"file0"},{"photo_id":"1329764290","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329764275":["hashtag1","hashtag2"]},{"1329764290":["hashtag1","hashtag2"]},{"1329764271":["hashtag1","hashtag2"]},{"1329764267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329764275, 1329764290, 1329764271, 1329764267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.390267848968506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 14:27:03.059104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/31/image_16012025_22_31_03_031619_0002.jpg', '/home/pi/Desktop/images/16012025/22/31/image_16012025_22_31_03_031619_0003.jpg', '/home/pi/Desktop/images/16012025/22/32/image_16012025_22_32_02_170890_0000.jpg', '/home/pi/Desktop/images/16012025/22/32/image_16012025_22_32_02_170890_0001.jpg', '/home/pi/Desktop/images/16012025/22/32/image_16012025_22_32_02_170890_0002.jpg', '/home/pi/Desktop/images/16012025/22/32/image_16012025_22_32_02_170890_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/31/image_16012025_22_31_03_031619_0002.jpg
/home/pi/Desktop/images/16012025/22/31/image_16012025_22_31_03_031619_0003.jpg
/home/pi/Desktop/images/16012025/22/32/image_16012025_22_32_02_170890_0000.jpg
/home/pi/Desktop/images/16012025/22/32/image_16012025_22_32_02_170890_0001.jpg
/home/pi/Desktop/images/16012025/22/32/image_16012025_22_32_02_170890_0002.jpg
/home/pi/Desktop/images/16012025/22/32/image_16012025_22_32_02_170890_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329764342","1329764339","1329764330","1329764335","1329764323","1329764327"],"photo_ids_order":["1329764323","1329764327","1329764330","1329764335","1329764339","1329764342"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0a2a09fd6e2a61da81844be82d5640e.jpg","text":"TemporaryFile(/tmp/multipartBody5812696521371533775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206901294,"filename":"image_16012025_22_32_02_170890_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e11ef639f485c3f03d16bd27c73212c.jpg","text":"TemporaryFile(/tmp/multipartBody5618550456409482728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206901294,"filename":"image_16012025_22_32_02_170890_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f50202cdddfc3a9bea975a041b660e9.jpg","text":"TemporaryFile(/tmp/multipartBody1719737606805208881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206901294,"filename":"image_16012025_22_32_02_170890_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eea6af097182ecdcb4030cc2e81f77b2.jpg","text":"TemporaryFile(/tmp/multipartBody4876657262321511632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206901294,"filename":"image_16012025_22_32_02_170890_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da821420cbc8c7f89bc8ca538cec85ed.jpg","text":"TemporaryFile(/tmp/multipartBody8396293761522703798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206901294,"filename":"image_16012025_22_31_03_031619_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b1cc73d288f1a257f9cedf01fda40c1b.jpg","text":"TemporaryFile(/tmp/multipartBody4002074396361182550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206901294,"filename":"image_16012025_22_31_03_031619_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329764330","file1":"1329764327","file0":"1329764323","file4":"1329764339","file5":"1329764342","file3":"1329764335"},"map_files_photo_id_array":[{"photo_id":"1329764342","filename":"file5"},{"photo_id":"1329764330","filename":"file2"},{"photo_id":"1329764339","filename":"file4"},{"photo_id":"1329764327","filename":"file1"},{"photo_id":"1329764323","filename":"file0"},{"photo_id":"1329764335","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329764342":["hashtag1","hashtag2"]},{"1329764339":["hashtag1","hashtag2"]},{"1329764330":["hashtag1","hashtag2"]},{"1329764335":["hashtag1","hashtag2"]},{"1329764323":["hashtag1","hashtag2"]},{"1329764327":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329764342, 1329764339, 1329764330, 1329764335, 1329764323, 1329764327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.00822925567627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:28:22.721259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/26/image_18012025_14_26_02_546920_0003.jpg', '/home/pi/Desktop/images/18012025/14/27/image_18012025_14_27_02_776125_0000.jpg', '/home/pi/Desktop/images/18012025/14/27/image_18012025_14_27_02_776125_0001.jpg', '/home/pi/Desktop/images/18012025/14/27/image_18012025_14_27_02_776125_0002.jpg', '/home/pi/Desktop/images/18012025/14/27/image_18012025_14_27_02_776125_0003.jpg', '/home/pi/Desktop/images/18012025/14/28/image_18012025_14_28_02_876805_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/26/image_18012025_14_26_02_546920_0003.jpg
/home/pi/Desktop/images/18012025/14/27/image_18012025_14_27_02_776125_0000.jpg
/home/pi/Desktop/images/18012025/14/27/image_18012025_14_27_02_776125_0001.jpg
/home/pi/Desktop/images/18012025/14/27/image_18012025_14_27_02_776125_0002.jpg
/home/pi/Desktop/images/18012025/14/27/image_18012025_14_27_02_776125_0003.jpg
/home/pi/Desktop/images/18012025/14/28/image_18012025_14_28_02_876805_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329764636","1329764641","1329764629","1329764644","1329764691","1329764646"],"photo_ids_order":["1329764629","1329764636","1329764641","1329764644","1329764646","1329764691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6a21d3823ed24f22e2e893b05d3d1d0.jpg","text":"TemporaryFile(/tmp/multipartBody5527626915388528931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206979734,"filename":"image_18012025_14_27_02_776125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e652123918ff83d0efdd82d4e6137ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8232229396289241385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206979734,"filename":"image_18012025_14_27_02_776125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7673c08a36c3fec177c4e19427c1b284.jpg","text":"TemporaryFile(/tmp/multipartBody5856646104488586973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206979734,"filename":"image_18012025_14_26_02_546920_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/41ad16dc1e857088681657995feb965c.jpg","text":"TemporaryFile(/tmp/multipartBody6657534385501111229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206979734,"filename":"image_18012025_14_27_02_776125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/981210e4d238a175c787706614d20e67.jpg","text":"TemporaryFile(/tmp/multipartBody4490643114059129723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206979734,"filename":"image_18012025_14_28_02_876805_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/510c22eb222ad4a809e227be100e4a17.jpg","text":"TemporaryFile(/tmp/multipartBody4034319566862938702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737206979734,"filename":"image_18012025_14_27_02_776125_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329764641","file1":"1329764636","file0":"1329764629","file4":"1329764646","file5":"1329764691","file3":"1329764644"},"map_files_photo_id_array":[{"photo_id":"1329764691","filename":"file5"},{"photo_id":"1329764641","filename":"file2"},{"photo_id":"1329764646","filename":"file4"},{"photo_id":"1329764636","filename":"file1"},{"photo_id":"1329764629","filename":"file0"},{"photo_id":"1329764644","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329764636":["hashtag1","hashtag2"]},{"1329764641":["hashtag1","hashtag2"]},{"1329764629":["hashtag1","hashtag2"]},{"1329764644":["hashtag1","hashtag2"]},{"1329764691":["hashtag1","hashtag2"]},{"1329764646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329764636, 1329764641, 1329764629, 1329764644, 1329764691, 1329764646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.16744589805603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:29:21.929767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/28/image_18012025_14_28_02_876805_0001.jpg', '/home/pi/Desktop/images/18012025/14/28/image_18012025_14_28_02_876805_0002.jpg', '/home/pi/Desktop/images/18012025/14/28/image_18012025_14_28_02_876805_0003.jpg', '/home/pi/Desktop/images/18012025/14/29/image_18012025_14_29_03_090236_0000.jpg', '/home/pi/Desktop/images/18012025/14/29/image_18012025_14_29_03_090236_0001.jpg', '/home/pi/Desktop/images/18012025/14/29/image_18012025_14_29_03_090236_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/28/image_18012025_14_28_02_876805_0001.jpg
/home/pi/Desktop/images/18012025/14/28/image_18012025_14_28_02_876805_0002.jpg
/home/pi/Desktop/images/18012025/14/28/image_18012025_14_28_02_876805_0003.jpg
/home/pi/Desktop/images/18012025/14/29/image_18012025_14_29_03_090236_0000.jpg
/home/pi/Desktop/images/18012025/14/29/image_18012025_14_29_03_090236_0001.jpg
/home/pi/Desktop/images/18012025/14/29/image_18012025_14_29_03_090236_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329764825","1329764797","1329764820","1329764817","1329764802","1329764822"],"photo_ids_order":["1329764797","1329764802","1329764817","1329764820","1329764822","1329764825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6ccd359233db6934c70adad460c8232.jpg","text":"TemporaryFile(/tmp/multipartBody8959713010286301880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207038330,"filename":"image_18012025_14_29_03_090236_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a745699cf40e1f3c1613560fb6e517fc.jpg","text":"TemporaryFile(/tmp/multipartBody8523489735924595858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207038330,"filename":"image_18012025_14_28_02_876805_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/baa76b9347dc41006cc65791e64f40a1.jpg","text":"TemporaryFile(/tmp/multipartBody678095598608068246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207038330,"filename":"image_18012025_14_29_03_090236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1573eab55a8cb4c7e396be03bbe499e3.jpg","text":"TemporaryFile(/tmp/multipartBody2045516703741497466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207038330,"filename":"image_18012025_14_28_02_876805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f20fbdcac40549a326265b7bfbd68f4.jpg","text":"TemporaryFile(/tmp/multipartBody6817678927467117041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207038330,"filename":"image_18012025_14_28_02_876805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a7a325022e74db8c44534f0f2dacdba.jpg","text":"TemporaryFile(/tmp/multipartBody2341363072133661729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207038330,"filename":"image_18012025_14_29_03_090236_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329764817","file1":"1329764802","file0":"1329764797","file4":"1329764822","file5":"1329764825","file3":"1329764820"},"map_files_photo_id_array":[{"photo_id":"1329764825","filename":"file5"},{"photo_id":"1329764817","filename":"file2"},{"photo_id":"1329764822","filename":"file4"},{"photo_id":"1329764802","filename":"file1"},{"photo_id":"1329764797","filename":"file0"},{"photo_id":"1329764820","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329764825":["hashtag1","hashtag2"]},{"1329764797":["hashtag1","hashtag2"]},{"1329764820":["hashtag1","hashtag2"]},{"1329764817":["hashtag1","hashtag2"]},{"1329764802":["hashtag1","hashtag2"]},{"1329764822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329764825, 1329764797, 1329764820, 1329764817, 1329764802, 1329764822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.68076777458191 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:30:22.058260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/29/image_18012025_14_29_03_090236_0003.jpg', '/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0000.jpg', '/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0001.jpg', '/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/29/image_18012025_14_29_03_090236_0003.jpg
/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0000.jpg
/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0001.jpg
/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.591195583343506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 14:30:42.060821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/29/image_18012025_14_29_03_090236_0003.jpg', '/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0000.jpg', '/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0001.jpg', '/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/29/image_18012025_14_29_03_090236_0003.jpg
/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0000.jpg
/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0001.jpg
/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329764852","1329764854","1329764850","1329764855"],"photo_ids_order":["1329764850","1329764852","1329764854","1329764855"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0d431ac317714eaa869662e3b55c0a7b.jpg","text":"TemporaryFile(/tmp/multipartBody4106574257513190592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207113028,"filename":"image_18012025_14_30_02_303910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0a7f5fa672fd620541a34bc9a72d3ec.jpg","text":"TemporaryFile(/tmp/multipartBody8153101485559774686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207113028,"filename":"image_18012025_14_30_02_303910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a7675c09fa61cfb0285cf5cf7541b237.jpg","text":"TemporaryFile(/tmp/multipartBody5116387178973057940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207113028,"filename":"image_18012025_14_29_03_090236_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8e7e14754ae59ea272be69cd3b4180f.jpg","text":"TemporaryFile(/tmp/multipartBody2025205279615170261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207113028,"filename":"image_18012025_14_30_02_303910_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329764854","file1":"1329764852","file0":"1329764850","file3":"1329764855"},"map_files_photo_id_array":[{"photo_id":"1329764854","filename":"file2"},{"photo_id":"1329764852","filename":"file1"},{"photo_id":"1329764850","filename":"file0"},{"photo_id":"1329764855","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329764852":["hashtag1","hashtag2"]},{"1329764854":["hashtag1","hashtag2"]},{"1329764850":["hashtag1","hashtag2"]},{"1329764855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329764852, 1329764854, 1329764850, 1329764855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47399711608887 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-18 14:31:32.242945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0003.jpg', '/home/pi/Desktop/images/18012025/14/31/image_18012025_14_31_02_414739_0000.jpg', '/home/pi/Desktop/images/18012025/14/31/image_18012025_14_31_02_414739_0001.jpg', '/home/pi/Desktop/images/18012025/14/31/image_18012025_14_31_02_414739_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/30/image_18012025_14_30_02_303910_0003.jpg
/home/pi/Desktop/images/18012025/14/31/image_18012025_14_31_02_414739_0000.jpg
/home/pi/Desktop/images/18012025/14/31/image_18012025_14_31_02_414739_0001.jpg
/home/pi/Desktop/images/18012025/14/31/image_18012025_14_31_02_414739_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329764881","1329764877","1329764885","1329764870"],"photo_ids_order":["1329764870","1329764877","1329764881","1329764885"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3ca876ab00563019085cc9a376985152.jpg","text":"TemporaryFile(/tmp/multipartBody8754756786362304095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207163329,"filename":"image_18012025_14_31_02_414739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e9dad4a9277dbb647c43e92fbaaebe5.jpg","text":"TemporaryFile(/tmp/multipartBody3172607529434498145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207163329,"filename":"image_18012025_14_31_02_414739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/88c0f024ad4f116c243983755b814653.jpg","text":"TemporaryFile(/tmp/multipartBody7193254067735882788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207163329,"filename":"image_18012025_14_31_02_414739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b98441dc8f10938df67c5c2526d87746.jpg","text":"TemporaryFile(/tmp/multipartBody6825519129935286782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207163329,"filename":"image_18012025_14_30_02_303910_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329764881","file1":"1329764877","file0":"1329764870","file3":"1329764885"},"map_files_photo_id_array":[{"photo_id":"1329764881","filename":"file2"},{"photo_id":"1329764877","filename":"file1"},{"photo_id":"1329764870","filename":"file0"},{"photo_id":"1329764885","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329764881":["hashtag1","hashtag2"]},{"1329764877":["hashtag1","hashtag2"]},{"1329764885":["hashtag1","hashtag2"]},{"1329764870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329764881, 1329764877, 1329764885, 1329764870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32766819000244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:32:22.456208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/31/image_18012025_14_31_02_414739_0003.jpg', '/home/pi/Desktop/images/18012025/14/32/image_18012025_14_32_02_592684_0000.jpg', '/home/pi/Desktop/images/18012025/14/32/image_18012025_14_32_02_592684_0001.jpg', '/home/pi/Desktop/images/18012025/14/32/image_18012025_14_32_02_592684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/31/image_18012025_14_31_02_414739_0003.jpg
/home/pi/Desktop/images/18012025/14/32/image_18012025_14_32_02_592684_0000.jpg
/home/pi/Desktop/images/18012025/14/32/image_18012025_14_32_02_592684_0001.jpg
/home/pi/Desktop/images/18012025/14/32/image_18012025_14_32_02_592684_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329764896","1329764909","1329764900","1329764934"],"photo_ids_order":["1329764896","1329764900","1329764909","1329764934"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f55ffd05706da9d3a6f2151addb247ce.jpg","text":"TemporaryFile(/tmp/multipartBody7097827645131980717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207213765,"filename":"image_18012025_14_31_02_414739_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/69dc3f0d1764e40dfa1e1c5016a6fe30.jpg","text":"TemporaryFile(/tmp/multipartBody4133829767162875468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207213765,"filename":"image_18012025_14_32_02_592684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d20da69f82dd627f940bcc48fc73aa4e.jpg","text":"TemporaryFile(/tmp/multipartBody6526970372068097475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207213765,"filename":"image_18012025_14_32_02_592684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6b102048a7b18d5334836e538340253.jpg","text":"TemporaryFile(/tmp/multipartBody243762899380940874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207213765,"filename":"image_18012025_14_32_02_592684_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329764909","file1":"1329764900","file0":"1329764896","file3":"1329764934"},"map_files_photo_id_array":[{"photo_id":"1329764909","filename":"file2"},{"photo_id":"1329764900","filename":"file1"},{"photo_id":"1329764896","filename":"file0"},{"photo_id":"1329764934","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329764896":["hashtag1","hashtag2"]},{"1329764909":["hashtag1","hashtag2"]},{"1329764900":["hashtag1","hashtag2"]},{"1329764934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329764896, 1329764909, 1329764900, 1329764934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12132477760315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:33:22.651584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/32/image_18012025_14_32_02_592684_0003.jpg', '/home/pi/Desktop/images/18012025/14/33/image_18012025_14_33_02_805124_0000.jpg', '/home/pi/Desktop/images/18012025/14/33/image_18012025_14_33_02_805124_0001.jpg', '/home/pi/Desktop/images/18012025/14/33/image_18012025_14_33_02_805124_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/32/image_18012025_14_32_02_592684_0003.jpg
/home/pi/Desktop/images/18012025/14/33/image_18012025_14_33_02_805124_0000.jpg
/home/pi/Desktop/images/18012025/14/33/image_18012025_14_33_02_805124_0001.jpg
/home/pi/Desktop/images/18012025/14/33/image_18012025_14_33_02_805124_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329765210","1329765281","1329764990","1329764978"],"photo_ids_order":["1329764978","1329764990","1329765210","1329765281"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/560e4e73966d925a09d130957e1d3a82.jpg","text":"TemporaryFile(/tmp/multipartBody6674696082428280855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207274131,"filename":"image_18012025_14_33_02_805124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e10b0def49982249f8de6e77e9229c8.jpg","text":"TemporaryFile(/tmp/multipartBody1921991701569991207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207274131,"filename":"image_18012025_14_33_02_805124_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/745eb5b15b97edce6c97748189b367a8.jpg","text":"TemporaryFile(/tmp/multipartBody2701946086912366069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207274131,"filename":"image_18012025_14_33_02_805124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/24ab0772c26dcef0ce75b395828936e8.jpg","text":"TemporaryFile(/tmp/multipartBody3104761980052064132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207274131,"filename":"image_18012025_14_32_02_592684_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329765210","file1":"1329764990","file0":"1329764978","file3":"1329765281"},"map_files_photo_id_array":[{"photo_id":"1329765210","filename":"file2"},{"photo_id":"1329764990","filename":"file1"},{"photo_id":"1329764978","filename":"file0"},{"photo_id":"1329765281","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329765210":["hashtag1","hashtag2"]},{"1329765281":["hashtag1","hashtag2"]},{"1329764990":["hashtag1","hashtag2"]},{"1329764978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329765210, 1329765281, 1329764990, 1329764978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.717374086380005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:34:21.876551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/33/image_18012025_14_33_02_805124_0003.jpg', '/home/pi/Desktop/images/18012025/14/34/image_18012025_14_34_03_012094_0000.jpg', '/home/pi/Desktop/images/18012025/14/34/image_18012025_14_34_03_012094_0001.jpg', '/home/pi/Desktop/images/18012025/14/34/image_18012025_14_34_03_012094_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/33/image_18012025_14_33_02_805124_0003.jpg
/home/pi/Desktop/images/18012025/14/34/image_18012025_14_34_03_012094_0000.jpg
/home/pi/Desktop/images/18012025/14/34/image_18012025_14_34_03_012094_0001.jpg
/home/pi/Desktop/images/18012025/14/34/image_18012025_14_34_03_012094_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329765388","1329765376","1329765360","1329765392"],"photo_ids_order":["1329765360","1329765376","1329765388","1329765392"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd806fd1c904284c3b3082bf8a9018da.jpg","text":"TemporaryFile(/tmp/multipartBody327409342134649195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207333134,"filename":"image_18012025_14_34_03_012094_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d7e16dd4eab76730af59d5c61632a03a.jpg","text":"TemporaryFile(/tmp/multipartBody6191975175203917174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207333134,"filename":"image_18012025_14_34_03_012094_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a19f21f74cc2036d739e6460a66f777.jpg","text":"TemporaryFile(/tmp/multipartBody8480875575273887069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207333134,"filename":"image_18012025_14_33_02_805124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a706da2ca4a8184e955be4cca0e46df7.jpg","text":"TemporaryFile(/tmp/multipartBody1410455667433444979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207333134,"filename":"image_18012025_14_34_03_012094_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329765388","file1":"1329765376","file0":"1329765360","file3":"1329765392"},"map_files_photo_id_array":[{"photo_id":"1329765388","filename":"file2"},{"photo_id":"1329765376","filename":"file1"},{"photo_id":"1329765360","filename":"file0"},{"photo_id":"1329765392","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329765388":["hashtag1","hashtag2"]},{"1329765376":["hashtag1","hashtag2"]},{"1329765360":["hashtag1","hashtag2"]},{"1329765392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329765388, 1329765376, 1329765360, 1329765392)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.69269323348999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:35:22.013186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/34/image_18012025_14_34_03_012094_0003.jpg', '/home/pi/Desktop/images/18012025/14/35/image_18012025_14_35_02_197534_0000.jpg', '/home/pi/Desktop/images/18012025/14/35/image_18012025_14_35_02_197534_0001.jpg', '/home/pi/Desktop/images/18012025/14/35/image_18012025_14_35_02_197534_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/34/image_18012025_14_34_03_012094_0003.jpg
/home/pi/Desktop/images/18012025/14/35/image_18012025_14_35_02_197534_0000.jpg
/home/pi/Desktop/images/18012025/14/35/image_18012025_14_35_02_197534_0001.jpg
/home/pi/Desktop/images/18012025/14/35/image_18012025_14_35_02_197534_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329765451","1329765465","1329765461","1329765455"],"photo_ids_order":["1329765451","1329765455","1329765461","1329765465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e517fd40ff595ec32a7c9fa437e080a.jpg","text":"TemporaryFile(/tmp/multipartBody4170295627765401295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207393177,"filename":"image_18012025_14_34_03_012094_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ae393ae8558a059d9e72e16e912008ec.jpg","text":"TemporaryFile(/tmp/multipartBody7457489347192537809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207393177,"filename":"image_18012025_14_35_02_197534_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/935c73873d8e9c847f2a2ee9b0351327.jpg","text":"TemporaryFile(/tmp/multipartBody3642801143088696263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207393177,"filename":"image_18012025_14_35_02_197534_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4cb8507cc3908233f473bf65520b99b7.jpg","text":"TemporaryFile(/tmp/multipartBody8096741835536665359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207393177,"filename":"image_18012025_14_35_02_197534_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329765461","file1":"1329765455","file0":"1329765451","file3":"1329765465"},"map_files_photo_id_array":[{"photo_id":"1329765461","filename":"file2"},{"photo_id":"1329765455","filename":"file1"},{"photo_id":"1329765451","filename":"file0"},{"photo_id":"1329765465","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329765451":["hashtag1","hashtag2"]},{"1329765465":["hashtag1","hashtag2"]},{"1329765461":["hashtag1","hashtag2"]},{"1329765455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329765451, 1329765465, 1329765461, 1329765455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.808014154434204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:36:22.213200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/35/image_18012025_14_35_02_197534_0003.jpg', '/home/pi/Desktop/images/18012025/14/36/image_18012025_14_36_02_356312_0000.jpg', '/home/pi/Desktop/images/18012025/14/36/image_18012025_14_36_02_356312_0001.jpg', '/home/pi/Desktop/images/18012025/14/36/image_18012025_14_36_02_356312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/35/image_18012025_14_35_02_197534_0003.jpg
/home/pi/Desktop/images/18012025/14/36/image_18012025_14_36_02_356312_0000.jpg
/home/pi/Desktop/images/18012025/14/36/image_18012025_14_36_02_356312_0001.jpg
/home/pi/Desktop/images/18012025/14/36/image_18012025_14_36_02_356312_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329765631","1329765634","1329765625","1329765621"],"photo_ids_order":["1329765621","1329765625","1329765631","1329765634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8d4654789d019b368e801e73bcc90ed.jpg","text":"TemporaryFile(/tmp/multipartBody8218622924098022238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207453461,"filename":"image_18012025_14_36_02_356312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee74553c8645b9da887b7cd1b90c66e0.jpg","text":"TemporaryFile(/tmp/multipartBody3743417579129706737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207453461,"filename":"image_18012025_14_36_02_356312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eb5c3543765c5a1edb29be7c9e391332.jpg","text":"TemporaryFile(/tmp/multipartBody9053148030357900293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207453461,"filename":"image_18012025_14_36_02_356312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86410476ebb4c2e748a8fd5f23b1e699.jpg","text":"TemporaryFile(/tmp/multipartBody9121798794676559257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207453461,"filename":"image_18012025_14_35_02_197534_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329765631","file1":"1329765625","file0":"1329765621","file3":"1329765634"},"map_files_photo_id_array":[{"photo_id":"1329765631","filename":"file2"},{"photo_id":"1329765625","filename":"file1"},{"photo_id":"1329765621","filename":"file0"},{"photo_id":"1329765634","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329765631":["hashtag1","hashtag2"]},{"1329765634":["hashtag1","hashtag2"]},{"1329765625":["hashtag1","hashtag2"]},{"1329765621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329765631, 1329765634, 1329765625, 1329765621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.22356152534485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:37:22.374823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/36/image_18012025_14_36_02_356312_0003.jpg', '/home/pi/Desktop/images/18012025/14/37/image_18012025_14_37_02_520851_0000.jpg', '/home/pi/Desktop/images/18012025/14/37/image_18012025_14_37_02_520851_0001.jpg', '/home/pi/Desktop/images/18012025/14/37/image_18012025_14_37_02_520851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/36/image_18012025_14_36_02_356312_0003.jpg
/home/pi/Desktop/images/18012025/14/37/image_18012025_14_37_02_520851_0000.jpg
/home/pi/Desktop/images/18012025/14/37/image_18012025_14_37_02_520851_0001.jpg
/home/pi/Desktop/images/18012025/14/37/image_18012025_14_37_02_520851_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329765673","1329765669","1329765665","1329765707"],"photo_ids_order":["1329765665","1329765669","1329765673","1329765707"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ace1c1f852db5908e6689b547b52e79e.jpg","text":"TemporaryFile(/tmp/multipartBody2185128536173070284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207513788,"filename":"image_18012025_14_37_02_520851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16327eccbd7813482d1e4d1f47109f3d.jpg","text":"TemporaryFile(/tmp/multipartBody7940450519266643346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207513788,"filename":"image_18012025_14_37_02_520851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/294eb3a4213734364c2b5e62037e8a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7101636601754566704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207513788,"filename":"image_18012025_14_36_02_356312_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3270d1d12cff473daa7d5421b92e37e5.jpg","text":"TemporaryFile(/tmp/multipartBody2967825894687624042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207513788,"filename":"image_18012025_14_37_02_520851_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329765673","file1":"1329765669","file0":"1329765665","file3":"1329765707"},"map_files_photo_id_array":[{"photo_id":"1329765673","filename":"file2"},{"photo_id":"1329765669","filename":"file1"},{"photo_id":"1329765665","filename":"file0"},{"photo_id":"1329765707","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329765673":["hashtag1","hashtag2"]},{"1329765669":["hashtag1","hashtag2"]},{"1329765665":["hashtag1","hashtag2"]},{"1329765707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329765673, 1329765669, 1329765665, 1329765707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46582221984863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 14:38:02.997943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/33/image_16012025_22_33_02_375462_0000.jpg', '/home/pi/Desktop/images/16012025/22/33/image_16012025_22_33_02_375462_0001.jpg', '/home/pi/Desktop/images/16012025/22/33/image_16012025_22_33_02_375462_0002.jpg', '/home/pi/Desktop/images/16012025/22/33/image_16012025_22_33_02_375462_0003.jpg', '/home/pi/Desktop/images/16012025/22/34/image_16012025_22_34_02_565274_0000.jpg', '/home/pi/Desktop/images/16012025/22/34/image_16012025_22_34_02_565274_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/33/image_16012025_22_33_02_375462_0000.jpg
/home/pi/Desktop/images/16012025/22/33/image_16012025_22_33_02_375462_0001.jpg
/home/pi/Desktop/images/16012025/22/33/image_16012025_22_33_02_375462_0002.jpg
/home/pi/Desktop/images/16012025/22/33/image_16012025_22_33_02_375462_0003.jpg
/home/pi/Desktop/images/16012025/22/34/image_16012025_22_34_02_565274_0000.jpg
/home/pi/Desktop/images/16012025/22/34/image_16012025_22_34_02_565274_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":["1329765772","1329766773","1329767042","1329766442","1329765941","1329766156"],"photo_ids_order":["1329765772","1329765941","1329766156","1329766442","1329766773","1329767042"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6e7a7b1718ca36a73d6142770e8a9d1.jpg","text":"TemporaryFile(/tmp/multipartBody6331613968178802496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207561130,"filename":"image_16012025_22_33_02_375462_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/06a9688da67034a08d3b745811d64bd6.jpg","text":"TemporaryFile(/tmp/multipartBody4789172098310201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207561130,"filename":"image_16012025_22_34_02_565274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca122beb0e9d51698f8ad25cd426e5b8.jpg","text":"TemporaryFile(/tmp/multipartBody8106136118427633424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207561130,"filename":"image_16012025_22_34_02_565274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc4216ea7b5c0d8c3c05736bbf7ec2dc.jpg","text":"TemporaryFile(/tmp/multipartBody9085594128427737344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207561130,"filename":"image_16012025_22_33_02_375462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ca1cdc00fcafe72b82d8d87b9b7c8d5.jpg","text":"TemporaryFile(/tmp/multipartBody4874663640858748856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207561130,"filename":"image_16012025_22_33_02_375462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/26fd1deda9812dae1b502a3e6b484145.jpg","text":"TemporaryFile(/tmp/multipartBody6588296256724818997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207561130,"filename":"image_16012025_22_33_02_375462_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329766156","file1":"1329765941","file0":"1329765772","file4":"1329766773","file5":"1329767042","file3":"1329766442"},"map_files_photo_id_array":[{"photo_id":"1329767042","filename":"file5"},{"photo_id":"1329766156","filename":"file2"},{"photo_id":"1329766773","filename":"file4"},{"photo_id":"1329765941","filename":"file1"},{"photo_id":"1329765772","filename":"file0"},{"photo_id":"1329766442","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329765772":["hashtag1","hashtag2"]},{"1329766773":["hashtag1","hashtag2"]},{"1329767042":["hashtag1","hashtag2"]},{"1329766442":["hashtag1","hashtag2"]},{"1329765941":["hashtag1","hashtag2"]},{"1329766156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329765772, 1329766773, 1329767042, 1329766442, 1329765941, 1329766156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.51345944404602 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 14:39:03.226360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/37/image_18012025_14_37_02_520851_0003.jpg', '/home/pi/Desktop/images/18012025/14/38/image_18012025_14_38_02_688679_0000.jpg', '/home/pi/Desktop/images/18012025/14/38/image_18012025_14_38_02_688679_0001.jpg', '/home/pi/Desktop/images/18012025/14/38/image_18012025_14_38_02_688679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/37/image_18012025_14_37_02_520851_0003.jpg
/home/pi/Desktop/images/18012025/14/38/image_18012025_14_38_02_688679_0000.jpg
/home/pi/Desktop/images/18012025/14/38/image_18012025_14_38_02_688679_0001.jpg
/home/pi/Desktop/images/18012025/14/38/image_18012025_14_38_02_688679_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329767174","1329767177","1329767179","1329767170"],"photo_ids_order":["1329767170","1329767174","1329767177","1329767179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b4f50f27bd084824290470402803197.jpg","text":"TemporaryFile(/tmp/multipartBody6111318641245888401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207614583,"filename":"image_18012025_14_38_02_688679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/040e4616af9233d00dd12f309913c098.jpg","text":"TemporaryFile(/tmp/multipartBody8896749382380265468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207614583,"filename":"image_18012025_14_38_02_688679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/69c3f085674430529d37f798427c14f7.jpg","text":"TemporaryFile(/tmp/multipartBody8430773056465125918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207614583,"filename":"image_18012025_14_38_02_688679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fca2343b9f85dee5b14b8463d77be5e1.jpg","text":"TemporaryFile(/tmp/multipartBody3659463388034180492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207614583,"filename":"image_18012025_14_37_02_520851_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329767177","file1":"1329767174","file0":"1329767170","file3":"1329767179"},"map_files_photo_id_array":[{"photo_id":"1329767177","filename":"file2"},{"photo_id":"1329767174","filename":"file1"},{"photo_id":"1329767170","filename":"file0"},{"photo_id":"1329767179","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329767174":["hashtag1","hashtag2"]},{"1329767177":["hashtag1","hashtag2"]},{"1329767179":["hashtag1","hashtag2"]},{"1329767170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329767174, 1329767177, 1329767179, 1329767170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.61472749710083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 14:39:42.607673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/38/image_18012025_14_38_02_688679_0003.jpg', '/home/pi/Desktop/images/18012025/14/39/image_18012025_14_39_02_879217_0000.jpg', '/home/pi/Desktop/images/18012025/14/39/image_18012025_14_39_02_879217_0001.jpg', '/home/pi/Desktop/images/18012025/14/39/image_18012025_14_39_02_879217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/38/image_18012025_14_38_02_688679_0003.jpg
/home/pi/Desktop/images/18012025/14/39/image_18012025_14_39_02_879217_0000.jpg
/home/pi/Desktop/images/18012025/14/39/image_18012025_14_39_02_879217_0001.jpg
/home/pi/Desktop/images/18012025/14/39/image_18012025_14_39_02_879217_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329767514","1329767189","1329767296","1329767187"],"photo_ids_order":["1329767187","1329767189","1329767296","1329767514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d311b6202bc50803517e4fd7a08313d.jpg","text":"TemporaryFile(/tmp/multipartBody8014520237925631322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207653710,"filename":"image_18012025_14_39_02_879217_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d458c7aa65a7f63421bdabb8ef2ee755.jpg","text":"TemporaryFile(/tmp/multipartBody1070011390799681284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207653710,"filename":"image_18012025_14_39_02_879217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f28ebf7e7a1e1d9d0c59418c373e762.jpg","text":"TemporaryFile(/tmp/multipartBody8510300044824420331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207653710,"filename":"image_18012025_14_39_02_879217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/643ac7f6abbdae732bf22c513711f7c7.jpg","text":"TemporaryFile(/tmp/multipartBody4663433671714270327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207653710,"filename":"image_18012025_14_38_02_688679_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329767296","file1":"1329767189","file0":"1329767187","file3":"1329767514"},"map_files_photo_id_array":[{"photo_id":"1329767296","filename":"file2"},{"photo_id":"1329767189","filename":"file1"},{"photo_id":"1329767187","filename":"file0"},{"photo_id":"1329767514","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329767514":["hashtag1","hashtag2"]},{"1329767189":["hashtag1","hashtag2"]},{"1329767296":["hashtag1","hashtag2"]},{"1329767187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329767514, 1329767189, 1329767296, 1329767187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.4142804145813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 14:40:31.843434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/39/image_18012025_14_39_02_879217_0003.jpg', '/home/pi/Desktop/images/18012025/14/40/image_18012025_14_40_02_976822_0000.jpg', '/home/pi/Desktop/images/18012025/14/40/image_18012025_14_40_02_976822_0001.jpg', '/home/pi/Desktop/images/18012025/14/40/image_18012025_14_40_02_976822_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/39/image_18012025_14_39_02_879217_0003.jpg
/home/pi/Desktop/images/18012025/14/40/image_18012025_14_40_02_976822_0000.jpg
/home/pi/Desktop/images/18012025/14/40/image_18012025_14_40_02_976822_0001.jpg
/home/pi/Desktop/images/18012025/14/40/image_18012025_14_40_02_976822_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329767556","1329767561","1329767783","1329767704"],"photo_ids_order":["1329767556","1329767561","1329767704","1329767783"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/471377f213a68dadbde81f76bbd3098d.jpg","text":"TemporaryFile(/tmp/multipartBody8827130284037101283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207703296,"filename":"image_18012025_14_39_02_879217_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bec0c15c10ef07015705144f8999a7d3.jpg","text":"TemporaryFile(/tmp/multipartBody8241093657361695768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207703296,"filename":"image_18012025_14_40_02_976822_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3fc485b7e368b84ad452243411502de2.jpg","text":"TemporaryFile(/tmp/multipartBody5098782980291951686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207703296,"filename":"image_18012025_14_40_02_976822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a00d8c8ed72a6ba94ffd0f79f15adb9.jpg","text":"TemporaryFile(/tmp/multipartBody8664388361976247880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207703296,"filename":"image_18012025_14_40_02_976822_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329767704","file1":"1329767561","file0":"1329767556","file3":"1329767783"},"map_files_photo_id_array":[{"photo_id":"1329767704","filename":"file2"},{"photo_id":"1329767561","filename":"file1"},{"photo_id":"1329767556","filename":"file0"},{"photo_id":"1329767783","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329767556":["hashtag1","hashtag2"]},{"1329767561":["hashtag1","hashtag2"]},{"1329767783":["hashtag1","hashtag2"]},{"1329767704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329767556, 1329767561, 1329767783, 1329767704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.55809760093689 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:41:21.964050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/40/image_18012025_14_40_02_976822_0003.jpg', '/home/pi/Desktop/images/18012025/14/41/image_18012025_14_41_02_245859_0000.jpg', '/home/pi/Desktop/images/18012025/14/41/image_18012025_14_41_02_245859_0001.jpg', '/home/pi/Desktop/images/18012025/14/41/image_18012025_14_41_02_245859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/40/image_18012025_14_40_02_976822_0003.jpg
/home/pi/Desktop/images/18012025/14/41/image_18012025_14_41_02_245859_0000.jpg
/home/pi/Desktop/images/18012025/14/41/image_18012025_14_41_02_245859_0001.jpg
/home/pi/Desktop/images/18012025/14/41/image_18012025_14_41_02_245859_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329767819","1329767804","1329767797","1329767800"],"photo_ids_order":["1329767797","1329767800","1329767804","1329767819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/42751624b58ab16d83769f8807958023.jpg","text":"TemporaryFile(/tmp/multipartBody4824425639917128919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207753304,"filename":"image_18012025_14_41_02_245859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e887eb8416452754c2433ff344aec3d9.jpg","text":"TemporaryFile(/tmp/multipartBody4706481888666983689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207753304,"filename":"image_18012025_14_41_02_245859_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4e6cae98f80adf8c19f71f82a851c6aa.jpg","text":"TemporaryFile(/tmp/multipartBody4228764807219220361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207753304,"filename":"image_18012025_14_40_02_976822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4888ba44ff040b23afe32988c87f12f5.jpg","text":"TemporaryFile(/tmp/multipartBody5996635619025990808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207753304,"filename":"image_18012025_14_41_02_245859_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329767804","file1":"1329767800","file0":"1329767797","file3":"1329767819"},"map_files_photo_id_array":[{"photo_id":"1329767804","filename":"file2"},{"photo_id":"1329767800","filename":"file1"},{"photo_id":"1329767797","filename":"file0"},{"photo_id":"1329767819","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329767819":["hashtag1","hashtag2"]},{"1329767804":["hashtag1","hashtag2"]},{"1329767797":["hashtag1","hashtag2"]},{"1329767800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329767819, 1329767804, 1329767797, 1329767800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.5457124710083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 14:42:02.768388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/34/image_16012025_22_34_02_565274_0002.jpg', '/home/pi/Desktop/images/16012025/22/34/image_16012025_22_34_02_565274_0003.jpg', '/home/pi/Desktop/images/16012025/22/35/image_16012025_22_35_02_762021_0000.jpg', '/home/pi/Desktop/images/16012025/22/35/image_16012025_22_35_02_762021_0001.jpg', '/home/pi/Desktop/images/16012025/22/35/image_16012025_22_35_02_762021_0002.jpg', '/home/pi/Desktop/images/16012025/22/35/image_16012025_22_35_02_762021_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/34/image_16012025_22_34_02_565274_0002.jpg
/home/pi/Desktop/images/16012025/22/34/image_16012025_22_34_02_565274_0003.jpg
/home/pi/Desktop/images/16012025/22/35/image_16012025_22_35_02_762021_0000.jpg
/home/pi/Desktop/images/16012025/22/35/image_16012025_22_35_02_762021_0001.jpg
/home/pi/Desktop/images/16012025/22/35/image_16012025_22_35_02_762021_0002.jpg
/home/pi/Desktop/images/16012025/22/35/image_16012025_22_35_02_762021_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":["1329768138","1329768123","1329768126","1329768134","1329768118","1329768129"],"photo_ids_order":["1329768118","1329768123","1329768126","1329768129","1329768134","1329768138"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4bd26a1ae3423bd22078e9a3857d0805.jpg","text":"TemporaryFile(/tmp/multipartBody5403616243678620997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207800587,"filename":"image_16012025_22_35_02_762021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c82cc6bdebbb272635f2663fed8eb67.jpg","text":"TemporaryFile(/tmp/multipartBody2693266556884967858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207800587,"filename":"image_16012025_22_34_02_565274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f992b1b03fcd22dbc61eb9ab7fb0e49.jpg","text":"TemporaryFile(/tmp/multipartBody341783747825322389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207800587,"filename":"image_16012025_22_35_02_762021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6c37403e7295032a188ffe9b30dd61a.jpg","text":"TemporaryFile(/tmp/multipartBody3583923058967726734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207800587,"filename":"image_16012025_22_35_02_762021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5961bbb0a3dea1d2529fca0c2e306a6f.jpg","text":"TemporaryFile(/tmp/multipartBody3305271958553889067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207800587,"filename":"image_16012025_22_34_02_565274_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/774b86c63db08725553b984d8e2b7030.jpg","text":"TemporaryFile(/tmp/multipartBody3480270521608414772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207800587,"filename":"image_16012025_22_35_02_762021_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329768126","file1":"1329768123","file0":"1329768118","file4":"1329768134","file5":"1329768138","file3":"1329768129"},"map_files_photo_id_array":[{"photo_id":"1329768138","filename":"file5"},{"photo_id":"1329768126","filename":"file2"},{"photo_id":"1329768134","filename":"file4"},{"photo_id":"1329768123","filename":"file1"},{"photo_id":"1329768118","filename":"file0"},{"photo_id":"1329768129","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329768138":["hashtag1","hashtag2"]},{"1329768123":["hashtag1","hashtag2"]},{"1329768126":["hashtag1","hashtag2"]},{"1329768134":["hashtag1","hashtag2"]},{"1329768118":["hashtag1","hashtag2"]},{"1329768129":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329768138, 1329768123, 1329768126, 1329768134, 1329768118, 1329768129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.97504115104675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 14:43:02.995518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/41/image_18012025_14_41_02_245859_0003.jpg', '/home/pi/Desktop/images/18012025/14/42/image_18012025_14_42_02_385675_0000.jpg', '/home/pi/Desktop/images/18012025/14/42/image_18012025_14_42_02_385675_0001.jpg', '/home/pi/Desktop/images/18012025/14/42/image_18012025_14_42_02_385675_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/41/image_18012025_14_41_02_245859_0003.jpg
/home/pi/Desktop/images/18012025/14/42/image_18012025_14_42_02_385675_0000.jpg
/home/pi/Desktop/images/18012025/14/42/image_18012025_14_42_02_385675_0001.jpg
/home/pi/Desktop/images/18012025/14/42/image_18012025_14_42_02_385675_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329768227","1329768200","1329768223","1329768198"],"photo_ids_order":["1329768198","1329768200","1329768223","1329768227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e9eae95ab5f4ba75cdc577f224c9d2a3.jpg","text":"TemporaryFile(/tmp/multipartBody7838888001226265367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207854456,"filename":"image_18012025_14_42_02_385675_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b1ea2e8c3f6d5a0735a311798bb02bd5.jpg","text":"TemporaryFile(/tmp/multipartBody3456652481716388976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207854456,"filename":"image_18012025_14_42_02_385675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c08cb0f8394c8c429c7aab77d397a89a.jpg","text":"TemporaryFile(/tmp/multipartBody7083686247947613129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207854456,"filename":"image_18012025_14_42_02_385675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/91f413e12a86ea1e6dd8b0bb98b1a084.jpg","text":"TemporaryFile(/tmp/multipartBody3277696542657959785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207854456,"filename":"image_18012025_14_41_02_245859_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329768223","file1":"1329768200","file0":"1329768198","file3":"1329768227"},"map_files_photo_id_array":[{"photo_id":"1329768223","filename":"file2"},{"photo_id":"1329768200","filename":"file1"},{"photo_id":"1329768198","filename":"file0"},{"photo_id":"1329768227","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329768227":["hashtag1","hashtag2"]},{"1329768200":["hashtag1","hashtag2"]},{"1329768223":["hashtag1","hashtag2"]},{"1329768198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329768227, 1329768200, 1329768223, 1329768198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79585576057434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 14:43:52.344131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/42/image_18012025_14_42_02_385675_0003.jpg', '/home/pi/Desktop/images/18012025/14/43/image_18012025_14_43_02_630368_0000.jpg', '/home/pi/Desktop/images/18012025/14/43/image_18012025_14_43_02_630368_0001.jpg', '/home/pi/Desktop/images/18012025/14/43/image_18012025_14_43_02_630368_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/42/image_18012025_14_42_02_385675_0003.jpg
/home/pi/Desktop/images/18012025/14/43/image_18012025_14_43_02_630368_0000.jpg
/home/pi/Desktop/images/18012025/14/43/image_18012025_14_43_02_630368_0001.jpg
/home/pi/Desktop/images/18012025/14/43/image_18012025_14_43_02_630368_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329768278","1329768282","1329768276","1329768279"],"photo_ids_order":["1329768276","1329768278","1329768279","1329768282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/764cb9331c4f104451a45de19a36add8.jpg","text":"TemporaryFile(/tmp/multipartBody7643466545906512192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207903966,"filename":"image_18012025_14_43_02_630368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5714b3ad03f1150856d04505511e6bb.jpg","text":"TemporaryFile(/tmp/multipartBody5372227703307585849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207903966,"filename":"image_18012025_14_43_02_630368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6427642c8a80b84b2b2756c584ffaf1.jpg","text":"TemporaryFile(/tmp/multipartBody1456756294882283662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207903966,"filename":"image_18012025_14_42_02_385675_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6406cd8a33bd4298117bb7bc1ce35ae0.jpg","text":"TemporaryFile(/tmp/multipartBody3501766440406412427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207903966,"filename":"image_18012025_14_43_02_630368_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329768279","file1":"1329768278","file0":"1329768276","file3":"1329768282"},"map_files_photo_id_array":[{"photo_id":"1329768279","filename":"file2"},{"photo_id":"1329768278","filename":"file1"},{"photo_id":"1329768276","filename":"file0"},{"photo_id":"1329768282","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329768278":["hashtag1","hashtag2"]},{"1329768282":["hashtag1","hashtag2"]},{"1329768276":["hashtag1","hashtag2"]},{"1329768279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329768278, 1329768282, 1329768276, 1329768279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00664234161377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 14:44:42.700725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/43/image_18012025_14_43_02_630368_0003.jpg', '/home/pi/Desktop/images/18012025/14/44/image_18012025_14_44_02_777220_0000.jpg', '/home/pi/Desktop/images/18012025/14/44/image_18012025_14_44_02_777220_0001.jpg', '/home/pi/Desktop/images/18012025/14/44/image_18012025_14_44_02_777220_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/43/image_18012025_14_43_02_630368_0003.jpg
/home/pi/Desktop/images/18012025/14/44/image_18012025_14_44_02_777220_0000.jpg
/home/pi/Desktop/images/18012025/14/44/image_18012025_14_44_02_777220_0001.jpg
/home/pi/Desktop/images/18012025/14/44/image_18012025_14_44_02_777220_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329768315","1329768299","1329768301","1329768339"],"photo_ids_order":["1329768299","1329768301","1329768315","1329768339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f4f8f70483aa95b4ad8090cdf5ac22da.jpg","text":"TemporaryFile(/tmp/multipartBody8354494300097754487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207954166,"filename":"image_18012025_14_44_02_777220_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/79439f8b840127860ef893362eccf867.jpg","text":"TemporaryFile(/tmp/multipartBody4681548908707920614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207954166,"filename":"image_18012025_14_43_02_630368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/23150c0dbedaf6b12fa7ffce56ebbf62.jpg","text":"TemporaryFile(/tmp/multipartBody2765792336866539762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207954166,"filename":"image_18012025_14_44_02_777220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97ca3beda788871e120a6841d46a0ee1.jpg","text":"TemporaryFile(/tmp/multipartBody5918723168125502925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737207954166,"filename":"image_18012025_14_44_02_777220_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329768315","file1":"1329768301","file0":"1329768299","file3":"1329768339"},"map_files_photo_id_array":[{"photo_id":"1329768315","filename":"file2"},{"photo_id":"1329768301","filename":"file1"},{"photo_id":"1329768299","filename":"file0"},{"photo_id":"1329768339","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329768315":["hashtag1","hashtag2"]},{"1329768299":["hashtag1","hashtag2"]},{"1329768301":["hashtag1","hashtag2"]},{"1329768339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329768315, 1329768299, 1329768301, 1329768339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.84559750556946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 14:45:32.694131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/44/image_18012025_14_44_02_777220_0003.jpg', '/home/pi/Desktop/images/18012025/14/45/image_18012025_14_45_02_961298_0000.jpg', '/home/pi/Desktop/images/18012025/14/45/image_18012025_14_45_02_961298_0001.jpg', '/home/pi/Desktop/images/18012025/14/45/image_18012025_14_45_02_961298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/44/image_18012025_14_44_02_777220_0003.jpg
/home/pi/Desktop/images/18012025/14/45/image_18012025_14_45_02_961298_0000.jpg
/home/pi/Desktop/images/18012025/14/45/image_18012025_14_45_02_961298_0001.jpg
/home/pi/Desktop/images/18012025/14/45/image_18012025_14_45_02_961298_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329768420","1329768422","1329768407","1329768474"],"photo_ids_order":["1329768407","1329768420","1329768422","1329768474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c49162b20a5763d065129d6c67c0b8f.jpg","text":"TemporaryFile(/tmp/multipartBody4521689368867801304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208003963,"filename":"image_18012025_14_45_02_961298_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9287a7b3e9eb8e71cb98a7c50247393a.jpg","text":"TemporaryFile(/tmp/multipartBody3097382935758214526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208003963,"filename":"image_18012025_14_45_02_961298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2aed7f61a3e6ad69385f9375929ba943.jpg","text":"TemporaryFile(/tmp/multipartBody7631364358577586059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208003963,"filename":"image_18012025_14_44_02_777220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f6c81fb9af2b45aefbd01d1995e2a37.jpg","text":"TemporaryFile(/tmp/multipartBody8650474541624486261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208003963,"filename":"image_18012025_14_45_02_961298_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329768422","file1":"1329768420","file0":"1329768407","file3":"1329768474"},"map_files_photo_id_array":[{"photo_id":"1329768422","filename":"file2"},{"photo_id":"1329768420","filename":"file1"},{"photo_id":"1329768407","filename":"file0"},{"photo_id":"1329768474","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329768420":["hashtag1","hashtag2"]},{"1329768422":["hashtag1","hashtag2"]},{"1329768407":["hashtag1","hashtag2"]},{"1329768474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329768420, 1329768422, 1329768407, 1329768474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56375789642334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:46:21.926919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/45/image_18012025_14_45_02_961298_0003.jpg', '/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0000.jpg', '/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0001.jpg', '/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/45/image_18012025_14_45_02_961298_0003.jpg
/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0000.jpg
/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0001.jpg
/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.109371185302734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 14:46:41.912297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/45/image_18012025_14_45_02_961298_0003.jpg', '/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0000.jpg', '/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0001.jpg', '/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/45/image_18012025_14_45_02_961298_0003.jpg
/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0000.jpg
/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0001.jpg
/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329768746","1329768676","1329768673","1329768690"],"photo_ids_order":["1329768673","1329768676","1329768690","1329768746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3e28becc5a461085bb76645bd8734b4.jpg","text":"TemporaryFile(/tmp/multipartBody1235044131313521891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208073417,"filename":"image_18012025_14_46_03_040642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bb7c8f60e12aa86ccbcc7ebfac9d8ee0.jpg","text":"TemporaryFile(/tmp/multipartBody2683299352234203457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208073417,"filename":"image_18012025_14_46_03_040642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac3778e6704efba100400d616f14666d.jpg","text":"TemporaryFile(/tmp/multipartBody2165839332744047639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208073417,"filename":"image_18012025_14_45_02_961298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/063ad8eed1f8494c3004d041af909654.jpg","text":"TemporaryFile(/tmp/multipartBody1782149199867927329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208073417,"filename":"image_18012025_14_46_03_040642_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329768690","file1":"1329768676","file0":"1329768673","file3":"1329768746"},"map_files_photo_id_array":[{"photo_id":"1329768690","filename":"file2"},{"photo_id":"1329768676","filename":"file1"},{"photo_id":"1329768673","filename":"file0"},{"photo_id":"1329768746","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329768746":["hashtag1","hashtag2"]},{"1329768676":["hashtag1","hashtag2"]},{"1329768673":["hashtag1","hashtag2"]},{"1329768690":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329768746, 1329768676, 1329768673, 1329768690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.3001754283905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 14:47:32.037539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0003.jpg', '/home/pi/Desktop/images/18012025/14/47/image_18012025_14_47_02_319789_0000.jpg', '/home/pi/Desktop/images/18012025/14/47/image_18012025_14_47_02_319789_0001.jpg', '/home/pi/Desktop/images/18012025/14/47/image_18012025_14_47_02_319789_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/46/image_18012025_14_46_03_040642_0003.jpg
/home/pi/Desktop/images/18012025/14/47/image_18012025_14_47_02_319789_0000.jpg
/home/pi/Desktop/images/18012025/14/47/image_18012025_14_47_02_319789_0001.jpg
/home/pi/Desktop/images/18012025/14/47/image_18012025_14_47_02_319789_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329768791","1329768764","1329768787","1329768783"],"photo_ids_order":["1329768764","1329768783","1329768787","1329768791"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/29119176b674aaab7cbc80d794bd9634.jpg","text":"TemporaryFile(/tmp/multipartBody99644181792874072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208123176,"filename":"image_18012025_14_47_02_319789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/364301369b4997174419fa207f81773d.jpg","text":"TemporaryFile(/tmp/multipartBody7558617323232104975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208123176,"filename":"image_18012025_14_46_03_040642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/58b43cd32f36ea1fb9fffd92b7168605.jpg","text":"TemporaryFile(/tmp/multipartBody829376641882453354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208123176,"filename":"image_18012025_14_47_02_319789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f973b487b88638fcf425d513ab1fa33c.jpg","text":"TemporaryFile(/tmp/multipartBody5714024216615594472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208123176,"filename":"image_18012025_14_47_02_319789_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329768787","file1":"1329768783","file0":"1329768764","file3":"1329768791"},"map_files_photo_id_array":[{"photo_id":"1329768787","filename":"file2"},{"photo_id":"1329768783","filename":"file1"},{"photo_id":"1329768764","filename":"file0"},{"photo_id":"1329768791","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329768791":["hashtag1","hashtag2"]},{"1329768764":["hashtag1","hashtag2"]},{"1329768787":["hashtag1","hashtag2"]},{"1329768783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329768791, 1329768764, 1329768787, 1329768783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.63488173484802 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:48:22.372679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/47/image_18012025_14_47_02_319789_0003.jpg', '/home/pi/Desktop/images/18012025/14/48/image_18012025_14_48_02_416424_0000.jpg', '/home/pi/Desktop/images/18012025/14/48/image_18012025_14_48_02_416424_0001.jpg', '/home/pi/Desktop/images/18012025/14/48/image_18012025_14_48_02_416424_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/47/image_18012025_14_47_02_319789_0003.jpg
/home/pi/Desktop/images/18012025/14/48/image_18012025_14_48_02_416424_0000.jpg
/home/pi/Desktop/images/18012025/14/48/image_18012025_14_48_02_416424_0001.jpg
/home/pi/Desktop/images/18012025/14/48/image_18012025_14_48_02_416424_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329768906","1329768845","1329768870","1329768867"],"photo_ids_order":["1329768845","1329768867","1329768870","1329768906"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/85eac4ff8b99ac8584b02cff4aa91fbc.jpg","text":"TemporaryFile(/tmp/multipartBody8649344038927971203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208173608,"filename":"image_18012025_14_48_02_416424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d65bc361e069184eb2d04490d095e653.jpg","text":"TemporaryFile(/tmp/multipartBody4842033298732554844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208173608,"filename":"image_18012025_14_47_02_319789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cafe9071283dee5bf1d05a4ca6e0fbe2.jpg","text":"TemporaryFile(/tmp/multipartBody6578907262603003691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208173608,"filename":"image_18012025_14_48_02_416424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/22c3a5f159e18610eabd7713dcea1662.jpg","text":"TemporaryFile(/tmp/multipartBody5286830877912112060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208173608,"filename":"image_18012025_14_48_02_416424_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329768870","file1":"1329768867","file0":"1329768845","file3":"1329768906"},"map_files_photo_id_array":[{"photo_id":"1329768870","filename":"file2"},{"photo_id":"1329768867","filename":"file1"},{"photo_id":"1329768845","filename":"file0"},{"photo_id":"1329768906","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329768906":["hashtag1","hashtag2"]},{"1329768845":["hashtag1","hashtag2"]},{"1329768870":["hashtag1","hashtag2"]},{"1329768867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329768906, 1329768845, 1329768870, 1329768867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.61063528060913 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:49:22.472001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/48/image_18012025_14_48_02_416424_0003.jpg', '/home/pi/Desktop/images/18012025/14/49/image_18012025_14_49_02_662497_0000.jpg', '/home/pi/Desktop/images/18012025/14/49/image_18012025_14_49_02_662497_0001.jpg', '/home/pi/Desktop/images/18012025/14/49/image_18012025_14_49_02_662497_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/48/image_18012025_14_48_02_416424_0003.jpg
/home/pi/Desktop/images/18012025/14/49/image_18012025_14_49_02_662497_0000.jpg
/home/pi/Desktop/images/18012025/14/49/image_18012025_14_49_02_662497_0001.jpg
/home/pi/Desktop/images/18012025/14/49/image_18012025_14_49_02_662497_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329768932","1329768926","1329768940","1329768936"],"photo_ids_order":["1329768926","1329768932","1329768936","1329768940"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ecc62a28bc7ab3312685cea3a04d0d9.jpg","text":"TemporaryFile(/tmp/multipartBody4664038425628763615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208233975,"filename":"image_18012025_14_49_02_662497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a10e310170f6550c5555ace2f529041a.jpg","text":"TemporaryFile(/tmp/multipartBody2890311490688507575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208233975,"filename":"image_18012025_14_48_02_416424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd0cab9506937e9b320e66f6289e489b.jpg","text":"TemporaryFile(/tmp/multipartBody9213272848321484479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208233975,"filename":"image_18012025_14_49_02_662497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/110af6b230e5fa751fdbc9a31e8f1711.jpg","text":"TemporaryFile(/tmp/multipartBody5283991020280027754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208233975,"filename":"image_18012025_14_49_02_662497_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329768936","file1":"1329768932","file0":"1329768926","file3":"1329768940"},"map_files_photo_id_array":[{"photo_id":"1329768936","filename":"file2"},{"photo_id":"1329768932","filename":"file1"},{"photo_id":"1329768926","filename":"file0"},{"photo_id":"1329768940","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329768932":["hashtag1","hashtag2"]},{"1329768926":["hashtag1","hashtag2"]},{"1329768940":["hashtag1","hashtag2"]},{"1329768936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329768932, 1329768926, 1329768940, 1329768936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51748275756836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 14:50:03.212273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0000.jpg', '/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0001.jpg', '/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0002.jpg', '/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0003.jpg', '/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0000.jpg', '/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0000.jpg
/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0001.jpg
/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0002.jpg
/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0003.jpg
/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0000.jpg
/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.324355363845825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:50:22.700820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/49/image_18012025_14_49_02_662497_0003.jpg', '/home/pi/Desktop/images/18012025/14/50/image_18012025_14_50_02_806042_0000.jpg', '/home/pi/Desktop/images/18012025/14/50/image_18012025_14_50_02_806042_0001.jpg', '/home/pi/Desktop/images/18012025/14/50/image_18012025_14_50_02_806042_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/49/image_18012025_14_49_02_662497_0003.jpg
/home/pi/Desktop/images/18012025/14/50/image_18012025_14_50_02_806042_0000.jpg
/home/pi/Desktop/images/18012025/14/50/image_18012025_14_50_02_806042_0001.jpg
/home/pi/Desktop/images/18012025/14/50/image_18012025_14_50_02_806042_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329769001","1329768982","1329768978","1329768972"],"photo_ids_order":["1329768972","1329768978","1329768982","1329769001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e4d885827047f4de49f92e211eb3d4c3.jpg","text":"TemporaryFile(/tmp/multipartBody7603617377446583721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208293786,"filename":"image_18012025_14_50_02_806042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28b3b86545faef99bfbd1ba61097a2aa.jpg","text":"TemporaryFile(/tmp/multipartBody4754439178252031231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208293786,"filename":"image_18012025_14_50_02_806042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c8fb9e093ca6ec807899795990dc8bf.jpg","text":"TemporaryFile(/tmp/multipartBody4678578506813147545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208293786,"filename":"image_18012025_14_50_02_806042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b22b42ea32b3cbf6241ae2f4494115d5.jpg","text":"TemporaryFile(/tmp/multipartBody2351142360730317954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208293786,"filename":"image_18012025_14_49_02_662497_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329768982","file1":"1329768978","file0":"1329768972","file3":"1329769001"},"map_files_photo_id_array":[{"photo_id":"1329768982","filename":"file2"},{"photo_id":"1329768978","filename":"file1"},{"photo_id":"1329768972","filename":"file0"},{"photo_id":"1329769001","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329769001":["hashtag1","hashtag2"]},{"1329768982":["hashtag1","hashtag2"]},{"1329768978":["hashtag1","hashtag2"]},{"1329768972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329769001, 1329768982, 1329768978, 1329768972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.63094997406006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:51:22.020180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/50/image_18012025_14_50_02_806042_0003.jpg', '/home/pi/Desktop/images/18012025/14/51/image_18012025_14_51_03_077452_0000.jpg', '/home/pi/Desktop/images/18012025/14/51/image_18012025_14_51_03_077452_0001.jpg', '/home/pi/Desktop/images/18012025/14/51/image_18012025_14_51_03_077452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/50/image_18012025_14_50_02_806042_0003.jpg
/home/pi/Desktop/images/18012025/14/51/image_18012025_14_51_03_077452_0000.jpg
/home/pi/Desktop/images/18012025/14/51/image_18012025_14_51_03_077452_0001.jpg
/home/pi/Desktop/images/18012025/14/51/image_18012025_14_51_03_077452_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329769850","1329769946","1329769647","1329769299"],"photo_ids_order":["1329769299","1329769647","1329769850","1329769946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a02d23b5fc18a3d9f9ddebd64588fba.jpg","text":"TemporaryFile(/tmp/multipartBody2106558409900630547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208353414,"filename":"image_18012025_14_51_03_077452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fde250be68562bd48e5347d16aabe9b1.jpg","text":"TemporaryFile(/tmp/multipartBody8451904003899131654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208353414,"filename":"image_18012025_14_51_03_077452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65137f7104fc5b0b2c388592ff94dafe.jpg","text":"TemporaryFile(/tmp/multipartBody3456618640071144685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208353414,"filename":"image_18012025_14_51_03_077452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b181b105ccc15683ace858db4f1c5af.jpg","text":"TemporaryFile(/tmp/multipartBody1268220805479057904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208353414,"filename":"image_18012025_14_50_02_806042_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329769850","file1":"1329769647","file0":"1329769299","file3":"1329769946"},"map_files_photo_id_array":[{"photo_id":"1329769850","filename":"file2"},{"photo_id":"1329769647","filename":"file1"},{"photo_id":"1329769299","filename":"file0"},{"photo_id":"1329769946","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329769850":["hashtag1","hashtag2"]},{"1329769946":["hashtag1","hashtag2"]},{"1329769647":["hashtag1","hashtag2"]},{"1329769299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329769850, 1329769946, 1329769647, 1329769299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.65037441253662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:52:22.056504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/51/image_18012025_14_51_03_077452_0003.jpg', '/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0000.jpg', '/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0001.jpg', '/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/51/image_18012025_14_51_03_077452_0003.jpg
/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0000.jpg
/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0001.jpg
/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.949725866317749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 14:52:42.053554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/51/image_18012025_14_51_03_077452_0003.jpg', '/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0000.jpg', '/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0001.jpg', '/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/51/image_18012025_14_51_03_077452_0003.jpg
/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0000.jpg
/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0001.jpg
/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329770459","1329770158","1329770437","1329770460"],"photo_ids_order":["1329770158","1329770437","1329770459","1329770460"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd8fea244e8562a5098f4a7e33694912.jpg","text":"TemporaryFile(/tmp/multipartBody6918129295350303512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208433376,"filename":"image_18012025_14_52_02_331097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f85af9946b0bc904d5c4a41eab1d4c11.jpg","text":"TemporaryFile(/tmp/multipartBody3850215243568542989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208433376,"filename":"image_18012025_14_51_03_077452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f34d0c96f0210d685f4079585f8251dc.jpg","text":"TemporaryFile(/tmp/multipartBody4137853729615007916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208433376,"filename":"image_18012025_14_52_02_331097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b53b264ddfad327f560451df1cfe54d.jpg","text":"TemporaryFile(/tmp/multipartBody1183314538193109421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208433376,"filename":"image_18012025_14_52_02_331097_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329770459","file1":"1329770437","file0":"1329770158","file3":"1329770460"},"map_files_photo_id_array":[{"photo_id":"1329770459","filename":"file2"},{"photo_id":"1329770437","filename":"file1"},{"photo_id":"1329770158","filename":"file0"},{"photo_id":"1329770460","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329770459":["hashtag1","hashtag2"]},{"1329770158":["hashtag1","hashtag2"]},{"1329770437":["hashtag1","hashtag2"]},{"1329770460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329770459, 1329770158, 1329770437, 1329770460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.201385736465454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 14:53:32.161019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0003.jpg', '/home/pi/Desktop/images/18012025/14/53/image_18012025_14_53_02_426939_0000.jpg', '/home/pi/Desktop/images/18012025/14/53/image_18012025_14_53_02_426939_0001.jpg', '/home/pi/Desktop/images/18012025/14/53/image_18012025_14_53_02_426939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/52/image_18012025_14_52_02_331097_0003.jpg
/home/pi/Desktop/images/18012025/14/53/image_18012025_14_53_02_426939_0000.jpg
/home/pi/Desktop/images/18012025/14/53/image_18012025_14_53_02_426939_0001.jpg
/home/pi/Desktop/images/18012025/14/53/image_18012025_14_53_02_426939_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329770544","1329770570","1329770564","1329770567"],"photo_ids_order":["1329770544","1329770564","1329770567","1329770570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bbf85d7e531dca1d29d6ca478cba0550.jpg","text":"TemporaryFile(/tmp/multipartBody7425050832166490439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208483198,"filename":"image_18012025_14_52_02_331097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70d016f921a22d59ab03df3ddad232e6.jpg","text":"TemporaryFile(/tmp/multipartBody5367202484718715089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208483198,"filename":"image_18012025_14_53_02_426939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/291a313db911086f0ee607a983e01b93.jpg","text":"TemporaryFile(/tmp/multipartBody947550001151954107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208483198,"filename":"image_18012025_14_53_02_426939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c1b0962353f18fa626e5009fe327d4a.jpg","text":"TemporaryFile(/tmp/multipartBody5025020125967495233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208483198,"filename":"image_18012025_14_53_02_426939_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329770567","file1":"1329770564","file0":"1329770544","file3":"1329770570"},"map_files_photo_id_array":[{"photo_id":"1329770567","filename":"file2"},{"photo_id":"1329770564","filename":"file1"},{"photo_id":"1329770544","filename":"file0"},{"photo_id":"1329770570","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329770544":["hashtag1","hashtag2"]},{"1329770570":["hashtag1","hashtag2"]},{"1329770564":["hashtag1","hashtag2"]},{"1329770567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329770544, 1329770570, 1329770564, 1329770567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.34529495239258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:54:22.460505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/53/image_18012025_14_53_02_426939_0003.jpg', '/home/pi/Desktop/images/18012025/14/54/image_18012025_14_54_02_564917_0000.jpg', '/home/pi/Desktop/images/18012025/14/54/image_18012025_14_54_02_564917_0001.jpg', '/home/pi/Desktop/images/18012025/14/54/image_18012025_14_54_02_564917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/53/image_18012025_14_53_02_426939_0003.jpg
/home/pi/Desktop/images/18012025/14/54/image_18012025_14_54_02_564917_0000.jpg
/home/pi/Desktop/images/18012025/14/54/image_18012025_14_54_02_564917_0001.jpg
/home/pi/Desktop/images/18012025/14/54/image_18012025_14_54_02_564917_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329770587","1329770583","1329770592","1329770580"],"photo_ids_order":["1329770580","1329770583","1329770587","1329770592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e0ba3308cba6f40f0135c4ad57ffbb1.jpg","text":"TemporaryFile(/tmp/multipartBody7064343293606697569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208533223,"filename":"image_18012025_14_54_02_564917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb37209d8e3f7d349ccbdfa7675a4a42.jpg","text":"TemporaryFile(/tmp/multipartBody4555982543476920735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208533223,"filename":"image_18012025_14_54_02_564917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/52222107bac2ce87f0d8b62914770127.jpg","text":"TemporaryFile(/tmp/multipartBody4161162025248586067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208533223,"filename":"image_18012025_14_54_02_564917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e01bd3355e2bd4bcbdc7c7d72e96a769.jpg","text":"TemporaryFile(/tmp/multipartBody1246973302128507439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208533223,"filename":"image_18012025_14_53_02_426939_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329770587","file1":"1329770583","file0":"1329770580","file3":"1329770592"},"map_files_photo_id_array":[{"photo_id":"1329770587","filename":"file2"},{"photo_id":"1329770583","filename":"file1"},{"photo_id":"1329770580","filename":"file0"},{"photo_id":"1329770592","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329770587":["hashtag1","hashtag2"]},{"1329770583":["hashtag1","hashtag2"]},{"1329770592":["hashtag1","hashtag2"]},{"1329770580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329770587, 1329770583, 1329770592, 1329770580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.88447380065918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:55:22.567443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/54/image_18012025_14_54_02_564917_0003.jpg', '/home/pi/Desktop/images/18012025/14/55/image_18012025_14_55_02_744304_0000.jpg', '/home/pi/Desktop/images/18012025/14/55/image_18012025_14_55_02_744304_0001.jpg', '/home/pi/Desktop/images/18012025/14/55/image_18012025_14_55_02_744304_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/54/image_18012025_14_54_02_564917_0003.jpg
/home/pi/Desktop/images/18012025/14/55/image_18012025_14_55_02_744304_0000.jpg
/home/pi/Desktop/images/18012025/14/55/image_18012025_14_55_02_744304_0001.jpg
/home/pi/Desktop/images/18012025/14/55/image_18012025_14_55_02_744304_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329770612","1329770609","1329770605","1329770614"],"photo_ids_order":["1329770605","1329770609","1329770612","1329770614"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50d9fa6b0a1cba2de8088067332aebda.jpg","text":"TemporaryFile(/tmp/multipartBody4876702425461229058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208593682,"filename":"image_18012025_14_55_02_744304_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c151b69b1a30f1f691c80916b471edd3.jpg","text":"TemporaryFile(/tmp/multipartBody1193257312949802802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208593682,"filename":"image_18012025_14_55_02_744304_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8ab66aa6e7b3cb0536e67a56e7f756b.jpg","text":"TemporaryFile(/tmp/multipartBody5041362256790586599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208593682,"filename":"image_18012025_14_54_02_564917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9949974f4a5ba2b0e1c1e97f4d334cad.jpg","text":"TemporaryFile(/tmp/multipartBody6603093745175014122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208593682,"filename":"image_18012025_14_55_02_744304_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329770612","file1":"1329770609","file0":"1329770605","file3":"1329770614"},"map_files_photo_id_array":[{"photo_id":"1329770612","filename":"file2"},{"photo_id":"1329770609","filename":"file1"},{"photo_id":"1329770605","filename":"file0"},{"photo_id":"1329770614","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329770612":["hashtag1","hashtag2"]},{"1329770609":["hashtag1","hashtag2"]},{"1329770605":["hashtag1","hashtag2"]},{"1329770614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329770612, 1329770609, 1329770605, 1329770614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.02343201637268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:56:21.822648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/55/image_18012025_14_55_02_744304_0003.jpg', '/home/pi/Desktop/images/18012025/14/56/image_18012025_14_56_02_905299_0000.jpg', '/home/pi/Desktop/images/18012025/14/56/image_18012025_14_56_02_905299_0001.jpg', '/home/pi/Desktop/images/18012025/14/56/image_18012025_14_56_02_905299_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/55/image_18012025_14_55_02_744304_0003.jpg
/home/pi/Desktop/images/18012025/14/56/image_18012025_14_56_02_905299_0000.jpg
/home/pi/Desktop/images/18012025/14/56/image_18012025_14_56_02_905299_0001.jpg
/home/pi/Desktop/images/18012025/14/56/image_18012025_14_56_02_905299_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329770700","1329770681","1329770651","1329770653"],"photo_ids_order":["1329770651","1329770653","1329770681","1329770700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5bac37459b64b5fd4cdf35929e86ea1e.jpg","text":"TemporaryFile(/tmp/multipartBody6638881347808247633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208652961,"filename":"image_18012025_14_56_02_905299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aac082a279e5e299759e28dbf26f2764.jpg","text":"TemporaryFile(/tmp/multipartBody6244197669835347453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208652961,"filename":"image_18012025_14_56_02_905299_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e47316a4e0aa931ce60a9364139c5b95.jpg","text":"TemporaryFile(/tmp/multipartBody3808581585365474493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208652961,"filename":"image_18012025_14_55_02_744304_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5627a98af56411e6e5c29e1869c6bb27.jpg","text":"TemporaryFile(/tmp/multipartBody8170704165476794856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208652961,"filename":"image_18012025_14_56_02_905299_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329770681","file1":"1329770653","file0":"1329770651","file3":"1329770700"},"map_files_photo_id_array":[{"photo_id":"1329770681","filename":"file2"},{"photo_id":"1329770653","filename":"file1"},{"photo_id":"1329770651","filename":"file0"},{"photo_id":"1329770700","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329770700":["hashtag1","hashtag2"]},{"1329770681":["hashtag1","hashtag2"]},{"1329770651":["hashtag1","hashtag2"]},{"1329770653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329770700, 1329770681, 1329770651, 1329770653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.2522132396698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 14:57:22.019120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/56/image_18012025_14_56_02_905299_0003.jpg', '/home/pi/Desktop/images/18012025/14/57/image_18012025_14_57_02_130393_0000.jpg', '/home/pi/Desktop/images/18012025/14/57/image_18012025_14_57_02_130393_0001.jpg', '/home/pi/Desktop/images/18012025/14/57/image_18012025_14_57_02_130393_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/56/image_18012025_14_56_02_905299_0003.jpg
/home/pi/Desktop/images/18012025/14/57/image_18012025_14_57_02_130393_0000.jpg
/home/pi/Desktop/images/18012025/14/57/image_18012025_14_57_02_130393_0001.jpg
/home/pi/Desktop/images/18012025/14/57/image_18012025_14_57_02_130393_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329770741","1329770750","1329770744","1329770747"],"photo_ids_order":["1329770741","1329770744","1329770747","1329770750"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd01cb006efdb0527eeef7bc0c9f74d3.jpg","text":"TemporaryFile(/tmp/multipartBody5332713079272454968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208712763,"filename":"image_18012025_14_56_02_905299_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b00af9649a0c5a525b527fe92a64d078.jpg","text":"TemporaryFile(/tmp/multipartBody4411846093835933783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208712763,"filename":"image_18012025_14_57_02_130393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/11124d991c6f78ad860e2f6e40626bf7.jpg","text":"TemporaryFile(/tmp/multipartBody4210191776627929892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208712763,"filename":"image_18012025_14_57_02_130393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/05c1125e135ee3974f410bd7630af8d6.jpg","text":"TemporaryFile(/tmp/multipartBody3248479931091423402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208712763,"filename":"image_18012025_14_57_02_130393_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329770747","file1":"1329770744","file0":"1329770741","file3":"1329770750"},"map_files_photo_id_array":[{"photo_id":"1329770747","filename":"file2"},{"photo_id":"1329770744","filename":"file1"},{"photo_id":"1329770741","filename":"file0"},{"photo_id":"1329770750","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329770741":["hashtag1","hashtag2"]},{"1329770750":["hashtag1","hashtag2"]},{"1329770744":["hashtag1","hashtag2"]},{"1329770747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329770741, 1329770750, 1329770744, 1329770747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13190197944641 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 14:59:02.885256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/57/image_18012025_14_57_02_130393_0003.jpg', '/home/pi/Desktop/images/18012025/14/58/image_18012025_14_58_02_333479_0000.jpg', '/home/pi/Desktop/images/18012025/14/58/image_18012025_14_58_02_333479_0001.jpg', '/home/pi/Desktop/images/18012025/14/58/image_18012025_14_58_02_333479_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/57/image_18012025_14_57_02_130393_0003.jpg
/home/pi/Desktop/images/18012025/14/58/image_18012025_14_58_02_333479_0000.jpg
/home/pi/Desktop/images/18012025/14/58/image_18012025_14_58_02_333479_0001.jpg
/home/pi/Desktop/images/18012025/14/58/image_18012025_14_58_02_333479_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329770951","1329770783","1329770956","1329770946"],"photo_ids_order":["1329770783","1329770946","1329770951","1329770956"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e8eeeced6bf889cd2d4d7e03b88b77f.jpg","text":"TemporaryFile(/tmp/multipartBody6242634692760959053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208813923,"filename":"image_18012025_14_58_02_333479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/77bf761b1afa1f508ce09ea978c19cb7.jpg","text":"TemporaryFile(/tmp/multipartBody1906496181339136131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208813923,"filename":"image_18012025_14_57_02_130393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6507a67f4662b8856ed3cf9d05bf3322.jpg","text":"TemporaryFile(/tmp/multipartBody5057239140510628931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208813923,"filename":"image_18012025_14_58_02_333479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/462ef99a4d98dab04dad1f4e93f27049.jpg","text":"TemporaryFile(/tmp/multipartBody999485658610712979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208813923,"filename":"image_18012025_14_58_02_333479_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329770951","file1":"1329770946","file0":"1329770783","file3":"1329770956"},"map_files_photo_id_array":[{"photo_id":"1329770951","filename":"file2"},{"photo_id":"1329770946","filename":"file1"},{"photo_id":"1329770783","filename":"file0"},{"photo_id":"1329770956","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329770951":["hashtag1","hashtag2"]},{"1329770783":["hashtag1","hashtag2"]},{"1329770956":["hashtag1","hashtag2"]},{"1329770946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329770951, 1329770783, 1329770956, 1329770946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.82347893714905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 14:59:52.354291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/58/image_18012025_14_58_02_333479_0003.jpg', '/home/pi/Desktop/images/18012025/14/59/image_18012025_14_59_02_474579_0000.jpg', '/home/pi/Desktop/images/18012025/14/59/image_18012025_14_59_02_474579_0001.jpg', '/home/pi/Desktop/images/18012025/14/59/image_18012025_14_59_02_474579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/58/image_18012025_14_58_02_333479_0003.jpg
/home/pi/Desktop/images/18012025/14/59/image_18012025_14_59_02_474579_0000.jpg
/home/pi/Desktop/images/18012025/14/59/image_18012025_14_59_02_474579_0001.jpg
/home/pi/Desktop/images/18012025/14/59/image_18012025_14_59_02_474579_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329770993","1329770977","1329770986","1329770982"],"photo_ids_order":["1329770977","1329770982","1329770986","1329770993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/532f44e705d53e942385846ded57d2db.jpg","text":"TemporaryFile(/tmp/multipartBody3035155323738188237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208863615,"filename":"image_18012025_14_59_02_474579_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/967588c59d0c67ab507e24f9a6102561.jpg","text":"TemporaryFile(/tmp/multipartBody3332807895015013036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208863615,"filename":"image_18012025_14_58_02_333479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/69532ef07f3428ee92cd34e2f646f819.jpg","text":"TemporaryFile(/tmp/multipartBody5135512818425746960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208863615,"filename":"image_18012025_14_59_02_474579_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f9312e4a9f33781123bfa83b3fb00b0.jpg","text":"TemporaryFile(/tmp/multipartBody9176325686484590322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208863615,"filename":"image_18012025_14_59_02_474579_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329770986","file1":"1329770982","file0":"1329770977","file3":"1329770993"},"map_files_photo_id_array":[{"photo_id":"1329770986","filename":"file2"},{"photo_id":"1329770982","filename":"file1"},{"photo_id":"1329770977","filename":"file0"},{"photo_id":"1329770993","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329770993":["hashtag1","hashtag2"]},{"1329770977":["hashtag1","hashtag2"]},{"1329770986":["hashtag1","hashtag2"]},{"1329770982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329770993, 1329770977, 1329770986, 1329770982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.7230429649353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 15:00:42.609607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/14/59/image_18012025_14_59_02_474579_0003.jpg', '/home/pi/Desktop/images/18012025/15/00/image_18012025_15_00_02_791427_0000.jpg', '/home/pi/Desktop/images/18012025/15/00/image_18012025_15_00_02_791427_0001.jpg', '/home/pi/Desktop/images/18012025/15/00/image_18012025_15_00_02_791427_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/14/59/image_18012025_14_59_02_474579_0003.jpg
/home/pi/Desktop/images/18012025/15/00/image_18012025_15_00_02_791427_0000.jpg
/home/pi/Desktop/images/18012025/15/00/image_18012025_15_00_02_791427_0001.jpg
/home/pi/Desktop/images/18012025/15/00/image_18012025_15_00_02_791427_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329771124","1329771133","1329771115","1329771135"],"photo_ids_order":["1329771115","1329771124","1329771133","1329771135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b149c5d3cd846930c7d4f1c075c7d707.jpg","text":"TemporaryFile(/tmp/multipartBody1206520889386120275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208913787,"filename":"image_18012025_15_00_02_791427_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d987625e6f6ced364e07e74030a1671.jpg","text":"TemporaryFile(/tmp/multipartBody7160200557112415511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208913787,"filename":"image_18012025_15_00_02_791427_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/99fb5632b81dc5855c8d14a7621ffbb9.jpg","text":"TemporaryFile(/tmp/multipartBody7288974605692179135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208913787,"filename":"image_18012025_14_59_02_474579_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2043a4b50139c4c3989b0ed192d6200e.jpg","text":"TemporaryFile(/tmp/multipartBody6204994109747297908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208913787,"filename":"image_18012025_15_00_02_791427_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329771133","file1":"1329771124","file0":"1329771115","file3":"1329771135"},"map_files_photo_id_array":[{"photo_id":"1329771133","filename":"file2"},{"photo_id":"1329771124","filename":"file1"},{"photo_id":"1329771115","filename":"file0"},{"photo_id":"1329771135","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329771124":["hashtag1","hashtag2"]},{"1329771133":["hashtag1","hashtag2"]},{"1329771115":["hashtag1","hashtag2"]},{"1329771135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329771124, 1329771133, 1329771115, 1329771135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8216757774353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 15:01:32.726817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/00/image_18012025_15_00_02_791427_0003.jpg', '/home/pi/Desktop/images/18012025/15/01/image_18012025_15_01_02_903837_0000.jpg', '/home/pi/Desktop/images/18012025/15/01/image_18012025_15_01_02_903837_0001.jpg', '/home/pi/Desktop/images/18012025/15/01/image_18012025_15_01_02_903837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/00/image_18012025_15_00_02_791427_0003.jpg
/home/pi/Desktop/images/18012025/15/01/image_18012025_15_01_02_903837_0000.jpg
/home/pi/Desktop/images/18012025/15/01/image_18012025_15_01_02_903837_0001.jpg
/home/pi/Desktop/images/18012025/15/01/image_18012025_15_01_02_903837_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329771248","1329771214","1329771261","1329771210"],"photo_ids_order":["1329771210","1329771214","1329771248","1329771261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bcb77b423a82b6682b35fdddab6a6024.jpg","text":"TemporaryFile(/tmp/multipartBody6903709191735912574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208963646,"filename":"image_18012025_15_01_02_903837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e3ca60eb59dfa3db134dfd734959755.jpg","text":"TemporaryFile(/tmp/multipartBody6746620209878120884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208963646,"filename":"image_18012025_15_01_02_903837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1465d15cedb8a62c1d6020dc46c69976.jpg","text":"TemporaryFile(/tmp/multipartBody4811977635512027354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208963646,"filename":"image_18012025_15_01_02_903837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/38c3fe4a9b06e0b6cfbaa23299f9904c.jpg","text":"TemporaryFile(/tmp/multipartBody4856256636893884388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737208963646,"filename":"image_18012025_15_00_02_791427_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329771248","file1":"1329771214","file0":"1329771210","file3":"1329771261"},"map_files_photo_id_array":[{"photo_id":"1329771248","filename":"file2"},{"photo_id":"1329771214","filename":"file1"},{"photo_id":"1329771210","filename":"file0"},{"photo_id":"1329771261","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329771248":["hashtag1","hashtag2"]},{"1329771214":["hashtag1","hashtag2"]},{"1329771261":["hashtag1","hashtag2"]},{"1329771210":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329771248, 1329771214, 1329771261, 1329771210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62552189826965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:02:22.014903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/01/image_18012025_15_01_02_903837_0003.jpg', '/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0000.jpg', '/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0001.jpg', '/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/01/image_18012025_15_01_02_903837_0003.jpg
/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0000.jpg
/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0001.jpg
/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.904185056686401 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 15:02:41.928892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/01/image_18012025_15_01_02_903837_0003.jpg', '/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0000.jpg', '/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0001.jpg', '/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/01/image_18012025_15_01_02_903837_0003.jpg
/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0000.jpg
/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0001.jpg
/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329771407","1329771400","1329771402","1329771405"],"photo_ids_order":["1329771400","1329771402","1329771405","1329771407"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee720e2bee983fd3a9add586a0022e14.jpg","text":"TemporaryFile(/tmp/multipartBody8476194530266451261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209033217,"filename":"image_18012025_15_02_03_068187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f6dbb2c91ef85170efef964bc1e3ce72.jpg","text":"TemporaryFile(/tmp/multipartBody655582711053900039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209033217,"filename":"image_18012025_15_01_02_903837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3dcabc06ba601e5f83e83984e6994de2.jpg","text":"TemporaryFile(/tmp/multipartBody2124337912091807440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209033217,"filename":"image_18012025_15_02_03_068187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/88b201e6b79e19feb5619f5b0544a737.jpg","text":"TemporaryFile(/tmp/multipartBody198462954516615273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209033217,"filename":"image_18012025_15_02_03_068187_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329771405","file1":"1329771402","file0":"1329771400","file3":"1329771407"},"map_files_photo_id_array":[{"photo_id":"1329771405","filename":"file2"},{"photo_id":"1329771402","filename":"file1"},{"photo_id":"1329771400","filename":"file0"},{"photo_id":"1329771407","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329771407":["hashtag1","hashtag2"]},{"1329771400":["hashtag1","hashtag2"]},{"1329771402":["hashtag1","hashtag2"]},{"1329771405":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329771407, 1329771400, 1329771402, 1329771405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96063566207886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:03:22.120242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0003.jpg', '/home/pi/Desktop/images/18012025/15/03/image_18012025_15_03_02_334429_0000.jpg', '/home/pi/Desktop/images/18012025/15/03/image_18012025_15_03_02_334429_0001.jpg', '/home/pi/Desktop/images/18012025/15/03/image_18012025_15_03_02_334429_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/02/image_18012025_15_02_03_068187_0003.jpg
/home/pi/Desktop/images/18012025/15/03/image_18012025_15_03_02_334429_0000.jpg
/home/pi/Desktop/images/18012025/15/03/image_18012025_15_03_02_334429_0001.jpg
/home/pi/Desktop/images/18012025/15/03/image_18012025_15_03_02_334429_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329771415","1329771445","1329771426","1329771411"],"photo_ids_order":["1329771411","1329771415","1329771426","1329771445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/acf33844a324bb8a580d73db3bcce405.jpg","text":"TemporaryFile(/tmp/multipartBody6173089543386117356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209073184,"filename":"image_18012025_15_03_02_334429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0bdaebdeee74ca413254c9bb10d7e2e.jpg","text":"TemporaryFile(/tmp/multipartBody87262599189238233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209073184,"filename":"image_18012025_15_03_02_334429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5857e6e9b3190ba3ebdea90dfac81851.jpg","text":"TemporaryFile(/tmp/multipartBody683550787157888416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209073184,"filename":"image_18012025_15_03_02_334429_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6adea14b3dc47af69507d531f09ee98.jpg","text":"TemporaryFile(/tmp/multipartBody4813078270394616074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209073184,"filename":"image_18012025_15_02_03_068187_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329771426","file1":"1329771415","file0":"1329771411","file3":"1329771445"},"map_files_photo_id_array":[{"photo_id":"1329771426","filename":"file2"},{"photo_id":"1329771415","filename":"file1"},{"photo_id":"1329771411","filename":"file0"},{"photo_id":"1329771445","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329771415":["hashtag1","hashtag2"]},{"1329771445":["hashtag1","hashtag2"]},{"1329771426":["hashtag1","hashtag2"]},{"1329771411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329771415, 1329771445, 1329771426, 1329771411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93252635002136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 15:04:02.548316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0000.jpg', '/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0001.jpg', '/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0002.jpg', '/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0003.jpg', '/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0000.jpg', '/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0000.jpg
/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0001.jpg
/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0002.jpg
/home/pi/Desktop/images/16012025/22/36/image_16012025_22_36_02_890897_0003.jpg
/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0000.jpg
/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_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":["1329771502","1329771511","1329771489","1329771498","1329771486","1329771507"],"photo_ids_order":["1329771486","1329771489","1329771498","1329771502","1329771507","1329771511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/665308f512a42bdc719b49101b0eba5d.jpg","text":"TemporaryFile(/tmp/multipartBody3294173608838825143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209120229,"filename":"image_16012025_22_36_02_890897_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff5643a7748147a8ed9c984d8834cdbc.jpg","text":"TemporaryFile(/tmp/multipartBody1406181640220274422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209120229,"filename":"image_16012025_22_37_03_103411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b546731e0c0766eb92f4516b90a6c8ee.jpg","text":"TemporaryFile(/tmp/multipartBody4991540319701031767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209120229,"filename":"image_16012025_22_36_02_890897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be195ab47621cda74a8d8afc293ce940.jpg","text":"TemporaryFile(/tmp/multipartBody35745425056223702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209120229,"filename":"image_16012025_22_36_02_890897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74b0b0eb781511acfa93b04a770772a5.jpg","text":"TemporaryFile(/tmp/multipartBody2864526956064024097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209120229,"filename":"image_16012025_22_36_02_890897_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9692272ef7da78a1782b7410f6509f06.jpg","text":"TemporaryFile(/tmp/multipartBody1508947385074473487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209120229,"filename":"image_16012025_22_37_03_103411_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329771498","file1":"1329771489","file0":"1329771486","file4":"1329771507","file5":"1329771511","file3":"1329771502"},"map_files_photo_id_array":[{"photo_id":"1329771511","filename":"file5"},{"photo_id":"1329771498","filename":"file2"},{"photo_id":"1329771507","filename":"file4"},{"photo_id":"1329771489","filename":"file1"},{"photo_id":"1329771486","filename":"file0"},{"photo_id":"1329771502","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329771502":["hashtag1","hashtag2"]},{"1329771511":["hashtag1","hashtag2"]},{"1329771489":["hashtag1","hashtag2"]},{"1329771498":["hashtag1","hashtag2"]},{"1329771486":["hashtag1","hashtag2"]},{"1329771507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329771502, 1329771511, 1329771489, 1329771498, 1329771486, 1329771507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.25388836860657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 15:05:03.116770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/03/image_18012025_15_03_02_334429_0003.jpg', '/home/pi/Desktop/images/18012025/15/04/image_18012025_15_04_02_428167_0000.jpg', '/home/pi/Desktop/images/18012025/15/04/image_18012025_15_04_02_428167_0001.jpg', '/home/pi/Desktop/images/18012025/15/04/image_18012025_15_04_02_428167_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/03/image_18012025_15_03_02_334429_0003.jpg
/home/pi/Desktop/images/18012025/15/04/image_18012025_15_04_02_428167_0000.jpg
/home/pi/Desktop/images/18012025/15/04/image_18012025_15_04_02_428167_0001.jpg
/home/pi/Desktop/images/18012025/15/04/image_18012025_15_04_02_428167_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329771643","1329771532","1329771853","1329772047"],"photo_ids_order":["1329771532","1329771643","1329771853","1329772047"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/741eeec99bcc2cc87c06029d75788756.jpg","text":"TemporaryFile(/tmp/multipartBody3791700181673833445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209174361,"filename":"image_18012025_15_04_02_428167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec8ebcec20bd0bf29ac452e260aa6681.jpg","text":"TemporaryFile(/tmp/multipartBody2040320523940036307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209174361,"filename":"image_18012025_15_03_02_334429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/69305a97ddb6ed57cd8477e5609911f1.jpg","text":"TemporaryFile(/tmp/multipartBody2948353368254103387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209174361,"filename":"image_18012025_15_04_02_428167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4b9cdb1c7c0919ce29c67662511d540e.jpg","text":"TemporaryFile(/tmp/multipartBody4966708771859894155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209174361,"filename":"image_18012025_15_04_02_428167_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329771853","file1":"1329771643","file0":"1329771532","file3":"1329772047"},"map_files_photo_id_array":[{"photo_id":"1329771853","filename":"file2"},{"photo_id":"1329771643","filename":"file1"},{"photo_id":"1329771532","filename":"file0"},{"photo_id":"1329772047","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329771643":["hashtag1","hashtag2"]},{"1329771532":["hashtag1","hashtag2"]},{"1329771853":["hashtag1","hashtag2"]},{"1329772047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329771643, 1329771532, 1329771853, 1329772047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.334696531295776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 15:05:52.347604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/04/image_18012025_15_04_02_428167_0003.jpg', '/home/pi/Desktop/images/18012025/15/05/image_18012025_15_05_02_561613_0000.jpg', '/home/pi/Desktop/images/18012025/15/05/image_18012025_15_05_02_561613_0001.jpg', '/home/pi/Desktop/images/18012025/15/05/image_18012025_15_05_02_561613_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/04/image_18012025_15_04_02_428167_0003.jpg
/home/pi/Desktop/images/18012025/15/05/image_18012025_15_05_02_561613_0000.jpg
/home/pi/Desktop/images/18012025/15/05/image_18012025_15_05_02_561613_0001.jpg
/home/pi/Desktop/images/18012025/15/05/image_18012025_15_05_02_561613_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329772234","1329772237","1329772236","1329772238"],"photo_ids_order":["1329772234","1329772236","1329772237","1329772238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec0a65f26b4b01bfa09ad49f784bd37f.jpg","text":"TemporaryFile(/tmp/multipartBody5961870698210590858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209223707,"filename":"image_18012025_15_04_02_428167_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f34a3d47e7ec9cfca5af79e7f2717b0.jpg","text":"TemporaryFile(/tmp/multipartBody7827320017312684002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209223707,"filename":"image_18012025_15_05_02_561613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca9ec733afd5c279aa1094879d70e7a3.jpg","text":"TemporaryFile(/tmp/multipartBody1550822897708557887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209223707,"filename":"image_18012025_15_05_02_561613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a37d77f3f0c403c3a621c9ec1309676.jpg","text":"TemporaryFile(/tmp/multipartBody6185546876501054499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209223707,"filename":"image_18012025_15_05_02_561613_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329772237","file1":"1329772236","file0":"1329772234","file3":"1329772238"},"map_files_photo_id_array":[{"photo_id":"1329772237","filename":"file2"},{"photo_id":"1329772236","filename":"file1"},{"photo_id":"1329772234","filename":"file0"},{"photo_id":"1329772238","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329772234":["hashtag1","hashtag2"]},{"1329772237":["hashtag1","hashtag2"]},{"1329772236":["hashtag1","hashtag2"]},{"1329772238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329772234, 1329772237, 1329772236, 1329772238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25903630256653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 15:06:42.666616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/05/image_18012025_15_05_02_561613_0003.jpg', '/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0000.jpg', '/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0001.jpg', '/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/05/image_18012025_15_05_02_561613_0003.jpg
/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0000.jpg
/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0001.jpg
/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.875563144683838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 15:07:03.371968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/05/image_18012025_15_05_02_561613_0003.jpg', '/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0000.jpg', '/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0001.jpg', '/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/05/image_18012025_15_05_02_561613_0003.jpg
/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0000.jpg
/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0001.jpg
/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329772588","1329772582","1329772593","1329772563"],"photo_ids_order":["1329772563","1329772582","1329772588","1329772593"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89c3b9ccda4a88a8a2eac8241f245ee4.jpg","text":"TemporaryFile(/tmp/multipartBody3290250621474118250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209294725,"filename":"image_18012025_15_06_02_726576_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1c2a998db7dd833bad70acfa4817f355.jpg","text":"TemporaryFile(/tmp/multipartBody7958002925890068733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209294725,"filename":"image_18012025_15_06_02_726576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93d9660f7358d7568e0a01fe01b70662.jpg","text":"TemporaryFile(/tmp/multipartBody8460268438337700981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209294725,"filename":"image_18012025_15_06_02_726576_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e8aff0c3fe9ee090341f8ac10b83283.jpg","text":"TemporaryFile(/tmp/multipartBody767458824336970676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209294725,"filename":"image_18012025_15_05_02_561613_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329772588","file1":"1329772582","file0":"1329772563","file3":"1329772593"},"map_files_photo_id_array":[{"photo_id":"1329772588","filename":"file2"},{"photo_id":"1329772582","filename":"file1"},{"photo_id":"1329772563","filename":"file0"},{"photo_id":"1329772593","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329772588":["hashtag1","hashtag2"]},{"1329772582":["hashtag1","hashtag2"]},{"1329772593":["hashtag1","hashtag2"]},{"1329772563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329772588, 1329772582, 1329772593, 1329772563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.863776445388794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 15:07:52.742175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0003.jpg', '/home/pi/Desktop/images/18012025/15/07/image_18012025_15_07_02_926654_0000.jpg', '/home/pi/Desktop/images/18012025/15/07/image_18012025_15_07_02_926654_0001.jpg', '/home/pi/Desktop/images/18012025/15/07/image_18012025_15_07_02_926654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/06/image_18012025_15_06_02_726576_0003.jpg
/home/pi/Desktop/images/18012025/15/07/image_18012025_15_07_02_926654_0000.jpg
/home/pi/Desktop/images/18012025/15/07/image_18012025_15_07_02_926654_0001.jpg
/home/pi/Desktop/images/18012025/15/07/image_18012025_15_07_02_926654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329772612","1329772609","1329772608","1329772607"],"photo_ids_order":["1329772607","1329772608","1329772609","1329772612"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d3cc5f070d407da694b39f5acdfa70fa.jpg","text":"TemporaryFile(/tmp/multipartBody7950382895299326655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209344259,"filename":"image_18012025_15_07_02_926654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c15fc3932d229d21b3d3a112bab540e.jpg","text":"TemporaryFile(/tmp/multipartBody7981174559283593488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209344259,"filename":"image_18012025_15_07_02_926654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/91761c948b5df14a72ba05dc6a70884a.jpg","text":"TemporaryFile(/tmp/multipartBody5203551026957829877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209344259,"filename":"image_18012025_15_07_02_926654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/115d2aac9f4c43c16bba2353c22ebf29.jpg","text":"TemporaryFile(/tmp/multipartBody7095059328745781074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209344259,"filename":"image_18012025_15_06_02_726576_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329772609","file1":"1329772608","file0":"1329772607","file3":"1329772612"},"map_files_photo_id_array":[{"photo_id":"1329772609","filename":"file2"},{"photo_id":"1329772608","filename":"file1"},{"photo_id":"1329772607","filename":"file0"},{"photo_id":"1329772612","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329772612":["hashtag1","hashtag2"]},{"1329772609":["hashtag1","hashtag2"]},{"1329772608":["hashtag1","hashtag2"]},{"1329772607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329772612, 1329772609, 1329772608, 1329772607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.957239866256714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 15:08:41.937902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/07/image_18012025_15_07_02_926654_0003.jpg', '/home/pi/Desktop/images/18012025/15/08/image_18012025_15_08_03_112101_0000.jpg', '/home/pi/Desktop/images/18012025/15/08/image_18012025_15_08_03_112101_0001.jpg', '/home/pi/Desktop/images/18012025/15/08/image_18012025_15_08_03_112101_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/07/image_18012025_15_07_02_926654_0003.jpg
/home/pi/Desktop/images/18012025/15/08/image_18012025_15_08_03_112101_0000.jpg
/home/pi/Desktop/images/18012025/15/08/image_18012025_15_08_03_112101_0001.jpg
/home/pi/Desktop/images/18012025/15/08/image_18012025_15_08_03_112101_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329772715","1329772717","1329772626","1329772628"],"photo_ids_order":["1329772626","1329772628","1329772715","1329772717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b991a6dc9f2f092631b6ebe360c76f57.jpg","text":"TemporaryFile(/tmp/multipartBody1215571603138101431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209393145,"filename":"image_18012025_15_08_03_112101_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a8cd49bee1391f1cb6a62b2f2ddb06f.jpg","text":"TemporaryFile(/tmp/multipartBody4488202983090540370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209393145,"filename":"image_18012025_15_08_03_112101_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3353d5b0b5551f8f5cd15fc8f20e0aba.jpg","text":"TemporaryFile(/tmp/multipartBody2327452557163815803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209393145,"filename":"image_18012025_15_07_02_926654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9358de205d3f807c7e9636bc975401f1.jpg","text":"TemporaryFile(/tmp/multipartBody3602151165635324022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209393145,"filename":"image_18012025_15_08_03_112101_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329772715","file1":"1329772628","file0":"1329772626","file3":"1329772717"},"map_files_photo_id_array":[{"photo_id":"1329772715","filename":"file2"},{"photo_id":"1329772628","filename":"file1"},{"photo_id":"1329772626","filename":"file0"},{"photo_id":"1329772717","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329772715":["hashtag1","hashtag2"]},{"1329772717":["hashtag1","hashtag2"]},{"1329772626":["hashtag1","hashtag2"]},{"1329772628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329772715, 1329772717, 1329772626, 1329772628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81076741218567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 15:09:32.111746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/08/image_18012025_15_08_03_112101_0003.jpg', '/home/pi/Desktop/images/18012025/15/09/image_18012025_15_09_02_306564_0000.jpg', '/home/pi/Desktop/images/18012025/15/09/image_18012025_15_09_02_306564_0001.jpg', '/home/pi/Desktop/images/18012025/15/09/image_18012025_15_09_02_306564_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/08/image_18012025_15_08_03_112101_0003.jpg
/home/pi/Desktop/images/18012025/15/09/image_18012025_15_09_02_306564_0000.jpg
/home/pi/Desktop/images/18012025/15/09/image_18012025_15_09_02_306564_0001.jpg
/home/pi/Desktop/images/18012025/15/09/image_18012025_15_09_02_306564_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329772891","1329772885","1329772898","1329772868"],"photo_ids_order":["1329772868","1329772885","1329772891","1329772898"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/244a4d35cb312bb2a1fd2f09a3941fd1.jpg","text":"TemporaryFile(/tmp/multipartBody6316224881556787335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209442925,"filename":"image_18012025_15_09_02_306564_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e2cfa15a523568c355254128d970232a.jpg","text":"TemporaryFile(/tmp/multipartBody8392018464627536365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209442925,"filename":"image_18012025_15_09_02_306564_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/757a0eb2d8d7f83e1b5286eeac8614d7.jpg","text":"TemporaryFile(/tmp/multipartBody8153259156692322350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209442925,"filename":"image_18012025_15_09_02_306564_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04ef2e597bef916d3d4f974dc10b5cb0.jpg","text":"TemporaryFile(/tmp/multipartBody3319922057593427499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209442925,"filename":"image_18012025_15_08_03_112101_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329772891","file1":"1329772885","file0":"1329772868","file3":"1329772898"},"map_files_photo_id_array":[{"photo_id":"1329772891","filename":"file2"},{"photo_id":"1329772885","filename":"file1"},{"photo_id":"1329772868","filename":"file0"},{"photo_id":"1329772898","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329772891":["hashtag1","hashtag2"]},{"1329772885":["hashtag1","hashtag2"]},{"1329772898":["hashtag1","hashtag2"]},{"1329772868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329772891, 1329772885, 1329772898, 1329772868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.019407510757446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:10:22.354251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/09/image_18012025_15_09_02_306564_0003.jpg', '/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0000.jpg', '/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0001.jpg', '/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/09/image_18012025_15_09_02_306564_0003.jpg
/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0000.jpg
/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0001.jpg
/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.006710052490234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 15:10:42.281467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/09/image_18012025_15_09_02_306564_0003.jpg', '/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0000.jpg', '/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0001.jpg', '/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/09/image_18012025_15_09_02_306564_0003.jpg
/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0000.jpg
/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0001.jpg
/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329773031","1329773025","1329773028","1329773033"],"photo_ids_order":["1329773025","1329773028","1329773031","1329773033"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b01ffd468dddfd2726dd7fb9d4eeadf7.jpg","text":"TemporaryFile(/tmp/multipartBody2695648487205334298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209513633,"filename":"image_18012025_15_10_02_511702_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/118b39705810636f88c07e04a1b98803.jpg","text":"TemporaryFile(/tmp/multipartBody6101433862442201395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209513633,"filename":"image_18012025_15_09_02_306564_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2abc4a7ab361132fd89aa0a5916bc5aa.jpg","text":"TemporaryFile(/tmp/multipartBody1263442465181276243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209513633,"filename":"image_18012025_15_10_02_511702_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a7539ccd312a2a66cdfa24b3eb42a29c.jpg","text":"TemporaryFile(/tmp/multipartBody1206332069209986113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209513633,"filename":"image_18012025_15_10_02_511702_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773031","file1":"1329773028","file0":"1329773025","file3":"1329773033"},"map_files_photo_id_array":[{"photo_id":"1329773031","filename":"file2"},{"photo_id":"1329773028","filename":"file1"},{"photo_id":"1329773025","filename":"file0"},{"photo_id":"1329773033","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329773031":["hashtag1","hashtag2"]},{"1329773025":["hashtag1","hashtag2"]},{"1329773028":["hashtag1","hashtag2"]},{"1329773033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329773031, 1329773025, 1329773028, 1329773033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.565473556518555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 15:11:32.479779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0003.jpg', '/home/pi/Desktop/images/18012025/15/11/image_18012025_15_11_02_630395_0000.jpg', '/home/pi/Desktop/images/18012025/15/11/image_18012025_15_11_02_630395_0001.jpg', '/home/pi/Desktop/images/18012025/15/11/image_18012025_15_11_02_630395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/10/image_18012025_15_10_02_511702_0003.jpg
/home/pi/Desktop/images/18012025/15/11/image_18012025_15_11_02_630395_0000.jpg
/home/pi/Desktop/images/18012025/15/11/image_18012025_15_11_02_630395_0001.jpg
/home/pi/Desktop/images/18012025/15/11/image_18012025_15_11_02_630395_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329773053","1329773058","1329773048","1329773062"],"photo_ids_order":["1329773048","1329773053","1329773058","1329773062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3a4e530bc8da3c72158b634a4a5bfe3f.jpg","text":"TemporaryFile(/tmp/multipartBody3896826345294280614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209564079,"filename":"image_18012025_15_11_02_630395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a09fb45124686658f69af2fca5bc5187.jpg","text":"TemporaryFile(/tmp/multipartBody7441623974628925538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209564079,"filename":"image_18012025_15_11_02_630395_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1055534e0a92aa86c423e9f237d05f3.jpg","text":"TemporaryFile(/tmp/multipartBody4538596866700750847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209564079,"filename":"image_18012025_15_10_02_511702_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e76a8f031b707079a5a16f0943f1dfa.jpg","text":"TemporaryFile(/tmp/multipartBody9070499524738548267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209564079,"filename":"image_18012025_15_11_02_630395_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773058","file1":"1329773053","file0":"1329773048","file3":"1329773062"},"map_files_photo_id_array":[{"photo_id":"1329773058","filename":"file2"},{"photo_id":"1329773053","filename":"file1"},{"photo_id":"1329773048","filename":"file0"},{"photo_id":"1329773062","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329773053":["hashtag1","hashtag2"]},{"1329773058":["hashtag1","hashtag2"]},{"1329773048":["hashtag1","hashtag2"]},{"1329773062":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329773053, 1329773058, 1329773048, 1329773062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.444886445999146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:12:22.636260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/11/image_18012025_15_11_02_630395_0003.jpg', '/home/pi/Desktop/images/18012025/15/12/image_18012025_15_12_02_857102_0000.jpg', '/home/pi/Desktop/images/18012025/15/12/image_18012025_15_12_02_857102_0001.jpg', '/home/pi/Desktop/images/18012025/15/12/image_18012025_15_12_02_857102_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/11/image_18012025_15_11_02_630395_0003.jpg
/home/pi/Desktop/images/18012025/15/12/image_18012025_15_12_02_857102_0000.jpg
/home/pi/Desktop/images/18012025/15/12/image_18012025_15_12_02_857102_0001.jpg
/home/pi/Desktop/images/18012025/15/12/image_18012025_15_12_02_857102_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329773079","1329773072","1329773081","1329773075"],"photo_ids_order":["1329773072","1329773075","1329773079","1329773081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4f99ef2a805a8b9aba1d931b19f84a1.jpg","text":"TemporaryFile(/tmp/multipartBody163374276314393317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209613940,"filename":"image_18012025_15_12_02_857102_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cfb790842a9f329d3488c0686953f9b7.jpg","text":"TemporaryFile(/tmp/multipartBody8430582805859375251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209613940,"filename":"image_18012025_15_11_02_630395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/78cc67fb8c4e16216ca26fe1aa58a906.jpg","text":"TemporaryFile(/tmp/multipartBody7084603143590917718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209613940,"filename":"image_18012025_15_12_02_857102_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a8b592a2eec838b8eb0aa7c34c6860a3.jpg","text":"TemporaryFile(/tmp/multipartBody7599447702877745633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209613940,"filename":"image_18012025_15_12_02_857102_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773079","file1":"1329773075","file0":"1329773072","file3":"1329773081"},"map_files_photo_id_array":[{"photo_id":"1329773079","filename":"file2"},{"photo_id":"1329773075","filename":"file1"},{"photo_id":"1329773072","filename":"file0"},{"photo_id":"1329773081","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329773079":["hashtag1","hashtag2"]},{"1329773072":["hashtag1","hashtag2"]},{"1329773081":["hashtag1","hashtag2"]},{"1329773075":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329773079, 1329773072, 1329773081, 1329773075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.260817527770996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:13:22.024133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/12/image_18012025_15_12_02_857102_0003.jpg', '/home/pi/Desktop/images/18012025/15/13/image_18012025_15_13_03_014996_0000.jpg', '/home/pi/Desktop/images/18012025/15/13/image_18012025_15_13_03_014996_0001.jpg', '/home/pi/Desktop/images/18012025/15/13/image_18012025_15_13_03_014996_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/12/image_18012025_15_12_02_857102_0003.jpg
/home/pi/Desktop/images/18012025/15/13/image_18012025_15_13_03_014996_0000.jpg
/home/pi/Desktop/images/18012025/15/13/image_18012025_15_13_03_014996_0001.jpg
/home/pi/Desktop/images/18012025/15/13/image_18012025_15_13_03_014996_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329773104","1329773100","1329773095","1329773108"],"photo_ids_order":["1329773095","1329773100","1329773104","1329773108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a14f3a1122d57252bad0ecdca0dda6cf.jpg","text":"TemporaryFile(/tmp/multipartBody4523307138976412879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209673455,"filename":"image_18012025_15_13_03_014996_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4052b0ab4c6c2786a3b1cee40431ffc5.jpg","text":"TemporaryFile(/tmp/multipartBody2880250656956293878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209673455,"filename":"image_18012025_15_13_03_014996_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f3fb89dc99322793441ef0bdaedaccf2.jpg","text":"TemporaryFile(/tmp/multipartBody8988654208189361413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209673455,"filename":"image_18012025_15_12_02_857102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/016a4c0127e07a0c3d9026a12fe9ca2c.jpg","text":"TemporaryFile(/tmp/multipartBody8698508343842089631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209673455,"filename":"image_18012025_15_13_03_014996_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773104","file1":"1329773100","file0":"1329773095","file3":"1329773108"},"map_files_photo_id_array":[{"photo_id":"1329773104","filename":"file2"},{"photo_id":"1329773100","filename":"file1"},{"photo_id":"1329773095","filename":"file0"},{"photo_id":"1329773108","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329773104":["hashtag1","hashtag2"]},{"1329773100":["hashtag1","hashtag2"]},{"1329773095":["hashtag1","hashtag2"]},{"1329773108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329773104, 1329773100, 1329773095, 1329773108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10475134849548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 15:14:02.623064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0002.jpg', '/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0003.jpg', '/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0000.jpg', '/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0001.jpg', '/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0002.jpg', '/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0002.jpg
/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0003.jpg
/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0000.jpg
/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0001.jpg
/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0002.jpg
/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.42265248298645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:14:22.076184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/13/image_18012025_15_13_03_014996_0003.jpg', '/home/pi/Desktop/images/18012025/15/14/image_18012025_15_14_02_298419_0000.jpg', '/home/pi/Desktop/images/18012025/15/14/image_18012025_15_14_02_298419_0001.jpg', '/home/pi/Desktop/images/18012025/15/14/image_18012025_15_14_02_298419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/13/image_18012025_15_13_03_014996_0003.jpg
/home/pi/Desktop/images/18012025/15/14/image_18012025_15_14_02_298419_0000.jpg
/home/pi/Desktop/images/18012025/15/14/image_18012025_15_14_02_298419_0001.jpg
/home/pi/Desktop/images/18012025/15/14/image_18012025_15_14_02_298419_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329773122","1329773127","1329773138","1329773161"],"photo_ids_order":["1329773122","1329773127","1329773138","1329773161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e42e8ac49afb7a6436081ee8e2e8dc99.jpg","text":"TemporaryFile(/tmp/multipartBody7249742556159551788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209733206,"filename":"image_18012025_15_13_03_014996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ded20ce9fde85fdebda68f19bd0b8f2.jpg","text":"TemporaryFile(/tmp/multipartBody476706664901567291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209733206,"filename":"image_18012025_15_14_02_298419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/deac2d98ced688b408a4ce4c9695c881.jpg","text":"TemporaryFile(/tmp/multipartBody5070826107127980467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209733206,"filename":"image_18012025_15_14_02_298419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2515421030a39583b497f0d90d992581.jpg","text":"TemporaryFile(/tmp/multipartBody2994121211145787875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209733206,"filename":"image_18012025_15_14_02_298419_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773138","file1":"1329773127","file0":"1329773122","file3":"1329773161"},"map_files_photo_id_array":[{"photo_id":"1329773138","filename":"file2"},{"photo_id":"1329773127","filename":"file1"},{"photo_id":"1329773122","filename":"file0"},{"photo_id":"1329773161","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329773122":["hashtag1","hashtag2"]},{"1329773127":["hashtag1","hashtag2"]},{"1329773138":["hashtag1","hashtag2"]},{"1329773161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329773122, 1329773127, 1329773138, 1329773161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.415844678878784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 15:15:02.843860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0002.jpg', '/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0003.jpg', '/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0000.jpg', '/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0001.jpg', '/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0002.jpg', '/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0002.jpg
/home/pi/Desktop/images/16012025/22/37/image_16012025_22_37_03_103411_0003.jpg
/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0000.jpg
/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0001.jpg
/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_0002.jpg
/home/pi/Desktop/images/16012025/22/38/image_16012025_22_38_02_399795_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":["1329773191","1329773206","1329773209","1329773195","1329773198","1329773202"],"photo_ids_order":["1329773191","1329773195","1329773198","1329773202","1329773206","1329773209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/29aa206693d99beda47ab634c88a9cf6.jpg","text":"TemporaryFile(/tmp/multipartBody6115937786099501016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209780607,"filename":"image_16012025_22_37_03_103411_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b91d628a8adc4ae619f4cac575eec8d5.jpg","text":"TemporaryFile(/tmp/multipartBody2028272822680621999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209780607,"filename":"image_16012025_22_38_02_399795_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f7ba90e80a85d6a289d866ade68bc85.jpg","text":"TemporaryFile(/tmp/multipartBody1859516860830463326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209780607,"filename":"image_16012025_22_38_02_399795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4b489f7497733f18ca3c6d2ff2a103fb.jpg","text":"TemporaryFile(/tmp/multipartBody560893610467416943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209780607,"filename":"image_16012025_22_37_03_103411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9035a6c8afe71e541b6830ffc73f2c6f.jpg","text":"TemporaryFile(/tmp/multipartBody2818245903835094118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209780607,"filename":"image_16012025_22_38_02_399795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/94e63039d01a28d553c1c4e75acf2879.jpg","text":"TemporaryFile(/tmp/multipartBody9016662557981754137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209780607,"filename":"image_16012025_22_38_02_399795_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773198","file1":"1329773195","file0":"1329773191","file4":"1329773206","file5":"1329773209","file3":"1329773202"},"map_files_photo_id_array":[{"photo_id":"1329773209","filename":"file5"},{"photo_id":"1329773198","filename":"file2"},{"photo_id":"1329773206","filename":"file4"},{"photo_id":"1329773195","filename":"file1"},{"photo_id":"1329773191","filename":"file0"},{"photo_id":"1329773202","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329773191":["hashtag1","hashtag2"]},{"1329773206":["hashtag1","hashtag2"]},{"1329773209":["hashtag1","hashtag2"]},{"1329773195":["hashtag1","hashtag2"]},{"1329773198":["hashtag1","hashtag2"]},{"1329773202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329773191, 1329773206, 1329773209, 1329773195, 1329773198, 1329773202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.50928473472595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 15:16:02.888800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/14/image_18012025_15_14_02_298419_0003.jpg', '/home/pi/Desktop/images/18012025/15/15/image_18012025_15_15_02_416753_0000.jpg', '/home/pi/Desktop/images/18012025/15/15/image_18012025_15_15_02_416753_0001.jpg', '/home/pi/Desktop/images/18012025/15/15/image_18012025_15_15_02_416753_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/14/image_18012025_15_14_02_298419_0003.jpg
/home/pi/Desktop/images/18012025/15/15/image_18012025_15_15_02_416753_0000.jpg
/home/pi/Desktop/images/18012025/15/15/image_18012025_15_15_02_416753_0001.jpg
/home/pi/Desktop/images/18012025/15/15/image_18012025_15_15_02_416753_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329773215","1329773223","1329773217","1329773220"],"photo_ids_order":["1329773215","1329773217","1329773220","1329773223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/99bc55cc6e2c97aaf7f52bfb0f80d7bf.jpg","text":"TemporaryFile(/tmp/multipartBody7014400662933584305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209833999,"filename":"image_18012025_15_14_02_298419_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b74260a3ec168fa6dce90af9d1887d27.jpg","text":"TemporaryFile(/tmp/multipartBody3531375118739301288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209833999,"filename":"image_18012025_15_15_02_416753_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf6f8f7cdd1890d66b85eed4e1a9067b.jpg","text":"TemporaryFile(/tmp/multipartBody3147256488045079934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209833999,"filename":"image_18012025_15_15_02_416753_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65983241bd3398f24947c91f8cfa1170.jpg","text":"TemporaryFile(/tmp/multipartBody9216528800610679114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209833999,"filename":"image_18012025_15_15_02_416753_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773220","file1":"1329773217","file0":"1329773215","file3":"1329773223"},"map_files_photo_id_array":[{"photo_id":"1329773220","filename":"file2"},{"photo_id":"1329773217","filename":"file1"},{"photo_id":"1329773215","filename":"file0"},{"photo_id":"1329773223","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329773215":["hashtag1","hashtag2"]},{"1329773223":["hashtag1","hashtag2"]},{"1329773217":["hashtag1","hashtag2"]},{"1329773220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329773215, 1329773223, 1329773217, 1329773220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.912312507629395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 15:16:52.422544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/15/image_18012025_15_15_02_416753_0003.jpg', '/home/pi/Desktop/images/18012025/15/16/image_18012025_15_16_02_704811_0000.jpg', '/home/pi/Desktop/images/18012025/15/16/image_18012025_15_16_02_704811_0001.jpg', '/home/pi/Desktop/images/18012025/15/16/image_18012025_15_16_02_704811_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/15/image_18012025_15_15_02_416753_0003.jpg
/home/pi/Desktop/images/18012025/15/16/image_18012025_15_16_02_704811_0000.jpg
/home/pi/Desktop/images/18012025/15/16/image_18012025_15_16_02_704811_0001.jpg
/home/pi/Desktop/images/18012025/15/16/image_18012025_15_16_02_704811_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329773254","1329773256","1329773250","1329773252"],"photo_ids_order":["1329773250","1329773252","1329773254","1329773256"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7fc64b1901f4838e43d01b61adde25a5.jpg","text":"TemporaryFile(/tmp/multipartBody2633924122636834614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209883710,"filename":"image_18012025_15_16_02_704811_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af769888ed123bdff48fb4b2c8f610b7.jpg","text":"TemporaryFile(/tmp/multipartBody4832580381608592509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209883710,"filename":"image_18012025_15_16_02_704811_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/351043adc54046ac23f93dacb629a33b.jpg","text":"TemporaryFile(/tmp/multipartBody319586250121222282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209883710,"filename":"image_18012025_15_15_02_416753_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/578b56e28aaeb1bff4a5484db9ae7b13.jpg","text":"TemporaryFile(/tmp/multipartBody4362108042569939566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209883710,"filename":"image_18012025_15_16_02_704811_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773254","file1":"1329773252","file0":"1329773250","file3":"1329773256"},"map_files_photo_id_array":[{"photo_id":"1329773254","filename":"file2"},{"photo_id":"1329773252","filename":"file1"},{"photo_id":"1329773250","filename":"file0"},{"photo_id":"1329773256","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329773254":["hashtag1","hashtag2"]},{"1329773256":["hashtag1","hashtag2"]},{"1329773250":["hashtag1","hashtag2"]},{"1329773252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329773254, 1329773256, 1329773250, 1329773252)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.666499376297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 15:17:42.597328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/16/image_18012025_15_16_02_704811_0003.jpg', '/home/pi/Desktop/images/18012025/15/17/image_18012025_15_17_02_778908_0000.jpg', '/home/pi/Desktop/images/18012025/15/17/image_18012025_15_17_02_778908_0001.jpg', '/home/pi/Desktop/images/18012025/15/17/image_18012025_15_17_02_778908_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/16/image_18012025_15_16_02_704811_0003.jpg
/home/pi/Desktop/images/18012025/15/17/image_18012025_15_17_02_778908_0000.jpg
/home/pi/Desktop/images/18012025/15/17/image_18012025_15_17_02_778908_0001.jpg
/home/pi/Desktop/images/18012025/15/17/image_18012025_15_17_02_778908_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329773278","1329773280","1329773274","1329773276"],"photo_ids_order":["1329773274","1329773276","1329773278","1329773280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1eacdac44c7fabf6a2a5724d0022cde8.jpg","text":"TemporaryFile(/tmp/multipartBody2712599259064942280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209933545,"filename":"image_18012025_15_17_02_778908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2b39f0d1f28027f21e216d11ea00d07.jpg","text":"TemporaryFile(/tmp/multipartBody2693729408973913606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209933545,"filename":"image_18012025_15_17_02_778908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e103bea25d87d5ff072af0acc35d634b.jpg","text":"TemporaryFile(/tmp/multipartBody2907924999005352264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209933545,"filename":"image_18012025_15_16_02_704811_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/017c5e7a1dc366bef7d7e34645dfc1fa.jpg","text":"TemporaryFile(/tmp/multipartBody254409256569647268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209933545,"filename":"image_18012025_15_17_02_778908_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773278","file1":"1329773276","file0":"1329773274","file3":"1329773280"},"map_files_photo_id_array":[{"photo_id":"1329773278","filename":"file2"},{"photo_id":"1329773276","filename":"file1"},{"photo_id":"1329773274","filename":"file0"},{"photo_id":"1329773280","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329773278":["hashtag1","hashtag2"]},{"1329773280":["hashtag1","hashtag2"]},{"1329773274":["hashtag1","hashtag2"]},{"1329773276":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329773278, 1329773280, 1329773274, 1329773276)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.74058532714844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 15:18:31.750789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/17/image_18012025_15_17_02_778908_0003.jpg', '/home/pi/Desktop/images/18012025/15/18/image_18012025_15_18_02_957789_0000.jpg', '/home/pi/Desktop/images/18012025/15/18/image_18012025_15_18_02_957789_0001.jpg', '/home/pi/Desktop/images/18012025/15/18/image_18012025_15_18_02_957789_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/17/image_18012025_15_17_02_778908_0003.jpg
/home/pi/Desktop/images/18012025/15/18/image_18012025_15_18_02_957789_0000.jpg
/home/pi/Desktop/images/18012025/15/18/image_18012025_15_18_02_957789_0001.jpg
/home/pi/Desktop/images/18012025/15/18/image_18012025_15_18_02_957789_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329773330","1329773327","1329773324","1329773318"],"photo_ids_order":["1329773318","1329773324","1329773327","1329773330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/651f6ac59f02f79b22523b455a03bd3c.jpg","text":"TemporaryFile(/tmp/multipartBody6614110347477674331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209983136,"filename":"image_18012025_15_18_02_957789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b3970e0f879f5328ce6308064a481afd.jpg","text":"TemporaryFile(/tmp/multipartBody3814947524615683997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209983136,"filename":"image_18012025_15_18_02_957789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd3f8ee5771b805380802825339da2fe.jpg","text":"TemporaryFile(/tmp/multipartBody5782967078460476990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209983136,"filename":"image_18012025_15_18_02_957789_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8696c6d635c0f90f8c08405a26ce3c16.jpg","text":"TemporaryFile(/tmp/multipartBody7638739305686652588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737209983136,"filename":"image_18012025_15_17_02_778908_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773327","file1":"1329773324","file0":"1329773318","file3":"1329773330"},"map_files_photo_id_array":[{"photo_id":"1329773327","filename":"file2"},{"photo_id":"1329773324","filename":"file1"},{"photo_id":"1329773318","filename":"file0"},{"photo_id":"1329773330","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329773330":["hashtag1","hashtag2"]},{"1329773327":["hashtag1","hashtag2"]},{"1329773324":["hashtag1","hashtag2"]},{"1329773318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329773330, 1329773327, 1329773324, 1329773318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.97403287887573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:19:21.997290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/18/image_18012025_15_18_02_957789_0003.jpg', '/home/pi/Desktop/images/18012025/15/19/image_18012025_15_19_02_152774_0000.jpg', '/home/pi/Desktop/images/18012025/15/19/image_18012025_15_19_02_152774_0001.jpg', '/home/pi/Desktop/images/18012025/15/19/image_18012025_15_19_02_152774_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/18/image_18012025_15_18_02_957789_0003.jpg
/home/pi/Desktop/images/18012025/15/19/image_18012025_15_19_02_152774_0000.jpg
/home/pi/Desktop/images/18012025/15/19/image_18012025_15_19_02_152774_0001.jpg
/home/pi/Desktop/images/18012025/15/19/image_18012025_15_19_02_152774_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329773365","1329773394","1329773378","1329773387"],"photo_ids_order":["1329773365","1329773378","1329773387","1329773394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e4e56c768e6b6af76b56eea6b546877.jpg","text":"TemporaryFile(/tmp/multipartBody295771235477969619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210033253,"filename":"image_18012025_15_18_02_957789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa175f7733c7d333fd09a45e55020bcd.jpg","text":"TemporaryFile(/tmp/multipartBody3975691872603693386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210033253,"filename":"image_18012025_15_19_02_152774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba92d8e75cdad5545520da9842a36ede.jpg","text":"TemporaryFile(/tmp/multipartBody4728683137234111752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210033253,"filename":"image_18012025_15_19_02_152774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6540011fff20ab67976547eedc914af9.jpg","text":"TemporaryFile(/tmp/multipartBody3608892984276671516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210033253,"filename":"image_18012025_15_19_02_152774_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773387","file1":"1329773378","file0":"1329773365","file3":"1329773394"},"map_files_photo_id_array":[{"photo_id":"1329773387","filename":"file2"},{"photo_id":"1329773378","filename":"file1"},{"photo_id":"1329773365","filename":"file0"},{"photo_id":"1329773394","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329773365":["hashtag1","hashtag2"]},{"1329773394":["hashtag1","hashtag2"]},{"1329773378":["hashtag1","hashtag2"]},{"1329773387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329773365, 1329773394, 1329773378, 1329773387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.86809468269348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:20:22.211913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/19/image_18012025_15_19_02_152774_0003.jpg', '/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0000.jpg', '/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0001.jpg', '/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/19/image_18012025_15_19_02_152774_0003.jpg
/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0000.jpg
/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0001.jpg
/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.860961437225342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 15:20:42.160033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/19/image_18012025_15_19_02_152774_0003.jpg', '/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0000.jpg', '/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0001.jpg', '/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/19/image_18012025_15_19_02_152774_0003.jpg
/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0000.jpg
/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0001.jpg
/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329773475","1329773477","1329773471","1329773473"],"photo_ids_order":["1329773471","1329773473","1329773475","1329773477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c15a2f4ea789a4569e2cf5957449c53a.jpg","text":"TemporaryFile(/tmp/multipartBody6998965800120794650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210113381,"filename":"image_18012025_15_20_02_301884_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/176244b8b6fe79b40c7ba3e8dae47042.jpg","text":"TemporaryFile(/tmp/multipartBody1257794127729111654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210113381,"filename":"image_18012025_15_20_02_301884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0d86d9a6d012019bed7c042c6cd0e852.jpg","text":"TemporaryFile(/tmp/multipartBody2804791217179504978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210113381,"filename":"image_18012025_15_19_02_152774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d644d369bbb62625331376bf4cb29ab.jpg","text":"TemporaryFile(/tmp/multipartBody4945843903199864844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210113381,"filename":"image_18012025_15_20_02_301884_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773475","file1":"1329773473","file0":"1329773471","file3":"1329773477"},"map_files_photo_id_array":[{"photo_id":"1329773475","filename":"file2"},{"photo_id":"1329773473","filename":"file1"},{"photo_id":"1329773471","filename":"file0"},{"photo_id":"1329773477","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329773475":["hashtag1","hashtag2"]},{"1329773477":["hashtag1","hashtag2"]},{"1329773471":["hashtag1","hashtag2"]},{"1329773473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329773475, 1329773477, 1329773471, 1329773473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53546690940857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:21:22.356357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0003.jpg', '/home/pi/Desktop/images/18012025/15/21/image_18012025_15_21_02_504318_0000.jpg', '/home/pi/Desktop/images/18012025/15/21/image_18012025_15_21_02_504318_0001.jpg', '/home/pi/Desktop/images/18012025/15/21/image_18012025_15_21_02_504318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/20/image_18012025_15_20_02_301884_0003.jpg
/home/pi/Desktop/images/18012025/15/21/image_18012025_15_21_02_504318_0000.jpg
/home/pi/Desktop/images/18012025/15/21/image_18012025_15_21_02_504318_0001.jpg
/home/pi/Desktop/images/18012025/15/21/image_18012025_15_21_02_504318_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329773493","1329773523","1329773599","1329773603"],"photo_ids_order":["1329773493","1329773523","1329773599","1329773603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8b7076053d98e266e96c6be79eb7711.jpg","text":"TemporaryFile(/tmp/multipartBody4401368574462141998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210153257,"filename":"image_18012025_15_20_02_301884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ee71430ac2c5694c2ccc71b1a536ee0.jpg","text":"TemporaryFile(/tmp/multipartBody8332193435285390947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210153257,"filename":"image_18012025_15_21_02_504318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c24d9ade9cc4cbff9ee52930acb144d7.jpg","text":"TemporaryFile(/tmp/multipartBody9161488585617946489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210153257,"filename":"image_18012025_15_21_02_504318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/705b7eb8948985b0a1525ac0227c8782.jpg","text":"TemporaryFile(/tmp/multipartBody741375869037591587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210153257,"filename":"image_18012025_15_21_02_504318_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773599","file1":"1329773523","file0":"1329773493","file3":"1329773603"},"map_files_photo_id_array":[{"photo_id":"1329773599","filename":"file2"},{"photo_id":"1329773523","filename":"file1"},{"photo_id":"1329773493","filename":"file0"},{"photo_id":"1329773603","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329773493":["hashtag1","hashtag2"]},{"1329773523":["hashtag1","hashtag2"]},{"1329773599":["hashtag1","hashtag2"]},{"1329773603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329773493, 1329773523, 1329773599, 1329773603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 57.103312492370605 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:22:22.573538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/21/image_18012025_15_21_02_504318_0003.jpg', '/home/pi/Desktop/images/18012025/15/22/image_18012025_15_22_02_734757_0000.jpg', '/home/pi/Desktop/images/18012025/15/22/image_18012025_15_22_02_734757_0001.jpg', '/home/pi/Desktop/images/18012025/15/22/image_18012025_15_22_02_734757_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/21/image_18012025_15_21_02_504318_0003.jpg
/home/pi/Desktop/images/18012025/15/22/image_18012025_15_22_02_734757_0000.jpg
/home/pi/Desktop/images/18012025/15/22/image_18012025_15_22_02_734757_0001.jpg
/home/pi/Desktop/images/18012025/15/22/image_18012025_15_22_02_734757_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329773668","1329773812","1329773614","1329774037"],"photo_ids_order":["1329773614","1329773668","1329773812","1329774037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d7097442bb90a731beddabee832a34b.jpg","text":"TemporaryFile(/tmp/multipartBody1293747543297374493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210213647,"filename":"image_18012025_15_22_02_734757_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/83bbb1ba0147d048d63034c358babe04.jpg","text":"TemporaryFile(/tmp/multipartBody3181442836613488896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210213647,"filename":"image_18012025_15_22_02_734757_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/12ee350c914eccc6e37aa8ddfaf574a2.jpg","text":"TemporaryFile(/tmp/multipartBody7474336155101617237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210213647,"filename":"image_18012025_15_21_02_504318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc0e540d8993b5b3e6c367f0c25f0aee.jpg","text":"TemporaryFile(/tmp/multipartBody5774363327687971856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210213647,"filename":"image_18012025_15_22_02_734757_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329773812","file1":"1329773668","file0":"1329773614","file3":"1329774037"},"map_files_photo_id_array":[{"photo_id":"1329773812","filename":"file2"},{"photo_id":"1329773668","filename":"file1"},{"photo_id":"1329773614","filename":"file0"},{"photo_id":"1329774037","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329773668":["hashtag1","hashtag2"]},{"1329773812":["hashtag1","hashtag2"]},{"1329773614":["hashtag1","hashtag2"]},{"1329774037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329773668, 1329773812, 1329773614, 1329774037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.56973147392273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:23:22.731893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/22/image_18012025_15_22_02_734757_0003.jpg', '/home/pi/Desktop/images/18012025/15/23/image_18012025_15_23_02_965914_0000.jpg', '/home/pi/Desktop/images/18012025/15/23/image_18012025_15_23_02_965914_0001.jpg', '/home/pi/Desktop/images/18012025/15/23/image_18012025_15_23_02_965914_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/22/image_18012025_15_22_02_734757_0003.jpg
/home/pi/Desktop/images/18012025/15/23/image_18012025_15_23_02_965914_0000.jpg
/home/pi/Desktop/images/18012025/15/23/image_18012025_15_23_02_965914_0001.jpg
/home/pi/Desktop/images/18012025/15/23/image_18012025_15_23_02_965914_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329774699","1329774690","1329774702","1329774694"],"photo_ids_order":["1329774690","1329774694","1329774699","1329774702"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bb1bf2189e857f2382d4b95907a10a12.jpg","text":"TemporaryFile(/tmp/multipartBody5339608081404885307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210273762,"filename":"image_18012025_15_23_02_965914_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3f5206702d41f118b36a4ea9d7fd05b.jpg","text":"TemporaryFile(/tmp/multipartBody2473368788029081227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210273762,"filename":"image_18012025_15_22_02_734757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/240a52b8989c32ebd62c9581223aacf3.jpg","text":"TemporaryFile(/tmp/multipartBody135363358686721217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210273762,"filename":"image_18012025_15_23_02_965914_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9647f22acccf507dbd68e3badf70d5ef.jpg","text":"TemporaryFile(/tmp/multipartBody5538582698533845269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210273762,"filename":"image_18012025_15_23_02_965914_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329774699","file1":"1329774694","file0":"1329774690","file3":"1329774702"},"map_files_photo_id_array":[{"photo_id":"1329774699","filename":"file2"},{"photo_id":"1329774694","filename":"file1"},{"photo_id":"1329774690","filename":"file0"},{"photo_id":"1329774702","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329774699":["hashtag1","hashtag2"]},{"1329774690":["hashtag1","hashtag2"]},{"1329774702":["hashtag1","hashtag2"]},{"1329774694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329774699, 1329774690, 1329774702, 1329774694)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.775084018707275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:24:21.915892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/23/image_18012025_15_23_02_965914_0003.jpg', '/home/pi/Desktop/images/18012025/15/24/image_18012025_15_24_03_068592_0000.jpg', '/home/pi/Desktop/images/18012025/15/24/image_18012025_15_24_03_068592_0001.jpg', '/home/pi/Desktop/images/18012025/15/24/image_18012025_15_24_03_068592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/23/image_18012025_15_23_02_965914_0003.jpg
/home/pi/Desktop/images/18012025/15/24/image_18012025_15_24_03_068592_0000.jpg
/home/pi/Desktop/images/18012025/15/24/image_18012025_15_24_03_068592_0001.jpg
/home/pi/Desktop/images/18012025/15/24/image_18012025_15_24_03_068592_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329775107","1329775055","1329775078","1329775072"],"photo_ids_order":["1329775055","1329775072","1329775078","1329775107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6af91bbee9f4d6d6d3e53b1c34dd6844.jpg","text":"TemporaryFile(/tmp/multipartBody4358929355347581925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210333300,"filename":"image_18012025_15_24_03_068592_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/98d36cd921096ec800a3c415137d5388.jpg","text":"TemporaryFile(/tmp/multipartBody2183866883213014172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210333300,"filename":"image_18012025_15_23_02_965914_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/75312971437bc79ba6d7726a800cb9b8.jpg","text":"TemporaryFile(/tmp/multipartBody5585122682799271365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210333300,"filename":"image_18012025_15_24_03_068592_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ebd91b557d13ad42175e5143a3f04c6.jpg","text":"TemporaryFile(/tmp/multipartBody3541176161625805109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210333300,"filename":"image_18012025_15_24_03_068592_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329775078","file1":"1329775072","file0":"1329775055","file3":"1329775107"},"map_files_photo_id_array":[{"photo_id":"1329775078","filename":"file2"},{"photo_id":"1329775072","filename":"file1"},{"photo_id":"1329775055","filename":"file0"},{"photo_id":"1329775107","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329775107":["hashtag1","hashtag2"]},{"1329775055":["hashtag1","hashtag2"]},{"1329775078":["hashtag1","hashtag2"]},{"1329775072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329775107, 1329775055, 1329775078, 1329775072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.303478479385376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:25:22.082015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/24/image_18012025_15_24_03_068592_0003.jpg', '/home/pi/Desktop/images/18012025/15/25/image_18012025_15_25_02_252475_0000.jpg', '/home/pi/Desktop/images/18012025/15/25/image_18012025_15_25_02_252475_0001.jpg', '/home/pi/Desktop/images/18012025/15/25/image_18012025_15_25_02_252475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/24/image_18012025_15_24_03_068592_0003.jpg
/home/pi/Desktop/images/18012025/15/25/image_18012025_15_25_02_252475_0000.jpg
/home/pi/Desktop/images/18012025/15/25/image_18012025_15_25_02_252475_0001.jpg
/home/pi/Desktop/images/18012025/15/25/image_18012025_15_25_02_252475_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329775215","1329775211","1329775204","1329775207"],"photo_ids_order":["1329775204","1329775207","1329775211","1329775215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/81a076a01357606cc1fc37d3fc1e543a.jpg","text":"TemporaryFile(/tmp/multipartBody5094805989006794231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210393317,"filename":"image_18012025_15_25_02_252475_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46fc2f11a30c10bd86e9ae991dc70112.jpg","text":"TemporaryFile(/tmp/multipartBody8691466312700084610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210393317,"filename":"image_18012025_15_25_02_252475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3d494ef268333d01a1f37945793d9e93.jpg","text":"TemporaryFile(/tmp/multipartBody7462344005598192859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210393317,"filename":"image_18012025_15_24_03_068592_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ce9ed50e9c21178a4b1e31ea944f84e.jpg","text":"TemporaryFile(/tmp/multipartBody6136925178270351494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210393317,"filename":"image_18012025_15_25_02_252475_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329775211","file1":"1329775207","file0":"1329775204","file3":"1329775215"},"map_files_photo_id_array":[{"photo_id":"1329775211","filename":"file2"},{"photo_id":"1329775207","filename":"file1"},{"photo_id":"1329775204","filename":"file0"},{"photo_id":"1329775215","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329775215":["hashtag1","hashtag2"]},{"1329775211":["hashtag1","hashtag2"]},{"1329775204":["hashtag1","hashtag2"]},{"1329775207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329775215, 1329775211, 1329775204, 1329775207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.59425210952759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:26:22.425370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/25/image_18012025_15_25_02_252475_0003.jpg', '/home/pi/Desktop/images/18012025/15/26/image_18012025_15_26_02_478896_0000.jpg', '/home/pi/Desktop/images/18012025/15/26/image_18012025_15_26_02_478896_0001.jpg', '/home/pi/Desktop/images/18012025/15/26/image_18012025_15_26_02_478896_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/25/image_18012025_15_25_02_252475_0003.jpg
/home/pi/Desktop/images/18012025/15/26/image_18012025_15_26_02_478896_0000.jpg
/home/pi/Desktop/images/18012025/15/26/image_18012025_15_26_02_478896_0001.jpg
/home/pi/Desktop/images/18012025/15/26/image_18012025_15_26_02_478896_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329775242","1329775233","1329775238","1329775228"],"photo_ids_order":["1329775228","1329775233","1329775238","1329775242"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e0bfd9449d7dcd66105457e8481acf7.jpg","text":"TemporaryFile(/tmp/multipartBody2049499391350426380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210453526,"filename":"image_18012025_15_26_02_478896_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/909155cb63d8205a66d19e3dad89c177.jpg","text":"TemporaryFile(/tmp/multipartBody4077829364970502246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210453526,"filename":"image_18012025_15_26_02_478896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a35a197f7b2393bbb06af68289d1c1f.jpg","text":"TemporaryFile(/tmp/multipartBody8523335017110996504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210453526,"filename":"image_18012025_15_26_02_478896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd8fed648ec12b4a39cf5d19936e357d.jpg","text":"TemporaryFile(/tmp/multipartBody5978798975271944913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210453526,"filename":"image_18012025_15_25_02_252475_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329775238","file1":"1329775233","file0":"1329775228","file3":"1329775242"},"map_files_photo_id_array":[{"photo_id":"1329775238","filename":"file2"},{"photo_id":"1329775233","filename":"file1"},{"photo_id":"1329775228","filename":"file0"},{"photo_id":"1329775242","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329775242":["hashtag1","hashtag2"]},{"1329775233":["hashtag1","hashtag2"]},{"1329775238":["hashtag1","hashtag2"]},{"1329775228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329775242, 1329775233, 1329775238, 1329775228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.17300081253052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:27:22.437991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/26/image_18012025_15_26_02_478896_0003.jpg', '/home/pi/Desktop/images/18012025/15/27/image_18012025_15_27_02_645823_0000.jpg', '/home/pi/Desktop/images/18012025/15/27/image_18012025_15_27_02_645823_0001.jpg', '/home/pi/Desktop/images/18012025/15/27/image_18012025_15_27_02_645823_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/26/image_18012025_15_26_02_478896_0003.jpg
/home/pi/Desktop/images/18012025/15/27/image_18012025_15_27_02_645823_0000.jpg
/home/pi/Desktop/images/18012025/15/27/image_18012025_15_27_02_645823_0001.jpg
/home/pi/Desktop/images/18012025/15/27/image_18012025_15_27_02_645823_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329775295","1329775299","1329775290","1329775303"],"photo_ids_order":["1329775290","1329775295","1329775299","1329775303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67ea67a53748dab4d9579a69947d3162.jpg","text":"TemporaryFile(/tmp/multipartBody4453016700818937150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210513737,"filename":"image_18012025_15_27_02_645823_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea41a7bad81b0c03fa83d9b525dbed09.jpg","text":"TemporaryFile(/tmp/multipartBody2736909683554008061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210513737,"filename":"image_18012025_15_27_02_645823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a1ecad502cca029335897d9695856f63.jpg","text":"TemporaryFile(/tmp/multipartBody5890409922207130829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210513737,"filename":"image_18012025_15_26_02_478896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b19169c790817ac821b6c39fd4f484ac.jpg","text":"TemporaryFile(/tmp/multipartBody3309220702567983450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210513737,"filename":"image_18012025_15_27_02_645823_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329775299","file1":"1329775295","file0":"1329775290","file3":"1329775303"},"map_files_photo_id_array":[{"photo_id":"1329775299","filename":"file2"},{"photo_id":"1329775295","filename":"file1"},{"photo_id":"1329775290","filename":"file0"},{"photo_id":"1329775303","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329775295":["hashtag1","hashtag2"]},{"1329775299":["hashtag1","hashtag2"]},{"1329775290":["hashtag1","hashtag2"]},{"1329775303":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329775295, 1329775299, 1329775290, 1329775303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36540126800537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 15:28:03.077469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0000.jpg', '/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0001.jpg', '/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0002.jpg', '/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0003.jpg', '/home/pi/Desktop/images/16012025/22/40/image_16012025_22_40_02_609801_0000.jpg', '/home/pi/Desktop/images/16012025/22/40/image_16012025_22_40_02_609801_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0000.jpg
/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0001.jpg
/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0002.jpg
/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0003.jpg
/home/pi/Desktop/images/16012025/22/40/image_16012025_22_40_02_609801_0000.jpg
/home/pi/Desktop/images/16012025/22/40/image_16012025_22_40_02_609801_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.402913331985474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:28:22.795286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/27/image_18012025_15_27_02_645823_0003.jpg', '/home/pi/Desktop/images/18012025/15/28/image_18012025_15_28_02_824336_0000.jpg', '/home/pi/Desktop/images/18012025/15/28/image_18012025_15_28_02_824336_0001.jpg', '/home/pi/Desktop/images/18012025/15/28/image_18012025_15_28_02_824336_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/27/image_18012025_15_27_02_645823_0003.jpg
/home/pi/Desktop/images/18012025/15/28/image_18012025_15_28_02_824336_0000.jpg
/home/pi/Desktop/images/18012025/15/28/image_18012025_15_28_02_824336_0001.jpg
/home/pi/Desktop/images/18012025/15/28/image_18012025_15_28_02_824336_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329775314","1329775322","1329775345","1329775318"],"photo_ids_order":["1329775314","1329775318","1329775322","1329775345"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6875291ab07f6b39f79cd5500c46d02.jpg","text":"TemporaryFile(/tmp/multipartBody1036259881488998259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210574145,"filename":"image_18012025_15_27_02_645823_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6aad4f99f953d79a70220ac1f7cb1b7.jpg","text":"TemporaryFile(/tmp/multipartBody9062890311361924098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210574145,"filename":"image_18012025_15_28_02_824336_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49b1d8f557893371baec58efbbba1bf1.jpg","text":"TemporaryFile(/tmp/multipartBody7796326437576438857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210574145,"filename":"image_18012025_15_28_02_824336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f19cebba1f6831857776f3b7835cfd0.jpg","text":"TemporaryFile(/tmp/multipartBody3647348093685886964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210574145,"filename":"image_18012025_15_28_02_824336_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329775322","file1":"1329775318","file0":"1329775314","file3":"1329775345"},"map_files_photo_id_array":[{"photo_id":"1329775322","filename":"file2"},{"photo_id":"1329775318","filename":"file1"},{"photo_id":"1329775314","filename":"file0"},{"photo_id":"1329775345","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329775314":["hashtag1","hashtag2"]},{"1329775322":["hashtag1","hashtag2"]},{"1329775345":["hashtag1","hashtag2"]},{"1329775318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329775314, 1329775322, 1329775345, 1329775318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.584739685058594 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-18 15:29:21.865167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/28/image_18012025_15_28_02_824336_0003.jpg', '/home/pi/Desktop/images/18012025/15/29/image_18012025_15_29_03_128244_0000.jpg', '/home/pi/Desktop/images/18012025/15/29/image_18012025_15_29_03_128244_0001.jpg', '/home/pi/Desktop/images/18012025/15/29/image_18012025_15_29_03_128244_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/28/image_18012025_15_28_02_824336_0003.jpg
/home/pi/Desktop/images/18012025/15/29/image_18012025_15_29_03_128244_0000.jpg
/home/pi/Desktop/images/18012025/15/29/image_18012025_15_29_03_128244_0001.jpg
/home/pi/Desktop/images/18012025/15/29/image_18012025_15_29_03_128244_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329775548","1329775555","1329775543","1329775552"],"photo_ids_order":["1329775543","1329775548","1329775552","1329775555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5fef821931a461ae14d356bf9d166a11.jpg","text":"TemporaryFile(/tmp/multipartBody6379548074531414850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210632967,"filename":"image_18012025_15_29_03_128244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bdc008a9e8e63356a58f74776667832e.jpg","text":"TemporaryFile(/tmp/multipartBody7995294419274543270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210632967,"filename":"image_18012025_15_29_03_128244_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/334832115bf608d6243130accfe42bdf.jpg","text":"TemporaryFile(/tmp/multipartBody7822607894320460879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210632967,"filename":"image_18012025_15_28_02_824336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/639c8424ee5442c2cf286a3716087ffa.jpg","text":"TemporaryFile(/tmp/multipartBody7737852272249298487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210632967,"filename":"image_18012025_15_29_03_128244_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329775552","file1":"1329775548","file0":"1329775543","file3":"1329775555"},"map_files_photo_id_array":[{"photo_id":"1329775552","filename":"file2"},{"photo_id":"1329775548","filename":"file1"},{"photo_id":"1329775543","filename":"file0"},{"photo_id":"1329775555","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329775548":["hashtag1","hashtag2"]},{"1329775555":["hashtag1","hashtag2"]},{"1329775543":["hashtag1","hashtag2"]},{"1329775552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329775548, 1329775555, 1329775543, 1329775552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.9960732460022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:30:22.085807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/29/image_18012025_15_29_03_128244_0003.jpg', '/home/pi/Desktop/images/18012025/15/30/image_18012025_15_30_02_319536_0000.jpg', '/home/pi/Desktop/images/18012025/15/30/image_18012025_15_30_02_319536_0001.jpg', '/home/pi/Desktop/images/18012025/15/30/image_18012025_15_30_02_319536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/29/image_18012025_15_29_03_128244_0003.jpg
/home/pi/Desktop/images/18012025/15/30/image_18012025_15_30_02_319536_0000.jpg
/home/pi/Desktop/images/18012025/15/30/image_18012025_15_30_02_319536_0001.jpg
/home/pi/Desktop/images/18012025/15/30/image_18012025_15_30_02_319536_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329775752","1329775731","1329775764","1329775758"],"photo_ids_order":["1329775731","1329775752","1329775758","1329775764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b1b147cc7b1c3521fdf7a2550781238.jpg","text":"TemporaryFile(/tmp/multipartBody5389406985123706696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210693368,"filename":"image_18012025_15_30_02_319536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7e5b8a6aa4ec4546566015bc2b4564d.jpg","text":"TemporaryFile(/tmp/multipartBody8540145071195414720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210693368,"filename":"image_18012025_15_29_03_128244_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6da71931ae021bd141d414ecdc19c0f.jpg","text":"TemporaryFile(/tmp/multipartBody1173851118299242993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210693368,"filename":"image_18012025_15_30_02_319536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd2a36384d3fce9c4864333cf4225f37.jpg","text":"TemporaryFile(/tmp/multipartBody8170777193595099185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210693368,"filename":"image_18012025_15_30_02_319536_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329775758","file1":"1329775752","file0":"1329775731","file3":"1329775764"},"map_files_photo_id_array":[{"photo_id":"1329775758","filename":"file2"},{"photo_id":"1329775752","filename":"file1"},{"photo_id":"1329775731","filename":"file0"},{"photo_id":"1329775764","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329775752":["hashtag1","hashtag2"]},{"1329775731":["hashtag1","hashtag2"]},{"1329775764":["hashtag1","hashtag2"]},{"1329775758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329775752, 1329775731, 1329775764, 1329775758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68466258049011 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-18 15:31:22.331992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/30/image_18012025_15_30_02_319536_0003.jpg', '/home/pi/Desktop/images/18012025/15/31/image_18012025_15_31_02_503199_0000.jpg', '/home/pi/Desktop/images/18012025/15/31/image_18012025_15_31_02_503199_0001.jpg', '/home/pi/Desktop/images/18012025/15/31/image_18012025_15_31_02_503199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/30/image_18012025_15_30_02_319536_0003.jpg
/home/pi/Desktop/images/18012025/15/31/image_18012025_15_31_02_503199_0000.jpg
/home/pi/Desktop/images/18012025/15/31/image_18012025_15_31_02_503199_0001.jpg
/home/pi/Desktop/images/18012025/15/31/image_18012025_15_31_02_503199_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329775787","1329775783","1329775792","1329775789"],"photo_ids_order":["1329775783","1329775787","1329775789","1329775792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ffc7160ec4a57c4a2a21e925b9623245.jpg","text":"TemporaryFile(/tmp/multipartBody8314733943617929324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210753395,"filename":"image_18012025_15_31_02_503199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/045cc6ab1bbe20f1b6fcd12b0644dba3.jpg","text":"TemporaryFile(/tmp/multipartBody8416083022999696626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210753395,"filename":"image_18012025_15_30_02_319536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d32cbb086a681ac8f91ed2b6aaaea1f3.jpg","text":"TemporaryFile(/tmp/multipartBody8873214363063246300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210753395,"filename":"image_18012025_15_31_02_503199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce3f40dff9a94a491742293aa8cd1e4c.jpg","text":"TemporaryFile(/tmp/multipartBody8643630224437818150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210753395,"filename":"image_18012025_15_31_02_503199_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329775789","file1":"1329775787","file0":"1329775783","file3":"1329775792"},"map_files_photo_id_array":[{"photo_id":"1329775789","filename":"file2"},{"photo_id":"1329775787","filename":"file1"},{"photo_id":"1329775783","filename":"file0"},{"photo_id":"1329775792","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329775787":["hashtag1","hashtag2"]},{"1329775783":["hashtag1","hashtag2"]},{"1329775792":["hashtag1","hashtag2"]},{"1329775789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329775787, 1329775783, 1329775792, 1329775789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.77593493461609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:32:22.400279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/31/image_18012025_15_31_02_503199_0003.jpg', '/home/pi/Desktop/images/18012025/15/32/image_18012025_15_32_02_642597_0000.jpg', '/home/pi/Desktop/images/18012025/15/32/image_18012025_15_32_02_642597_0001.jpg', '/home/pi/Desktop/images/18012025/15/32/image_18012025_15_32_02_642597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/31/image_18012025_15_31_02_503199_0003.jpg
/home/pi/Desktop/images/18012025/15/32/image_18012025_15_32_02_642597_0000.jpg
/home/pi/Desktop/images/18012025/15/32/image_18012025_15_32_02_642597_0001.jpg
/home/pi/Desktop/images/18012025/15/32/image_18012025_15_32_02_642597_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329775835","1329775832","1329775826","1329775829"],"photo_ids_order":["1329775826","1329775829","1329775832","1329775835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/25980351f5b33acb30e3f71acdb3f0c3.jpg","text":"TemporaryFile(/tmp/multipartBody7635814233890333576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210813752,"filename":"image_18012025_15_32_02_642597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/77d000d81296286b5b8957aeb93578f9.jpg","text":"TemporaryFile(/tmp/multipartBody6978480653631745801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210813752,"filename":"image_18012025_15_32_02_642597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2304edd099a71077499bba72bef1bd6a.jpg","text":"TemporaryFile(/tmp/multipartBody6923027890329275752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210813752,"filename":"image_18012025_15_31_02_503199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3775494f46869beaabc73aa2656320f3.jpg","text":"TemporaryFile(/tmp/multipartBody1434440276354304742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210813752,"filename":"image_18012025_15_32_02_642597_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329775832","file1":"1329775829","file0":"1329775826","file3":"1329775835"},"map_files_photo_id_array":[{"photo_id":"1329775832","filename":"file2"},{"photo_id":"1329775829","filename":"file1"},{"photo_id":"1329775826","filename":"file0"},{"photo_id":"1329775835","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329775835":["hashtag1","hashtag2"]},{"1329775832":["hashtag1","hashtag2"]},{"1329775826":["hashtag1","hashtag2"]},{"1329775829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329775835, 1329775832, 1329775826, 1329775829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04916310310364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 15:33:03.314775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0000.jpg', '/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0001.jpg', '/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0002.jpg', '/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0003.jpg', '/home/pi/Desktop/images/16012025/22/40/image_16012025_22_40_02_609801_0000.jpg', '/home/pi/Desktop/images/16012025/22/40/image_16012025_22_40_02_609801_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0000.jpg
/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0001.jpg
/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0002.jpg
/home/pi/Desktop/images/16012025/22/39/image_16012025_22_39_02_489483_0003.jpg
/home/pi/Desktop/images/16012025/22/40/image_16012025_22_40_02_609801_0000.jpg
/home/pi/Desktop/images/16012025/22/40/image_16012025_22_40_02_609801_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329775851","1329775854","1329775848","1329775862","1329775858","1329775843"],"photo_ids_order":["1329775843","1329775848","1329775851","1329775854","1329775858","1329775862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a5ddf0b9846e84f9b85b01333ef42192.jpg","text":"TemporaryFile(/tmp/multipartBody4019401031389820571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210860936,"filename":"image_16012025_22_39_02_489483_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bab397311db4dce52c0a9cb954402dd4.jpg","text":"TemporaryFile(/tmp/multipartBody5309007524475635508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210860936,"filename":"image_16012025_22_39_02_489483_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/44bfdb60e268f46edf9dd1fd58563960.jpg","text":"TemporaryFile(/tmp/multipartBody8717008992897648568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210860936,"filename":"image_16012025_22_39_02_489483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8da349c3c83ba5c18c7294ffdca191a8.jpg","text":"TemporaryFile(/tmp/multipartBody6611658924920334073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210860936,"filename":"image_16012025_22_40_02_609801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea6183eca2d3829a9be512964ff5eaf4.jpg","text":"TemporaryFile(/tmp/multipartBody8820139164314115910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210860936,"filename":"image_16012025_22_40_02_609801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a04f3b5d9d794535f64c59ef1d24ea8f.jpg","text":"TemporaryFile(/tmp/multipartBody2531518312487210955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210860936,"filename":"image_16012025_22_39_02_489483_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329775851","file1":"1329775848","file0":"1329775843","file4":"1329775858","file5":"1329775862","file3":"1329775854"},"map_files_photo_id_array":[{"photo_id":"1329775862","filename":"file5"},{"photo_id":"1329775851","filename":"file2"},{"photo_id":"1329775858","filename":"file4"},{"photo_id":"1329775848","filename":"file1"},{"photo_id":"1329775843","filename":"file0"},{"photo_id":"1329775854","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329775851":["hashtag1","hashtag2"]},{"1329775854":["hashtag1","hashtag2"]},{"1329775848":["hashtag1","hashtag2"]},{"1329775862":["hashtag1","hashtag2"]},{"1329775858":["hashtag1","hashtag2"]},{"1329775843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329775851, 1329775854, 1329775848, 1329775862, 1329775858, 1329775843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.352882862091064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:34:22.849029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/32/image_18012025_15_32_02_642597_0003.jpg', '/home/pi/Desktop/images/18012025/15/33/image_18012025_15_33_02_804685_0000.jpg', '/home/pi/Desktop/images/18012025/15/33/image_18012025_15_33_02_804685_0001.jpg', '/home/pi/Desktop/images/18012025/15/33/image_18012025_15_33_02_804685_0002.jpg', '/home/pi/Desktop/images/18012025/15/33/image_18012025_15_33_02_804685_0003.jpg', '/home/pi/Desktop/images/18012025/15/34/image_18012025_15_34_03_004529_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/32/image_18012025_15_32_02_642597_0003.jpg
/home/pi/Desktop/images/18012025/15/33/image_18012025_15_33_02_804685_0000.jpg
/home/pi/Desktop/images/18012025/15/33/image_18012025_15_33_02_804685_0001.jpg
/home/pi/Desktop/images/18012025/15/33/image_18012025_15_33_02_804685_0002.jpg
/home/pi/Desktop/images/18012025/15/33/image_18012025_15_33_02_804685_0003.jpg
/home/pi/Desktop/images/18012025/15/34/image_18012025_15_34_03_004529_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329775886","1329775895","1329775889","1329775883","1329775891","1329775893"],"photo_ids_order":["1329775883","1329775886","1329775889","1329775891","1329775893","1329775895"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/901bdd77e7ddd543df34d9fe2ce15ec5.jpg","text":"TemporaryFile(/tmp/multipartBody7384196730012934206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210938956,"filename":"image_18012025_15_33_02_804685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c75fa7e0e8e70ee15bd1ffbb66cea138.jpg","text":"TemporaryFile(/tmp/multipartBody8253291264497158649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210938956,"filename":"image_18012025_15_34_03_004529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7dabb4c30cf7c00e5896e352427b138b.jpg","text":"TemporaryFile(/tmp/multipartBody6041509830899058427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210938956,"filename":"image_18012025_15_33_02_804685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1cb0dd437c480856ddc1c94883235d4d.jpg","text":"TemporaryFile(/tmp/multipartBody5542906257240778260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210938956,"filename":"image_18012025_15_32_02_642597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e77ee3e5e530808ef39b8f893bfdbe1c.jpg","text":"TemporaryFile(/tmp/multipartBody520629746987177529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210938956,"filename":"image_18012025_15_33_02_804685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/52e43d90f0d8e3a144b66ba29a435dc4.jpg","text":"TemporaryFile(/tmp/multipartBody7360198220574153696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210938956,"filename":"image_18012025_15_33_02_804685_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329775889","file1":"1329775886","file0":"1329775883","file4":"1329775893","file5":"1329775895","file3":"1329775891"},"map_files_photo_id_array":[{"photo_id":"1329775895","filename":"file5"},{"photo_id":"1329775889","filename":"file2"},{"photo_id":"1329775893","filename":"file4"},{"photo_id":"1329775886","filename":"file1"},{"photo_id":"1329775883","filename":"file0"},{"photo_id":"1329775891","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329775886":["hashtag1","hashtag2"]},{"1329775895":["hashtag1","hashtag2"]},{"1329775889":["hashtag1","hashtag2"]},{"1329775883":["hashtag1","hashtag2"]},{"1329775891":["hashtag1","hashtag2"]},{"1329775893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329775886, 1329775895, 1329775889, 1329775883, 1329775891, 1329775893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.94914412498474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:35:21.934755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/34/image_18012025_15_34_03_004529_0001.jpg', '/home/pi/Desktop/images/18012025/15/34/image_18012025_15_34_03_004529_0002.jpg', '/home/pi/Desktop/images/18012025/15/34/image_18012025_15_34_03_004529_0003.jpg', '/home/pi/Desktop/images/18012025/15/35/image_18012025_15_35_03_106013_0000.jpg', '/home/pi/Desktop/images/18012025/15/35/image_18012025_15_35_03_106013_0001.jpg', '/home/pi/Desktop/images/18012025/15/35/image_18012025_15_35_03_106013_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/34/image_18012025_15_34_03_004529_0001.jpg
/home/pi/Desktop/images/18012025/15/34/image_18012025_15_34_03_004529_0002.jpg
/home/pi/Desktop/images/18012025/15/34/image_18012025_15_34_03_004529_0003.jpg
/home/pi/Desktop/images/18012025/15/35/image_18012025_15_35_03_106013_0000.jpg
/home/pi/Desktop/images/18012025/15/35/image_18012025_15_35_03_106013_0001.jpg
/home/pi/Desktop/images/18012025/15/35/image_18012025_15_35_03_106013_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329775944","1329775920","1329775917","1329775955","1329775957","1329775933"],"photo_ids_order":["1329775917","1329775920","1329775933","1329775944","1329775955","1329775957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/14d4133d024a48a5ec6108ede941ad0f.jpg","text":"TemporaryFile(/tmp/multipartBody2279355024784306208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210998270,"filename":"image_18012025_15_35_03_106013_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/68f404bd7760e8e613ac58fb05c108b0.jpg","text":"TemporaryFile(/tmp/multipartBody8326447191084135583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210998270,"filename":"image_18012025_15_34_03_004529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad8dbe6c9f736956f7c65949206110a4.jpg","text":"TemporaryFile(/tmp/multipartBody519956823874227306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210998270,"filename":"image_18012025_15_34_03_004529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e4850b1018fa31ff1dc00a9f83673cd9.jpg","text":"TemporaryFile(/tmp/multipartBody8305483158782106267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210998270,"filename":"image_18012025_15_35_03_106013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e3d20d3d346f948a977eb8991e5ca73.jpg","text":"TemporaryFile(/tmp/multipartBody2897162915042247427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210998270,"filename":"image_18012025_15_35_03_106013_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eb764e7645c9be9851be8d963a9bd763.jpg","text":"TemporaryFile(/tmp/multipartBody8502227399867333512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737210998270,"filename":"image_18012025_15_34_03_004529_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329775933","file1":"1329775920","file0":"1329775917","file4":"1329775955","file5":"1329775957","file3":"1329775944"},"map_files_photo_id_array":[{"photo_id":"1329775957","filename":"file5"},{"photo_id":"1329775933","filename":"file2"},{"photo_id":"1329775955","filename":"file4"},{"photo_id":"1329775920","filename":"file1"},{"photo_id":"1329775917","filename":"file0"},{"photo_id":"1329775944","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329775944":["hashtag1","hashtag2"]},{"1329775920":["hashtag1","hashtag2"]},{"1329775917":["hashtag1","hashtag2"]},{"1329775955":["hashtag1","hashtag2"]},{"1329775957":["hashtag1","hashtag2"]},{"1329775933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329775944, 1329775920, 1329775917, 1329775955, 1329775957, 1329775933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.04713320732117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:36:22.172019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/35/image_18012025_15_35_03_106013_0003.jpg', '/home/pi/Desktop/images/18012025/15/36/image_18012025_15_36_02_287191_0000.jpg', '/home/pi/Desktop/images/18012025/15/36/image_18012025_15_36_02_287191_0001.jpg', '/home/pi/Desktop/images/18012025/15/36/image_18012025_15_36_02_287191_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/35/image_18012025_15_35_03_106013_0003.jpg
/home/pi/Desktop/images/18012025/15/36/image_18012025_15_36_02_287191_0000.jpg
/home/pi/Desktop/images/18012025/15/36/image_18012025_15_36_02_287191_0001.jpg
/home/pi/Desktop/images/18012025/15/36/image_18012025_15_36_02_287191_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329775985","1329775992","1329775989","1329775980"],"photo_ids_order":["1329775980","1329775985","1329775989","1329775992"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6870ea31345f1a7ddb67c3964bde020.jpg","text":"TemporaryFile(/tmp/multipartBody4454198335731127915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211053877,"filename":"image_18012025_15_36_02_287191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2686452e802a54fe0fbe9058c2fb9afa.jpg","text":"TemporaryFile(/tmp/multipartBody5920595996624717224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211053877,"filename":"image_18012025_15_36_02_287191_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/88c4763f94f560a7e0482273549be586.jpg","text":"TemporaryFile(/tmp/multipartBody8321411259423738916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211053877,"filename":"image_18012025_15_36_02_287191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/732a5c4b3fea56869fb3fa8d12d44244.jpg","text":"TemporaryFile(/tmp/multipartBody389761456123708986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211053877,"filename":"image_18012025_15_35_03_106013_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329775989","file1":"1329775985","file0":"1329775980","file3":"1329775992"},"map_files_photo_id_array":[{"photo_id":"1329775989","filename":"file2"},{"photo_id":"1329775985","filename":"file1"},{"photo_id":"1329775980","filename":"file0"},{"photo_id":"1329775992","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329775985":["hashtag1","hashtag2"]},{"1329775992":["hashtag1","hashtag2"]},{"1329775989":["hashtag1","hashtag2"]},{"1329775980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329775985, 1329775992, 1329775989, 1329775980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.00667119026184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:37:22.428453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/36/image_18012025_15_36_02_287191_0003.jpg', '/home/pi/Desktop/images/18012025/15/37/image_18012025_15_37_02_539373_0000.jpg', '/home/pi/Desktop/images/18012025/15/37/image_18012025_15_37_02_539373_0001.jpg', '/home/pi/Desktop/images/18012025/15/37/image_18012025_15_37_02_539373_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/36/image_18012025_15_36_02_287191_0003.jpg
/home/pi/Desktop/images/18012025/15/37/image_18012025_15_37_02_539373_0000.jpg
/home/pi/Desktop/images/18012025/15/37/image_18012025_15_37_02_539373_0001.jpg
/home/pi/Desktop/images/18012025/15/37/image_18012025_15_37_02_539373_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329776102","1329776089","1329776107","1329776094"],"photo_ids_order":["1329776089","1329776094","1329776102","1329776107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/424ca2501071227c188684300393065a.jpg","text":"TemporaryFile(/tmp/multipartBody5882415035343124199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211113717,"filename":"image_18012025_15_37_02_539373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd9bde5556542746c7cae23a17c62cfe.jpg","text":"TemporaryFile(/tmp/multipartBody8770187314932900556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211113717,"filename":"image_18012025_15_36_02_287191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dae227c535a23ed3cf764beba0e5c6b6.jpg","text":"TemporaryFile(/tmp/multipartBody3985657853702006143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211113717,"filename":"image_18012025_15_37_02_539373_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/75bd35b76910107b06ca462225cb4f31.jpg","text":"TemporaryFile(/tmp/multipartBody5995635851930559837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211113717,"filename":"image_18012025_15_37_02_539373_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329776102","file1":"1329776094","file0":"1329776089","file3":"1329776107"},"map_files_photo_id_array":[{"photo_id":"1329776102","filename":"file2"},{"photo_id":"1329776094","filename":"file1"},{"photo_id":"1329776089","filename":"file0"},{"photo_id":"1329776107","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329776102":["hashtag1","hashtag2"]},{"1329776089":["hashtag1","hashtag2"]},{"1329776107":["hashtag1","hashtag2"]},{"1329776094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329776102, 1329776089, 1329776107, 1329776094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65835618972778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:38:22.518222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/37/image_18012025_15_37_02_539373_0003.jpg', '/home/pi/Desktop/images/18012025/15/38/image_18012025_15_38_02_802543_0000.jpg', '/home/pi/Desktop/images/18012025/15/38/image_18012025_15_38_02_802543_0001.jpg', '/home/pi/Desktop/images/18012025/15/38/image_18012025_15_38_02_802543_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/37/image_18012025_15_37_02_539373_0003.jpg
/home/pi/Desktop/images/18012025/15/38/image_18012025_15_38_02_802543_0000.jpg
/home/pi/Desktop/images/18012025/15/38/image_18012025_15_38_02_802543_0001.jpg
/home/pi/Desktop/images/18012025/15/38/image_18012025_15_38_02_802543_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329777482","1329777493","1329777489","1329777497"],"photo_ids_order":["1329777482","1329777489","1329777493","1329777497"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/98b9269cbc33b41976881c53395fc38e.jpg","text":"TemporaryFile(/tmp/multipartBody7143681611174637599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211173751,"filename":"image_18012025_15_37_02_539373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef5e63ac0730873be185b99cde778011.jpg","text":"TemporaryFile(/tmp/multipartBody2015885650339238241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211173751,"filename":"image_18012025_15_38_02_802543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d550587b29a99e35fe0ff5353bf9b08b.jpg","text":"TemporaryFile(/tmp/multipartBody8496066716288740807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211173751,"filename":"image_18012025_15_38_02_802543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6e56230d0d21226beed6eac591a21f3.jpg","text":"TemporaryFile(/tmp/multipartBody2538739503568045157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211173751,"filename":"image_18012025_15_38_02_802543_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329777493","file1":"1329777489","file0":"1329777482","file3":"1329777497"},"map_files_photo_id_array":[{"photo_id":"1329777493","filename":"file2"},{"photo_id":"1329777489","filename":"file1"},{"photo_id":"1329777482","filename":"file0"},{"photo_id":"1329777497","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329777482":["hashtag1","hashtag2"]},{"1329777493":["hashtag1","hashtag2"]},{"1329777489":["hashtag1","hashtag2"]},{"1329777497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329777482, 1329777493, 1329777489, 1329777497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.79180550575256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:39:22.729353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/38/image_18012025_15_38_02_802543_0003.jpg', '/home/pi/Desktop/images/18012025/15/39/image_18012025_15_39_02_883899_0000.jpg', '/home/pi/Desktop/images/18012025/15/39/image_18012025_15_39_02_883899_0001.jpg', '/home/pi/Desktop/images/18012025/15/39/image_18012025_15_39_02_883899_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/38/image_18012025_15_38_02_802543_0003.jpg
/home/pi/Desktop/images/18012025/15/39/image_18012025_15_39_02_883899_0000.jpg
/home/pi/Desktop/images/18012025/15/39/image_18012025_15_39_02_883899_0001.jpg
/home/pi/Desktop/images/18012025/15/39/image_18012025_15_39_02_883899_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329777854","1329777858","1329777861","1329777828"],"photo_ids_order":["1329777828","1329777854","1329777858","1329777861"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8216aeed00505f276065265dba43168.jpg","text":"TemporaryFile(/tmp/multipartBody278534835285130458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211234341,"filename":"image_18012025_15_39_02_883899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1cac1e8c8306071b2eff515137b11c87.jpg","text":"TemporaryFile(/tmp/multipartBody3230335184139660168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211234341,"filename":"image_18012025_15_39_02_883899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eedf7075d66fbd377de17f05ff5ef520.jpg","text":"TemporaryFile(/tmp/multipartBody7608530686690666469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211234341,"filename":"image_18012025_15_39_02_883899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee335b92c6d139913d70ef95ea0a8326.jpg","text":"TemporaryFile(/tmp/multipartBody5565585784901698946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211234341,"filename":"image_18012025_15_38_02_802543_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329777858","file1":"1329777854","file0":"1329777828","file3":"1329777861"},"map_files_photo_id_array":[{"photo_id":"1329777858","filename":"file2"},{"photo_id":"1329777854","filename":"file1"},{"photo_id":"1329777828","filename":"file0"},{"photo_id":"1329777861","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329777854":["hashtag1","hashtag2"]},{"1329777858":["hashtag1","hashtag2"]},{"1329777861":["hashtag1","hashtag2"]},{"1329777828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329777854, 1329777858, 1329777861, 1329777828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02148962020874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:40:21.832141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/39/image_18012025_15_39_02_883899_0003.jpg', '/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0000.jpg', '/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0001.jpg', '/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/39/image_18012025_15_39_02_883899_0003.jpg
/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0000.jpg
/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0001.jpg
/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.191348552703857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 15:40:41.839459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/39/image_18012025_15_39_02_883899_0003.jpg', '/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0000.jpg', '/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0001.jpg', '/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/39/image_18012025_15_39_02_883899_0003.jpg
/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0000.jpg
/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0001.jpg
/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329778108","1329778107","1329778101","1329778104"],"photo_ids_order":["1329778101","1329778104","1329778107","1329778108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54ccfe2af028b5178195d84f9e546610.jpg","text":"TemporaryFile(/tmp/multipartBody6625990816345385456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211313423,"filename":"image_18012025_15_40_03_052521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c50007992938ca4f8acef8ad7318ae5f.jpg","text":"TemporaryFile(/tmp/multipartBody6923771226985136451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211313423,"filename":"image_18012025_15_40_03_052521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf2f6934300a8ac78bf857c39dd484da.jpg","text":"TemporaryFile(/tmp/multipartBody1479344995722259488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211313423,"filename":"image_18012025_15_39_02_883899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/10d9a34b4b27e764fa1b80a49a69e2e2.jpg","text":"TemporaryFile(/tmp/multipartBody894263204149650592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211313423,"filename":"image_18012025_15_40_03_052521_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329778107","file1":"1329778104","file0":"1329778101","file3":"1329778108"},"map_files_photo_id_array":[{"photo_id":"1329778107","filename":"file2"},{"photo_id":"1329778104","filename":"file1"},{"photo_id":"1329778101","filename":"file0"},{"photo_id":"1329778108","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329778108":["hashtag1","hashtag2"]},{"1329778107":["hashtag1","hashtag2"]},{"1329778101":["hashtag1","hashtag2"]},{"1329778104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329778108, 1329778107, 1329778101, 1329778104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.48824715614319 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-18 15:41:32.050879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0003.jpg', '/home/pi/Desktop/images/18012025/15/41/image_18012025_15_41_02_134722_0000.jpg', '/home/pi/Desktop/images/18012025/15/41/image_18012025_15_41_02_134722_0001.jpg', '/home/pi/Desktop/images/18012025/15/41/image_18012025_15_41_02_134722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/40/image_18012025_15_40_03_052521_0003.jpg
/home/pi/Desktop/images/18012025/15/41/image_18012025_15_41_02_134722_0000.jpg
/home/pi/Desktop/images/18012025/15/41/image_18012025_15_41_02_134722_0001.jpg
/home/pi/Desktop/images/18012025/15/41/image_18012025_15_41_02_134722_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329778207","1329778216","1329778496","1329778349"],"photo_ids_order":["1329778207","1329778216","1329778349","1329778496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0cf2a0c46a887592fe407bc46e3480cc.jpg","text":"TemporaryFile(/tmp/multipartBody2064472929765961072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211363094,"filename":"image_18012025_15_40_03_052521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/018e89ce8a4494551d5930b36d1907aa.jpg","text":"TemporaryFile(/tmp/multipartBody6657787990352956256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211363094,"filename":"image_18012025_15_41_02_134722_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/470c9eeb5cc88bd4a94a7cfdbb8a6763.jpg","text":"TemporaryFile(/tmp/multipartBody6245925175409344722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211363094,"filename":"image_18012025_15_41_02_134722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6cf1affc604302f92fa346c16f91da3e.jpg","text":"TemporaryFile(/tmp/multipartBody4661467456008444612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211363094,"filename":"image_18012025_15_41_02_134722_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329778349","file1":"1329778216","file0":"1329778207","file3":"1329778496"},"map_files_photo_id_array":[{"photo_id":"1329778349","filename":"file2"},{"photo_id":"1329778216","filename":"file1"},{"photo_id":"1329778207","filename":"file0"},{"photo_id":"1329778496","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329778207":["hashtag1","hashtag2"]},{"1329778216":["hashtag1","hashtag2"]},{"1329778496":["hashtag1","hashtag2"]},{"1329778349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329778207, 1329778216, 1329778496, 1329778349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50243854522705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:42:22.222881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/41/image_18012025_15_41_02_134722_0003.jpg', '/home/pi/Desktop/images/18012025/15/42/image_18012025_15_42_02_416440_0000.jpg', '/home/pi/Desktop/images/18012025/15/42/image_18012025_15_42_02_416440_0001.jpg', '/home/pi/Desktop/images/18012025/15/42/image_18012025_15_42_02_416440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/41/image_18012025_15_41_02_134722_0003.jpg
/home/pi/Desktop/images/18012025/15/42/image_18012025_15_42_02_416440_0000.jpg
/home/pi/Desktop/images/18012025/15/42/image_18012025_15_42_02_416440_0001.jpg
/home/pi/Desktop/images/18012025/15/42/image_18012025_15_42_02_416440_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329778555","1329778560","1329778565","1329778610"],"photo_ids_order":["1329778555","1329778560","1329778565","1329778610"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/25f9b0e7f1591ef17908d5b59fff0885.jpg","text":"TemporaryFile(/tmp/multipartBody4628665332349197972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211413538,"filename":"image_18012025_15_41_02_134722_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97fb6d5702d7b2e22cb2dab2151810da.jpg","text":"TemporaryFile(/tmp/multipartBody996424572672594490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211413538,"filename":"image_18012025_15_42_02_416440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc194d9b03d636ad90a46f0b1ebbf290.jpg","text":"TemporaryFile(/tmp/multipartBody2274013997643889462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211413538,"filename":"image_18012025_15_42_02_416440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6dfc3250c2de848888d6fdda60dc1ac5.jpg","text":"TemporaryFile(/tmp/multipartBody9121733629434866713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211413538,"filename":"image_18012025_15_42_02_416440_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329778565","file1":"1329778560","file0":"1329778555","file3":"1329778610"},"map_files_photo_id_array":[{"photo_id":"1329778565","filename":"file2"},{"photo_id":"1329778560","filename":"file1"},{"photo_id":"1329778555","filename":"file0"},{"photo_id":"1329778610","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329778555":["hashtag1","hashtag2"]},{"1329778560":["hashtag1","hashtag2"]},{"1329778565":["hashtag1","hashtag2"]},{"1329778610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329778555, 1329778560, 1329778565, 1329778610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.99572277069092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 15:43:02.953506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/40/image_16012025_22_40_02_609801_0002.jpg', '/home/pi/Desktop/images/16012025/22/40/image_16012025_22_40_02_609801_0003.jpg', '/home/pi/Desktop/images/16012025/22/41/image_16012025_22_41_02_824255_0000.jpg', '/home/pi/Desktop/images/16012025/22/41/image_16012025_22_41_02_824255_0001.jpg', '/home/pi/Desktop/images/16012025/22/41/image_16012025_22_41_02_824255_0002.jpg', '/home/pi/Desktop/images/16012025/22/41/image_16012025_22_41_02_824255_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/40/image_16012025_22_40_02_609801_0002.jpg
/home/pi/Desktop/images/16012025/22/40/image_16012025_22_40_02_609801_0003.jpg
/home/pi/Desktop/images/16012025/22/41/image_16012025_22_41_02_824255_0000.jpg
/home/pi/Desktop/images/16012025/22/41/image_16012025_22_41_02_824255_0001.jpg
/home/pi/Desktop/images/16012025/22/41/image_16012025_22_41_02_824255_0002.jpg
/home/pi/Desktop/images/16012025/22/41/image_16012025_22_41_02_824255_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329778651","1329778633","1329778657","1329778636","1329778641","1329778646"],"photo_ids_order":["1329778633","1329778636","1329778641","1329778646","1329778651","1329778657"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f012a39984b9a3510f326ed540e8371.jpg","text":"TemporaryFile(/tmp/multipartBody8313623036554336198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211460577,"filename":"image_16012025_22_41_02_824255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2129a278b302ea0416f9e0e9444a2391.jpg","text":"TemporaryFile(/tmp/multipartBody2921716430918319691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211460577,"filename":"image_16012025_22_40_02_609801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c7c8b142c8ec175ac9f36a5a86475af1.jpg","text":"TemporaryFile(/tmp/multipartBody3429246716304371455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211460577,"filename":"image_16012025_22_41_02_824255_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c11f5749d5ddca18e48dd2de63036d7b.jpg","text":"TemporaryFile(/tmp/multipartBody2453764201716216529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211460577,"filename":"image_16012025_22_40_02_609801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/81c3c9e84c03a9c3d69558b3698fca9b.jpg","text":"TemporaryFile(/tmp/multipartBody1901805661832805657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211460577,"filename":"image_16012025_22_41_02_824255_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d5f9bb93f9d3058e67cb9a41bf226db7.jpg","text":"TemporaryFile(/tmp/multipartBody4351243322745255491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211460577,"filename":"image_16012025_22_41_02_824255_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329778641","file1":"1329778636","file0":"1329778633","file4":"1329778651","file5":"1329778657","file3":"1329778646"},"map_files_photo_id_array":[{"photo_id":"1329778657","filename":"file5"},{"photo_id":"1329778641","filename":"file2"},{"photo_id":"1329778651","filename":"file4"},{"photo_id":"1329778636","filename":"file1"},{"photo_id":"1329778633","filename":"file0"},{"photo_id":"1329778646","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329778651":["hashtag1","hashtag2"]},{"1329778633":["hashtag1","hashtag2"]},{"1329778657":["hashtag1","hashtag2"]},{"1329778636":["hashtag1","hashtag2"]},{"1329778641":["hashtag1","hashtag2"]},{"1329778646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329778651, 1329778633, 1329778657, 1329778636, 1329778641, 1329778646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.560858964920044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:44:22.594627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/42/image_18012025_15_42_02_416440_0003.jpg', '/home/pi/Desktop/images/18012025/15/43/image_18012025_15_43_02_590096_0000.jpg', '/home/pi/Desktop/images/18012025/15/43/image_18012025_15_43_02_590096_0001.jpg', '/home/pi/Desktop/images/18012025/15/43/image_18012025_15_43_02_590096_0002.jpg', '/home/pi/Desktop/images/18012025/15/43/image_18012025_15_43_02_590096_0003.jpg', '/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/42/image_18012025_15_42_02_416440_0003.jpg
/home/pi/Desktop/images/18012025/15/43/image_18012025_15_43_02_590096_0000.jpg
/home/pi/Desktop/images/18012025/15/43/image_18012025_15_43_02_590096_0001.jpg
/home/pi/Desktop/images/18012025/15/43/image_18012025_15_43_02_590096_0002.jpg
/home/pi/Desktop/images/18012025/15/43/image_18012025_15_43_02_590096_0003.jpg
/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329778765","1329778768","1329778767","1329778737","1329778754","1329778751"],"photo_ids_order":["1329778737","1329778751","1329778754","1329778765","1329778767","1329778768"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/208179c378d53bd7e6a3142588ff1529.jpg","text":"TemporaryFile(/tmp/multipartBody5806279545698176799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211539197,"filename":"image_18012025_15_43_02_590096_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b60888847a6a79897008e54ec10a4608.jpg","text":"TemporaryFile(/tmp/multipartBody5289763258706324394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211539197,"filename":"image_18012025_15_44_02_724365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/546c8345de26a26aa9ba16c10a4a8529.jpg","text":"TemporaryFile(/tmp/multipartBody7408816239488092258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211539197,"filename":"image_18012025_15_43_02_590096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a01628781129351ce7ffe2a12f4441a.jpg","text":"TemporaryFile(/tmp/multipartBody7752824021104766426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211539197,"filename":"image_18012025_15_42_02_416440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c0d81c9e8c0f294c11675c2d92ff4756.jpg","text":"TemporaryFile(/tmp/multipartBody6200829855225432043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211539197,"filename":"image_18012025_15_43_02_590096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60825c065c206520724f98a0bf71ab79.jpg","text":"TemporaryFile(/tmp/multipartBody7340027914370625938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211539197,"filename":"image_18012025_15_43_02_590096_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329778754","file1":"1329778751","file0":"1329778737","file4":"1329778767","file5":"1329778768","file3":"1329778765"},"map_files_photo_id_array":[{"photo_id":"1329778768","filename":"file5"},{"photo_id":"1329778754","filename":"file2"},{"photo_id":"1329778767","filename":"file4"},{"photo_id":"1329778751","filename":"file1"},{"photo_id":"1329778737","filename":"file0"},{"photo_id":"1329778765","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329778765":["hashtag1","hashtag2"]},{"1329778768":["hashtag1","hashtag2"]},{"1329778767":["hashtag1","hashtag2"]},{"1329778737":["hashtag1","hashtag2"]},{"1329778754":["hashtag1","hashtag2"]},{"1329778751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329778765, 1329778768, 1329778767, 1329778737, 1329778754, 1329778751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.4804949760437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 15:45:31.733797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0001.jpg', '/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0002.jpg', '/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0003.jpg', '/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0000.jpg', '/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0001.jpg', '/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0001.jpg
/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0002.jpg
/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0003.jpg
/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0000.jpg
/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0001.jpg
/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.541305780410767 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 15:45:51.736334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0001.jpg', '/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0002.jpg', '/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0003.jpg', '/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0000.jpg', '/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0001.jpg', '/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0001.jpg
/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0002.jpg
/home/pi/Desktop/images/18012025/15/44/image_18012025_15_44_02_724365_0003.jpg
/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0000.jpg
/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0001.jpg
/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329778864","1329778860","1329778857","1329778851","1329778854","1329778853"],"photo_ids_order":["1329778851","1329778853","1329778854","1329778857","1329778860","1329778864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a32bf13fe4ee641a194db01e65cf7e51.jpg","text":"TemporaryFile(/tmp/multipartBody1395264546691389897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211627669,"filename":"image_18012025_15_45_02_976064_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/959073f42f9cafc0d4b5068db2ad69b1.jpg","text":"TemporaryFile(/tmp/multipartBody6186522273637794863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211627669,"filename":"image_18012025_15_45_02_976064_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe88eae08fdcbcab79bc4f4c6b2607bc.jpg","text":"TemporaryFile(/tmp/multipartBody4024914104173802179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211627669,"filename":"image_18012025_15_45_02_976064_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce81f53f53beca6cae37f390bacc8b0f.jpg","text":"TemporaryFile(/tmp/multipartBody7210122311650069232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211627669,"filename":"image_18012025_15_44_02_724365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/58221d34ad107d28d7352408561da131.jpg","text":"TemporaryFile(/tmp/multipartBody3831751349905407003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211627669,"filename":"image_18012025_15_44_02_724365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/83e15bf9ba0567f737a7edf3e37c3d45.jpg","text":"TemporaryFile(/tmp/multipartBody2710134217588235469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211627669,"filename":"image_18012025_15_44_02_724365_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329778854","file1":"1329778853","file0":"1329778851","file4":"1329778860","file5":"1329778864","file3":"1329778857"},"map_files_photo_id_array":[{"photo_id":"1329778864","filename":"file5"},{"photo_id":"1329778854","filename":"file2"},{"photo_id":"1329778860","filename":"file4"},{"photo_id":"1329778853","filename":"file1"},{"photo_id":"1329778851","filename":"file0"},{"photo_id":"1329778857","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329778864":["hashtag1","hashtag2"]},{"1329778860":["hashtag1","hashtag2"]},{"1329778857":["hashtag1","hashtag2"]},{"1329778851":["hashtag1","hashtag2"]},{"1329778854":["hashtag1","hashtag2"]},{"1329778853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329778864, 1329778860, 1329778857, 1329778851, 1329778854, 1329778853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.81603765487671 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 15:46:51.894890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0003.jpg', '/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0000.jpg', '/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0001.jpg', '/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0003.jpg
/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0000.jpg
/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0001.jpg
/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.280146598815918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:47:22.186559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0003.jpg', '/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0000.jpg', '/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0001.jpg', '/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0002.jpg', '/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0003.jpg', '/home/pi/Desktop/images/18012025/15/47/image_18012025_15_47_02_331349_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/45/image_18012025_15_45_02_976064_0003.jpg
/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0000.jpg
/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0001.jpg
/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0002.jpg
/home/pi/Desktop/images/18012025/15/46/image_18012025_15_46_02_122817_0003.jpg
/home/pi/Desktop/images/18012025/15/47/image_18012025_15_47_02_331349_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329778891","1329778912","1329778898","1329778902","1329778919","1329778894"],"photo_ids_order":["1329778891","1329778894","1329778898","1329778902","1329778912","1329778919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/947cafe7e5312e963d4ffdc2488c586f.jpg","text":"TemporaryFile(/tmp/multipartBody577496572569490001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211717795,"filename":"image_18012025_15_45_02_976064_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/284df5a95649d28f0ab05accbae45344.jpg","text":"TemporaryFile(/tmp/multipartBody8028390638353982635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211717795,"filename":"image_18012025_15_46_02_122817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d2609b8809f3f8cb6849dc9900d1ed65.jpg","text":"TemporaryFile(/tmp/multipartBody7960953418122953041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211717795,"filename":"image_18012025_15_46_02_122817_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e2e24ccdd4760cc375599a14afe3a403.jpg","text":"TemporaryFile(/tmp/multipartBody4053225583420457414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211717795,"filename":"image_18012025_15_46_02_122817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/602565984630a541bb5d87b0f9e622c9.jpg","text":"TemporaryFile(/tmp/multipartBody6918735587732042029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211717795,"filename":"image_18012025_15_47_02_331349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0eb9bd6b388dbfc619869c1bd2e38014.jpg","text":"TemporaryFile(/tmp/multipartBody911856055205293089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211717795,"filename":"image_18012025_15_46_02_122817_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329778898","file1":"1329778894","file0":"1329778891","file4":"1329778912","file5":"1329778919","file3":"1329778902"},"map_files_photo_id_array":[{"photo_id":"1329778919","filename":"file5"},{"photo_id":"1329778898","filename":"file2"},{"photo_id":"1329778912","filename":"file4"},{"photo_id":"1329778894","filename":"file1"},{"photo_id":"1329778891","filename":"file0"},{"photo_id":"1329778902","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329778891":["hashtag1","hashtag2"]},{"1329778912":["hashtag1","hashtag2"]},{"1329778898":["hashtag1","hashtag2"]},{"1329778902":["hashtag1","hashtag2"]},{"1329778919":["hashtag1","hashtag2"]},{"1329778894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329778891, 1329778912, 1329778898, 1329778902, 1329778919, 1329778894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.37435722351074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:48:22.280805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/47/image_18012025_15_47_02_331349_0001.jpg', '/home/pi/Desktop/images/18012025/15/47/image_18012025_15_47_02_331349_0002.jpg', '/home/pi/Desktop/images/18012025/15/47/image_18012025_15_47_02_331349_0003.jpg', '/home/pi/Desktop/images/18012025/15/48/image_18012025_15_48_02_440492_0000.jpg', '/home/pi/Desktop/images/18012025/15/48/image_18012025_15_48_02_440492_0001.jpg', '/home/pi/Desktop/images/18012025/15/48/image_18012025_15_48_02_440492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/47/image_18012025_15_47_02_331349_0001.jpg
/home/pi/Desktop/images/18012025/15/47/image_18012025_15_47_02_331349_0002.jpg
/home/pi/Desktop/images/18012025/15/47/image_18012025_15_47_02_331349_0003.jpg
/home/pi/Desktop/images/18012025/15/48/image_18012025_15_48_02_440492_0000.jpg
/home/pi/Desktop/images/18012025/15/48/image_18012025_15_48_02_440492_0001.jpg
/home/pi/Desktop/images/18012025/15/48/image_18012025_15_48_02_440492_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329779224","1329779226","1329779252","1329779213","1329779222","1329779204"],"photo_ids_order":["1329779204","1329779213","1329779222","1329779224","1329779226","1329779252"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d64f3cce7ea656560acdd297f74f3df.jpg","text":"TemporaryFile(/tmp/multipartBody7973938034929065254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211777863,"filename":"image_18012025_15_48_02_440492_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b93a52f944088bd1879e7784cb2624ec.jpg","text":"TemporaryFile(/tmp/multipartBody3872273738681005130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211777863,"filename":"image_18012025_15_48_02_440492_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/26255e39251c2cc98dd8b8bef84291df.jpg","text":"TemporaryFile(/tmp/multipartBody157334942774976049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211777863,"filename":"image_18012025_15_48_02_440492_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ffb06b8d6fdec0912f866a0800f3037b.jpg","text":"TemporaryFile(/tmp/multipartBody8699938187010911665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211777863,"filename":"image_18012025_15_47_02_331349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a3635b99edd127180d57d6b0d2a8c79.jpg","text":"TemporaryFile(/tmp/multipartBody5954118727622452267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211777863,"filename":"image_18012025_15_47_02_331349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13d658ec1c01128264bdf7c4c7bc1ebb.jpg","text":"TemporaryFile(/tmp/multipartBody3311022717299131018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211777863,"filename":"image_18012025_15_47_02_331349_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329779222","file1":"1329779213","file0":"1329779204","file4":"1329779226","file5":"1329779252","file3":"1329779224"},"map_files_photo_id_array":[{"photo_id":"1329779252","filename":"file5"},{"photo_id":"1329779222","filename":"file2"},{"photo_id":"1329779226","filename":"file4"},{"photo_id":"1329779213","filename":"file1"},{"photo_id":"1329779204","filename":"file0"},{"photo_id":"1329779224","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329779224":["hashtag1","hashtag2"]},{"1329779226":["hashtag1","hashtag2"]},{"1329779252":["hashtag1","hashtag2"]},{"1329779213":["hashtag1","hashtag2"]},{"1329779222":["hashtag1","hashtag2"]},{"1329779204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329779224, 1329779226, 1329779252, 1329779213, 1329779222, 1329779204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.6395788192749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:49:22.549304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/48/image_18012025_15_48_02_440492_0003.jpg', '/home/pi/Desktop/images/18012025/15/49/image_18012025_15_49_02_673448_0000.jpg', '/home/pi/Desktop/images/18012025/15/49/image_18012025_15_49_02_673448_0001.jpg', '/home/pi/Desktop/images/18012025/15/49/image_18012025_15_49_02_673448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/48/image_18012025_15_48_02_440492_0003.jpg
/home/pi/Desktop/images/18012025/15/49/image_18012025_15_49_02_673448_0000.jpg
/home/pi/Desktop/images/18012025/15/49/image_18012025_15_49_02_673448_0001.jpg
/home/pi/Desktop/images/18012025/15/49/image_18012025_15_49_02_673448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329779280","1329779276","1329779272","1329779266"],"photo_ids_order":["1329779266","1329779272","1329779276","1329779280"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a9f00fba573b54c5a77ebeceb046f57.jpg","text":"TemporaryFile(/tmp/multipartBody1038385490982045567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211833231,"filename":"image_18012025_15_49_02_673448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/417f86e2b4f91c4e0e38a44a14efa2b1.jpg","text":"TemporaryFile(/tmp/multipartBody7295604687977465435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211833231,"filename":"image_18012025_15_49_02_673448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eac40e951375c9de82fbfc6d307c40ed.jpg","text":"TemporaryFile(/tmp/multipartBody829868514986104914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211833231,"filename":"image_18012025_15_49_02_673448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/452e3d5f89930d5678acf7a333b2ede4.jpg","text":"TemporaryFile(/tmp/multipartBody5624482158390696451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211833231,"filename":"image_18012025_15_48_02_440492_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329779276","file1":"1329779272","file0":"1329779266","file3":"1329779280"},"map_files_photo_id_array":[{"photo_id":"1329779276","filename":"file2"},{"photo_id":"1329779272","filename":"file1"},{"photo_id":"1329779266","filename":"file0"},{"photo_id":"1329779280","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329779280":["hashtag1","hashtag2"]},{"1329779276":["hashtag1","hashtag2"]},{"1329779272":["hashtag1","hashtag2"]},{"1329779266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329779280, 1329779276, 1329779272, 1329779266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.617401361465454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:50:22.776440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/49/image_18012025_15_49_02_673448_0003.jpg', '/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0000.jpg', '/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0001.jpg', '/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/49/image_18012025_15_49_02_673448_0003.jpg
/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0000.jpg
/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0001.jpg
/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.260442972183228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 15:50:42.681799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/49/image_18012025_15_49_02_673448_0003.jpg', '/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0000.jpg', '/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0001.jpg', '/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/49/image_18012025_15_49_02_673448_0003.jpg
/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0000.jpg
/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0001.jpg
/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329779323","1329779313","1329779324","1329779321"],"photo_ids_order":["1329779313","1329779321","1329779323","1329779324"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a5235bbf06c86c2de04ca414a91f859.jpg","text":"TemporaryFile(/tmp/multipartBody4848528545594218719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211913390,"filename":"image_18012025_15_50_02_871663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1fe8c7a7217aa96b8adccee66d5e087.jpg","text":"TemporaryFile(/tmp/multipartBody5909754238151350355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211913390,"filename":"image_18012025_15_49_02_673448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39bef6c541c461f3fd67aa7ad2473716.jpg","text":"TemporaryFile(/tmp/multipartBody7870265322037190993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211913390,"filename":"image_18012025_15_50_02_871663_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92bbbcf12eb8c914b32be12ef66501b3.jpg","text":"TemporaryFile(/tmp/multipartBody4079153539735756029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211913390,"filename":"image_18012025_15_50_02_871663_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329779323","file1":"1329779321","file0":"1329779313","file3":"1329779324"},"map_files_photo_id_array":[{"photo_id":"1329779323","filename":"file2"},{"photo_id":"1329779321","filename":"file1"},{"photo_id":"1329779313","filename":"file0"},{"photo_id":"1329779324","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329779323":["hashtag1","hashtag2"]},{"1329779313":["hashtag1","hashtag2"]},{"1329779324":["hashtag1","hashtag2"]},{"1329779321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329779323, 1329779313, 1329779324, 1329779321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.07137751579285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 15:51:31.849619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0003.jpg', '/home/pi/Desktop/images/18012025/15/51/image_18012025_15_51_03_109394_0000.jpg', '/home/pi/Desktop/images/18012025/15/51/image_18012025_15_51_03_109394_0001.jpg', '/home/pi/Desktop/images/18012025/15/51/image_18012025_15_51_03_109394_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/50/image_18012025_15_50_02_871663_0003.jpg
/home/pi/Desktop/images/18012025/15/51/image_18012025_15_51_03_109394_0000.jpg
/home/pi/Desktop/images/18012025/15/51/image_18012025_15_51_03_109394_0001.jpg
/home/pi/Desktop/images/18012025/15/51/image_18012025_15_51_03_109394_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329779542","1329779547","1329779535","1329779551"],"photo_ids_order":["1329779535","1329779542","1329779547","1329779551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/558a8dd8cb879d2cb50f9b6758b4d668.jpg","text":"TemporaryFile(/tmp/multipartBody2269062815267575825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211963281,"filename":"image_18012025_15_51_03_109394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/59df935784d04c5a4a04a747e356083e.jpg","text":"TemporaryFile(/tmp/multipartBody5503240355547916201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211963281,"filename":"image_18012025_15_51_03_109394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c3b9ff56d615d528ddf7f4ad73c376d.jpg","text":"TemporaryFile(/tmp/multipartBody2609851984855501570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211963281,"filename":"image_18012025_15_50_02_871663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/94793e3eae28043f9f2b90d700d2cbbb.jpg","text":"TemporaryFile(/tmp/multipartBody7881191490258898555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737211963281,"filename":"image_18012025_15_51_03_109394_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329779547","file1":"1329779542","file0":"1329779535","file3":"1329779551"},"map_files_photo_id_array":[{"photo_id":"1329779547","filename":"file2"},{"photo_id":"1329779542","filename":"file1"},{"photo_id":"1329779535","filename":"file0"},{"photo_id":"1329779551","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329779542":["hashtag1","hashtag2"]},{"1329779547":["hashtag1","hashtag2"]},{"1329779535":["hashtag1","hashtag2"]},{"1329779551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329779542, 1329779547, 1329779535, 1329779551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.04871153831482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:52:22.129272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/51/image_18012025_15_51_03_109394_0003.jpg', '/home/pi/Desktop/images/18012025/15/52/image_18012025_15_52_02_246664_0000.jpg', '/home/pi/Desktop/images/18012025/15/52/image_18012025_15_52_02_246664_0001.jpg', '/home/pi/Desktop/images/18012025/15/52/image_18012025_15_52_02_246664_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/51/image_18012025_15_51_03_109394_0003.jpg
/home/pi/Desktop/images/18012025/15/52/image_18012025_15_52_02_246664_0000.jpg
/home/pi/Desktop/images/18012025/15/52/image_18012025_15_52_02_246664_0001.jpg
/home/pi/Desktop/images/18012025/15/52/image_18012025_15_52_02_246664_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329779575","1329779560","1329779565","1329779570"],"photo_ids_order":["1329779560","1329779565","1329779570","1329779575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f3a2d41ca64468ababb2f2279806f80.jpg","text":"TemporaryFile(/tmp/multipartBody4755612442931358778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212013303,"filename":"image_18012025_15_52_02_246664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c67002d159af991ab73b328f1489cdaa.jpg","text":"TemporaryFile(/tmp/multipartBody3664424644292878867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212013303,"filename":"image_18012025_15_51_03_109394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e8a6905b1df46798e798b9b54ef071d.jpg","text":"TemporaryFile(/tmp/multipartBody3846580208252345569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212013303,"filename":"image_18012025_15_52_02_246664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03beb229628ae85a24634f949716e677.jpg","text":"TemporaryFile(/tmp/multipartBody6240782438754508926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212013303,"filename":"image_18012025_15_52_02_246664_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329779570","file1":"1329779565","file0":"1329779560","file3":"1329779575"},"map_files_photo_id_array":[{"photo_id":"1329779570","filename":"file2"},{"photo_id":"1329779565","filename":"file1"},{"photo_id":"1329779560","filename":"file0"},{"photo_id":"1329779575","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329779575":["hashtag1","hashtag2"]},{"1329779560":["hashtag1","hashtag2"]},{"1329779565":["hashtag1","hashtag2"]},{"1329779570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329779575, 1329779560, 1329779565, 1329779570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.703473806381226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:53:22.251281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/52/image_18012025_15_52_02_246664_0003.jpg', '/home/pi/Desktop/images/18012025/15/53/image_18012025_15_53_02_406024_0000.jpg', '/home/pi/Desktop/images/18012025/15/53/image_18012025_15_53_02_406024_0001.jpg', '/home/pi/Desktop/images/18012025/15/53/image_18012025_15_53_02_406024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/52/image_18012025_15_52_02_246664_0003.jpg
/home/pi/Desktop/images/18012025/15/53/image_18012025_15_53_02_406024_0000.jpg
/home/pi/Desktop/images/18012025/15/53/image_18012025_15_53_02_406024_0001.jpg
/home/pi/Desktop/images/18012025/15/53/image_18012025_15_53_02_406024_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329779628","1329779622","1329779639","1329779644"],"photo_ids_order":["1329779622","1329779628","1329779639","1329779644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1c3e725f4534145aaf5af4ccb8434c9b.jpg","text":"TemporaryFile(/tmp/multipartBody1283448934070246468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212073264,"filename":"image_18012025_15_53_02_406024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3cb5fcbb60b68ea9aee248d3ce7fe38b.jpg","text":"TemporaryFile(/tmp/multipartBody723062256367843485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212073264,"filename":"image_18012025_15_52_02_246664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c70a3bebb36dabd33e352897e5642b8.jpg","text":"TemporaryFile(/tmp/multipartBody7599069087203341873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212073264,"filename":"image_18012025_15_53_02_406024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd3c53678ad5b81b620d98887a48f0be.jpg","text":"TemporaryFile(/tmp/multipartBody2076429655207497355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212073264,"filename":"image_18012025_15_53_02_406024_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329779639","file1":"1329779628","file0":"1329779622","file3":"1329779644"},"map_files_photo_id_array":[{"photo_id":"1329779639","filename":"file2"},{"photo_id":"1329779628","filename":"file1"},{"photo_id":"1329779622","filename":"file0"},{"photo_id":"1329779644","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329779628":["hashtag1","hashtag2"]},{"1329779622":["hashtag1","hashtag2"]},{"1329779639":["hashtag1","hashtag2"]},{"1329779644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329779628, 1329779622, 1329779639, 1329779644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75052285194397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:54:22.432062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/53/image_18012025_15_53_02_406024_0003.jpg', '/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0000.jpg', '/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0001.jpg', '/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/53/image_18012025_15_53_02_406024_0003.jpg
/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0000.jpg
/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0001.jpg
/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.721388816833496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 15:54:42.392506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/53/image_18012025_15_53_02_406024_0003.jpg', '/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0000.jpg', '/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0001.jpg', '/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/53/image_18012025_15_53_02_406024_0003.jpg
/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0000.jpg
/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0001.jpg
/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329781006","1329780297","1329781008","1329780662"],"photo_ids_order":["1329780297","1329780662","1329781006","1329781008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d86c788bbc0d19cc0fd19d3769eae15a.jpg","text":"TemporaryFile(/tmp/multipartBody7301903075915393323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212153506,"filename":"image_18012025_15_54_02_598344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa30b97a7850e1013a306ca8af4e79b5.jpg","text":"TemporaryFile(/tmp/multipartBody8308404489168938557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212153506,"filename":"image_18012025_15_53_02_406024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e6185f0af191041e2b7b82495061c1a.jpg","text":"TemporaryFile(/tmp/multipartBody2324450090188861131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212153506,"filename":"image_18012025_15_54_02_598344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8700665889f3b9bf4c73b19c0d743a6.jpg","text":"TemporaryFile(/tmp/multipartBody8967659178765330692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212153506,"filename":"image_18012025_15_54_02_598344_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329781006","file1":"1329780662","file0":"1329780297","file3":"1329781008"},"map_files_photo_id_array":[{"photo_id":"1329781006","filename":"file2"},{"photo_id":"1329780662","filename":"file1"},{"photo_id":"1329780297","filename":"file0"},{"photo_id":"1329781008","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329781006":["hashtag1","hashtag2"]},{"1329780297":["hashtag1","hashtag2"]},{"1329781008":["hashtag1","hashtag2"]},{"1329780662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329781006, 1329780297, 1329781008, 1329780662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48996067047119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:55:22.597747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0003.jpg', '/home/pi/Desktop/images/18012025/15/55/image_18012025_15_55_02_756511_0000.jpg', '/home/pi/Desktop/images/18012025/15/55/image_18012025_15_55_02_756511_0001.jpg', '/home/pi/Desktop/images/18012025/15/55/image_18012025_15_55_02_756511_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/54/image_18012025_15_54_02_598344_0003.jpg
/home/pi/Desktop/images/18012025/15/55/image_18012025_15_55_02_756511_0000.jpg
/home/pi/Desktop/images/18012025/15/55/image_18012025_15_55_02_756511_0001.jpg
/home/pi/Desktop/images/18012025/15/55/image_18012025_15_55_02_756511_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329781059","1329781073","1329781034","1329781066"],"photo_ids_order":["1329781034","1329781059","1329781066","1329781073"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e6d2588578a8490454586fc0147e865.jpg","text":"TemporaryFile(/tmp/multipartBody5689143310025566327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212194092,"filename":"image_18012025_15_55_02_756511_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a1fc03484fcbe415cdcefa5b8232f93.jpg","text":"TemporaryFile(/tmp/multipartBody8121698219135271017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212194092,"filename":"image_18012025_15_55_02_756511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/efdd82930e32586080151e7dcc7303a4.jpg","text":"TemporaryFile(/tmp/multipartBody6801792326284462058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212194092,"filename":"image_18012025_15_54_02_598344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b55efdced7cb898931ba830ccf4d2528.jpg","text":"TemporaryFile(/tmp/multipartBody1803503637127030561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212194092,"filename":"image_18012025_15_55_02_756511_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329781066","file1":"1329781059","file0":"1329781034","file3":"1329781073"},"map_files_photo_id_array":[{"photo_id":"1329781066","filename":"file2"},{"photo_id":"1329781059","filename":"file1"},{"photo_id":"1329781034","filename":"file0"},{"photo_id":"1329781073","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329781059":["hashtag1","hashtag2"]},{"1329781073":["hashtag1","hashtag2"]},{"1329781034":["hashtag1","hashtag2"]},{"1329781066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329781059, 1329781073, 1329781034, 1329781066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.51885151863098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 15:56:21.779482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/55/image_18012025_15_55_02_756511_0003.jpg', '/home/pi/Desktop/images/18012025/15/56/image_18012025_15_56_02_949120_0000.jpg', '/home/pi/Desktop/images/18012025/15/56/image_18012025_15_56_02_949120_0001.jpg', '/home/pi/Desktop/images/18012025/15/56/image_18012025_15_56_02_949120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/55/image_18012025_15_55_02_756511_0003.jpg
/home/pi/Desktop/images/18012025/15/56/image_18012025_15_56_02_949120_0000.jpg
/home/pi/Desktop/images/18012025/15/56/image_18012025_15_56_02_949120_0001.jpg
/home/pi/Desktop/images/18012025/15/56/image_18012025_15_56_02_949120_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329781438","1329781426","1329781434","1329781430"],"photo_ids_order":["1329781426","1329781430","1329781434","1329781438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/79e21faceaa8365e05f538bf0822b25d.jpg","text":"TemporaryFile(/tmp/multipartBody668701724587618892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212253253,"filename":"image_18012025_15_56_02_949120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f097912310c0b0a2a2be222a2953754a.jpg","text":"TemporaryFile(/tmp/multipartBody6112744976008267519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212253253,"filename":"image_18012025_15_55_02_756511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/464412d05b0641a143ea4729abb3d833.jpg","text":"TemporaryFile(/tmp/multipartBody4546217552608738703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212253253,"filename":"image_18012025_15_56_02_949120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a71b0dd57b6f80d0f040ebfdd583a46e.jpg","text":"TemporaryFile(/tmp/multipartBody1857252228998018656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212253253,"filename":"image_18012025_15_56_02_949120_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329781434","file1":"1329781430","file0":"1329781426","file3":"1329781438"},"map_files_photo_id_array":[{"photo_id":"1329781434","filename":"file2"},{"photo_id":"1329781430","filename":"file1"},{"photo_id":"1329781426","filename":"file0"},{"photo_id":"1329781438","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329781438":["hashtag1","hashtag2"]},{"1329781426":["hashtag1","hashtag2"]},{"1329781434":["hashtag1","hashtag2"]},{"1329781430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329781438, 1329781426, 1329781434, 1329781430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.25174164772034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 15:57:02.599819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/42/image_16012025_22_42_03_010445_0000.jpg', '/home/pi/Desktop/images/16012025/22/42/image_16012025_22_42_03_010445_0001.jpg', '/home/pi/Desktop/images/16012025/22/42/image_16012025_22_42_03_010445_0002.jpg', '/home/pi/Desktop/images/16012025/22/42/image_16012025_22_42_03_010445_0003.jpg', '/home/pi/Desktop/images/16012025/22/43/image_16012025_22_43_02_279273_0000.jpg', '/home/pi/Desktop/images/16012025/22/43/image_16012025_22_43_02_279273_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/42/image_16012025_22_42_03_010445_0000.jpg
/home/pi/Desktop/images/16012025/22/42/image_16012025_22_42_03_010445_0001.jpg
/home/pi/Desktop/images/16012025/22/42/image_16012025_22_42_03_010445_0002.jpg
/home/pi/Desktop/images/16012025/22/42/image_16012025_22_42_03_010445_0003.jpg
/home/pi/Desktop/images/16012025/22/43/image_16012025_22_43_02_279273_0000.jpg
/home/pi/Desktop/images/16012025/22/43/image_16012025_22_43_02_279273_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":["1329781603","1329781606","1329781596","1329781599","1329781590","1329781592"],"photo_ids_order":["1329781590","1329781592","1329781596","1329781599","1329781603","1329781606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e2ed2c4f52c9876aba021fa2fb24f42c.jpg","text":"TemporaryFile(/tmp/multipartBody6879340465991119700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212300384,"filename":"image_16012025_22_43_02_279273_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73f3bfecd7bbef7148a1113e78691dd9.jpg","text":"TemporaryFile(/tmp/multipartBody2824176477620537134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212300384,"filename":"image_16012025_22_43_02_279273_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/749767bfad8fc480d075be7c2d91a389.jpg","text":"TemporaryFile(/tmp/multipartBody8271946606932940063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212300384,"filename":"image_16012025_22_42_03_010445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1bcc83e6ae449367aacc09087fa0ba8f.jpg","text":"TemporaryFile(/tmp/multipartBody24730305673563167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212300384,"filename":"image_16012025_22_42_03_010445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fc835eebced5af8d892f779cb11cde17.jpg","text":"TemporaryFile(/tmp/multipartBody544143850521711027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212300384,"filename":"image_16012025_22_42_03_010445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e05dc7c4790e0f01dbe4c24d361303a0.jpg","text":"TemporaryFile(/tmp/multipartBody6690008280263546055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212300384,"filename":"image_16012025_22_42_03_010445_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329781596","file1":"1329781592","file0":"1329781590","file4":"1329781603","file5":"1329781606","file3":"1329781599"},"map_files_photo_id_array":[{"photo_id":"1329781606","filename":"file5"},{"photo_id":"1329781596","filename":"file2"},{"photo_id":"1329781603","filename":"file4"},{"photo_id":"1329781592","filename":"file1"},{"photo_id":"1329781590","filename":"file0"},{"photo_id":"1329781599","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329781603":["hashtag1","hashtag2"]},{"1329781606":["hashtag1","hashtag2"]},{"1329781596":["hashtag1","hashtag2"]},{"1329781599":["hashtag1","hashtag2"]},{"1329781590":["hashtag1","hashtag2"]},{"1329781592":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329781603, 1329781606, 1329781596, 1329781599, 1329781590, 1329781592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.24739670753479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 15:59:02.874587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/56/image_18012025_15_56_02_949120_0003.jpg', '/home/pi/Desktop/images/18012025/15/57/image_18012025_15_57_02_093042_0000.jpg', '/home/pi/Desktop/images/18012025/15/57/image_18012025_15_57_02_093042_0001.jpg', '/home/pi/Desktop/images/18012025/15/57/image_18012025_15_57_02_093042_0002.jpg', '/home/pi/Desktop/images/18012025/15/57/image_18012025_15_57_02_093042_0003.jpg', '/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/56/image_18012025_15_56_02_949120_0003.jpg
/home/pi/Desktop/images/18012025/15/57/image_18012025_15_57_02_093042_0000.jpg
/home/pi/Desktop/images/18012025/15/57/image_18012025_15_57_02_093042_0001.jpg
/home/pi/Desktop/images/18012025/15/57/image_18012025_15_57_02_093042_0002.jpg
/home/pi/Desktop/images/18012025/15/57/image_18012025_15_57_02_093042_0003.jpg
/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329782200","1329782205","1329782198","1329782165","1329782194","1329782188"],"photo_ids_order":["1329782165","1329782188","1329782194","1329782198","1329782200","1329782205"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b5372e1ace54e5f0949e66a787d6ebc5.jpg","text":"TemporaryFile(/tmp/multipartBody998719952378637079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212419909,"filename":"image_18012025_15_57_02_093042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d1245d97e77dd41055a9d7b33a6136e4.jpg","text":"TemporaryFile(/tmp/multipartBody1698804743160100918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212419909,"filename":"image_18012025_15_58_02_246236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/55f456871779896f4467c035a1fe02d9.jpg","text":"TemporaryFile(/tmp/multipartBody6626232848459078167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212419909,"filename":"image_18012025_15_57_02_093042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c28c955e3a0e0e596aa112a36312ba15.jpg","text":"TemporaryFile(/tmp/multipartBody6192339096024607937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212419909,"filename":"image_18012025_15_56_02_949120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8d879eaffbdda12094233246fcd2cdd8.jpg","text":"TemporaryFile(/tmp/multipartBody6098204996800126156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212419909,"filename":"image_18012025_15_57_02_093042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ceed175be8b7596cca200d176bfe07da.jpg","text":"TemporaryFile(/tmp/multipartBody1276455892854445548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212419909,"filename":"image_18012025_15_57_02_093042_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329782194","file1":"1329782188","file0":"1329782165","file4":"1329782200","file5":"1329782205","file3":"1329782198"},"map_files_photo_id_array":[{"photo_id":"1329782205","filename":"file5"},{"photo_id":"1329782194","filename":"file2"},{"photo_id":"1329782200","filename":"file4"},{"photo_id":"1329782188","filename":"file1"},{"photo_id":"1329782165","filename":"file0"},{"photo_id":"1329782198","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329782200":["hashtag1","hashtag2"]},{"1329782205":["hashtag1","hashtag2"]},{"1329782198":["hashtag1","hashtag2"]},{"1329782165":["hashtag1","hashtag2"]},{"1329782194":["hashtag1","hashtag2"]},{"1329782188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329782200, 1329782205, 1329782198, 1329782165, 1329782194, 1329782188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.305171489715576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:00:02.768615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0001.jpg', '/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0002.jpg', '/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0003.jpg', '/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0000.jpg', '/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0001.jpg', '/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0001.jpg
/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0002.jpg
/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0003.jpg
/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0000.jpg
/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0001.jpg
/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.73643660545349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:00:22.429697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0001.jpg', '/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0002.jpg', '/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0003.jpg', '/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0000.jpg', '/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0001.jpg', '/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0001.jpg
/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0002.jpg
/home/pi/Desktop/images/18012025/15/58/image_18012025_15_58_02_246236_0003.jpg
/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0000.jpg
/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0001.jpg
/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329782229","1329782238","1329782243","1329782240","1329782234","1329782236"],"photo_ids_order":["1329782229","1329782234","1329782236","1329782238","1329782240","1329782243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/47750cf5fc71b9b0f76c04d86d830be3.jpg","text":"TemporaryFile(/tmp/multipartBody850960882234861352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212499512,"filename":"image_18012025_15_58_02_246236_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bfef38edae1d53ae7252b4d777517058.jpg","text":"TemporaryFile(/tmp/multipartBody7347446835699776708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212499512,"filename":"image_18012025_15_59_02_409854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ab29f327ef702e3980b42fa900c883ab.jpg","text":"TemporaryFile(/tmp/multipartBody1252398131775312918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212499512,"filename":"image_18012025_15_59_02_409854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b9cb7d123d2a4acbdb58e97f4368667.jpg","text":"TemporaryFile(/tmp/multipartBody6437877278387729138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212499512,"filename":"image_18012025_15_59_02_409854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96976ea56dd098ada5f0d15b1f1201f0.jpg","text":"TemporaryFile(/tmp/multipartBody7952822549722171125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212499512,"filename":"image_18012025_15_58_02_246236_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9cb03ae274d1d0c83fb5ceb07510325f.jpg","text":"TemporaryFile(/tmp/multipartBody343518848659448695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212499512,"filename":"image_18012025_15_58_02_246236_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329782236","file1":"1329782234","file0":"1329782229","file4":"1329782240","file5":"1329782243","file3":"1329782238"},"map_files_photo_id_array":[{"photo_id":"1329782243","filename":"file5"},{"photo_id":"1329782236","filename":"file2"},{"photo_id":"1329782240","filename":"file4"},{"photo_id":"1329782234","filename":"file1"},{"photo_id":"1329782229","filename":"file0"},{"photo_id":"1329782238","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329782229":["hashtag1","hashtag2"]},{"1329782238":["hashtag1","hashtag2"]},{"1329782243":["hashtag1","hashtag2"]},{"1329782240":["hashtag1","hashtag2"]},{"1329782234":["hashtag1","hashtag2"]},{"1329782236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329782229, 1329782238, 1329782243, 1329782240, 1329782234, 1329782236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.099350690841675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:01:32.578665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0003.jpg', '/home/pi/Desktop/images/18012025/16/00/image_18012025_16_00_02_594536_0000.jpg', '/home/pi/Desktop/images/18012025/16/00/image_18012025_16_00_02_594536_0001.jpg', '/home/pi/Desktop/images/18012025/16/00/image_18012025_16_00_02_594536_0002.jpg', '/home/pi/Desktop/images/18012025/16/00/image_18012025_16_00_02_594536_0003.jpg', '/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/15/59/image_18012025_15_59_02_409854_0003.jpg
/home/pi/Desktop/images/18012025/16/00/image_18012025_16_00_02_594536_0000.jpg
/home/pi/Desktop/images/18012025/16/00/image_18012025_16_00_02_594536_0001.jpg
/home/pi/Desktop/images/18012025/16/00/image_18012025_16_00_02_594536_0002.jpg
/home/pi/Desktop/images/18012025/16/00/image_18012025_16_00_02_594536_0003.jpg
/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329783293","1329783012","1329782337","1329782325","1329783295","1329782654"],"photo_ids_order":["1329782325","1329782337","1329782654","1329783012","1329783293","1329783295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6f63accd55831bafbb2535423377392.jpg","text":"TemporaryFile(/tmp/multipartBody2669803591727287739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212569293,"filename":"image_18012025_16_00_02_594536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5176dba868fe8e6598d21e8d04f25b1.jpg","text":"TemporaryFile(/tmp/multipartBody8626226919020252027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212569293,"filename":"image_18012025_16_00_02_594536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2903611938b52b86008b2e23ab426eed.jpg","text":"TemporaryFile(/tmp/multipartBody8672423576924492199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212569293,"filename":"image_18012025_16_00_02_594536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fef332a4549d8081bb3a2304092e1a1f.jpg","text":"TemporaryFile(/tmp/multipartBody4804279862445880107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212569293,"filename":"image_18012025_15_59_02_409854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd3993ee92019ea0edcf4f62f1bc0b47.jpg","text":"TemporaryFile(/tmp/multipartBody1556665985548563308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212569293,"filename":"image_18012025_16_01_02_779034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/407a602864aceeadd3f6c802d45d68d0.jpg","text":"TemporaryFile(/tmp/multipartBody5919679898183465021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212569293,"filename":"image_18012025_16_00_02_594536_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329782654","file1":"1329782337","file0":"1329782325","file4":"1329783293","file5":"1329783295","file3":"1329783012"},"map_files_photo_id_array":[{"photo_id":"1329783295","filename":"file5"},{"photo_id":"1329782654","filename":"file2"},{"photo_id":"1329783293","filename":"file4"},{"photo_id":"1329782337","filename":"file1"},{"photo_id":"1329782325","filename":"file0"},{"photo_id":"1329783012","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329783293":["hashtag1","hashtag2"]},{"1329783012":["hashtag1","hashtag2"]},{"1329782337":["hashtag1","hashtag2"]},{"1329782325":["hashtag1","hashtag2"]},{"1329783295":["hashtag1","hashtag2"]},{"1329782654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329783293, 1329783012, 1329782337, 1329782325, 1329783295, 1329782654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.92158770561218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:02:31.732966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0001.jpg', '/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0002.jpg', '/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0003.jpg', '/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0000.jpg', '/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0001.jpg', '/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0001.jpg
/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0002.jpg
/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0003.jpg
/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0000.jpg
/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0001.jpg
/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.978646755218506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:02:51.760517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0001.jpg', '/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0002.jpg', '/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0003.jpg', '/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0000.jpg', '/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0001.jpg', '/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0001.jpg
/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0002.jpg
/home/pi/Desktop/images/18012025/16/01/image_18012025_16_01_02_779034_0003.jpg
/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0000.jpg
/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0001.jpg
/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329783405","1329783414","1329783401","1329783397","1329783409","1329783399"],"photo_ids_order":["1329783397","1329783399","1329783401","1329783405","1329783409","1329783414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e39f02c056f925fae421ab47ba196876.jpg","text":"TemporaryFile(/tmp/multipartBody2229297818195796225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212648171,"filename":"image_18012025_16_02_02_988378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c4b743c1cb848450982c4a26ce80c72.jpg","text":"TemporaryFile(/tmp/multipartBody4285963915248950466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212648171,"filename":"image_18012025_16_02_02_988378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95dfcc45c7da6d8fb8e208157f06f7ee.jpg","text":"TemporaryFile(/tmp/multipartBody5775658793275462685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212648171,"filename":"image_18012025_16_01_02_779034_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6c1d185c4617233a30ec05298f512b5.jpg","text":"TemporaryFile(/tmp/multipartBody6990657822362519667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212648171,"filename":"image_18012025_16_01_02_779034_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/516daab73c70c64e4b4931759014b097.jpg","text":"TemporaryFile(/tmp/multipartBody2902486331856758113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212648171,"filename":"image_18012025_16_02_02_988378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c83296c2be64a8d3c19ec0f39305f947.jpg","text":"TemporaryFile(/tmp/multipartBody3101636583141357900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212648171,"filename":"image_18012025_16_01_02_779034_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329783401","file1":"1329783399","file0":"1329783397","file4":"1329783409","file5":"1329783414","file3":"1329783405"},"map_files_photo_id_array":[{"photo_id":"1329783414","filename":"file5"},{"photo_id":"1329783401","filename":"file2"},{"photo_id":"1329783409","filename":"file4"},{"photo_id":"1329783399","filename":"file1"},{"photo_id":"1329783397","filename":"file0"},{"photo_id":"1329783405","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329783405":["hashtag1","hashtag2"]},{"1329783414":["hashtag1","hashtag2"]},{"1329783401":["hashtag1","hashtag2"]},{"1329783397":["hashtag1","hashtag2"]},{"1329783409":["hashtag1","hashtag2"]},{"1329783399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329783405, 1329783414, 1329783401, 1329783397, 1329783409, 1329783399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.1014358997345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:03:51.972586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0003.jpg', '/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0000.jpg', '/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0001.jpg', '/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0003.jpg
/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0000.jpg
/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0001.jpg
/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.031811237335205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:04:22.159372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0003.jpg', '/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0000.jpg', '/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0001.jpg', '/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0002.jpg', '/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0003.jpg', '/home/pi/Desktop/images/18012025/16/04/image_18012025_16_04_02_331995_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/02/image_18012025_16_02_02_988378_0003.jpg
/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0000.jpg
/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0001.jpg
/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0002.jpg
/home/pi/Desktop/images/18012025/16/03/image_18012025_16_03_02_149649_0003.jpg
/home/pi/Desktop/images/18012025/16/04/image_18012025_16_04_02_331995_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329783927","1329783936","1329783938","1329783932","1329783934","1329783922"],"photo_ids_order":["1329783922","1329783927","1329783932","1329783934","1329783936","1329783938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5383c674e5273524366cb862a6a1f8b7.jpg","text":"TemporaryFile(/tmp/multipartBody1521530837156804097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212739066,"filename":"image_18012025_16_03_02_149649_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b8622deea29f295e70c4f1505afcd66.jpg","text":"TemporaryFile(/tmp/multipartBody4090088484576247048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212739066,"filename":"image_18012025_16_03_02_149649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fbbce9da108f510a77eeea23158e905c.jpg","text":"TemporaryFile(/tmp/multipartBody2671617896798976716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212739066,"filename":"image_18012025_16_04_02_331995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b524d0c6446104ac0542015af6662c5c.jpg","text":"TemporaryFile(/tmp/multipartBody4653166576945645186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212739066,"filename":"image_18012025_16_03_02_149649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be054e72bf7b071b38941fd1f3900fbd.jpg","text":"TemporaryFile(/tmp/multipartBody8083280030886769055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212739066,"filename":"image_18012025_16_03_02_149649_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8135020728b5eb9c7441f6481fcf9de2.jpg","text":"TemporaryFile(/tmp/multipartBody5116095412900490648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212739066,"filename":"image_18012025_16_02_02_988378_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329783932","file1":"1329783927","file0":"1329783922","file4":"1329783936","file5":"1329783938","file3":"1329783934"},"map_files_photo_id_array":[{"photo_id":"1329783938","filename":"file5"},{"photo_id":"1329783932","filename":"file2"},{"photo_id":"1329783936","filename":"file4"},{"photo_id":"1329783927","filename":"file1"},{"photo_id":"1329783922","filename":"file0"},{"photo_id":"1329783934","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329783927":["hashtag1","hashtag2"]},{"1329783936":["hashtag1","hashtag2"]},{"1329783938":["hashtag1","hashtag2"]},{"1329783932":["hashtag1","hashtag2"]},{"1329783934":["hashtag1","hashtag2"]},{"1329783922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329783927, 1329783936, 1329783938, 1329783932, 1329783934, 1329783922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.35521149635315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:05:22.359670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/04/image_18012025_16_04_02_331995_0001.jpg', '/home/pi/Desktop/images/18012025/16/04/image_18012025_16_04_02_331995_0002.jpg', '/home/pi/Desktop/images/18012025/16/04/image_18012025_16_04_02_331995_0003.jpg', '/home/pi/Desktop/images/18012025/16/05/image_18012025_16_05_02_471212_0000.jpg', '/home/pi/Desktop/images/18012025/16/05/image_18012025_16_05_02_471212_0001.jpg', '/home/pi/Desktop/images/18012025/16/05/image_18012025_16_05_02_471212_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/04/image_18012025_16_04_02_331995_0001.jpg
/home/pi/Desktop/images/18012025/16/04/image_18012025_16_04_02_331995_0002.jpg
/home/pi/Desktop/images/18012025/16/04/image_18012025_16_04_02_331995_0003.jpg
/home/pi/Desktop/images/18012025/16/05/image_18012025_16_05_02_471212_0000.jpg
/home/pi/Desktop/images/18012025/16/05/image_18012025_16_05_02_471212_0001.jpg
/home/pi/Desktop/images/18012025/16/05/image_18012025_16_05_02_471212_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329783954","1329783986","1329783977","1329783988","1329783958","1329783975"],"photo_ids_order":["1329783954","1329783958","1329783975","1329783977","1329783986","1329783988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f976c4547d61c336b8c4eedd2250b3b.jpg","text":"TemporaryFile(/tmp/multipartBody8815399197457584838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212798762,"filename":"image_18012025_16_04_02_331995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e200fb4350af866ad264aa3dbf6760c0.jpg","text":"TemporaryFile(/tmp/multipartBody4751175861291919350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212798762,"filename":"image_18012025_16_05_02_471212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9990a933380872cb1a66382487ef5ddd.jpg","text":"TemporaryFile(/tmp/multipartBody7341202624033035845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212798762,"filename":"image_18012025_16_05_02_471212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b2ef5582d96770c10811c6725fbd369.jpg","text":"TemporaryFile(/tmp/multipartBody7421560937779851074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212798762,"filename":"image_18012025_16_05_02_471212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0cef143ad86e68bf6a94a12640956750.jpg","text":"TemporaryFile(/tmp/multipartBody4696053615487226266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212798762,"filename":"image_18012025_16_04_02_331995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4916587f945328c639875eeb174da44c.jpg","text":"TemporaryFile(/tmp/multipartBody8133981949969074585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212798762,"filename":"image_18012025_16_04_02_331995_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329783975","file1":"1329783958","file0":"1329783954","file4":"1329783986","file5":"1329783988","file3":"1329783977"},"map_files_photo_id_array":[{"photo_id":"1329783988","filename":"file5"},{"photo_id":"1329783975","filename":"file2"},{"photo_id":"1329783986","filename":"file4"},{"photo_id":"1329783958","filename":"file1"},{"photo_id":"1329783954","filename":"file0"},{"photo_id":"1329783977","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329783954":["hashtag1","hashtag2"]},{"1329783986":["hashtag1","hashtag2"]},{"1329783977":["hashtag1","hashtag2"]},{"1329783988":["hashtag1","hashtag2"]},{"1329783958":["hashtag1","hashtag2"]},{"1329783975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329783954, 1329783986, 1329783977, 1329783988, 1329783958, 1329783975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.21334385871887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:06:22.602870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/05/image_18012025_16_05_02_471212_0003.jpg', '/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0000.jpg', '/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0001.jpg', '/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/05/image_18012025_16_05_02_471212_0003.jpg
/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0000.jpg
/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0001.jpg
/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.348318338394165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 16:06:42.502497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/05/image_18012025_16_05_02_471212_0003.jpg', '/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0000.jpg', '/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0001.jpg', '/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/05/image_18012025_16_05_02_471212_0003.jpg
/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0000.jpg
/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0001.jpg
/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329784031","1329784025","1329784027","1329784029"],"photo_ids_order":["1329784025","1329784027","1329784029","1329784031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9936c182b75e49e059c1e6ab1b6c6698.jpg","text":"TemporaryFile(/tmp/multipartBody5839957086253434384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212874233,"filename":"image_18012025_16_06_02_680280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3413219531694933f667e3577eeabe6c.jpg","text":"TemporaryFile(/tmp/multipartBody6668319609321409923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212874233,"filename":"image_18012025_16_05_02_471212_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9791f30daee6cabca2656122b7125973.jpg","text":"TemporaryFile(/tmp/multipartBody3740164358109229620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212874233,"filename":"image_18012025_16_06_02_680280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/983ea1308643a39c5366ff6bc6b494d0.jpg","text":"TemporaryFile(/tmp/multipartBody5224637362194688625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212874233,"filename":"image_18012025_16_06_02_680280_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329784029","file1":"1329784027","file0":"1329784025","file3":"1329784031"},"map_files_photo_id_array":[{"photo_id":"1329784029","filename":"file2"},{"photo_id":"1329784027","filename":"file1"},{"photo_id":"1329784025","filename":"file0"},{"photo_id":"1329784031","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329784031":["hashtag1","hashtag2"]},{"1329784025":["hashtag1","hashtag2"]},{"1329784027":["hashtag1","hashtag2"]},{"1329784029":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329784031, 1329784025, 1329784027, 1329784029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13676929473877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:07:32.778716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0003.jpg', '/home/pi/Desktop/images/18012025/16/07/image_18012025_16_07_02_856220_0000.jpg', '/home/pi/Desktop/images/18012025/16/07/image_18012025_16_07_02_856220_0001.jpg', '/home/pi/Desktop/images/18012025/16/07/image_18012025_16_07_02_856220_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/06/image_18012025_16_06_02_680280_0003.jpg
/home/pi/Desktop/images/18012025/16/07/image_18012025_16_07_02_856220_0000.jpg
/home/pi/Desktop/images/18012025/16/07/image_18012025_16_07_02_856220_0001.jpg
/home/pi/Desktop/images/18012025/16/07/image_18012025_16_07_02_856220_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329784045","1329784062","1329784065","1329784059"],"photo_ids_order":["1329784045","1329784059","1329784062","1329784065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/383a6e9291b2776ad864456ac5b14810.jpg","text":"TemporaryFile(/tmp/multipartBody3645163393626772852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212924203,"filename":"image_18012025_16_06_02_680280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/270456860f324d0c92c187e2ef11abdf.jpg","text":"TemporaryFile(/tmp/multipartBody952995008042665752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212924203,"filename":"image_18012025_16_07_02_856220_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f620b1947249f35b0529830b5f580964.jpg","text":"TemporaryFile(/tmp/multipartBody9041226887043327766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212924203,"filename":"image_18012025_16_07_02_856220_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ef14ebecc48eeda719e5f825f557130.jpg","text":"TemporaryFile(/tmp/multipartBody1236929892464629710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212924203,"filename":"image_18012025_16_07_02_856220_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329784062","file1":"1329784059","file0":"1329784045","file3":"1329784065"},"map_files_photo_id_array":[{"photo_id":"1329784062","filename":"file2"},{"photo_id":"1329784059","filename":"file1"},{"photo_id":"1329784045","filename":"file0"},{"photo_id":"1329784065","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329784045":["hashtag1","hashtag2"]},{"1329784062":["hashtag1","hashtag2"]},{"1329784065":["hashtag1","hashtag2"]},{"1329784059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329784045, 1329784062, 1329784065, 1329784059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.48270845413208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:08:21.838370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/07/image_18012025_16_07_02_856220_0003.jpg', '/home/pi/Desktop/images/18012025/16/08/image_18012025_16_08_03_041576_0000.jpg', '/home/pi/Desktop/images/18012025/16/08/image_18012025_16_08_03_041576_0001.jpg', '/home/pi/Desktop/images/18012025/16/08/image_18012025_16_08_03_041576_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/07/image_18012025_16_07_02_856220_0003.jpg
/home/pi/Desktop/images/18012025/16/08/image_18012025_16_08_03_041576_0000.jpg
/home/pi/Desktop/images/18012025/16/08/image_18012025_16_08_03_041576_0001.jpg
/home/pi/Desktop/images/18012025/16/08/image_18012025_16_08_03_041576_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329784157","1329784153","1329784161","1329784164"],"photo_ids_order":["1329784153","1329784157","1329784161","1329784164"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18530bae9b42518509a387e2fe9be0f9.jpg","text":"TemporaryFile(/tmp/multipartBody7001141837419653922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212973219,"filename":"image_18012025_16_08_03_041576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e148a9222d3e7b1720f0234877cd7eb1.jpg","text":"TemporaryFile(/tmp/multipartBody3376652845298600954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212973219,"filename":"image_18012025_16_07_02_856220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c11a99bd992e5bcac5467893c50d58a.jpg","text":"TemporaryFile(/tmp/multipartBody5826397435355161086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212973219,"filename":"image_18012025_16_08_03_041576_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6ebd15e6770b7b044d77f7a203f5f34.jpg","text":"TemporaryFile(/tmp/multipartBody4855072075820608648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737212973219,"filename":"image_18012025_16_08_03_041576_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329784161","file1":"1329784157","file0":"1329784153","file3":"1329784164"},"map_files_photo_id_array":[{"photo_id":"1329784161","filename":"file2"},{"photo_id":"1329784157","filename":"file1"},{"photo_id":"1329784153","filename":"file0"},{"photo_id":"1329784164","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329784157":["hashtag1","hashtag2"]},{"1329784153":["hashtag1","hashtag2"]},{"1329784161":["hashtag1","hashtag2"]},{"1329784164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329784157, 1329784153, 1329784161, 1329784164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.476486682891846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:09:02.769102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/43/image_16012025_22_43_02_279273_0002.jpg', '/home/pi/Desktop/images/16012025/22/43/image_16012025_22_43_02_279273_0003.jpg', '/home/pi/Desktop/images/16012025/22/44/image_16012025_22_44_02_351083_0000.jpg', '/home/pi/Desktop/images/16012025/22/44/image_16012025_22_44_02_351083_0001.jpg', '/home/pi/Desktop/images/16012025/22/44/image_16012025_22_44_02_351083_0002.jpg', '/home/pi/Desktop/images/16012025/22/44/image_16012025_22_44_02_351083_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/43/image_16012025_22_43_02_279273_0002.jpg
/home/pi/Desktop/images/16012025/22/43/image_16012025_22_43_02_279273_0003.jpg
/home/pi/Desktop/images/16012025/22/44/image_16012025_22_44_02_351083_0000.jpg
/home/pi/Desktop/images/16012025/22/44/image_16012025_22_44_02_351083_0001.jpg
/home/pi/Desktop/images/16012025/22/44/image_16012025_22_44_02_351083_0002.jpg
/home/pi/Desktop/images/16012025/22/44/image_16012025_22_44_02_351083_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":["1329784517","1329784858","1329785556","1329785637","1329784266","1329785189"],"photo_ids_order":["1329784266","1329784517","1329784858","1329785189","1329785556","1329785637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fc3c5da901d080731c29cb7a241fcebd.jpg","text":"TemporaryFile(/tmp/multipartBody2203191804995516807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213020199,"filename":"image_16012025_22_43_02_279273_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bfb3a71e2382ac9cf42af2a410ea615f.jpg","text":"TemporaryFile(/tmp/multipartBody822542010429482123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213020199,"filename":"image_16012025_22_44_02_351083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b063f57db5fd51e6f964d6a75f0cedf6.jpg","text":"TemporaryFile(/tmp/multipartBody1374468751031220712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213020199,"filename":"image_16012025_22_44_02_351083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9f2eee0a0b6552fea9f5232d9a3cbbe3.jpg","text":"TemporaryFile(/tmp/multipartBody7948471442591467325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213020199,"filename":"image_16012025_22_44_02_351083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9e0b79134f206d4ba9cc0cfcd4152676.jpg","text":"TemporaryFile(/tmp/multipartBody4703379600975880010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213020199,"filename":"image_16012025_22_43_02_279273_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/951e09a16e99c68ae2d75e29bab397ff.jpg","text":"TemporaryFile(/tmp/multipartBody5555199960378049807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213020199,"filename":"image_16012025_22_44_02_351083_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329784858","file1":"1329784517","file0":"1329784266","file4":"1329785556","file5":"1329785637","file3":"1329785189"},"map_files_photo_id_array":[{"photo_id":"1329785637","filename":"file5"},{"photo_id":"1329784858","filename":"file2"},{"photo_id":"1329785556","filename":"file4"},{"photo_id":"1329784517","filename":"file1"},{"photo_id":"1329784266","filename":"file0"},{"photo_id":"1329785189","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329784517":["hashtag1","hashtag2"]},{"1329784858":["hashtag1","hashtag2"]},{"1329785556":["hashtag1","hashtag2"]},{"1329785637":["hashtag1","hashtag2"]},{"1329784266":["hashtag1","hashtag2"]},{"1329785189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329784517, 1329784858, 1329785556, 1329785637, 1329784266, 1329785189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.51467514038086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:10:02.727691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/08/image_18012025_16_08_03_041576_0003.jpg', '/home/pi/Desktop/images/18012025/16/09/image_18012025_16_09_02_185104_0000.jpg', '/home/pi/Desktop/images/18012025/16/09/image_18012025_16_09_02_185104_0001.jpg', '/home/pi/Desktop/images/18012025/16/09/image_18012025_16_09_02_185104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/08/image_18012025_16_08_03_041576_0003.jpg
/home/pi/Desktop/images/18012025/16/09/image_18012025_16_09_02_185104_0000.jpg
/home/pi/Desktop/images/18012025/16/09/image_18012025_16_09_02_185104_0001.jpg
/home/pi/Desktop/images/18012025/16/09/image_18012025_16_09_02_185104_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329785689","1329785685","1329785679","1329785681"],"photo_ids_order":["1329785679","1329785681","1329785685","1329785689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6d1d2ec89e057cfa419732c5da1846e.jpg","text":"TemporaryFile(/tmp/multipartBody8584492775153897883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213074160,"filename":"image_18012025_16_09_02_185104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49341b7791e2de02f311e673a4b87364.jpg","text":"TemporaryFile(/tmp/multipartBody6213355947440113654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213074160,"filename":"image_18012025_16_09_02_185104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c6a4e4a46ca126563d0f270d368cdec.jpg","text":"TemporaryFile(/tmp/multipartBody3784662973593928683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213074160,"filename":"image_18012025_16_08_03_041576_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/510d5ad51382466b91002e27ed36858e.jpg","text":"TemporaryFile(/tmp/multipartBody4270730860124842586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213074160,"filename":"image_18012025_16_09_02_185104_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329785685","file1":"1329785681","file0":"1329785679","file3":"1329785689"},"map_files_photo_id_array":[{"photo_id":"1329785685","filename":"file2"},{"photo_id":"1329785681","filename":"file1"},{"photo_id":"1329785679","filename":"file0"},{"photo_id":"1329785689","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329785689":["hashtag1","hashtag2"]},{"1329785685":["hashtag1","hashtag2"]},{"1329785679":["hashtag1","hashtag2"]},{"1329785681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329785689, 1329785685, 1329785679, 1329785681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23910570144653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:10:52.201885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/09/image_18012025_16_09_02_185104_0003.jpg', '/home/pi/Desktop/images/18012025/16/10/image_18012025_16_10_02_429837_0000.jpg', '/home/pi/Desktop/images/18012025/16/10/image_18012025_16_10_02_429837_0001.jpg', '/home/pi/Desktop/images/18012025/16/10/image_18012025_16_10_02_429837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/09/image_18012025_16_09_02_185104_0003.jpg
/home/pi/Desktop/images/18012025/16/10/image_18012025_16_10_02_429837_0000.jpg
/home/pi/Desktop/images/18012025/16/10/image_18012025_16_10_02_429837_0001.jpg
/home/pi/Desktop/images/18012025/16/10/image_18012025_16_10_02_429837_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329785735","1329785816","1329785744","1329785747"],"photo_ids_order":["1329785735","1329785744","1329785747","1329785816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4485489b343c01a495fa9f528fd21374.jpg","text":"TemporaryFile(/tmp/multipartBody6169001889160436283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213123282,"filename":"image_18012025_16_09_02_185104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89e0b31a5ed7783eaf2ea0932f2c1007.jpg","text":"TemporaryFile(/tmp/multipartBody1912674009725890416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213123282,"filename":"image_18012025_16_10_02_429837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a2efce9f34ebe06da4afe4f498a87f9.jpg","text":"TemporaryFile(/tmp/multipartBody3151245636564821262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213123282,"filename":"image_18012025_16_10_02_429837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b3962c5b2cdadde9b5a66756edae96d.jpg","text":"TemporaryFile(/tmp/multipartBody4338260938239837695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213123282,"filename":"image_18012025_16_10_02_429837_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329785747","file1":"1329785744","file0":"1329785735","file3":"1329785816"},"map_files_photo_id_array":[{"photo_id":"1329785747","filename":"file2"},{"photo_id":"1329785744","filename":"file1"},{"photo_id":"1329785735","filename":"file0"},{"photo_id":"1329785816","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329785735":["hashtag1","hashtag2"]},{"1329785816":["hashtag1","hashtag2"]},{"1329785744":["hashtag1","hashtag2"]},{"1329785747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329785735, 1329785816, 1329785744, 1329785747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.2588746547699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 16:11:42.519589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/10/image_18012025_16_10_02_429837_0003.jpg', '/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0000.jpg', '/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0001.jpg', '/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/10/image_18012025_16_10_02_429837_0003.jpg
/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0000.jpg
/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0001.jpg
/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.71261739730835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:12:02.920881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/10/image_18012025_16_10_02_429837_0003.jpg', '/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0000.jpg', '/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0001.jpg', '/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/10/image_18012025_16_10_02_429837_0003.jpg
/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0000.jpg
/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0001.jpg
/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329786445","1329786514","1329786521","1329786518"],"photo_ids_order":["1329786445","1329786514","1329786518","1329786521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/56215ee5b1bf2c176a243ee240b3df97.jpg","text":"TemporaryFile(/tmp/multipartBody3661112003018285245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213194068,"filename":"image_18012025_16_10_02_429837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a67f6013a5d1f5e468f294bc06e56684.jpg","text":"TemporaryFile(/tmp/multipartBody1422994722619199743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213194068,"filename":"image_18012025_16_11_02_601695_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/726c3d5c583c8af6bb6e23d16316f0bd.jpg","text":"TemporaryFile(/tmp/multipartBody4059746482279743972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213194068,"filename":"image_18012025_16_11_02_601695_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af1df8ffedbf5e32c29625426d2c3c99.jpg","text":"TemporaryFile(/tmp/multipartBody3910151900151139826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213194068,"filename":"image_18012025_16_11_02_601695_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329786518","file1":"1329786514","file0":"1329786445","file3":"1329786521"},"map_files_photo_id_array":[{"photo_id":"1329786518","filename":"file2"},{"photo_id":"1329786514","filename":"file1"},{"photo_id":"1329786445","filename":"file0"},{"photo_id":"1329786521","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329786445":["hashtag1","hashtag2"]},{"1329786514":["hashtag1","hashtag2"]},{"1329786521":["hashtag1","hashtag2"]},{"1329786518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329786445, 1329786514, 1329786521, 1329786518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.196982622146606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:12:52.557566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0003.jpg', '/home/pi/Desktop/images/18012025/16/12/image_18012025_16_12_02_764456_0000.jpg', '/home/pi/Desktop/images/18012025/16/12/image_18012025_16_12_02_764456_0001.jpg', '/home/pi/Desktop/images/18012025/16/12/image_18012025_16_12_02_764456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/11/image_18012025_16_11_02_601695_0003.jpg
/home/pi/Desktop/images/18012025/16/12/image_18012025_16_12_02_764456_0000.jpg
/home/pi/Desktop/images/18012025/16/12/image_18012025_16_12_02_764456_0001.jpg
/home/pi/Desktop/images/18012025/16/12/image_18012025_16_12_02_764456_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329786591","1329786573","1329786593","1329786572"],"photo_ids_order":["1329786572","1329786573","1329786591","1329786593"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5dcf606781bbf3bfe293360009209ca9.jpg","text":"TemporaryFile(/tmp/multipartBody7506623182123465566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213243992,"filename":"image_18012025_16_12_02_764456_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/510decf224618eb6b2f15dca0f4ed3cc.jpg","text":"TemporaryFile(/tmp/multipartBody8728003464753730835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213243992,"filename":"image_18012025_16_12_02_764456_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a24b796e9e571576cb4c190590e1a06d.jpg","text":"TemporaryFile(/tmp/multipartBody5088600571077173372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213243992,"filename":"image_18012025_16_12_02_764456_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/25cd87ac76aef298151a10c33ed5be9e.jpg","text":"TemporaryFile(/tmp/multipartBody5710314651941713984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213243992,"filename":"image_18012025_16_11_02_601695_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329786591","file1":"1329786573","file0":"1329786572","file3":"1329786593"},"map_files_photo_id_array":[{"photo_id":"1329786591","filename":"file2"},{"photo_id":"1329786573","filename":"file1"},{"photo_id":"1329786572","filename":"file0"},{"photo_id":"1329786593","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329786591":["hashtag1","hashtag2"]},{"1329786573":["hashtag1","hashtag2"]},{"1329786593":["hashtag1","hashtag2"]},{"1329786572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329786591, 1329786573, 1329786593, 1329786572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.25859832763672 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 16:13:42.788440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/12/image_18012025_16_12_02_764456_0003.jpg', '/home/pi/Desktop/images/18012025/16/13/image_18012025_16_13_02_936768_0000.jpg', '/home/pi/Desktop/images/18012025/16/13/image_18012025_16_13_02_936768_0001.jpg', '/home/pi/Desktop/images/18012025/16/13/image_18012025_16_13_02_936768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/12/image_18012025_16_12_02_764456_0003.jpg
/home/pi/Desktop/images/18012025/16/13/image_18012025_16_13_02_936768_0000.jpg
/home/pi/Desktop/images/18012025/16/13/image_18012025_16_13_02_936768_0001.jpg
/home/pi/Desktop/images/18012025/16/13/image_18012025_16_13_02_936768_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329786619","1329786616","1329786621","1329786614"],"photo_ids_order":["1329786614","1329786616","1329786619","1329786621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f26c2fc9797cf9818af83c048dfe9d0.jpg","text":"TemporaryFile(/tmp/multipartBody5861541681954506382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213294133,"filename":"image_18012025_16_13_02_936768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c176eabdf0c49b1bd34729bc6015a663.jpg","text":"TemporaryFile(/tmp/multipartBody6803549822100297681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213294133,"filename":"image_18012025_16_13_02_936768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a233c77e09ff95a5eae95d60731252a.jpg","text":"TemporaryFile(/tmp/multipartBody7930377571712099521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213294133,"filename":"image_18012025_16_13_02_936768_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/953afc54c3848c882e30f4e2fa4e37f8.jpg","text":"TemporaryFile(/tmp/multipartBody8433872485307515935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213294133,"filename":"image_18012025_16_12_02_764456_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329786619","file1":"1329786616","file0":"1329786614","file3":"1329786621"},"map_files_photo_id_array":[{"photo_id":"1329786619","filename":"file2"},{"photo_id":"1329786616","filename":"file1"},{"photo_id":"1329786614","filename":"file0"},{"photo_id":"1329786621","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329786619":["hashtag1","hashtag2"]},{"1329786616":["hashtag1","hashtag2"]},{"1329786621":["hashtag1","hashtag2"]},{"1329786614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329786619, 1329786616, 1329786621, 1329786614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.9526891708374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:14:31.898460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/13/image_18012025_16_13_02_936768_0003.jpg', '/home/pi/Desktop/images/18012025/16/14/image_18012025_16_14_03_105666_0000.jpg', '/home/pi/Desktop/images/18012025/16/14/image_18012025_16_14_03_105666_0001.jpg', '/home/pi/Desktop/images/18012025/16/14/image_18012025_16_14_03_105666_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/13/image_18012025_16_13_02_936768_0003.jpg
/home/pi/Desktop/images/18012025/16/14/image_18012025_16_14_03_105666_0000.jpg
/home/pi/Desktop/images/18012025/16/14/image_18012025_16_14_03_105666_0001.jpg
/home/pi/Desktop/images/18012025/16/14/image_18012025_16_14_03_105666_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329786643","1329786645","1329786639","1329786647"],"photo_ids_order":["1329786639","1329786643","1329786645","1329786647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ee8f3cdaeb8e13ba476a0525089ca01.jpg","text":"TemporaryFile(/tmp/multipartBody5620269593234054144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213343084,"filename":"image_18012025_16_14_03_105666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e501e8c30fa0a661a06febb04ee3083b.jpg","text":"TemporaryFile(/tmp/multipartBody4168158333598910979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213343084,"filename":"image_18012025_16_14_03_105666_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1beddfb9ab834d0c1c442800bec887e7.jpg","text":"TemporaryFile(/tmp/multipartBody8521689277617369372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213343084,"filename":"image_18012025_16_13_02_936768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c1c9d426762e8b4fe673b1450c11bfcd.jpg","text":"TemporaryFile(/tmp/multipartBody3414091575053693731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213343084,"filename":"image_18012025_16_14_03_105666_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329786645","file1":"1329786643","file0":"1329786639","file3":"1329786647"},"map_files_photo_id_array":[{"photo_id":"1329786645","filename":"file2"},{"photo_id":"1329786643","filename":"file1"},{"photo_id":"1329786639","filename":"file0"},{"photo_id":"1329786647","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329786643":["hashtag1","hashtag2"]},{"1329786645":["hashtag1","hashtag2"]},{"1329786639":["hashtag1","hashtag2"]},{"1329786647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329786643, 1329786645, 1329786639, 1329786647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.070210218429565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:15:22.063063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/14/image_18012025_16_14_03_105666_0003.jpg', '/home/pi/Desktop/images/18012025/16/15/image_18012025_16_15_02_272986_0000.jpg', '/home/pi/Desktop/images/18012025/16/15/image_18012025_16_15_02_272986_0001.jpg', '/home/pi/Desktop/images/18012025/16/15/image_18012025_16_15_02_272986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/14/image_18012025_16_14_03_105666_0003.jpg
/home/pi/Desktop/images/18012025/16/15/image_18012025_16_15_02_272986_0000.jpg
/home/pi/Desktop/images/18012025/16/15/image_18012025_16_15_02_272986_0001.jpg
/home/pi/Desktop/images/18012025/16/15/image_18012025_16_15_02_272986_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329786670","1329786690","1329786684","1329786692"],"photo_ids_order":["1329786670","1329786684","1329786690","1329786692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cca30953052d88d2b9db3deefecaf624.jpg","text":"TemporaryFile(/tmp/multipartBody183030796370687199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213393347,"filename":"image_18012025_16_14_03_105666_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39e7a244e511e0bb03ac622c317f2fc5.jpg","text":"TemporaryFile(/tmp/multipartBody4511785385174671064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213393347,"filename":"image_18012025_16_15_02_272986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/744ac1f7f5c870aebeee72803328eceb.jpg","text":"TemporaryFile(/tmp/multipartBody2744579849239665795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213393347,"filename":"image_18012025_16_15_02_272986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f74f913a4ec53baeacd8e429d9d2483d.jpg","text":"TemporaryFile(/tmp/multipartBody928865532375405573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213393347,"filename":"image_18012025_16_15_02_272986_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329786690","file1":"1329786684","file0":"1329786670","file3":"1329786692"},"map_files_photo_id_array":[{"photo_id":"1329786690","filename":"file2"},{"photo_id":"1329786684","filename":"file1"},{"photo_id":"1329786670","filename":"file0"},{"photo_id":"1329786692","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329786670":["hashtag1","hashtag2"]},{"1329786690":["hashtag1","hashtag2"]},{"1329786684":["hashtag1","hashtag2"]},{"1329786692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329786670, 1329786690, 1329786684, 1329786692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06545090675354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:16:02.611159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/45/image_16012025_22_45_02_602712_0000.jpg', '/home/pi/Desktop/images/16012025/22/45/image_16012025_22_45_02_602712_0001.jpg', '/home/pi/Desktop/images/16012025/22/45/image_16012025_22_45_02_602712_0002.jpg', '/home/pi/Desktop/images/16012025/22/45/image_16012025_22_45_02_602712_0003.jpg', '/home/pi/Desktop/images/16012025/22/46/image_16012025_22_46_02_842008_0000.jpg', '/home/pi/Desktop/images/16012025/22/46/image_16012025_22_46_02_842008_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/45/image_16012025_22_45_02_602712_0000.jpg
/home/pi/Desktop/images/16012025/22/45/image_16012025_22_45_02_602712_0001.jpg
/home/pi/Desktop/images/16012025/22/45/image_16012025_22_45_02_602712_0002.jpg
/home/pi/Desktop/images/16012025/22/45/image_16012025_22_45_02_602712_0003.jpg
/home/pi/Desktop/images/16012025/22/46/image_16012025_22_46_02_842008_0000.jpg
/home/pi/Desktop/images/16012025/22/46/image_16012025_22_46_02_842008_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":["1329786727","1329786741","1329786735","1329786723","1329786731","1329786719"],"photo_ids_order":["1329786719","1329786723","1329786727","1329786731","1329786735","1329786741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7abb0fb30e8f4b8ad5d904fad99eebb.jpg","text":"TemporaryFile(/tmp/multipartBody3169388718647138175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213440362,"filename":"image_16012025_22_45_02_602712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/720cd1f734e3ef82c69693aab32aab40.jpg","text":"TemporaryFile(/tmp/multipartBody8210163564637876391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213440362,"filename":"image_16012025_22_46_02_842008_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d77320f04cee0bf964a2fcf2c3640173.jpg","text":"TemporaryFile(/tmp/multipartBody488290812072299298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213440362,"filename":"image_16012025_22_46_02_842008_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c42a86c2a28803aa6b3461b909ce23fa.jpg","text":"TemporaryFile(/tmp/multipartBody8918939896614245625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213440362,"filename":"image_16012025_22_45_02_602712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2ede531d89d8a8feebc2574a8db809ba.jpg","text":"TemporaryFile(/tmp/multipartBody3290252093999549436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213440362,"filename":"image_16012025_22_45_02_602712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cc892e607cb82cfdbd886ff992bc12f7.jpg","text":"TemporaryFile(/tmp/multipartBody589595004123094676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213440362,"filename":"image_16012025_22_45_02_602712_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329786727","file1":"1329786723","file0":"1329786719","file4":"1329786735","file5":"1329786741","file3":"1329786731"},"map_files_photo_id_array":[{"photo_id":"1329786741","filename":"file5"},{"photo_id":"1329786727","filename":"file2"},{"photo_id":"1329786735","filename":"file4"},{"photo_id":"1329786723","filename":"file1"},{"photo_id":"1329786719","filename":"file0"},{"photo_id":"1329786731","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329786727":["hashtag1","hashtag2"]},{"1329786741":["hashtag1","hashtag2"]},{"1329786735":["hashtag1","hashtag2"]},{"1329786723":["hashtag1","hashtag2"]},{"1329786731":["hashtag1","hashtag2"]},{"1329786719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329786727, 1329786741, 1329786735, 1329786723, 1329786731, 1329786719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.11402130126953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:17:02.936663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/15/image_18012025_16_15_02_272986_0003.jpg', '/home/pi/Desktop/images/18012025/16/16/image_18012025_16_16_02_488435_0000.jpg', '/home/pi/Desktop/images/18012025/16/16/image_18012025_16_16_02_488435_0001.jpg', '/home/pi/Desktop/images/18012025/16/16/image_18012025_16_16_02_488435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/15/image_18012025_16_15_02_272986_0003.jpg
/home/pi/Desktop/images/18012025/16/16/image_18012025_16_16_02_488435_0000.jpg
/home/pi/Desktop/images/18012025/16/16/image_18012025_16_16_02_488435_0001.jpg
/home/pi/Desktop/images/18012025/16/16/image_18012025_16_16_02_488435_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329786775","1329786804","1329786755","1329786779"],"photo_ids_order":["1329786755","1329786775","1329786779","1329786804"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5802eaf25b9038c9be69449809b27a9e.jpg","text":"TemporaryFile(/tmp/multipartBody2920237628201383796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213494231,"filename":"image_18012025_16_16_02_488435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1cd47b56431a0368ce68b2719751c519.jpg","text":"TemporaryFile(/tmp/multipartBody33907378266196607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213494231,"filename":"image_18012025_16_16_02_488435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67e8cd3afcbf48bcf7f88b7cc58e91a7.jpg","text":"TemporaryFile(/tmp/multipartBody681759394581507508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213494231,"filename":"image_18012025_16_15_02_272986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d1a1816286a6bca7db9185781deb082d.jpg","text":"TemporaryFile(/tmp/multipartBody791080001086562571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213494231,"filename":"image_18012025_16_16_02_488435_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329786779","file1":"1329786775","file0":"1329786755","file3":"1329786804"},"map_files_photo_id_array":[{"photo_id":"1329786779","filename":"file2"},{"photo_id":"1329786775","filename":"file1"},{"photo_id":"1329786755","filename":"file0"},{"photo_id":"1329786804","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329786775":["hashtag1","hashtag2"]},{"1329786804":["hashtag1","hashtag2"]},{"1329786755":["hashtag1","hashtag2"]},{"1329786779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329786775, 1329786804, 1329786755, 1329786779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.01789307594299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:17:52.363818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/16/image_18012025_16_16_02_488435_0003.jpg', '/home/pi/Desktop/images/18012025/16/17/image_18012025_16_17_02_558546_0000.jpg', '/home/pi/Desktop/images/18012025/16/17/image_18012025_16_17_02_558546_0001.jpg', '/home/pi/Desktop/images/18012025/16/17/image_18012025_16_17_02_558546_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/16/image_18012025_16_16_02_488435_0003.jpg
/home/pi/Desktop/images/18012025/16/17/image_18012025_16_17_02_558546_0000.jpg
/home/pi/Desktop/images/18012025/16/17/image_18012025_16_17_02_558546_0001.jpg
/home/pi/Desktop/images/18012025/16/17/image_18012025_16_17_02_558546_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329786871","1329786865","1329787032","1329786867"],"photo_ids_order":["1329786865","1329786867","1329786871","1329787032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b5cb86563c46d13bf1411f2677d7d9af.jpg","text":"TemporaryFile(/tmp/multipartBody4054781797239775976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213543351,"filename":"image_18012025_16_17_02_558546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec5d322a835e0eb7f8bbd545b2a157c7.jpg","text":"TemporaryFile(/tmp/multipartBody216210098436269156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213543351,"filename":"image_18012025_16_16_02_488435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67e6d336547b18bf5537cc98fd64b693.jpg","text":"TemporaryFile(/tmp/multipartBody8319284820989664219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213543351,"filename":"image_18012025_16_17_02_558546_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b6485b7b1f1ba641c6564903cffb559.jpg","text":"TemporaryFile(/tmp/multipartBody8829177797331972358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213543351,"filename":"image_18012025_16_17_02_558546_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329786871","file1":"1329786867","file0":"1329786865","file3":"1329787032"},"map_files_photo_id_array":[{"photo_id":"1329786871","filename":"file2"},{"photo_id":"1329786867","filename":"file1"},{"photo_id":"1329786865","filename":"file0"},{"photo_id":"1329787032","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329786871":["hashtag1","hashtag2"]},{"1329786865":["hashtag1","hashtag2"]},{"1329787032":["hashtag1","hashtag2"]},{"1329786867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329786871, 1329786865, 1329787032, 1329786867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82435321807861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 16:18:42.613514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/17/image_18012025_16_17_02_558546_0003.jpg', '/home/pi/Desktop/images/18012025/16/18/image_18012025_16_18_02_743384_0000.jpg', '/home/pi/Desktop/images/18012025/16/18/image_18012025_16_18_02_743384_0001.jpg', '/home/pi/Desktop/images/18012025/16/18/image_18012025_16_18_02_743384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/17/image_18012025_16_17_02_558546_0003.jpg
/home/pi/Desktop/images/18012025/16/18/image_18012025_16_18_02_743384_0000.jpg
/home/pi/Desktop/images/18012025/16/18/image_18012025_16_18_02_743384_0001.jpg
/home/pi/Desktop/images/18012025/16/18/image_18012025_16_18_02_743384_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329787249","1329787245","1329787184","1329787247"],"photo_ids_order":["1329787184","1329787245","1329787247","1329787249"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86082a3ea6b69480178215c050b87751.jpg","text":"TemporaryFile(/tmp/multipartBody6255142350793205934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213593487,"filename":"image_18012025_16_18_02_743384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc648c49536bf79d2a39b8eaa53e65ac.jpg","text":"TemporaryFile(/tmp/multipartBody7025755247478054061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213593487,"filename":"image_18012025_16_18_02_743384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe3b5d38980b8f67ee0139a7da7eb016.jpg","text":"TemporaryFile(/tmp/multipartBody1569304722546295210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213593487,"filename":"image_18012025_16_17_02_558546_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ad45209a257787d9ec5c4875790a999.jpg","text":"TemporaryFile(/tmp/multipartBody7833811158777602163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213593487,"filename":"image_18012025_16_18_02_743384_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329787247","file1":"1329787245","file0":"1329787184","file3":"1329787249"},"map_files_photo_id_array":[{"photo_id":"1329787247","filename":"file2"},{"photo_id":"1329787245","filename":"file1"},{"photo_id":"1329787184","filename":"file0"},{"photo_id":"1329787249","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329787249":["hashtag1","hashtag2"]},{"1329787245":["hashtag1","hashtag2"]},{"1329787184":["hashtag1","hashtag2"]},{"1329787247":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329787249, 1329787245, 1329787184, 1329787247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.75450825691223 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:19:31.791245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/18/image_18012025_16_18_02_743384_0003.jpg', '/home/pi/Desktop/images/18012025/16/19/image_18012025_16_19_02_997363_0000.jpg', '/home/pi/Desktop/images/18012025/16/19/image_18012025_16_19_02_997363_0001.jpg', '/home/pi/Desktop/images/18012025/16/19/image_18012025_16_19_02_997363_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/18/image_18012025_16_18_02_743384_0003.jpg
/home/pi/Desktop/images/18012025/16/19/image_18012025_16_19_02_997363_0000.jpg
/home/pi/Desktop/images/18012025/16/19/image_18012025_16_19_02_997363_0001.jpg
/home/pi/Desktop/images/18012025/16/19/image_18012025_16_19_02_997363_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329787267","1329787269","1329787271","1329787264"],"photo_ids_order":["1329787264","1329787267","1329787269","1329787271"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/62cb84bc1e5ff9f37368c0d385605483.jpg","text":"TemporaryFile(/tmp/multipartBody8644545603416340859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213642971,"filename":"image_18012025_16_19_02_997363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/90f172acf073df72cb94c65c9834223b.jpg","text":"TemporaryFile(/tmp/multipartBody6169780881239858162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213642971,"filename":"image_18012025_16_19_02_997363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e84e208ef1e19c183220725c37464b38.jpg","text":"TemporaryFile(/tmp/multipartBody5119197160665406799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213642971,"filename":"image_18012025_16_19_02_997363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b40682442729559adc28eb7228099ba4.jpg","text":"TemporaryFile(/tmp/multipartBody2902870556866394817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213642971,"filename":"image_18012025_16_18_02_743384_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329787269","file1":"1329787267","file0":"1329787264","file3":"1329787271"},"map_files_photo_id_array":[{"photo_id":"1329787269","filename":"file2"},{"photo_id":"1329787267","filename":"file1"},{"photo_id":"1329787264","filename":"file0"},{"photo_id":"1329787271","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329787267":["hashtag1","hashtag2"]},{"1329787269":["hashtag1","hashtag2"]},{"1329787271":["hashtag1","hashtag2"]},{"1329787264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329787267, 1329787269, 1329787271, 1329787264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.767767906188965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:20:22.045022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/19/image_18012025_16_19_02_997363_0003.jpg', '/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0000.jpg', '/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0001.jpg', '/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/19/image_18012025_16_19_02_997363_0003.jpg
/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0000.jpg
/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0001.jpg
/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.591369867324829 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 16:20:41.959679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/19/image_18012025_16_19_02_997363_0003.jpg', '/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0000.jpg', '/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0001.jpg', '/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/19/image_18012025_16_19_02_997363_0003.jpg
/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0000.jpg
/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0001.jpg
/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329787351","1329787321","1329787349","1329787319"],"photo_ids_order":["1329787319","1329787321","1329787349","1329787351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/017ba8304a390a9b6e31f078106d239b.jpg","text":"TemporaryFile(/tmp/multipartBody2971512614814033588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213712971,"filename":"image_18012025_16_20_02_226520_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b5be2dba3b81f6869d46ea792cee78f8.jpg","text":"TemporaryFile(/tmp/multipartBody2731750070156806852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213712971,"filename":"image_18012025_16_20_02_226520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3b7a9ca37fe350a22664192fedbe594.jpg","text":"TemporaryFile(/tmp/multipartBody948282259522810949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213712971,"filename":"image_18012025_16_20_02_226520_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a1730699160b18048859d7e6ae99906.jpg","text":"TemporaryFile(/tmp/multipartBody9130983887643481243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213712971,"filename":"image_18012025_16_19_02_997363_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329787349","file1":"1329787321","file0":"1329787319","file3":"1329787351"},"map_files_photo_id_array":[{"photo_id":"1329787349","filename":"file2"},{"photo_id":"1329787321","filename":"file1"},{"photo_id":"1329787319","filename":"file0"},{"photo_id":"1329787351","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329787351":["hashtag1","hashtag2"]},{"1329787321":["hashtag1","hashtag2"]},{"1329787349":["hashtag1","hashtag2"]},{"1329787319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329787351, 1329787321, 1329787349, 1329787319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01229286193848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:21:22.255477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0003.jpg', '/home/pi/Desktop/images/18012025/16/21/image_18012025_16_21_02_347004_0000.jpg', '/home/pi/Desktop/images/18012025/16/21/image_18012025_16_21_02_347004_0001.jpg', '/home/pi/Desktop/images/18012025/16/21/image_18012025_16_21_02_347004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/20/image_18012025_16_20_02_226520_0003.jpg
/home/pi/Desktop/images/18012025/16/21/image_18012025_16_21_02_347004_0000.jpg
/home/pi/Desktop/images/18012025/16/21/image_18012025_16_21_02_347004_0001.jpg
/home/pi/Desktop/images/18012025/16/21/image_18012025_16_21_02_347004_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329787927","1329787572","1329787362","1329787412"],"photo_ids_order":["1329787362","1329787412","1329787572","1329787927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70a5d1eb70656a47265ff6373c8049f8.jpg","text":"TemporaryFile(/tmp/multipartBody963067640895784083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213753392,"filename":"image_18012025_16_21_02_347004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0273b7f64486b1e4cc76b3452b9d685b.jpg","text":"TemporaryFile(/tmp/multipartBody1355209299763174198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213753392,"filename":"image_18012025_16_21_02_347004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4df3d5a50b689dc527fe21ae924a1600.jpg","text":"TemporaryFile(/tmp/multipartBody5494731820206325127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213753392,"filename":"image_18012025_16_20_02_226520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f97dc4a48980c7aac6db552281c3c69.jpg","text":"TemporaryFile(/tmp/multipartBody7178407054015611939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213753392,"filename":"image_18012025_16_21_02_347004_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329787572","file1":"1329787412","file0":"1329787362","file3":"1329787927"},"map_files_photo_id_array":[{"photo_id":"1329787572","filename":"file2"},{"photo_id":"1329787412","filename":"file1"},{"photo_id":"1329787362","filename":"file0"},{"photo_id":"1329787927","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329787927":["hashtag1","hashtag2"]},{"1329787572":["hashtag1","hashtag2"]},{"1329787362":["hashtag1","hashtag2"]},{"1329787412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329787927, 1329787572, 1329787362, 1329787412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.09251666069031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:22:22.354686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/21/image_18012025_16_21_02_347004_0003.jpg', '/home/pi/Desktop/images/18012025/16/22/image_18012025_16_22_02_527504_0000.jpg', '/home/pi/Desktop/images/18012025/16/22/image_18012025_16_22_02_527504_0001.jpg', '/home/pi/Desktop/images/18012025/16/22/image_18012025_16_22_02_527504_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/21/image_18012025_16_21_02_347004_0003.jpg
/home/pi/Desktop/images/18012025/16/22/image_18012025_16_22_02_527504_0000.jpg
/home/pi/Desktop/images/18012025/16/22/image_18012025_16_22_02_527504_0001.jpg
/home/pi/Desktop/images/18012025/16/22/image_18012025_16_22_02_527504_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329788436","1329788444","1329788464","1329788431"],"photo_ids_order":["1329788431","1329788436","1329788444","1329788464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a1e789c16d238d783bae59212c01178c.jpg","text":"TemporaryFile(/tmp/multipartBody3158258842595909645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213813460,"filename":"image_18012025_16_22_02_527504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c25514751f701a163915a4d751bd6ed2.jpg","text":"TemporaryFile(/tmp/multipartBody6106845546604995057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213813460,"filename":"image_18012025_16_22_02_527504_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/434ffae048e70925877d1492111dbb4b.jpg","text":"TemporaryFile(/tmp/multipartBody6732700073132869633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213813460,"filename":"image_18012025_16_22_02_527504_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a9119f6dbf3cc5d227d6d0f865052fab.jpg","text":"TemporaryFile(/tmp/multipartBody717400413328755066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213813460,"filename":"image_18012025_16_21_02_347004_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329788444","file1":"1329788436","file0":"1329788431","file3":"1329788464"},"map_files_photo_id_array":[{"photo_id":"1329788444","filename":"file2"},{"photo_id":"1329788436","filename":"file1"},{"photo_id":"1329788431","filename":"file0"},{"photo_id":"1329788464","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329788436":["hashtag1","hashtag2"]},{"1329788444":["hashtag1","hashtag2"]},{"1329788464":["hashtag1","hashtag2"]},{"1329788431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329788436, 1329788444, 1329788464, 1329788431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.98814058303833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:23:03.144219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/46/image_16012025_22_46_02_842008_0002.jpg', '/home/pi/Desktop/images/16012025/22/46/image_16012025_22_46_02_842008_0003.jpg', '/home/pi/Desktop/images/16012025/22/47/image_16012025_22_47_02_983646_0000.jpg', '/home/pi/Desktop/images/16012025/22/47/image_16012025_22_47_02_983646_0001.jpg', '/home/pi/Desktop/images/16012025/22/47/image_16012025_22_47_02_983646_0002.jpg', '/home/pi/Desktop/images/16012025/22/47/image_16012025_22_47_02_983646_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/46/image_16012025_22_46_02_842008_0002.jpg
/home/pi/Desktop/images/16012025/22/46/image_16012025_22_46_02_842008_0003.jpg
/home/pi/Desktop/images/16012025/22/47/image_16012025_22_47_02_983646_0000.jpg
/home/pi/Desktop/images/16012025/22/47/image_16012025_22_47_02_983646_0001.jpg
/home/pi/Desktop/images/16012025/22/47/image_16012025_22_47_02_983646_0002.jpg
/home/pi/Desktop/images/16012025/22/47/image_16012025_22_47_02_983646_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789003","1329789035","1329788876","1329788885","1329788933","1329788927"],"photo_ids_order":["1329788876","1329788885","1329788927","1329788933","1329789003","1329789035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba96c82d1bab2941224756b3f5e83398.jpg","text":"TemporaryFile(/tmp/multipartBody2207185506991521001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213860896,"filename":"image_16012025_22_47_02_983646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c1a03aa390b47d689552c77a2bef71d5.jpg","text":"TemporaryFile(/tmp/multipartBody781594111305392182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213860896,"filename":"image_16012025_22_47_02_983646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ece995f83afcec8e2513193fdd569716.jpg","text":"TemporaryFile(/tmp/multipartBody207966540351606830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213860896,"filename":"image_16012025_22_46_02_842008_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e85f0df2e17722ebd3af016720e74530.jpg","text":"TemporaryFile(/tmp/multipartBody8827524223000020090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213860896,"filename":"image_16012025_22_46_02_842008_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c64dfcf1504e52f44f14007c126c01c.jpg","text":"TemporaryFile(/tmp/multipartBody4599115155453268858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213860896,"filename":"image_16012025_22_47_02_983646_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03ef015c7d1bbf1f6168158a4f4c7d88.jpg","text":"TemporaryFile(/tmp/multipartBody3327619633285361264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213860896,"filename":"image_16012025_22_47_02_983646_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329788927","file1":"1329788885","file0":"1329788876","file4":"1329789003","file5":"1329789035","file3":"1329788933"},"map_files_photo_id_array":[{"photo_id":"1329789035","filename":"file5"},{"photo_id":"1329788927","filename":"file2"},{"photo_id":"1329789003","filename":"file4"},{"photo_id":"1329788885","filename":"file1"},{"photo_id":"1329788876","filename":"file0"},{"photo_id":"1329788933","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329789003":["hashtag1","hashtag2"]},{"1329789035":["hashtag1","hashtag2"]},{"1329788876":["hashtag1","hashtag2"]},{"1329788885":["hashtag1","hashtag2"]},{"1329788933":["hashtag1","hashtag2"]},{"1329788927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329789003, 1329789035, 1329788876, 1329788885, 1329788933, 1329788927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.67670226097107 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:24:22.681239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/22/image_18012025_16_22_02_527504_0003.jpg', '/home/pi/Desktop/images/18012025/16/23/image_18012025_16_23_02_752678_0000.jpg', '/home/pi/Desktop/images/18012025/16/23/image_18012025_16_23_02_752678_0001.jpg', '/home/pi/Desktop/images/18012025/16/23/image_18012025_16_23_02_752678_0002.jpg', '/home/pi/Desktop/images/18012025/16/23/image_18012025_16_23_02_752678_0003.jpg', '/home/pi/Desktop/images/18012025/16/24/image_18012025_16_24_02_938247_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/22/image_18012025_16_22_02_527504_0003.jpg
/home/pi/Desktop/images/18012025/16/23/image_18012025_16_23_02_752678_0000.jpg
/home/pi/Desktop/images/18012025/16/23/image_18012025_16_23_02_752678_0001.jpg
/home/pi/Desktop/images/18012025/16/23/image_18012025_16_23_02_752678_0002.jpg
/home/pi/Desktop/images/18012025/16/23/image_18012025_16_23_02_752678_0003.jpg
/home/pi/Desktop/images/18012025/16/24/image_18012025_16_24_02_938247_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789111","1329789123","1329789105","1329789119","1329789136","1329789115"],"photo_ids_order":["1329789105","1329789111","1329789115","1329789119","1329789123","1329789136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe26a804b166c95ceb833c52977dfd7f.jpg","text":"TemporaryFile(/tmp/multipartBody2685984979187679665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213939449,"filename":"image_18012025_16_23_02_752678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d425ec6c8b7cc8ad40691b355d3606b4.jpg","text":"TemporaryFile(/tmp/multipartBody6834982543585951767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213939449,"filename":"image_18012025_16_23_02_752678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d25b26857c773293d9a5341d1997bafd.jpg","text":"TemporaryFile(/tmp/multipartBody4257364324360975269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213939449,"filename":"image_18012025_16_22_02_527504_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c405f1140a415410708d7fcfce70a321.jpg","text":"TemporaryFile(/tmp/multipartBody5542329186180043825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213939449,"filename":"image_18012025_16_23_02_752678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7f183334868b71496bb4994b67f98e3.jpg","text":"TemporaryFile(/tmp/multipartBody624978734406739169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213939449,"filename":"image_18012025_16_24_02_938247_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3cbe8501730448db6ef25a3dcdaa4f02.jpg","text":"TemporaryFile(/tmp/multipartBody7326747028175442119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213939449,"filename":"image_18012025_16_23_02_752678_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789115","file1":"1329789111","file0":"1329789105","file4":"1329789123","file5":"1329789136","file3":"1329789119"},"map_files_photo_id_array":[{"photo_id":"1329789136","filename":"file5"},{"photo_id":"1329789115","filename":"file2"},{"photo_id":"1329789123","filename":"file4"},{"photo_id":"1329789111","filename":"file1"},{"photo_id":"1329789105","filename":"file0"},{"photo_id":"1329789119","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329789111":["hashtag1","hashtag2"]},{"1329789123":["hashtag1","hashtag2"]},{"1329789105":["hashtag1","hashtag2"]},{"1329789119":["hashtag1","hashtag2"]},{"1329789136":["hashtag1","hashtag2"]},{"1329789115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329789111, 1329789123, 1329789105, 1329789119, 1329789136, 1329789115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.89088749885559 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:25:21.985685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/24/image_18012025_16_24_02_938247_0001.jpg', '/home/pi/Desktop/images/18012025/16/24/image_18012025_16_24_02_938247_0002.jpg', '/home/pi/Desktop/images/18012025/16/24/image_18012025_16_24_02_938247_0003.jpg', '/home/pi/Desktop/images/18012025/16/25/image_18012025_16_25_03_073049_0000.jpg', '/home/pi/Desktop/images/18012025/16/25/image_18012025_16_25_03_073049_0001.jpg', '/home/pi/Desktop/images/18012025/16/25/image_18012025_16_25_03_073049_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/24/image_18012025_16_24_02_938247_0001.jpg
/home/pi/Desktop/images/18012025/16/24/image_18012025_16_24_02_938247_0002.jpg
/home/pi/Desktop/images/18012025/16/24/image_18012025_16_24_02_938247_0003.jpg
/home/pi/Desktop/images/18012025/16/25/image_18012025_16_25_03_073049_0000.jpg
/home/pi/Desktop/images/18012025/16/25/image_18012025_16_25_03_073049_0001.jpg
/home/pi/Desktop/images/18012025/16/25/image_18012025_16_25_03_073049_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789197","1329789185","1329789181","1329789192","1329789195","1329789189"],"photo_ids_order":["1329789181","1329789185","1329789189","1329789192","1329789195","1329789197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9542280146d2135d192c1e835c7f921.jpg","text":"TemporaryFile(/tmp/multipartBody3621602828560887547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213998616,"filename":"image_18012025_16_25_03_073049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04ea1472ce6cc0a063df8cd1e1c50fcd.jpg","text":"TemporaryFile(/tmp/multipartBody1804924653142720765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213998616,"filename":"image_18012025_16_24_02_938247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e54a9c381d5e4ebe1acac14059ccbf9.jpg","text":"TemporaryFile(/tmp/multipartBody5495618342635907208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213998616,"filename":"image_18012025_16_24_02_938247_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1185b01f0d203e7988d033aedbac09b4.jpg","text":"TemporaryFile(/tmp/multipartBody3574179929105462997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213998616,"filename":"image_18012025_16_25_03_073049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec0e06d882ec87ecbe166b8ceccb5b6b.jpg","text":"TemporaryFile(/tmp/multipartBody1479559226382859540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213998616,"filename":"image_18012025_16_25_03_073049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/22f2f3af85be69db22d29da4d562f7fa.jpg","text":"TemporaryFile(/tmp/multipartBody5434787189322026889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737213998616,"filename":"image_18012025_16_24_02_938247_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789189","file1":"1329789185","file0":"1329789181","file4":"1329789195","file5":"1329789197","file3":"1329789192"},"map_files_photo_id_array":[{"photo_id":"1329789197","filename":"file5"},{"photo_id":"1329789189","filename":"file2"},{"photo_id":"1329789195","filename":"file4"},{"photo_id":"1329789185","filename":"file1"},{"photo_id":"1329789181","filename":"file0"},{"photo_id":"1329789192","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329789197":["hashtag1","hashtag2"]},{"1329789185":["hashtag1","hashtag2"]},{"1329789181":["hashtag1","hashtag2"]},{"1329789192":["hashtag1","hashtag2"]},{"1329789195":["hashtag1","hashtag2"]},{"1329789189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329789197, 1329789185, 1329789181, 1329789192, 1329789195, 1329789189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.28751492500305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:26:22.063294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/25/image_18012025_16_25_03_073049_0003.jpg', '/home/pi/Desktop/images/18012025/16/26/image_18012025_16_26_02_253865_0000.jpg', '/home/pi/Desktop/images/18012025/16/26/image_18012025_16_26_02_253865_0001.jpg', '/home/pi/Desktop/images/18012025/16/26/image_18012025_16_26_02_253865_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/25/image_18012025_16_25_03_073049_0003.jpg
/home/pi/Desktop/images/18012025/16/26/image_18012025_16_26_02_253865_0000.jpg
/home/pi/Desktop/images/18012025/16/26/image_18012025_16_26_02_253865_0001.jpg
/home/pi/Desktop/images/18012025/16/26/image_18012025_16_26_02_253865_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789314","1329789317","1329789311","1329789308"],"photo_ids_order":["1329789308","1329789311","1329789314","1329789317"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/db2f057559318bc3969ec1a2f8b4cf22.jpg","text":"TemporaryFile(/tmp/multipartBody1241408311349068855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214053016,"filename":"image_18012025_16_26_02_253865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ca192b7bfc99e3d6524740f3b579d0c.jpg","text":"TemporaryFile(/tmp/multipartBody7321229753966253719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214053016,"filename":"image_18012025_16_26_02_253865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6fe0d83aee16c8b96e3d0c5d13071b8a.jpg","text":"TemporaryFile(/tmp/multipartBody5448624291448697201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214053016,"filename":"image_18012025_16_26_02_253865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d93e0f107c65893978599734ac8e120.jpg","text":"TemporaryFile(/tmp/multipartBody5478078528250267261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214053016,"filename":"image_18012025_16_25_03_073049_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789314","file1":"1329789311","file0":"1329789308","file3":"1329789317"},"map_files_photo_id_array":[{"photo_id":"1329789314","filename":"file2"},{"photo_id":"1329789311","filename":"file1"},{"photo_id":"1329789308","filename":"file0"},{"photo_id":"1329789317","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329789314":["hashtag1","hashtag2"]},{"1329789317":["hashtag1","hashtag2"]},{"1329789311":["hashtag1","hashtag2"]},{"1329789308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329789314, 1329789317, 1329789311, 1329789308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.22854566574097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:27:02.997735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/48/image_16012025_22_48_03_121614_0000.jpg', '/home/pi/Desktop/images/16012025/22/48/image_16012025_22_48_03_121614_0001.jpg', '/home/pi/Desktop/images/16012025/22/48/image_16012025_22_48_03_121614_0002.jpg', '/home/pi/Desktop/images/16012025/22/48/image_16012025_22_48_03_121614_0003.jpg', '/home/pi/Desktop/images/16012025/22/49/image_16012025_22_49_02_331280_0000.jpg', '/home/pi/Desktop/images/16012025/22/49/image_16012025_22_49_02_331280_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/48/image_16012025_22_48_03_121614_0000.jpg
/home/pi/Desktop/images/16012025/22/48/image_16012025_22_48_03_121614_0001.jpg
/home/pi/Desktop/images/16012025/22/48/image_16012025_22_48_03_121614_0002.jpg
/home/pi/Desktop/images/16012025/22/48/image_16012025_22_48_03_121614_0003.jpg
/home/pi/Desktop/images/16012025/22/49/image_16012025_22_49_02_331280_0000.jpg
/home/pi/Desktop/images/16012025/22/49/image_16012025_22_49_02_331280_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789338","1329789346","1329789331","1329789334","1329789328","1329789342"],"photo_ids_order":["1329789328","1329789331","1329789334","1329789338","1329789342","1329789346"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18f04555df0b53e47d9eaea27e345f13.jpg","text":"TemporaryFile(/tmp/multipartBody7276327089560863851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214100314,"filename":"image_16012025_22_48_03_121614_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5db0aa067245cb6735049939a2620adc.jpg","text":"TemporaryFile(/tmp/multipartBody1664143659307990084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214100314,"filename":"image_16012025_22_49_02_331280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/20b2ecb13c6352affe1e28220ae7016b.jpg","text":"TemporaryFile(/tmp/multipartBody9126131572119439370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214100314,"filename":"image_16012025_22_48_03_121614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d819dba0f40ebc9b100ca0395eaf7de.jpg","text":"TemporaryFile(/tmp/multipartBody6121178077556004496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214100314,"filename":"image_16012025_22_48_03_121614_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/871b0348c1ca1e3c6b5bdfd5c66fa6df.jpg","text":"TemporaryFile(/tmp/multipartBody725584006044184088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214100314,"filename":"image_16012025_22_48_03_121614_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0639fa82fae5c4b8e9957a62090b3709.jpg","text":"TemporaryFile(/tmp/multipartBody1961210747421324653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214100314,"filename":"image_16012025_22_49_02_331280_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789334","file1":"1329789331","file0":"1329789328","file4":"1329789342","file5":"1329789346","file3":"1329789338"},"map_files_photo_id_array":[{"photo_id":"1329789346","filename":"file5"},{"photo_id":"1329789334","filename":"file2"},{"photo_id":"1329789342","filename":"file4"},{"photo_id":"1329789331","filename":"file1"},{"photo_id":"1329789328","filename":"file0"},{"photo_id":"1329789338","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329789338":["hashtag1","hashtag2"]},{"1329789346":["hashtag1","hashtag2"]},{"1329789331":["hashtag1","hashtag2"]},{"1329789334":["hashtag1","hashtag2"]},{"1329789328":["hashtag1","hashtag2"]},{"1329789342":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329789338, 1329789346, 1329789331, 1329789334, 1329789328, 1329789342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.065279483795166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:28:02.873864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/26/image_18012025_16_26_02_253865_0003.jpg', '/home/pi/Desktop/images/18012025/16/27/image_18012025_16_27_02_416002_0000.jpg', '/home/pi/Desktop/images/18012025/16/27/image_18012025_16_27_02_416002_0001.jpg', '/home/pi/Desktop/images/18012025/16/27/image_18012025_16_27_02_416002_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/26/image_18012025_16_26_02_253865_0003.jpg
/home/pi/Desktop/images/18012025/16/27/image_18012025_16_27_02_416002_0000.jpg
/home/pi/Desktop/images/18012025/16/27/image_18012025_16_27_02_416002_0001.jpg
/home/pi/Desktop/images/18012025/16/27/image_18012025_16_27_02_416002_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789350","1329789356","1329789352","1329789354"],"photo_ids_order":["1329789350","1329789352","1329789354","1329789356"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ab4bfc762090c241f77824ba67d38fc9.jpg","text":"TemporaryFile(/tmp/multipartBody6627030962806851304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214153964,"filename":"image_18012025_16_26_02_253865_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ab70585995a33aef047ab11b4360b0c.jpg","text":"TemporaryFile(/tmp/multipartBody5576375402506943342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214153964,"filename":"image_18012025_16_27_02_416002_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a18113db13f2c7640e7769d7699b78aa.jpg","text":"TemporaryFile(/tmp/multipartBody3621250636832703124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214153964,"filename":"image_18012025_16_27_02_416002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4426190d9295cd6f7b4f82835a94853c.jpg","text":"TemporaryFile(/tmp/multipartBody3453248413337810427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214153964,"filename":"image_18012025_16_27_02_416002_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789354","file1":"1329789352","file0":"1329789350","file3":"1329789356"},"map_files_photo_id_array":[{"photo_id":"1329789354","filename":"file2"},{"photo_id":"1329789352","filename":"file1"},{"photo_id":"1329789350","filename":"file0"},{"photo_id":"1329789356","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329789350":["hashtag1","hashtag2"]},{"1329789356":["hashtag1","hashtag2"]},{"1329789352":["hashtag1","hashtag2"]},{"1329789354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329789350, 1329789356, 1329789352, 1329789354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.49401068687439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:28:52.442092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/27/image_18012025_16_27_02_416002_0003.jpg', '/home/pi/Desktop/images/18012025/16/28/image_18012025_16_28_02_700436_0000.jpg', '/home/pi/Desktop/images/18012025/16/28/image_18012025_16_28_02_700436_0001.jpg', '/home/pi/Desktop/images/18012025/16/28/image_18012025_16_28_02_700436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/27/image_18012025_16_27_02_416002_0003.jpg
/home/pi/Desktop/images/18012025/16/28/image_18012025_16_28_02_700436_0000.jpg
/home/pi/Desktop/images/18012025/16/28/image_18012025_16_28_02_700436_0001.jpg
/home/pi/Desktop/images/18012025/16/28/image_18012025_16_28_02_700436_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789402","1329789404","1329789406","1329789409"],"photo_ids_order":["1329789402","1329789404","1329789406","1329789409"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea7408f50d16f15fc8b20984dac54b1d.jpg","text":"TemporaryFile(/tmp/multipartBody1875804991553438328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214203805,"filename":"image_18012025_16_27_02_416002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5848646b55b23305aa015358096e7e56.jpg","text":"TemporaryFile(/tmp/multipartBody6839772361955493419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214203805,"filename":"image_18012025_16_28_02_700436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f363dff66e6bdea483e6c646abdbb6b.jpg","text":"TemporaryFile(/tmp/multipartBody1096535429656554053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214203805,"filename":"image_18012025_16_28_02_700436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8baa29089c48b28a8fb8e8024eb659db.jpg","text":"TemporaryFile(/tmp/multipartBody1300681515328975498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214203805,"filename":"image_18012025_16_28_02_700436_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789406","file1":"1329789404","file0":"1329789402","file3":"1329789409"},"map_files_photo_id_array":[{"photo_id":"1329789406","filename":"file2"},{"photo_id":"1329789404","filename":"file1"},{"photo_id":"1329789402","filename":"file0"},{"photo_id":"1329789409","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329789402":["hashtag1","hashtag2"]},{"1329789404":["hashtag1","hashtag2"]},{"1329789406":["hashtag1","hashtag2"]},{"1329789409":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329789402, 1329789404, 1329789406, 1329789409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66061329841614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 16:29:42.695039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/28/image_18012025_16_28_02_700436_0003.jpg', '/home/pi/Desktop/images/18012025/16/29/image_18012025_16_29_02_822117_0000.jpg', '/home/pi/Desktop/images/18012025/16/29/image_18012025_16_29_02_822117_0001.jpg', '/home/pi/Desktop/images/18012025/16/29/image_18012025_16_29_02_822117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/28/image_18012025_16_28_02_700436_0003.jpg
/home/pi/Desktop/images/18012025/16/29/image_18012025_16_29_02_822117_0000.jpg
/home/pi/Desktop/images/18012025/16/29/image_18012025_16_29_02_822117_0001.jpg
/home/pi/Desktop/images/18012025/16/29/image_18012025_16_29_02_822117_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789440","1329789434","1329789437","1329789439"],"photo_ids_order":["1329789434","1329789437","1329789439","1329789440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/316f5d4ed8f20867e70b15b970bb8beb.jpg","text":"TemporaryFile(/tmp/multipartBody777664490221594607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214254219,"filename":"image_18012025_16_29_02_822117_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/326c82c91f532a65d509a387a7eec9b9.jpg","text":"TemporaryFile(/tmp/multipartBody9101351292869797743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214254219,"filename":"image_18012025_16_28_02_700436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f4489b3acc19c5f4821db8d31ff7d362.jpg","text":"TemporaryFile(/tmp/multipartBody6186801609353297475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214254219,"filename":"image_18012025_16_29_02_822117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2631ac829e713e3691822363513f312b.jpg","text":"TemporaryFile(/tmp/multipartBody3922487672820822979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214254219,"filename":"image_18012025_16_29_02_822117_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789439","file1":"1329789437","file0":"1329789434","file3":"1329789440"},"map_files_photo_id_array":[{"photo_id":"1329789439","filename":"file2"},{"photo_id":"1329789437","filename":"file1"},{"photo_id":"1329789434","filename":"file0"},{"photo_id":"1329789440","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329789440":["hashtag1","hashtag2"]},{"1329789434":["hashtag1","hashtag2"]},{"1329789437":["hashtag1","hashtag2"]},{"1329789439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329789440, 1329789434, 1329789437, 1329789439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73316311836243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:30:31.830117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/29/image_18012025_16_29_02_822117_0003.jpg', '/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0000.jpg', '/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0001.jpg', '/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/29/image_18012025_16_29_02_822117_0003.jpg
/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0000.jpg
/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0001.jpg
/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.930545568466187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:30:51.808758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/29/image_18012025_16_29_02_822117_0003.jpg', '/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0000.jpg', '/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0001.jpg', '/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/29/image_18012025_16_29_02_822117_0003.jpg
/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0000.jpg
/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0001.jpg
/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789501","1329789481","1329789484","1329789483"],"photo_ids_order":["1329789481","1329789483","1329789484","1329789501"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f5cbf3f34a9834cccecc5831f542267.jpg","text":"TemporaryFile(/tmp/multipartBody8719590372677201889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214323118,"filename":"image_18012025_16_30_03_054166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bb5862e40cb94d02d2f9ab8446cf4368.jpg","text":"TemporaryFile(/tmp/multipartBody6947384695281254386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214323118,"filename":"image_18012025_16_29_02_822117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa0e0bd81d0e0cea200a51e4ff944e14.jpg","text":"TemporaryFile(/tmp/multipartBody8595129950618832598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214323118,"filename":"image_18012025_16_30_03_054166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7a8e84b36864fd82b50838acab7297d.jpg","text":"TemporaryFile(/tmp/multipartBody6665943902369348618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214323118,"filename":"image_18012025_16_30_03_054166_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789484","file1":"1329789483","file0":"1329789481","file3":"1329789501"},"map_files_photo_id_array":[{"photo_id":"1329789484","filename":"file2"},{"photo_id":"1329789483","filename":"file1"},{"photo_id":"1329789481","filename":"file0"},{"photo_id":"1329789501","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329789501":["hashtag1","hashtag2"]},{"1329789481":["hashtag1","hashtag2"]},{"1329789484":["hashtag1","hashtag2"]},{"1329789483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329789501, 1329789481, 1329789484, 1329789483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.78743386268616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 16:31:42.046282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0003.jpg', '/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0000.jpg', '/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0001.jpg', '/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0003.jpg
/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0000.jpg
/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0001.jpg
/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.96949553489685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:32:02.672039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0003.jpg', '/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0000.jpg', '/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0001.jpg', '/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/30/image_18012025_16_30_03_054166_0003.jpg
/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0000.jpg
/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0001.jpg
/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789590","1329789572","1329789571","1329789595"],"photo_ids_order":["1329789571","1329789572","1329789590","1329789595"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/553f7df687913c1e493394fa51de59fb.jpg","text":"TemporaryFile(/tmp/multipartBody8103608311129623153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214394038,"filename":"image_18012025_16_31_02_157262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/43b6a2f817d47571ba10524a835e0845.jpg","text":"TemporaryFile(/tmp/multipartBody4218245214066787769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214394038,"filename":"image_18012025_16_31_02_157262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/83fdbb0578b16b4736d53c84ba435f4b.jpg","text":"TemporaryFile(/tmp/multipartBody655635376960385079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214394038,"filename":"image_18012025_16_30_03_054166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a710dedb36065e8a302fad3b00c80f85.jpg","text":"TemporaryFile(/tmp/multipartBody7954896173239134532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214394038,"filename":"image_18012025_16_31_02_157262_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789590","file1":"1329789572","file0":"1329789571","file3":"1329789595"},"map_files_photo_id_array":[{"photo_id":"1329789590","filename":"file2"},{"photo_id":"1329789572","filename":"file1"},{"photo_id":"1329789571","filename":"file0"},{"photo_id":"1329789595","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329789590":["hashtag1","hashtag2"]},{"1329789572":["hashtag1","hashtag2"]},{"1329789571":["hashtag1","hashtag2"]},{"1329789595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329789590, 1329789572, 1329789571, 1329789595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.604445695877075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:32:52.165130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0003.jpg', '/home/pi/Desktop/images/18012025/16/32/image_18012025_16_32_02_313268_0000.jpg', '/home/pi/Desktop/images/18012025/16/32/image_18012025_16_32_02_313268_0001.jpg', '/home/pi/Desktop/images/18012025/16/32/image_18012025_16_32_02_313268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/31/image_18012025_16_31_02_157262_0003.jpg
/home/pi/Desktop/images/18012025/16/32/image_18012025_16_32_02_313268_0000.jpg
/home/pi/Desktop/images/18012025/16/32/image_18012025_16_32_02_313268_0001.jpg
/home/pi/Desktop/images/18012025/16/32/image_18012025_16_32_02_313268_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789618","1329789620","1329789616","1329789619"],"photo_ids_order":["1329789616","1329789618","1329789619","1329789620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4f596a42f591797141a9053753fbc39.jpg","text":"TemporaryFile(/tmp/multipartBody5468985954767482426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214443101,"filename":"image_18012025_16_32_02_313268_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a74b3c6b7bc5de94e3ee70505fd4b8d9.jpg","text":"TemporaryFile(/tmp/multipartBody6716933199513520938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214443101,"filename":"image_18012025_16_32_02_313268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/677c382e231062990c371ed7ccfd4f6a.jpg","text":"TemporaryFile(/tmp/multipartBody5003983266233933924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214443101,"filename":"image_18012025_16_31_02_157262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9c42aad711c317209f4613bc63d69871.jpg","text":"TemporaryFile(/tmp/multipartBody1565750858924494292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214443101,"filename":"image_18012025_16_32_02_313268_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789619","file1":"1329789618","file0":"1329789616","file3":"1329789620"},"map_files_photo_id_array":[{"photo_id":"1329789619","filename":"file2"},{"photo_id":"1329789618","filename":"file1"},{"photo_id":"1329789616","filename":"file0"},{"photo_id":"1329789620","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329789618":["hashtag1","hashtag2"]},{"1329789620":["hashtag1","hashtag2"]},{"1329789616":["hashtag1","hashtag2"]},{"1329789619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329789618, 1329789620, 1329789616, 1329789619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32557034492493 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:33:32.441162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/32/image_18012025_16_32_02_313268_0003.jpg', '/home/pi/Desktop/images/18012025/16/33/image_18012025_16_33_02_539199_0000.jpg', '/home/pi/Desktop/images/18012025/16/33/image_18012025_16_33_02_539199_0001.jpg', '/home/pi/Desktop/images/18012025/16/33/image_18012025_16_33_02_539199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/32/image_18012025_16_32_02_313268_0003.jpg
/home/pi/Desktop/images/18012025/16/33/image_18012025_16_33_02_539199_0000.jpg
/home/pi/Desktop/images/18012025/16/33/image_18012025_16_33_02_539199_0001.jpg
/home/pi/Desktop/images/18012025/16/33/image_18012025_16_33_02_539199_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789644","1329789638","1329789651","1329789648"],"photo_ids_order":["1329789638","1329789644","1329789648","1329789651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73032427b50a17849732aa56ec1c4d44.jpg","text":"TemporaryFile(/tmp/multipartBody7470367045327390059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214484012,"filename":"image_18012025_16_33_02_539199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d1166ce42f61d692c736eaef4046d4e4.jpg","text":"TemporaryFile(/tmp/multipartBody4871730470371944382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214484012,"filename":"image_18012025_16_32_02_313268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c13e012c9c21db00f72b3815fb8fcc7a.jpg","text":"TemporaryFile(/tmp/multipartBody5126493821291090181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214484012,"filename":"image_18012025_16_33_02_539199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2ed6e681689b7a4f4103ccd0f1479b7a.jpg","text":"TemporaryFile(/tmp/multipartBody7308803121066990173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214484012,"filename":"image_18012025_16_33_02_539199_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789648","file1":"1329789644","file0":"1329789638","file3":"1329789651"},"map_files_photo_id_array":[{"photo_id":"1329789648","filename":"file2"},{"photo_id":"1329789644","filename":"file1"},{"photo_id":"1329789638","filename":"file0"},{"photo_id":"1329789651","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329789644":["hashtag1","hashtag2"]},{"1329789638":["hashtag1","hashtag2"]},{"1329789651":["hashtag1","hashtag2"]},{"1329789648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329789644, 1329789638, 1329789651, 1329789648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.14492392539978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:34:22.553655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/33/image_18012025_16_33_02_539199_0003.jpg', '/home/pi/Desktop/images/18012025/16/34/image_18012025_16_34_02_731274_0000.jpg', '/home/pi/Desktop/images/18012025/16/34/image_18012025_16_34_02_731274_0001.jpg', '/home/pi/Desktop/images/18012025/16/34/image_18012025_16_34_02_731274_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/33/image_18012025_16_33_02_539199_0003.jpg
/home/pi/Desktop/images/18012025/16/34/image_18012025_16_34_02_731274_0000.jpg
/home/pi/Desktop/images/18012025/16/34/image_18012025_16_34_02_731274_0001.jpg
/home/pi/Desktop/images/18012025/16/34/image_18012025_16_34_02_731274_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789677","1329789667","1329789661","1329789672"],"photo_ids_order":["1329789661","1329789667","1329789672","1329789677"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf24234a37bc1a81f413ff9cd1d761f4.jpg","text":"TemporaryFile(/tmp/multipartBody2041669566136492219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214534032,"filename":"image_18012025_16_34_02_731274_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e577bac395f9e72b5d51c1cb7155d031.jpg","text":"TemporaryFile(/tmp/multipartBody1172915161804533739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214534032,"filename":"image_18012025_16_34_02_731274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/964887887d807e0c0b6565ece7bfe360.jpg","text":"TemporaryFile(/tmp/multipartBody3233896924711603076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214534032,"filename":"image_18012025_16_33_02_539199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf63cfdaa6ca088078337650d1afefd1.jpg","text":"TemporaryFile(/tmp/multipartBody5803744861334957736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214534032,"filename":"image_18012025_16_34_02_731274_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789672","file1":"1329789667","file0":"1329789661","file3":"1329789677"},"map_files_photo_id_array":[{"photo_id":"1329789672","filename":"file2"},{"photo_id":"1329789667","filename":"file1"},{"photo_id":"1329789661","filename":"file0"},{"photo_id":"1329789677","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329789677":["hashtag1","hashtag2"]},{"1329789667":["hashtag1","hashtag2"]},{"1329789661":["hashtag1","hashtag2"]},{"1329789672":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329789677, 1329789667, 1329789661, 1329789672)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.82830786705017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:35:22.762582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/34/image_18012025_16_34_02_731274_0003.jpg', '/home/pi/Desktop/images/18012025/16/35/image_18012025_16_35_02_967700_0000.jpg', '/home/pi/Desktop/images/18012025/16/35/image_18012025_16_35_02_967700_0001.jpg', '/home/pi/Desktop/images/18012025/16/35/image_18012025_16_35_02_967700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/34/image_18012025_16_34_02_731274_0003.jpg
/home/pi/Desktop/images/18012025/16/35/image_18012025_16_35_02_967700_0000.jpg
/home/pi/Desktop/images/18012025/16/35/image_18012025_16_35_02_967700_0001.jpg
/home/pi/Desktop/images/18012025/16/35/image_18012025_16_35_02_967700_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789755","1329789740","1329789746","1329789751"],"photo_ids_order":["1329789740","1329789746","1329789751","1329789755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dbca81bdac431f246310bf7e835b6be2.jpg","text":"TemporaryFile(/tmp/multipartBody6066778543568408439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214594255,"filename":"image_18012025_16_35_02_967700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d78ab572581702859835b378a1d5d29.jpg","text":"TemporaryFile(/tmp/multipartBody7673325482854506963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214594255,"filename":"image_18012025_16_34_02_731274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5664896b30a8d54b10a65e963dc8a31b.jpg","text":"TemporaryFile(/tmp/multipartBody5010976907308495297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214594255,"filename":"image_18012025_16_35_02_967700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a1b0bafa625c695588708912e5c58af.jpg","text":"TemporaryFile(/tmp/multipartBody2169813783142885841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214594255,"filename":"image_18012025_16_35_02_967700_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789751","file1":"1329789746","file0":"1329789740","file3":"1329789755"},"map_files_photo_id_array":[{"photo_id":"1329789751","filename":"file2"},{"photo_id":"1329789746","filename":"file1"},{"photo_id":"1329789740","filename":"file0"},{"photo_id":"1329789755","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329789755":["hashtag1","hashtag2"]},{"1329789740":["hashtag1","hashtag2"]},{"1329789746":["hashtag1","hashtag2"]},{"1329789751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329789755, 1329789740, 1329789746, 1329789751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50119590759277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:36:22.050588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/35/image_18012025_16_35_02_967700_0003.jpg', '/home/pi/Desktop/images/18012025/16/36/image_18012025_16_36_03_133586_0000.jpg', '/home/pi/Desktop/images/18012025/16/36/image_18012025_16_36_03_133586_0001.jpg', '/home/pi/Desktop/images/18012025/16/36/image_18012025_16_36_03_133586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/35/image_18012025_16_35_02_967700_0003.jpg
/home/pi/Desktop/images/18012025/16/36/image_18012025_16_36_03_133586_0000.jpg
/home/pi/Desktop/images/18012025/16/36/image_18012025_16_36_03_133586_0001.jpg
/home/pi/Desktop/images/18012025/16/36/image_18012025_16_36_03_133586_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329789850","1329789841","1329789837","1329789846"],"photo_ids_order":["1329789837","1329789841","1329789846","1329789850"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b2906bcaffa871252009ab232c40202f.jpg","text":"TemporaryFile(/tmp/multipartBody2924783373898482762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214653534,"filename":"image_18012025_16_36_03_133586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a691ba8ad0b59985e75b8322c299e7dd.jpg","text":"TemporaryFile(/tmp/multipartBody7357332313098089065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214653534,"filename":"image_18012025_16_36_03_133586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4fe6c222ed384e5a7f324cafaa29eecb.jpg","text":"TemporaryFile(/tmp/multipartBody1549701626770527763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214653534,"filename":"image_18012025_16_35_02_967700_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89d6691f942375e4b748d9525a205b43.jpg","text":"TemporaryFile(/tmp/multipartBody7330708454612819318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214653534,"filename":"image_18012025_16_36_03_133586_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789846","file1":"1329789841","file0":"1329789837","file3":"1329789850"},"map_files_photo_id_array":[{"photo_id":"1329789846","filename":"file2"},{"photo_id":"1329789841","filename":"file1"},{"photo_id":"1329789837","filename":"file0"},{"photo_id":"1329789850","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329789850":["hashtag1","hashtag2"]},{"1329789841":["hashtag1","hashtag2"]},{"1329789837":["hashtag1","hashtag2"]},{"1329789846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329789850, 1329789841, 1329789837, 1329789846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.5553138256073 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-18 16:37:22.187668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/36/image_18012025_16_36_03_133586_0003.jpg', '/home/pi/Desktop/images/18012025/16/37/image_18012025_16_37_02_313611_0000.jpg', '/home/pi/Desktop/images/18012025/16/37/image_18012025_16_37_02_313611_0001.jpg', '/home/pi/Desktop/images/18012025/16/37/image_18012025_16_37_02_313611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/36/image_18012025_16_36_03_133586_0003.jpg
/home/pi/Desktop/images/18012025/16/37/image_18012025_16_37_02_313611_0000.jpg
/home/pi/Desktop/images/18012025/16/37/image_18012025_16_37_02_313611_0001.jpg
/home/pi/Desktop/images/18012025/16/37/image_18012025_16_37_02_313611_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329790026","1329789925","1329789880","1329789996"],"photo_ids_order":["1329789880","1329789925","1329789996","1329790026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8a540e3f4829522689e7e194b84045a.jpg","text":"TemporaryFile(/tmp/multipartBody6909147062368774283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214713575,"filename":"image_18012025_16_37_02_313611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/833d0b8e54ba0a1304b12aef058ed58b.jpg","text":"TemporaryFile(/tmp/multipartBody6821972652399906280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214713575,"filename":"image_18012025_16_37_02_313611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f48e7222a67389a2a21c36efecd1b47.jpg","text":"TemporaryFile(/tmp/multipartBody6870605117843996866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214713575,"filename":"image_18012025_16_36_03_133586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/333a5cfeddc9b11289679cb6c2aa8832.jpg","text":"TemporaryFile(/tmp/multipartBody7366683739672631555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214713575,"filename":"image_18012025_16_37_02_313611_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329789996","file1":"1329789925","file0":"1329789880","file3":"1329790026"},"map_files_photo_id_array":[{"photo_id":"1329789996","filename":"file2"},{"photo_id":"1329789925","filename":"file1"},{"photo_id":"1329789880","filename":"file0"},{"photo_id":"1329790026","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329790026":["hashtag1","hashtag2"]},{"1329789925":["hashtag1","hashtag2"]},{"1329789880":["hashtag1","hashtag2"]},{"1329789996":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329790026, 1329789925, 1329789880, 1329789996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12464427947998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:38:22.324723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/37/image_18012025_16_37_02_313611_0003.jpg', '/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0000.jpg', '/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0001.jpg', '/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/37/image_18012025_16_37_02_313611_0003.jpg
/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0000.jpg
/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0001.jpg
/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.06553840637207 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 16:38:42.319553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/37/image_18012025_16_37_02_313611_0003.jpg', '/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0000.jpg', '/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0001.jpg', '/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/37/image_18012025_16_37_02_313611_0003.jpg
/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0000.jpg
/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0001.jpg
/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329790143","1329790139","1329790144","1329790141"],"photo_ids_order":["1329790139","1329790141","1329790143","1329790144"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f9e0381aaf0b7a66bb0b1c023c2dc17.jpg","text":"TemporaryFile(/tmp/multipartBody2826657423076374745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214793766,"filename":"image_18012025_16_38_02_502143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/837816de0c58bb4e126806a95543826c.jpg","text":"TemporaryFile(/tmp/multipartBody1133891243651769534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214793766,"filename":"image_18012025_16_37_02_313611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a083379cde01a0ed74a501024a0d93a4.jpg","text":"TemporaryFile(/tmp/multipartBody5450785048896442484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214793766,"filename":"image_18012025_16_38_02_502143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/678f4f726a2cde63a3086c58b8966705.jpg","text":"TemporaryFile(/tmp/multipartBody3981754630214847453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214793766,"filename":"image_18012025_16_38_02_502143_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329790143","file1":"1329790141","file0":"1329790139","file3":"1329790144"},"map_files_photo_id_array":[{"photo_id":"1329790143","filename":"file2"},{"photo_id":"1329790141","filename":"file1"},{"photo_id":"1329790139","filename":"file0"},{"photo_id":"1329790144","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329790143":["hashtag1","hashtag2"]},{"1329790139":["hashtag1","hashtag2"]},{"1329790144":["hashtag1","hashtag2"]},{"1329790141":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329790143, 1329790139, 1329790144, 1329790141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79463315010071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:39:32.446459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0003.jpg', '/home/pi/Desktop/images/18012025/16/39/image_18012025_16_39_02_663380_0000.jpg', '/home/pi/Desktop/images/18012025/16/39/image_18012025_16_39_02_663380_0001.jpg', '/home/pi/Desktop/images/18012025/16/39/image_18012025_16_39_02_663380_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/38/image_18012025_16_38_02_502143_0003.jpg
/home/pi/Desktop/images/18012025/16/39/image_18012025_16_39_02_663380_0000.jpg
/home/pi/Desktop/images/18012025/16/39/image_18012025_16_39_02_663380_0001.jpg
/home/pi/Desktop/images/18012025/16/39/image_18012025_16_39_02_663380_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329790158","1329790166","1329790169","1329790162"],"photo_ids_order":["1329790158","1329790162","1329790166","1329790169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a140701ee7e6339b2368ff9f802cbb40.jpg","text":"TemporaryFile(/tmp/multipartBody3146415899098419291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214844134,"filename":"image_18012025_16_38_02_502143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/395f2aaf4cd07e8d88d4d52233f530c5.jpg","text":"TemporaryFile(/tmp/multipartBody5292772066374389184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214844134,"filename":"image_18012025_16_39_02_663380_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fdff3d159d2645f4f87ce14c11444ea7.jpg","text":"TemporaryFile(/tmp/multipartBody8927838608734502183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214844134,"filename":"image_18012025_16_39_02_663380_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3310e21b06739abecaead86249618bf1.jpg","text":"TemporaryFile(/tmp/multipartBody4324685186107452470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214844134,"filename":"image_18012025_16_39_02_663380_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329790166","file1":"1329790162","file0":"1329790158","file3":"1329790169"},"map_files_photo_id_array":[{"photo_id":"1329790166","filename":"file2"},{"photo_id":"1329790162","filename":"file1"},{"photo_id":"1329790158","filename":"file0"},{"photo_id":"1329790169","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329790158":["hashtag1","hashtag2"]},{"1329790166":["hashtag1","hashtag2"]},{"1329790169":["hashtag1","hashtag2"]},{"1329790162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329790158, 1329790166, 1329790169, 1329790162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82823181152344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:40:22.623436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/39/image_18012025_16_39_02_663380_0003.jpg', '/home/pi/Desktop/images/18012025/16/40/image_18012025_16_40_02_881610_0000.jpg', '/home/pi/Desktop/images/18012025/16/40/image_18012025_16_40_02_881610_0001.jpg', '/home/pi/Desktop/images/18012025/16/40/image_18012025_16_40_02_881610_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/39/image_18012025_16_39_02_663380_0003.jpg
/home/pi/Desktop/images/18012025/16/40/image_18012025_16_40_02_881610_0000.jpg
/home/pi/Desktop/images/18012025/16/40/image_18012025_16_40_02_881610_0001.jpg
/home/pi/Desktop/images/18012025/16/40/image_18012025_16_40_02_881610_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329790194","1329790181","1329790187","1329790198"],"photo_ids_order":["1329790181","1329790187","1329790194","1329790198"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7a8bab95d95d7844ad053868d2e8f0e.jpg","text":"TemporaryFile(/tmp/multipartBody3375633800334745941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214893818,"filename":"image_18012025_16_40_02_881610_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/325a7bbc6ce69f68defad76b02e2deda.jpg","text":"TemporaryFile(/tmp/multipartBody6959963734461884174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214893818,"filename":"image_18012025_16_39_02_663380_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97593d7741ea32b221e96bd3dda8c787.jpg","text":"TemporaryFile(/tmp/multipartBody885421577420155754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214893818,"filename":"image_18012025_16_40_02_881610_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/62cc58c013651f4710a53d5cc84cd0e5.jpg","text":"TemporaryFile(/tmp/multipartBody7718566443353030726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214893818,"filename":"image_18012025_16_40_02_881610_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329790194","file1":"1329790187","file0":"1329790181","file3":"1329790198"},"map_files_photo_id_array":[{"photo_id":"1329790194","filename":"file2"},{"photo_id":"1329790187","filename":"file1"},{"photo_id":"1329790181","filename":"file0"},{"photo_id":"1329790198","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329790194":["hashtag1","hashtag2"]},{"1329790181":["hashtag1","hashtag2"]},{"1329790187":["hashtag1","hashtag2"]},{"1329790198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329790194, 1329790181, 1329790187, 1329790198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.356449604034424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:41:21.872524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/40/image_18012025_16_40_02_881610_0003.jpg', '/home/pi/Desktop/images/18012025/16/41/image_18012025_16_41_03_036083_0000.jpg', '/home/pi/Desktop/images/18012025/16/41/image_18012025_16_41_03_036083_0001.jpg', '/home/pi/Desktop/images/18012025/16/41/image_18012025_16_41_03_036083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/40/image_18012025_16_40_02_881610_0003.jpg
/home/pi/Desktop/images/18012025/16/41/image_18012025_16_41_03_036083_0000.jpg
/home/pi/Desktop/images/18012025/16/41/image_18012025_16_41_03_036083_0001.jpg
/home/pi/Desktop/images/18012025/16/41/image_18012025_16_41_03_036083_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329791090","1329790655","1329790415","1329790843"],"photo_ids_order":["1329790415","1329790655","1329790843","1329791090"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3737e6bf92716aa341ca9ddc8fd3ccac.jpg","text":"TemporaryFile(/tmp/multipartBody3178746125408618564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214953077,"filename":"image_18012025_16_41_03_036083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/218d23a7707a7364c01938359d941088.jpg","text":"TemporaryFile(/tmp/multipartBody2066783080213521828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214953077,"filename":"image_18012025_16_41_03_036083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e2e5868a19db3f1311028c9a673ea8f.jpg","text":"TemporaryFile(/tmp/multipartBody6897397652440816980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214953077,"filename":"image_18012025_16_40_02_881610_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b579c37af1bf54a87ab035d31eb38df.jpg","text":"TemporaryFile(/tmp/multipartBody8420588935536865559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737214953077,"filename":"image_18012025_16_41_03_036083_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329790843","file1":"1329790655","file0":"1329790415","file3":"1329791090"},"map_files_photo_id_array":[{"photo_id":"1329790843","filename":"file2"},{"photo_id":"1329790655","filename":"file1"},{"photo_id":"1329790415","filename":"file0"},{"photo_id":"1329791090","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329791090":["hashtag1","hashtag2"]},{"1329790655":["hashtag1","hashtag2"]},{"1329790415":["hashtag1","hashtag2"]},{"1329790843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329791090, 1329790655, 1329790415, 1329790843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.86324381828308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:42:22.073921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/41/image_18012025_16_41_03_036083_0003.jpg', '/home/pi/Desktop/images/18012025/16/42/image_18012025_16_42_02_299975_0000.jpg', '/home/pi/Desktop/images/18012025/16/42/image_18012025_16_42_02_299975_0001.jpg', '/home/pi/Desktop/images/18012025/16/42/image_18012025_16_42_02_299975_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/41/image_18012025_16_41_03_036083_0003.jpg
/home/pi/Desktop/images/18012025/16/42/image_18012025_16_42_02_299975_0000.jpg
/home/pi/Desktop/images/18012025/16/42/image_18012025_16_42_02_299975_0001.jpg
/home/pi/Desktop/images/18012025/16/42/image_18012025_16_42_02_299975_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329791924","1329791941","1329791935","1329791929"],"photo_ids_order":["1329791924","1329791929","1329791935","1329791941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b458d16261e0d5ac727f614f3a826508.jpg","text":"TemporaryFile(/tmp/multipartBody3734423960433150164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215013035,"filename":"image_18012025_16_41_03_036083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef53044d4433d4f286d82b28faa8fc64.jpg","text":"TemporaryFile(/tmp/multipartBody2198346849255717934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215013035,"filename":"image_18012025_16_42_02_299975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e1fc4f4a049a6c034cc7ff60da45e29.jpg","text":"TemporaryFile(/tmp/multipartBody6812860154933720982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215013035,"filename":"image_18012025_16_42_02_299975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a40835eece4c406dd1123549917d2727.jpg","text":"TemporaryFile(/tmp/multipartBody9206528976827020913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215013035,"filename":"image_18012025_16_42_02_299975_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329791935","file1":"1329791929","file0":"1329791924","file3":"1329791941"},"map_files_photo_id_array":[{"photo_id":"1329791935","filename":"file2"},{"photo_id":"1329791929","filename":"file1"},{"photo_id":"1329791924","filename":"file0"},{"photo_id":"1329791941","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329791924":["hashtag1","hashtag2"]},{"1329791941":["hashtag1","hashtag2"]},{"1329791935":["hashtag1","hashtag2"]},{"1329791929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329791924, 1329791941, 1329791935, 1329791929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.59356355667114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:43:22.167745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/42/image_18012025_16_42_02_299975_0003.jpg', '/home/pi/Desktop/images/18012025/16/43/image_18012025_16_43_02_394215_0000.jpg', '/home/pi/Desktop/images/18012025/16/43/image_18012025_16_43_02_394215_0001.jpg', '/home/pi/Desktop/images/18012025/16/43/image_18012025_16_43_02_394215_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/42/image_18012025_16_42_02_299975_0003.jpg
/home/pi/Desktop/images/18012025/16/43/image_18012025_16_43_02_394215_0000.jpg
/home/pi/Desktop/images/18012025/16/43/image_18012025_16_43_02_394215_0001.jpg
/home/pi/Desktop/images/18012025/16/43/image_18012025_16_43_02_394215_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329792506","1329792481","1329792447","1329792516"],"photo_ids_order":["1329792447","1329792481","1329792506","1329792516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ac9a54c64350905826840a5f97ce707.jpg","text":"TemporaryFile(/tmp/multipartBody4692233004145987950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215073593,"filename":"image_18012025_16_43_02_394215_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c67fd5a8d7d77e4640c7d590c5db941d.jpg","text":"TemporaryFile(/tmp/multipartBody8461925340985342295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215073593,"filename":"image_18012025_16_43_02_394215_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e27f49dbbec3e4240bee34439436a598.jpg","text":"TemporaryFile(/tmp/multipartBody327631199085469463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215073593,"filename":"image_18012025_16_42_02_299975_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8d709597a9122f1b50b31dddfcf1acc0.jpg","text":"TemporaryFile(/tmp/multipartBody6960457253732013315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215073593,"filename":"image_18012025_16_43_02_394215_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329792506","file1":"1329792481","file0":"1329792447","file3":"1329792516"},"map_files_photo_id_array":[{"photo_id":"1329792506","filename":"file2"},{"photo_id":"1329792481","filename":"file1"},{"photo_id":"1329792447","filename":"file0"},{"photo_id":"1329792516","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329792506":["hashtag1","hashtag2"]},{"1329792481":["hashtag1","hashtag2"]},{"1329792447":["hashtag1","hashtag2"]},{"1329792516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329792506, 1329792481, 1329792447, 1329792516)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.807621240615845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:44:22.447813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/43/image_18012025_16_43_02_394215_0003.jpg', '/home/pi/Desktop/images/18012025/16/44/image_18012025_16_44_02_533565_0000.jpg', '/home/pi/Desktop/images/18012025/16/44/image_18012025_16_44_02_533565_0001.jpg', '/home/pi/Desktop/images/18012025/16/44/image_18012025_16_44_02_533565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/43/image_18012025_16_43_02_394215_0003.jpg
/home/pi/Desktop/images/18012025/16/44/image_18012025_16_44_02_533565_0000.jpg
/home/pi/Desktop/images/18012025/16/44/image_18012025_16_44_02_533565_0001.jpg
/home/pi/Desktop/images/18012025/16/44/image_18012025_16_44_02_533565_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329792710","1329792700","1329792714","1329792705"],"photo_ids_order":["1329792700","1329792705","1329792710","1329792714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c689ed7de01492223b9a6daf88e3848.jpg","text":"TemporaryFile(/tmp/multipartBody808767492521634246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215133551,"filename":"image_18012025_16_44_02_533565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff0784b9b4e8a146763b8dce946b6f9a.jpg","text":"TemporaryFile(/tmp/multipartBody4084996329023286886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215133551,"filename":"image_18012025_16_43_02_394215_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/522a61c641e651dd2fbe955220e6b855.jpg","text":"TemporaryFile(/tmp/multipartBody506039523358166122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215133551,"filename":"image_18012025_16_44_02_533565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b2edd8160693ad09a9eb71899bf89e70.jpg","text":"TemporaryFile(/tmp/multipartBody7336353430231767004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215133551,"filename":"image_18012025_16_44_02_533565_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329792710","file1":"1329792705","file0":"1329792700","file3":"1329792714"},"map_files_photo_id_array":[{"photo_id":"1329792710","filename":"file2"},{"photo_id":"1329792705","filename":"file1"},{"photo_id":"1329792700","filename":"file0"},{"photo_id":"1329792714","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329792710":["hashtag1","hashtag2"]},{"1329792700":["hashtag1","hashtag2"]},{"1329792714":["hashtag1","hashtag2"]},{"1329792705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329792710, 1329792700, 1329792714, 1329792705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26116967201233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:45:03.422207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/49/image_16012025_22_49_02_331280_0002.jpg', '/home/pi/Desktop/images/16012025/22/49/image_16012025_22_49_02_331280_0003.jpg', '/home/pi/Desktop/images/16012025/22/50/image_16012025_22_50_02_685297_0000.jpg', '/home/pi/Desktop/images/16012025/22/50/image_16012025_22_50_02_685297_0001.jpg', '/home/pi/Desktop/images/16012025/22/50/image_16012025_22_50_02_685297_0002.jpg', '/home/pi/Desktop/images/16012025/22/50/image_16012025_22_50_02_685297_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/49/image_16012025_22_49_02_331280_0002.jpg
/home/pi/Desktop/images/16012025/22/49/image_16012025_22_49_02_331280_0003.jpg
/home/pi/Desktop/images/16012025/22/50/image_16012025_22_50_02_685297_0000.jpg
/home/pi/Desktop/images/16012025/22/50/image_16012025_22_50_02_685297_0001.jpg
/home/pi/Desktop/images/16012025/22/50/image_16012025_22_50_02_685297_0002.jpg
/home/pi/Desktop/images/16012025/22/50/image_16012025_22_50_02_685297_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":["1329792974","1329792968","1329792961","1329792955","1329792951","1329792945"],"photo_ids_order":["1329792945","1329792951","1329792955","1329792961","1329792968","1329792974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cebbcf44204b4a996d6922f19d5f9c8b.jpg","text":"TemporaryFile(/tmp/multipartBody2179210998460381667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215180843,"filename":"image_16012025_22_50_02_685297_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/578651996e81c29de0657803b860df70.jpg","text":"TemporaryFile(/tmp/multipartBody6663218273307566104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215180843,"filename":"image_16012025_22_50_02_685297_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c1a81797bbc9e2a8bf425d27734c178.jpg","text":"TemporaryFile(/tmp/multipartBody9066165115372790878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215180843,"filename":"image_16012025_22_50_02_685297_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/efb73e59127876953cdbb7d161176ae0.jpg","text":"TemporaryFile(/tmp/multipartBody224467689725563579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215180843,"filename":"image_16012025_22_50_02_685297_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c3597866cbcfba0db16625775f5d98a.jpg","text":"TemporaryFile(/tmp/multipartBody9111338285379338458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215180843,"filename":"image_16012025_22_49_02_331280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f6e3a2be387c6529bf53bd50edc2ae6a.jpg","text":"TemporaryFile(/tmp/multipartBody376970543787071289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215180843,"filename":"image_16012025_22_49_02_331280_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329792955","file1":"1329792951","file0":"1329792945","file4":"1329792968","file5":"1329792974","file3":"1329792961"},"map_files_photo_id_array":[{"photo_id":"1329792974","filename":"file5"},{"photo_id":"1329792955","filename":"file2"},{"photo_id":"1329792968","filename":"file4"},{"photo_id":"1329792951","filename":"file1"},{"photo_id":"1329792945","filename":"file0"},{"photo_id":"1329792961","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329792974":["hashtag1","hashtag2"]},{"1329792968":["hashtag1","hashtag2"]},{"1329792961":["hashtag1","hashtag2"]},{"1329792955":["hashtag1","hashtag2"]},{"1329792951":["hashtag1","hashtag2"]},{"1329792945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329792974, 1329792968, 1329792961, 1329792955, 1329792951, 1329792945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.882816314697266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:46:02.287795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/44/image_18012025_16_44_02_533565_0003.jpg', '/home/pi/Desktop/images/18012025/16/45/image_18012025_16_45_02_773708_0000.jpg', '/home/pi/Desktop/images/18012025/16/45/image_18012025_16_45_02_773708_0001.jpg', '/home/pi/Desktop/images/18012025/16/45/image_18012025_16_45_02_773708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/44/image_18012025_16_44_02_533565_0003.jpg
/home/pi/Desktop/images/18012025/16/45/image_18012025_16_45_02_773708_0000.jpg
/home/pi/Desktop/images/18012025/16/45/image_18012025_16_45_02_773708_0001.jpg
/home/pi/Desktop/images/18012025/16/45/image_18012025_16_45_02_773708_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329792989","1329792982","1329792981","1329792986"],"photo_ids_order":["1329792981","1329792982","1329792986","1329792989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67c463a53654432da5feb2c0c4233b06.jpg","text":"TemporaryFile(/tmp/multipartBody7876250962583320853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215234087,"filename":"image_18012025_16_45_02_773708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/158fbeb06b95488373f085b8254f4a97.jpg","text":"TemporaryFile(/tmp/multipartBody8140814155957381489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215234087,"filename":"image_18012025_16_45_02_773708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28e40b162e244cc676aa927d9e0b8ef3.jpg","text":"TemporaryFile(/tmp/multipartBody8369663178307831873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215234087,"filename":"image_18012025_16_44_02_533565_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7fd72cdb620d79afaf86822b65fc52d2.jpg","text":"TemporaryFile(/tmp/multipartBody3297313068345862295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215234087,"filename":"image_18012025_16_45_02_773708_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329792986","file1":"1329792982","file0":"1329792981","file3":"1329792989"},"map_files_photo_id_array":[{"photo_id":"1329792986","filename":"file2"},{"photo_id":"1329792982","filename":"file1"},{"photo_id":"1329792981","filename":"file0"},{"photo_id":"1329792989","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329792989":["hashtag1","hashtag2"]},{"1329792982":["hashtag1","hashtag2"]},{"1329792981":["hashtag1","hashtag2"]},{"1329792986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329792989, 1329792982, 1329792981, 1329792986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.799946546554565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:46:51.875081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/45/image_18012025_16_45_02_773708_0003.jpg', '/home/pi/Desktop/images/18012025/16/46/image_18012025_16_46_03_103804_0000.jpg', '/home/pi/Desktop/images/18012025/16/46/image_18012025_16_46_03_103804_0001.jpg', '/home/pi/Desktop/images/18012025/16/46/image_18012025_16_46_03_103804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/45/image_18012025_16_45_02_773708_0003.jpg
/home/pi/Desktop/images/18012025/16/46/image_18012025_16_46_03_103804_0000.jpg
/home/pi/Desktop/images/18012025/16/46/image_18012025_16_46_03_103804_0001.jpg
/home/pi/Desktop/images/18012025/16/46/image_18012025_16_46_03_103804_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329793013","1329793015","1329793018","1329793017"],"photo_ids_order":["1329793013","1329793015","1329793017","1329793018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6efb23ab452ae926129a62036be8d37.jpg","text":"TemporaryFile(/tmp/multipartBody5162634101538195821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215283301,"filename":"image_18012025_16_45_02_773708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b731ba78ba0213866f7e7de0b7821ac.jpg","text":"TemporaryFile(/tmp/multipartBody1846395318575364543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215283301,"filename":"image_18012025_16_46_03_103804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4e59f2e48f39bed379a336d58cc736a.jpg","text":"TemporaryFile(/tmp/multipartBody6419492290848402872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215283301,"filename":"image_18012025_16_46_03_103804_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e76de49c7bff189251210645771cbf8d.jpg","text":"TemporaryFile(/tmp/multipartBody7829895206491911738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215283301,"filename":"image_18012025_16_46_03_103804_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329793017","file1":"1329793015","file0":"1329793013","file3":"1329793018"},"map_files_photo_id_array":[{"photo_id":"1329793017","filename":"file2"},{"photo_id":"1329793015","filename":"file1"},{"photo_id":"1329793013","filename":"file0"},{"photo_id":"1329793018","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329793013":["hashtag1","hashtag2"]},{"1329793015":["hashtag1","hashtag2"]},{"1329793018":["hashtag1","hashtag2"]},{"1329793017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329793013, 1329793015, 1329793018, 1329793017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.567734241485596 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-18 16:47:42.061195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/46/image_18012025_16_46_03_103804_0003.jpg', '/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0000.jpg', '/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0001.jpg', '/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/46/image_18012025_16_46_03_103804_0003.jpg
/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0000.jpg
/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0001.jpg
/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.966252565383911 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:48:02.682576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/46/image_18012025_16_46_03_103804_0003.jpg', '/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0000.jpg', '/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0001.jpg', '/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/46/image_18012025_16_46_03_103804_0003.jpg
/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0000.jpg
/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0001.jpg
/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329793059","1329793070","1329793052","1329793049"],"photo_ids_order":["1329793049","1329793052","1329793059","1329793070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b3bfdc3f9bfe9aff72515cc1b6e98c9e.jpg","text":"TemporaryFile(/tmp/multipartBody9128970613396929691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215354075,"filename":"image_18012025_16_47_02_220331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f14087720f426e6bdb306d00baa353e3.jpg","text":"TemporaryFile(/tmp/multipartBody4372366944443710350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215354075,"filename":"image_18012025_16_47_02_220331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da05c6a713ce7abfb6f18c9e7c2bd8a9.jpg","text":"TemporaryFile(/tmp/multipartBody8792799401714033234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215354075,"filename":"image_18012025_16_47_02_220331_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/61eeeb416f2b74a36cc1f9f2b10c4f1c.jpg","text":"TemporaryFile(/tmp/multipartBody1447372155919655395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215354075,"filename":"image_18012025_16_46_03_103804_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329793059","file1":"1329793052","file0":"1329793049","file3":"1329793070"},"map_files_photo_id_array":[{"photo_id":"1329793059","filename":"file2"},{"photo_id":"1329793052","filename":"file1"},{"photo_id":"1329793049","filename":"file0"},{"photo_id":"1329793070","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329793059":["hashtag1","hashtag2"]},{"1329793070":["hashtag1","hashtag2"]},{"1329793052":["hashtag1","hashtag2"]},{"1329793049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329793059, 1329793070, 1329793052, 1329793049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.836891412734985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:48:52.266675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0003.jpg', '/home/pi/Desktop/images/18012025/16/48/image_18012025_16_48_02_498523_0000.jpg', '/home/pi/Desktop/images/18012025/16/48/image_18012025_16_48_02_498523_0001.jpg', '/home/pi/Desktop/images/18012025/16/48/image_18012025_16_48_02_498523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/47/image_18012025_16_47_02_220331_0003.jpg
/home/pi/Desktop/images/18012025/16/48/image_18012025_16_48_02_498523_0000.jpg
/home/pi/Desktop/images/18012025/16/48/image_18012025_16_48_02_498523_0001.jpg
/home/pi/Desktop/images/18012025/16/48/image_18012025_16_48_02_498523_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329793223","1329793225","1329793191","1329793226"],"photo_ids_order":["1329793191","1329793223","1329793225","1329793226"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c551f326dfb4a459c74b5d741a70a86d.jpg","text":"TemporaryFile(/tmp/multipartBody887046081840566529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215403810,"filename":"image_18012025_16_48_02_498523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74cc3a0aec033d93874bd87bd0e55b73.jpg","text":"TemporaryFile(/tmp/multipartBody5400973269420238267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215403810,"filename":"image_18012025_16_48_02_498523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a5e270ee20790d3a1c4c2c03816b044.jpg","text":"TemporaryFile(/tmp/multipartBody3409228796338435887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215403810,"filename":"image_18012025_16_47_02_220331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ca8792b1f380620e948183de1726b81.jpg","text":"TemporaryFile(/tmp/multipartBody3156564002923543737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215403810,"filename":"image_18012025_16_48_02_498523_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329793225","file1":"1329793223","file0":"1329793191","file3":"1329793226"},"map_files_photo_id_array":[{"photo_id":"1329793225","filename":"file2"},{"photo_id":"1329793223","filename":"file1"},{"photo_id":"1329793191","filename":"file0"},{"photo_id":"1329793226","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329793223":["hashtag1","hashtag2"]},{"1329793225":["hashtag1","hashtag2"]},{"1329793191":["hashtag1","hashtag2"]},{"1329793226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329793223, 1329793225, 1329793191, 1329793226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.59380507469177 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-18 16:49:42.581052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/48/image_18012025_16_48_02_498523_0003.jpg', '/home/pi/Desktop/images/18012025/16/49/image_18012025_16_49_02_688461_0000.jpg', '/home/pi/Desktop/images/18012025/16/49/image_18012025_16_49_02_688461_0001.jpg', '/home/pi/Desktop/images/18012025/16/49/image_18012025_16_49_02_688461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/48/image_18012025_16_48_02_498523_0003.jpg
/home/pi/Desktop/images/18012025/16/49/image_18012025_16_49_02_688461_0000.jpg
/home/pi/Desktop/images/18012025/16/49/image_18012025_16_49_02_688461_0001.jpg
/home/pi/Desktop/images/18012025/16/49/image_18012025_16_49_02_688461_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329793249","1329793275","1329793277","1329793253"],"photo_ids_order":["1329793249","1329793253","1329793275","1329793277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fed7a81efde1a8c42359257ea06756f2.jpg","text":"TemporaryFile(/tmp/multipartBody8583549546442682152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215454168,"filename":"image_18012025_16_48_02_498523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/536a679c3064df2a6d9a0dc0d8b1bd2e.jpg","text":"TemporaryFile(/tmp/multipartBody3739030732691069609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215454168,"filename":"image_18012025_16_49_02_688461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9891f5cde00b43d37b32f423ff633019.jpg","text":"TemporaryFile(/tmp/multipartBody1285810738988721722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215454168,"filename":"image_18012025_16_49_02_688461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9017ce58e4b399e4166bbfdd7d7db5e5.jpg","text":"TemporaryFile(/tmp/multipartBody2375432006731577387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215454168,"filename":"image_18012025_16_49_02_688461_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329793275","file1":"1329793253","file0":"1329793249","file3":"1329793277"},"map_files_photo_id_array":[{"photo_id":"1329793275","filename":"file2"},{"photo_id":"1329793253","filename":"file1"},{"photo_id":"1329793249","filename":"file0"},{"photo_id":"1329793277","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329793249":["hashtag1","hashtag2"]},{"1329793275":["hashtag1","hashtag2"]},{"1329793277":["hashtag1","hashtag2"]},{"1329793253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329793249, 1329793275, 1329793277, 1329793253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12291932106018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:50:32.606337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/49/image_18012025_16_49_02_688461_0003.jpg', '/home/pi/Desktop/images/18012025/16/50/image_18012025_16_50_02_903923_0000.jpg', '/home/pi/Desktop/images/18012025/16/50/image_18012025_16_50_02_903923_0001.jpg', '/home/pi/Desktop/images/18012025/16/50/image_18012025_16_50_02_903923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/49/image_18012025_16_49_02_688461_0003.jpg
/home/pi/Desktop/images/18012025/16/50/image_18012025_16_50_02_903923_0000.jpg
/home/pi/Desktop/images/18012025/16/50/image_18012025_16_50_02_903923_0001.jpg
/home/pi/Desktop/images/18012025/16/50/image_18012025_16_50_02_903923_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329794058","1329794061","1329794055","1329794049"],"photo_ids_order":["1329794049","1329794055","1329794058","1329794061"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/480effd48033825ab0752410b9fadc68.jpg","text":"TemporaryFile(/tmp/multipartBody8678084631099366538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215504088,"filename":"image_18012025_16_50_02_903923_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/58f237087343612abe22c2403ba84ecc.jpg","text":"TemporaryFile(/tmp/multipartBody959919613564911764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215504088,"filename":"image_18012025_16_50_02_903923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7685d7e8efbf306705b121b27eeb0686.jpg","text":"TemporaryFile(/tmp/multipartBody2032235174163019756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215504088,"filename":"image_18012025_16_50_02_903923_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4dc78d01fc89e2eabbea99213bc26b9d.jpg","text":"TemporaryFile(/tmp/multipartBody5096027076999693386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215504088,"filename":"image_18012025_16_49_02_688461_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329794058","file1":"1329794055","file0":"1329794049","file3":"1329794061"},"map_files_photo_id_array":[{"photo_id":"1329794058","filename":"file2"},{"photo_id":"1329794055","filename":"file1"},{"photo_id":"1329794049","filename":"file0"},{"photo_id":"1329794061","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329794058":["hashtag1","hashtag2"]},{"1329794061":["hashtag1","hashtag2"]},{"1329794055":["hashtag1","hashtag2"]},{"1329794049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329794058, 1329794061, 1329794055, 1329794049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.966487407684326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:51:21.915007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/50/image_18012025_16_50_02_903923_0003.jpg', '/home/pi/Desktop/images/18012025/16/51/image_18012025_16_51_03_040816_0000.jpg', '/home/pi/Desktop/images/18012025/16/51/image_18012025_16_51_03_040816_0001.jpg', '/home/pi/Desktop/images/18012025/16/51/image_18012025_16_51_03_040816_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/50/image_18012025_16_50_02_903923_0003.jpg
/home/pi/Desktop/images/18012025/16/51/image_18012025_16_51_03_040816_0000.jpg
/home/pi/Desktop/images/18012025/16/51/image_18012025_16_51_03_040816_0001.jpg
/home/pi/Desktop/images/18012025/16/51/image_18012025_16_51_03_040816_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329794137","1329794311","1329794192","1329794396"],"photo_ids_order":["1329794137","1329794192","1329794311","1329794396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be49a65487cbeb3fda3545c5009350df.jpg","text":"TemporaryFile(/tmp/multipartBody2124577807088512320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215553728,"filename":"image_18012025_16_50_02_903923_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/553f34fbe75a9a11898d0c41f9bded02.jpg","text":"TemporaryFile(/tmp/multipartBody1828780164344706270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215553728,"filename":"image_18012025_16_51_03_040816_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ebf351ae36fcf0bfa90779a86635392f.jpg","text":"TemporaryFile(/tmp/multipartBody5979898619331706538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215553728,"filename":"image_18012025_16_51_03_040816_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21601810b150bd093337606ad0ad7832.jpg","text":"TemporaryFile(/tmp/multipartBody8772863341673627896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215553728,"filename":"image_18012025_16_51_03_040816_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329794311","file1":"1329794192","file0":"1329794137","file3":"1329794396"},"map_files_photo_id_array":[{"photo_id":"1329794311","filename":"file2"},{"photo_id":"1329794192","filename":"file1"},{"photo_id":"1329794137","filename":"file0"},{"photo_id":"1329794396","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329794137":["hashtag1","hashtag2"]},{"1329794311":["hashtag1","hashtag2"]},{"1329794192":["hashtag1","hashtag2"]},{"1329794396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329794137, 1329794311, 1329794192, 1329794396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.07413721084595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:52:22.095483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/51/image_18012025_16_51_03_040816_0003.jpg', '/home/pi/Desktop/images/18012025/16/52/image_18012025_16_52_02_279843_0000.jpg', '/home/pi/Desktop/images/18012025/16/52/image_18012025_16_52_02_279843_0001.jpg', '/home/pi/Desktop/images/18012025/16/52/image_18012025_16_52_02_279843_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/51/image_18012025_16_51_03_040816_0003.jpg
/home/pi/Desktop/images/18012025/16/52/image_18012025_16_52_02_279843_0000.jpg
/home/pi/Desktop/images/18012025/16/52/image_18012025_16_52_02_279843_0001.jpg
/home/pi/Desktop/images/18012025/16/52/image_18012025_16_52_02_279843_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329794536","1329794637","1329794514","1329794581"],"photo_ids_order":["1329794514","1329794536","1329794581","1329794637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8a0a910688b5869fcf34552d4fc3171.jpg","text":"TemporaryFile(/tmp/multipartBody1898822125691129575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215613446,"filename":"image_18012025_16_52_02_279843_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eb48e2f8915b80c94b75fb8c427f5317.jpg","text":"TemporaryFile(/tmp/multipartBody1552220797906511593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215613446,"filename":"image_18012025_16_52_02_279843_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f8b5fbef397a9d6c16bda99d4774d22.jpg","text":"TemporaryFile(/tmp/multipartBody6502063283010729296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215613446,"filename":"image_18012025_16_51_03_040816_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4c5ce12aa7c82c49f776540e011bdb7.jpg","text":"TemporaryFile(/tmp/multipartBody1514211507838785078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215613446,"filename":"image_18012025_16_52_02_279843_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329794581","file1":"1329794536","file0":"1329794514","file3":"1329794637"},"map_files_photo_id_array":[{"photo_id":"1329794581","filename":"file2"},{"photo_id":"1329794536","filename":"file1"},{"photo_id":"1329794514","filename":"file0"},{"photo_id":"1329794637","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329794536":["hashtag1","hashtag2"]},{"1329794637":["hashtag1","hashtag2"]},{"1329794514":["hashtag1","hashtag2"]},{"1329794581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329794536, 1329794637, 1329794514, 1329794581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.07462120056152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:53:22.296148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/52/image_18012025_16_52_02_279843_0003.jpg', '/home/pi/Desktop/images/18012025/16/53/image_18012025_16_53_02_480713_0000.jpg', '/home/pi/Desktop/images/18012025/16/53/image_18012025_16_53_02_480713_0001.jpg', '/home/pi/Desktop/images/18012025/16/53/image_18012025_16_53_02_480713_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/52/image_18012025_16_52_02_279843_0003.jpg
/home/pi/Desktop/images/18012025/16/53/image_18012025_16_53_02_480713_0000.jpg
/home/pi/Desktop/images/18012025/16/53/image_18012025_16_53_02_480713_0001.jpg
/home/pi/Desktop/images/18012025/16/53/image_18012025_16_53_02_480713_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329794694","1329794688","1329794681","1329794675"],"photo_ids_order":["1329794675","1329794681","1329794688","1329794694"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/38c7cd59b62ee3ee814bf3adf35725b7.jpg","text":"TemporaryFile(/tmp/multipartBody1914157321618852836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215673738,"filename":"image_18012025_16_53_02_480713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0aaf52f2872a489c36f1583117c1ef4.jpg","text":"TemporaryFile(/tmp/multipartBody1954015623949328312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215673738,"filename":"image_18012025_16_53_02_480713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/757950727ee8e23591b51d67b2d0c663.jpg","text":"TemporaryFile(/tmp/multipartBody7196246009888507732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215673738,"filename":"image_18012025_16_53_02_480713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/709f49192aaada83b21cad6e7943b2a1.jpg","text":"TemporaryFile(/tmp/multipartBody7725276247771890232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215673738,"filename":"image_18012025_16_52_02_279843_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329794688","file1":"1329794681","file0":"1329794675","file3":"1329794694"},"map_files_photo_id_array":[{"photo_id":"1329794688","filename":"file2"},{"photo_id":"1329794681","filename":"file1"},{"photo_id":"1329794675","filename":"file0"},{"photo_id":"1329794694","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329794694":["hashtag1","hashtag2"]},{"1329794688":["hashtag1","hashtag2"]},{"1329794681":["hashtag1","hashtag2"]},{"1329794675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329794694, 1329794688, 1329794681, 1329794675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05903363227844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:54:22.496192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/53/image_18012025_16_53_02_480713_0003.jpg', '/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0000.jpg', '/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0001.jpg', '/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/53/image_18012025_16_53_02_480713_0003.jpg
/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0000.jpg
/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0001.jpg
/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.937127828598022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 16:54:42.435094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/53/image_18012025_16_53_02_480713_0003.jpg', '/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0000.jpg', '/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0001.jpg', '/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/53/image_18012025_16_53_02_480713_0003.jpg
/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0000.jpg
/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0001.jpg
/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329794728","1329794733","1329794726","1329794723"],"photo_ids_order":["1329794723","1329794726","1329794728","1329794733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/140bb807295201ed5899c3028d5e0012.jpg","text":"TemporaryFile(/tmp/multipartBody7538860074236722860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215753652,"filename":"image_18012025_16_54_02_638236_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be12b5861fc51aad71f463cf7dd8a1d0.jpg","text":"TemporaryFile(/tmp/multipartBody1177151418743909512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215753652,"filename":"image_18012025_16_54_02_638236_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d91e7bef419f8c62e3424d03a8d9382.jpg","text":"TemporaryFile(/tmp/multipartBody2475283133985234225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215753652,"filename":"image_18012025_16_54_02_638236_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/30d794ca50daaa32daf73e9f4b9b6d78.jpg","text":"TemporaryFile(/tmp/multipartBody6157426698827870356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215753652,"filename":"image_18012025_16_53_02_480713_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329794728","file1":"1329794726","file0":"1329794723","file3":"1329794733"},"map_files_photo_id_array":[{"photo_id":"1329794728","filename":"file2"},{"photo_id":"1329794726","filename":"file1"},{"photo_id":"1329794723","filename":"file0"},{"photo_id":"1329794733","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329794728":["hashtag1","hashtag2"]},{"1329794733":["hashtag1","hashtag2"]},{"1329794726":["hashtag1","hashtag2"]},{"1329794723":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329794728, 1329794733, 1329794726, 1329794723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.94709658622742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 16:55:32.604605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0003.jpg', '/home/pi/Desktop/images/18012025/16/55/image_18012025_16_55_02_844023_0000.jpg', '/home/pi/Desktop/images/18012025/16/55/image_18012025_16_55_02_844023_0001.jpg', '/home/pi/Desktop/images/18012025/16/55/image_18012025_16_55_02_844023_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/54/image_18012025_16_54_02_638236_0003.jpg
/home/pi/Desktop/images/18012025/16/55/image_18012025_16_55_02_844023_0000.jpg
/home/pi/Desktop/images/18012025/16/55/image_18012025_16_55_02_844023_0001.jpg
/home/pi/Desktop/images/18012025/16/55/image_18012025_16_55_02_844023_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329794770","1329794763","1329794773","1329794767"],"photo_ids_order":["1329794763","1329794767","1329794770","1329794773"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6bf104fd3eb099c8315127fcbfb0a9e.jpg","text":"TemporaryFile(/tmp/multipartBody6163173370783421292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215803442,"filename":"image_18012025_16_55_02_844023_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eed3bbcc7ac3e52149b09235ebf91599.jpg","text":"TemporaryFile(/tmp/multipartBody570758983235715011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215803442,"filename":"image_18012025_16_54_02_638236_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8326f052fffe88faec25fc643a1afb4a.jpg","text":"TemporaryFile(/tmp/multipartBody6031037438153393110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215803442,"filename":"image_18012025_16_55_02_844023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ddf083ef37b96cd2b2cd9376655ba48.jpg","text":"TemporaryFile(/tmp/multipartBody8029654724511672799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215803442,"filename":"image_18012025_16_55_02_844023_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329794770","file1":"1329794767","file0":"1329794763","file3":"1329794773"},"map_files_photo_id_array":[{"photo_id":"1329794770","filename":"file2"},{"photo_id":"1329794767","filename":"file1"},{"photo_id":"1329794763","filename":"file0"},{"photo_id":"1329794773","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329794770":["hashtag1","hashtag2"]},{"1329794763":["hashtag1","hashtag2"]},{"1329794773":["hashtag1","hashtag2"]},{"1329794767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329794770, 1329794763, 1329794773, 1329794767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64366555213928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 16:56:21.858443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/55/image_18012025_16_55_02_844023_0003.jpg', '/home/pi/Desktop/images/18012025/16/56/image_18012025_16_56_03_036800_0000.jpg', '/home/pi/Desktop/images/18012025/16/56/image_18012025_16_56_03_036800_0001.jpg', '/home/pi/Desktop/images/18012025/16/56/image_18012025_16_56_03_036800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/55/image_18012025_16_55_02_844023_0003.jpg
/home/pi/Desktop/images/18012025/16/56/image_18012025_16_56_03_036800_0000.jpg
/home/pi/Desktop/images/18012025/16/56/image_18012025_16_56_03_036800_0001.jpg
/home/pi/Desktop/images/18012025/16/56/image_18012025_16_56_03_036800_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329794784","1329794791","1329794794","1329794788"],"photo_ids_order":["1329794784","1329794788","1329794791","1329794794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7cd1f9a4803eec54101777b752784a57.jpg","text":"TemporaryFile(/tmp/multipartBody1608897172248333517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215852793,"filename":"image_18012025_16_55_02_844023_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a473e281660086688cacd64a4f3b9ca8.jpg","text":"TemporaryFile(/tmp/multipartBody4335864280659079415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215852793,"filename":"image_18012025_16_56_03_036800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/682cef1029173f4a5a259a6094b16238.jpg","text":"TemporaryFile(/tmp/multipartBody6924254722589690249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215852793,"filename":"image_18012025_16_56_03_036800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f69d61667a7d927f303cca0c02d7f66c.jpg","text":"TemporaryFile(/tmp/multipartBody1912443423981381089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737215852793,"filename":"image_18012025_16_56_03_036800_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329794791","file1":"1329794788","file0":"1329794784","file3":"1329794794"},"map_files_photo_id_array":[{"photo_id":"1329794791","filename":"file2"},{"photo_id":"1329794788","filename":"file1"},{"photo_id":"1329794784","filename":"file0"},{"photo_id":"1329794794","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329794784":["hashtag1","hashtag2"]},{"1329794791":["hashtag1","hashtag2"]},{"1329794794":["hashtag1","hashtag2"]},{"1329794788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329794784, 1329794791, 1329794794, 1329794788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26770997047424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:57:02.686392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0000.jpg', '/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0001.jpg', '/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0002.jpg', '/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0003.jpg', '/home/pi/Desktop/images/16012025/22/52/image_16012025_22_52_02_911352_0000.jpg', '/home/pi/Desktop/images/16012025/22/52/image_16012025_22_52_02_911352_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0000.jpg
/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0001.jpg
/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0002.jpg
/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0003.jpg
/home/pi/Desktop/images/16012025/22/52/image_16012025_22_52_02_911352_0000.jpg
/home/pi/Desktop/images/16012025/22/52/image_16012025_22_52_02_911352_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! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 16:59:03.107476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/56/image_18012025_16_56_03_036800_0003.jpg', '/home/pi/Desktop/images/18012025/16/57/image_18012025_16_57_02_133826_0000.jpg', '/home/pi/Desktop/images/18012025/16/57/image_18012025_16_57_02_133826_0001.jpg', '/home/pi/Desktop/images/18012025/16/57/image_18012025_16_57_02_133826_0002.jpg', '/home/pi/Desktop/images/18012025/16/57/image_18012025_16_57_02_133826_0003.jpg', '/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/56/image_18012025_16_56_03_036800_0003.jpg
/home/pi/Desktop/images/18012025/16/57/image_18012025_16_57_02_133826_0000.jpg
/home/pi/Desktop/images/18012025/16/57/image_18012025_16_57_02_133826_0001.jpg
/home/pi/Desktop/images/18012025/16/57/image_18012025_16_57_02_133826_0002.jpg
/home/pi/Desktop/images/18012025/16/57/image_18012025_16_57_02_133826_0003.jpg
/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329794877","1329794916","1329794910","1329794888","1329794884","1329794866"],"photo_ids_order":["1329794866","1329794877","1329794884","1329794888","1329794910","1329794916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0b6dbce765790ebe5cc05cf368e805e.jpg","text":"TemporaryFile(/tmp/multipartBody5605055343907405210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216019618,"filename":"image_18012025_16_57_02_133826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95f343d4b33ef025734878b99c38a21d.jpg","text":"TemporaryFile(/tmp/multipartBody4078704128951580849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216019618,"filename":"image_18012025_16_58_02_345448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0870a4e3fc422882bdc3561425ada837.jpg","text":"TemporaryFile(/tmp/multipartBody8617954036704346798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216019618,"filename":"image_18012025_16_57_02_133826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af8ec4a3d3f10ef7d27095898a27c7ad.jpg","text":"TemporaryFile(/tmp/multipartBody9093742969132631126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216019618,"filename":"image_18012025_16_57_02_133826_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/627ec32d17b4b741f31c2de249632c21.jpg","text":"TemporaryFile(/tmp/multipartBody7284296178696600502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216019618,"filename":"image_18012025_16_57_02_133826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0bb9ce4fa34b1e0990b7d91c20ba0bbd.jpg","text":"TemporaryFile(/tmp/multipartBody7475105037715685110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216019618,"filename":"image_18012025_16_56_03_036800_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329794884","file1":"1329794877","file0":"1329794866","file4":"1329794910","file5":"1329794916","file3":"1329794888"},"map_files_photo_id_array":[{"photo_id":"1329794916","filename":"file5"},{"photo_id":"1329794884","filename":"file2"},{"photo_id":"1329794910","filename":"file4"},{"photo_id":"1329794877","filename":"file1"},{"photo_id":"1329794866","filename":"file0"},{"photo_id":"1329794888","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329794877":["hashtag1","hashtag2"]},{"1329794916":["hashtag1","hashtag2"]},{"1329794910":["hashtag1","hashtag2"]},{"1329794888":["hashtag1","hashtag2"]},{"1329794884":["hashtag1","hashtag2"]},{"1329794866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329794877, 1329794916, 1329794910, 1329794888, 1329794884, 1329794866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.73196458816528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:00:03.025158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0001.jpg', '/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0002.jpg', '/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0003.jpg', '/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0000.jpg', '/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0001.jpg', '/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0001.jpg
/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0002.jpg
/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0003.jpg
/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0000.jpg
/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0001.jpg
/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.69019889831543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:00:22.677295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0001.jpg', '/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0002.jpg', '/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0003.jpg', '/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0000.jpg', '/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0001.jpg', '/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0001.jpg
/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0002.jpg
/home/pi/Desktop/images/18012025/16/58/image_18012025_16_58_02_345448_0003.jpg
/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0000.jpg
/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0001.jpg
/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329795087","1329795918","1329795921","1329795350","1329795094","1329795701"],"photo_ids_order":["1329795087","1329795094","1329795350","1329795701","1329795918","1329795921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84a95740966ccf43a67444e34f7b2348.jpg","text":"TemporaryFile(/tmp/multipartBody5847596633359347159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216098728,"filename":"image_18012025_16_58_02_345448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3ca5b79f26fea46b529c1cd8358305f.jpg","text":"TemporaryFile(/tmp/multipartBody3828648141096149179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216098728,"filename":"image_18012025_16_59_02_588277_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eb21971baba7d5b812c65acad0d17f00.jpg","text":"TemporaryFile(/tmp/multipartBody2914515462897844908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216098728,"filename":"image_18012025_16_59_02_588277_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fc8c857edeb665fb22b227aaf22171dc.jpg","text":"TemporaryFile(/tmp/multipartBody6070851358792122115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216098728,"filename":"image_18012025_16_58_02_345448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dafbd6f88359e229a0ccb891e3687725.jpg","text":"TemporaryFile(/tmp/multipartBody2960338676599451732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216098728,"filename":"image_18012025_16_58_02_345448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4d1e5c83846edf638cd262da1c893de.jpg","text":"TemporaryFile(/tmp/multipartBody6946198417740933430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216098728,"filename":"image_18012025_16_59_02_588277_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329795350","file1":"1329795094","file0":"1329795087","file4":"1329795918","file5":"1329795921","file3":"1329795701"},"map_files_photo_id_array":[{"photo_id":"1329795921","filename":"file5"},{"photo_id":"1329795350","filename":"file2"},{"photo_id":"1329795918","filename":"file4"},{"photo_id":"1329795094","filename":"file1"},{"photo_id":"1329795087","filename":"file0"},{"photo_id":"1329795701","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329795087":["hashtag1","hashtag2"]},{"1329795918":["hashtag1","hashtag2"]},{"1329795921":["hashtag1","hashtag2"]},{"1329795350":["hashtag1","hashtag2"]},{"1329795094":["hashtag1","hashtag2"]},{"1329795701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329795087, 1329795918, 1329795921, 1329795350, 1329795094, 1329795701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.33988165855408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:01:21.833397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0003.jpg', '/home/pi/Desktop/images/18012025/17/00/image_18012025_17_00_02_843247_0000.jpg', '/home/pi/Desktop/images/18012025/17/00/image_18012025_17_00_02_843247_0001.jpg', '/home/pi/Desktop/images/18012025/17/00/image_18012025_17_00_02_843247_0002.jpg', '/home/pi/Desktop/images/18012025/17/00/image_18012025_17_00_02_843247_0003.jpg', '/home/pi/Desktop/images/18012025/17/01/image_18012025_17_01_02_985955_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/16/59/image_18012025_16_59_02_588277_0003.jpg
/home/pi/Desktop/images/18012025/17/00/image_18012025_17_00_02_843247_0000.jpg
/home/pi/Desktop/images/18012025/17/00/image_18012025_17_00_02_843247_0001.jpg
/home/pi/Desktop/images/18012025/17/00/image_18012025_17_00_02_843247_0002.jpg
/home/pi/Desktop/images/18012025/17/00/image_18012025_17_00_02_843247_0003.jpg
/home/pi/Desktop/images/18012025/17/01/image_18012025_17_01_02_985955_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329796134","1329795942","1329795983","1329795977","1329795980","1329795947"],"photo_ids_order":["1329795942","1329795947","1329795977","1329795980","1329795983","1329796134"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/081de20ad5e044c10ece9a138b26aab6.jpg","text":"TemporaryFile(/tmp/multipartBody8778791850593849999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216158262,"filename":"image_18012025_17_01_02_985955_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e305a3a588d766f9f1cfd7fd1ceb258.jpg","text":"TemporaryFile(/tmp/multipartBody4507110561168679524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216158262,"filename":"image_18012025_16_59_02_588277_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a3eba33155be0a4f5ced2c556eeb0b6.jpg","text":"TemporaryFile(/tmp/multipartBody904682969392767803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216158262,"filename":"image_18012025_17_00_02_843247_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf6451eb106cac69b697f24ef6cd04b8.jpg","text":"TemporaryFile(/tmp/multipartBody3822138966432243364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216158262,"filename":"image_18012025_17_00_02_843247_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9dd2412ae86121e4f45efb78ef73e6aa.jpg","text":"TemporaryFile(/tmp/multipartBody3277448407657156022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216158262,"filename":"image_18012025_17_00_02_843247_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ec12635b31fbe00d7e46cc84265f9f5.jpg","text":"TemporaryFile(/tmp/multipartBody379858962840293827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216158262,"filename":"image_18012025_17_00_02_843247_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329795977","file1":"1329795947","file0":"1329795942","file4":"1329795983","file5":"1329796134","file3":"1329795980"},"map_files_photo_id_array":[{"photo_id":"1329796134","filename":"file5"},{"photo_id":"1329795977","filename":"file2"},{"photo_id":"1329795983","filename":"file4"},{"photo_id":"1329795947","filename":"file1"},{"photo_id":"1329795942","filename":"file0"},{"photo_id":"1329795980","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329796134":["hashtag1","hashtag2"]},{"1329795942":["hashtag1","hashtag2"]},{"1329795983":["hashtag1","hashtag2"]},{"1329795977":["hashtag1","hashtag2"]},{"1329795980":["hashtag1","hashtag2"]},{"1329795947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329796134, 1329795942, 1329795983, 1329795977, 1329795980, 1329795947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.132574796676636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:02:21.957876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/01/image_18012025_17_01_02_985955_0001.jpg', '/home/pi/Desktop/images/18012025/17/01/image_18012025_17_01_02_985955_0002.jpg', '/home/pi/Desktop/images/18012025/17/01/image_18012025_17_01_02_985955_0003.jpg', '/home/pi/Desktop/images/18012025/17/02/image_18012025_17_02_02_213254_0000.jpg', '/home/pi/Desktop/images/18012025/17/02/image_18012025_17_02_02_213254_0001.jpg', '/home/pi/Desktop/images/18012025/17/02/image_18012025_17_02_02_213254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/01/image_18012025_17_01_02_985955_0001.jpg
/home/pi/Desktop/images/18012025/17/01/image_18012025_17_01_02_985955_0002.jpg
/home/pi/Desktop/images/18012025/17/01/image_18012025_17_01_02_985955_0003.jpg
/home/pi/Desktop/images/18012025/17/02/image_18012025_17_02_02_213254_0000.jpg
/home/pi/Desktop/images/18012025/17/02/image_18012025_17_02_02_213254_0001.jpg
/home/pi/Desktop/images/18012025/17/02/image_18012025_17_02_02_213254_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329796355","1329796372","1329796366","1329796351","1329796369","1329796362"],"photo_ids_order":["1329796351","1329796355","1329796362","1329796366","1329796369","1329796372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/22da259a2aa98eb4fe7c39ce151d174d.jpg","text":"TemporaryFile(/tmp/multipartBody9045217127117786307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216218399,"filename":"image_18012025_17_01_02_985955_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5b9ef768d6984a1a8f7df137e9a64911.jpg","text":"TemporaryFile(/tmp/multipartBody1124956061671720467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216218399,"filename":"image_18012025_17_02_02_213254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/511c453b0220cc57b1e7af3941098856.jpg","text":"TemporaryFile(/tmp/multipartBody278833549379741043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216218399,"filename":"image_18012025_17_02_02_213254_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c0beb2e799b1e95262b058f719b3802.jpg","text":"TemporaryFile(/tmp/multipartBody6838261621878447372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216218399,"filename":"image_18012025_17_01_02_985955_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ee63bacab1b31c15241713262ea4c70.jpg","text":"TemporaryFile(/tmp/multipartBody2439285094138823825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216218399,"filename":"image_18012025_17_02_02_213254_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e8f049d211ead149182fdb94f0e5512.jpg","text":"TemporaryFile(/tmp/multipartBody5976487412505430106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216218399,"filename":"image_18012025_17_01_02_985955_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329796362","file1":"1329796355","file0":"1329796351","file4":"1329796369","file5":"1329796372","file3":"1329796366"},"map_files_photo_id_array":[{"photo_id":"1329796372","filename":"file5"},{"photo_id":"1329796362","filename":"file2"},{"photo_id":"1329796369","filename":"file4"},{"photo_id":"1329796355","filename":"file1"},{"photo_id":"1329796351","filename":"file0"},{"photo_id":"1329796366","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329796355":["hashtag1","hashtag2"]},{"1329796372":["hashtag1","hashtag2"]},{"1329796366":["hashtag1","hashtag2"]},{"1329796351":["hashtag1","hashtag2"]},{"1329796369":["hashtag1","hashtag2"]},{"1329796362":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329796355, 1329796372, 1329796366, 1329796351, 1329796369, 1329796362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.975796937942505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:03:22.136104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/02/image_18012025_17_02_02_213254_0003.jpg', '/home/pi/Desktop/images/18012025/17/03/image_18012025_17_03_02_337284_0000.jpg', '/home/pi/Desktop/images/18012025/17/03/image_18012025_17_03_02_337284_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/02/image_18012025_17_02_02_213254_0003.jpg
/home/pi/Desktop/images/18012025/17/03/image_18012025_17_03_02_337284_0000.jpg
/home/pi/Desktop/images/18012025/17/03/image_18012025_17_03_02_337284_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":["1329796491","1329796487","1329796480"],"photo_ids_order":["1329796480","1329796487","1329796491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e90ccdd3d3294ab13670b2c56dc8b22.jpg","text":"TemporaryFile(/tmp/multipartBody7902540033733533551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216270694,"filename":"image_18012025_17_03_02_337284_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed360e679024fa99387f0591454613d4.jpg","text":"TemporaryFile(/tmp/multipartBody5761052150965535883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216270694,"filename":"image_18012025_17_03_02_337284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ed2c0cb91862bd69ec89d334462e755.jpg","text":"TemporaryFile(/tmp/multipartBody2231701043766208778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216270694,"filename":"image_18012025_17_02_02_213254_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329796491","file1":"1329796487","file0":"1329796480"},"map_files_photo_id_array":[{"photo_id":"1329796491","filename":"file2"},{"photo_id":"1329796487","filename":"file1"},{"photo_id":"1329796480","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329796491":["hashtag1","hashtag2"]},{"1329796487":["hashtag1","hashtag2"]},{"1329796480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329796491, 1329796487, 1329796480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.698801040649414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:04:02.768123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0000.jpg', '/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0001.jpg', '/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0002.jpg', '/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0003.jpg', '/home/pi/Desktop/images/16012025/22/52/image_16012025_22_52_02_911352_0000.jpg', '/home/pi/Desktop/images/16012025/22/52/image_16012025_22_52_02_911352_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0000.jpg
/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0001.jpg
/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0002.jpg
/home/pi/Desktop/images/16012025/22/51/image_16012025_22_51_02_750404_0003.jpg
/home/pi/Desktop/images/16012025/22/52/image_16012025_22_52_02_911352_0000.jpg
/home/pi/Desktop/images/16012025/22/52/image_16012025_22_52_02_911352_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":["1329796571","1329796565","1329796556","1329796552","1329796575","1329796560"],"photo_ids_order":["1329796552","1329796556","1329796560","1329796565","1329796571","1329796575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/191fd3cfdc723096561111572f47f0f9.jpg","text":"TemporaryFile(/tmp/multipartBody140927203483080872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216319879,"filename":"image_16012025_22_52_02_911352_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ccdf59d3de2726cec157d4cc3d54c6c.jpg","text":"TemporaryFile(/tmp/multipartBody1550923670248482676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216319879,"filename":"image_16012025_22_51_02_750404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/812b512ff67dc846c6348521b858a9cf.jpg","text":"TemporaryFile(/tmp/multipartBody4419638278116192248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216319879,"filename":"image_16012025_22_51_02_750404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/598c5d84005c9b55ae4c25e2e225a25c.jpg","text":"TemporaryFile(/tmp/multipartBody1448206744964721414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216319879,"filename":"image_16012025_22_51_02_750404_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/19d02357e11e6ef1a57747df2269ed51.jpg","text":"TemporaryFile(/tmp/multipartBody3665327839885557570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216319879,"filename":"image_16012025_22_52_02_911352_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7f3f16ee84d1421cce83151a6997c99c.jpg","text":"TemporaryFile(/tmp/multipartBody4633833136690339248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216319879,"filename":"image_16012025_22_51_02_750404_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329796560","file1":"1329796556","file0":"1329796552","file4":"1329796571","file5":"1329796575","file3":"1329796565"},"map_files_photo_id_array":[{"photo_id":"1329796575","filename":"file5"},{"photo_id":"1329796560","filename":"file2"},{"photo_id":"1329796571","filename":"file4"},{"photo_id":"1329796556","filename":"file1"},{"photo_id":"1329796552","filename":"file0"},{"photo_id":"1329796565","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329796571":["hashtag1","hashtag2"]},{"1329796565":["hashtag1","hashtag2"]},{"1329796556":["hashtag1","hashtag2"]},{"1329796552":["hashtag1","hashtag2"]},{"1329796575":["hashtag1","hashtag2"]},{"1329796560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329796571, 1329796565, 1329796556, 1329796552, 1329796575, 1329796560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.88260078430176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:05:03.142059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/03/image_18012025_17_03_02_337284_0003.jpg', '/home/pi/Desktop/images/18012025/17/04/image_18012025_17_04_02_595478_0000.jpg', '/home/pi/Desktop/images/18012025/17/04/image_18012025_17_04_02_595478_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/03/image_18012025_17_03_02_337284_0003.jpg
/home/pi/Desktop/images/18012025/17/04/image_18012025_17_04_02_595478_0000.jpg
/home/pi/Desktop/images/18012025/17/04/image_18012025_17_04_02_595478_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":["1329796583","1329796596","1329796581"],"photo_ids_order":["1329796581","1329796583","1329796596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c78536c2eaa93b6233d259d42d70a92e.jpg","text":"TemporaryFile(/tmp/multipartBody3762734233312103751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216371752,"filename":"image_18012025_17_04_02_595478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/25a1d27bb5e85b9eb620012733586734.jpg","text":"TemporaryFile(/tmp/multipartBody6268775115260739476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216371752,"filename":"image_18012025_17_04_02_595478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f583b91d07877704336e1aeefcf2b4e6.jpg","text":"TemporaryFile(/tmp/multipartBody7810219365348538435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216371752,"filename":"image_18012025_17_03_02_337284_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329796596","file1":"1329796583","file0":"1329796581"},"map_files_photo_id_array":[{"photo_id":"1329796596","filename":"file2"},{"photo_id":"1329796583","filename":"file1"},{"photo_id":"1329796581","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329796583":["hashtag1","hashtag2"]},{"1329796596":["hashtag1","hashtag2"]},{"1329796581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329796583, 1329796596, 1329796581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.69048452377319 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 17:05:42.549992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/04/image_18012025_17_04_02_595478_0002.jpg', '/home/pi/Desktop/images/18012025/17/05/image_18012025_17_05_02_678574_0000.jpg', '/home/pi/Desktop/images/18012025/17/05/image_18012025_17_05_02_678574_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/04/image_18012025_17_04_02_595478_0002.jpg
/home/pi/Desktop/images/18012025/17/05/image_18012025_17_05_02_678574_0000.jpg
/home/pi/Desktop/images/18012025/17/05/image_18012025_17_05_02_678574_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329796616","1329796619","1329796621"],"photo_ids_order":["1329796616","1329796619","1329796621"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b14f7f9ef6f8a3eaabd35fff989bfeee.jpg","text":"TemporaryFile(/tmp/multipartBody5999499260018548509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216411127,"filename":"image_18012025_17_04_02_595478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff319eb7a52662cd20ff95a1d76dafcb.jpg","text":"TemporaryFile(/tmp/multipartBody3978998663500641060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216411127,"filename":"image_18012025_17_05_02_678574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/99986f0fc4488c8bf99495068e00291a.jpg","text":"TemporaryFile(/tmp/multipartBody6794269127217153475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216411127,"filename":"image_18012025_17_05_02_678574_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329796621","file1":"1329796619","file0":"1329796616"},"map_files_photo_id_array":[{"photo_id":"1329796621","filename":"file2"},{"photo_id":"1329796619","filename":"file1"},{"photo_id":"1329796616","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329796616":["hashtag1","hashtag2"]},{"1329796619":["hashtag1","hashtag2"]},{"1329796621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329796616, 1329796619, 1329796621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.416495084762573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:06:22.774281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/05/image_18012025_17_05_02_678574_0003.jpg', '/home/pi/Desktop/images/18012025/17/06/image_18012025_17_06_02_983939_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/05/image_18012025_17_05_02_678574_0003.jpg
/home/pi/Desktop/images/18012025/17/06/image_18012025_17_06_02_983939_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.549042224884033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 17:06:32.684577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/05/image_18012025_17_05_02_678574_0003.jpg', '/home/pi/Desktop/images/18012025/17/06/image_18012025_17_06_02_983939_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/05/image_18012025_17_05_02_678574_0003.jpg
/home/pi/Desktop/images/18012025/17/06/image_18012025_17_06_02_983939_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":["1329797168","1329797365"],"photo_ids_order":["1329797168","1329797365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f55757a2c6ea7d744d2c64beed25c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1754999393494315150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216458622,"filename":"image_18012025_17_05_02_678574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a6cbb93fe88301ee252d07fe9b4cfe5.jpg","text":"TemporaryFile(/tmp/multipartBody5961764926034763767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216458622,"filename":"image_18012025_17_06_02_983939_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329797365","file0":"1329797168"},"map_files_photo_id_array":[{"photo_id":"1329797365","filename":"file1"},{"photo_id":"1329797168","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329797168":["hashtag1","hashtag2"]},{"1329797365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329797168, 1329797365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.21316623687744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:07:02.483060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/52/image_16012025_22_52_02_911352_0002.jpg', '/home/pi/Desktop/images/16012025/22/52/image_16012025_22_52_02_911352_0003.jpg', '/home/pi/Desktop/images/16012025/22/53/image_16012025_22_53_02_260132_0000.jpg', '/home/pi/Desktop/images/16012025/22/53/image_16012025_22_53_02_260132_0001.jpg', '/home/pi/Desktop/images/16012025/22/53/image_16012025_22_53_02_260132_0002.jpg', '/home/pi/Desktop/images/16012025/22/53/image_16012025_22_53_02_260132_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/52/image_16012025_22_52_02_911352_0002.jpg
/home/pi/Desktop/images/16012025/22/52/image_16012025_22_52_02_911352_0003.jpg
/home/pi/Desktop/images/16012025/22/53/image_16012025_22_53_02_260132_0000.jpg
/home/pi/Desktop/images/16012025/22/53/image_16012025_22_53_02_260132_0001.jpg
/home/pi/Desktop/images/16012025/22/53/image_16012025_22_53_02_260132_0002.jpg
/home/pi/Desktop/images/16012025/22/53/image_16012025_22_53_02_260132_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":["1329797597","1329797576","1329797600","1329797500","1329797421","1329797418"],"photo_ids_order":["1329797418","1329797421","1329797500","1329797576","1329797597","1329797600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/310aadac2f87839611a00da255bae9be.jpg","text":"TemporaryFile(/tmp/multipartBody3092106023044996746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216500191,"filename":"image_16012025_22_53_02_260132_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b57314a49ecb4562beb616f25089172a.jpg","text":"TemporaryFile(/tmp/multipartBody3168836233301803296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216500191,"filename":"image_16012025_22_53_02_260132_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84a7d22e6698fe342c819613a9bca848.jpg","text":"TemporaryFile(/tmp/multipartBody4800081848543529962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216500191,"filename":"image_16012025_22_53_02_260132_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e9841d02fc7d708332ac396807625c2d.jpg","text":"TemporaryFile(/tmp/multipartBody7290730147778559252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216500191,"filename":"image_16012025_22_53_02_260132_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d78d5aed030bbac70a3e428ad04675d6.jpg","text":"TemporaryFile(/tmp/multipartBody3228338585038920710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216500191,"filename":"image_16012025_22_52_02_911352_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93de82db67d8938d768ebe04f21492f0.jpg","text":"TemporaryFile(/tmp/multipartBody3396010386245146966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216500191,"filename":"image_16012025_22_52_02_911352_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329797500","file1":"1329797421","file0":"1329797418","file4":"1329797597","file5":"1329797600","file3":"1329797576"},"map_files_photo_id_array":[{"photo_id":"1329797600","filename":"file5"},{"photo_id":"1329797500","filename":"file2"},{"photo_id":"1329797597","filename":"file4"},{"photo_id":"1329797421","filename":"file1"},{"photo_id":"1329797418","filename":"file0"},{"photo_id":"1329797576","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329797597":["hashtag1","hashtag2"]},{"1329797576":["hashtag1","hashtag2"]},{"1329797600":["hashtag1","hashtag2"]},{"1329797500":["hashtag1","hashtag2"]},{"1329797421":["hashtag1","hashtag2"]},{"1329797418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329797597, 1329797576, 1329797600, 1329797500, 1329797421, 1329797418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.145413398742676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:08:02.504664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/06/image_18012025_17_06_02_983939_0001.jpg', '/home/pi/Desktop/images/18012025/17/07/image_18012025_17_07_03_071448_0000.jpg', '/home/pi/Desktop/images/18012025/17/07/image_18012025_17_07_03_071448_0001.jpg', '/home/pi/Desktop/images/18012025/17/07/image_18012025_17_07_03_071448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/06/image_18012025_17_06_02_983939_0001.jpg
/home/pi/Desktop/images/18012025/17/07/image_18012025_17_07_03_071448_0000.jpg
/home/pi/Desktop/images/18012025/17/07/image_18012025_17_07_03_071448_0001.jpg
/home/pi/Desktop/images/18012025/17/07/image_18012025_17_07_03_071448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329798005","1329797947","1329797991","1329797937"],"photo_ids_order":["1329797937","1329797947","1329797991","1329798005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3205a9f370667f907e02211c9ed3218.jpg","text":"TemporaryFile(/tmp/multipartBody6457771185618013076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216553760,"filename":"image_18012025_17_07_03_071448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eef9a1592a09ad049858a8d10b9bb2e4.jpg","text":"TemporaryFile(/tmp/multipartBody5611569459813707545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216553760,"filename":"image_18012025_17_07_03_071448_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c18af858160cdd27468922d036040b5.jpg","text":"TemporaryFile(/tmp/multipartBody8956608996014041920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216553760,"filename":"image_18012025_17_07_03_071448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ff6b1a681850a36418c66abe3912d6c.jpg","text":"TemporaryFile(/tmp/multipartBody1536629086197151696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216553760,"filename":"image_18012025_17_06_02_983939_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329797991","file1":"1329797947","file0":"1329797937","file3":"1329798005"},"map_files_photo_id_array":[{"photo_id":"1329797991","filename":"file2"},{"photo_id":"1329797947","filename":"file1"},{"photo_id":"1329797937","filename":"file0"},{"photo_id":"1329798005","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329798005":["hashtag1","hashtag2"]},{"1329797947":["hashtag1","hashtag2"]},{"1329797991":["hashtag1","hashtag2"]},{"1329797937":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329798005, 1329797947, 1329797991, 1329797937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.975481271743774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 17:08:52.048893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/07/image_18012025_17_07_03_071448_0003.jpg', '/home/pi/Desktop/images/18012025/17/08/image_18012025_17_08_02_310875_0000.jpg', '/home/pi/Desktop/images/18012025/17/08/image_18012025_17_08_02_310875_0001.jpg', '/home/pi/Desktop/images/18012025/17/08/image_18012025_17_08_02_310875_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/07/image_18012025_17_07_03_071448_0003.jpg
/home/pi/Desktop/images/18012025/17/08/image_18012025_17_08_02_310875_0000.jpg
/home/pi/Desktop/images/18012025/17/08/image_18012025_17_08_02_310875_0001.jpg
/home/pi/Desktop/images/18012025/17/08/image_18012025_17_08_02_310875_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329798041","1329798038","1329798040","1329798039"],"photo_ids_order":["1329798038","1329798039","1329798040","1329798041"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/086f100ab239a6018beda5ae2664f16a.jpg","text":"TemporaryFile(/tmp/multipartBody5563507556796786177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216603253,"filename":"image_18012025_17_08_02_310875_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be27f732646c64521e52b4d4346ff9d9.jpg","text":"TemporaryFile(/tmp/multipartBody6319110626662109783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216603253,"filename":"image_18012025_17_07_03_071448_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9188cb98810ea53879dbbd257549b01f.jpg","text":"TemporaryFile(/tmp/multipartBody4040975197610874800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216603253,"filename":"image_18012025_17_08_02_310875_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13246a67864672b7d6c8ab7e362585f4.jpg","text":"TemporaryFile(/tmp/multipartBody2711419538618397939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216603253,"filename":"image_18012025_17_08_02_310875_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329798040","file1":"1329798039","file0":"1329798038","file3":"1329798041"},"map_files_photo_id_array":[{"photo_id":"1329798040","filename":"file2"},{"photo_id":"1329798039","filename":"file1"},{"photo_id":"1329798038","filename":"file0"},{"photo_id":"1329798041","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329798041":["hashtag1","hashtag2"]},{"1329798038":["hashtag1","hashtag2"]},{"1329798040":["hashtag1","hashtag2"]},{"1329798039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329798041, 1329798038, 1329798040, 1329798039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.36270713806152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 17:09:42.249325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/08/image_18012025_17_08_02_310875_0003.jpg', '/home/pi/Desktop/images/18012025/17/09/image_18012025_17_09_02_413679_0000.jpg', '/home/pi/Desktop/images/18012025/17/09/image_18012025_17_09_02_413679_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/08/image_18012025_17_08_02_310875_0003.jpg
/home/pi/Desktop/images/18012025/17/09/image_18012025_17_09_02_413679_0000.jpg
/home/pi/Desktop/images/18012025/17/09/image_18012025_17_09_02_413679_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":["1329798089","1329798092","1329798086"],"photo_ids_order":["1329798086","1329798089","1329798092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7484eedeafb8e93a27d1c0a1c42e6812.jpg","text":"TemporaryFile(/tmp/multipartBody2222244988600816244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216650794,"filename":"image_18012025_17_09_02_413679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ab1e6fb1e062832e8df6eaf056f0ca3.jpg","text":"TemporaryFile(/tmp/multipartBody2678942350790033621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216650794,"filename":"image_18012025_17_09_02_413679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a713bbe2954fbaa32a4a63cea3f287ba.jpg","text":"TemporaryFile(/tmp/multipartBody9053147897489877718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216650794,"filename":"image_18012025_17_08_02_310875_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329798092","file1":"1329798089","file0":"1329798086"},"map_files_photo_id_array":[{"photo_id":"1329798092","filename":"file2"},{"photo_id":"1329798089","filename":"file1"},{"photo_id":"1329798086","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329798089":["hashtag1","hashtag2"]},{"1329798092":["hashtag1","hashtag2"]},{"1329798086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329798089, 1329798092, 1329798086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.510804891586304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:10:22.405698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/09/image_18012025_17_09_02_413679_0003.jpg', '/home/pi/Desktop/images/18012025/17/10/image_18012025_17_10_02_649300_0000.jpg', '/home/pi/Desktop/images/18012025/17/10/image_18012025_17_10_02_649300_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/09/image_18012025_17_09_02_413679_0003.jpg
/home/pi/Desktop/images/18012025/17/10/image_18012025_17_10_02_649300_0000.jpg
/home/pi/Desktop/images/18012025/17/10/image_18012025_17_10_02_649300_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 8.1944100856781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 17:10:32.417826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/09/image_18012025_17_09_02_413679_0003.jpg', '/home/pi/Desktop/images/18012025/17/10/image_18012025_17_10_02_649300_0000.jpg', '/home/pi/Desktop/images/18012025/17/10/image_18012025_17_10_02_649300_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/09/image_18012025_17_09_02_413679_0003.jpg
/home/pi/Desktop/images/18012025/17/10/image_18012025_17_10_02_649300_0000.jpg
/home/pi/Desktop/images/18012025/17/10/image_18012025_17_10_02_649300_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329798187","1329798190","1329798185"],"photo_ids_order":["1329798185","1329798187","1329798190"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ae8d25c9472f144c4303d0fa1c9e7c1e.jpg","text":"TemporaryFile(/tmp/multipartBody3469327331969671094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216700997,"filename":"image_18012025_17_10_02_649300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/07eba803ab7a01f5f721d6d0c38cb9b9.jpg","text":"TemporaryFile(/tmp/multipartBody6465013726279690811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216700997,"filename":"image_18012025_17_10_02_649300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c0380e4982b0481a86d9aeb68eb88a2.jpg","text":"TemporaryFile(/tmp/multipartBody7514621975157757615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216700997,"filename":"image_18012025_17_09_02_413679_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329798190","file1":"1329798187","file0":"1329798185"},"map_files_photo_id_array":[{"photo_id":"1329798190","filename":"file2"},{"photo_id":"1329798187","filename":"file1"},{"photo_id":"1329798185","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329798187":["hashtag1","hashtag2"]},{"1329798190":["hashtag1","hashtag2"]},{"1329798185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329798187, 1329798190, 1329798185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.612603664398193 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:11:22.674749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/10/image_18012025_17_10_02_649300_0003.jpg', '/home/pi/Desktop/images/18012025/17/11/image_18012025_17_11_02_751609_0000.jpg', '/home/pi/Desktop/images/18012025/17/11/image_18012025_17_11_02_751609_0001.jpg', '/home/pi/Desktop/images/18012025/17/11/image_18012025_17_11_02_751609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/10/image_18012025_17_10_02_649300_0003.jpg
/home/pi/Desktop/images/18012025/17/11/image_18012025_17_11_02_751609_0000.jpg
/home/pi/Desktop/images/18012025/17/11/image_18012025_17_11_02_751609_0001.jpg
/home/pi/Desktop/images/18012025/17/11/image_18012025_17_11_02_751609_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329798251","1329798257","1329798247","1329798243"],"photo_ids_order":["1329798243","1329798247","1329798251","1329798257"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6606247cada3aecc111eb6eb049f979e.jpg","text":"TemporaryFile(/tmp/multipartBody2590639096959310737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216753864,"filename":"image_18012025_17_11_02_751609_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ba0f4a69bfc577d482d7223e3a5df40.jpg","text":"TemporaryFile(/tmp/multipartBody1004656348092980132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216753864,"filename":"image_18012025_17_11_02_751609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d62e64dae265a233af553a1c1bbb243.jpg","text":"TemporaryFile(/tmp/multipartBody6931101475388858760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216753864,"filename":"image_18012025_17_11_02_751609_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/61a05bcd39611184c63eb4aabe94cac2.jpg","text":"TemporaryFile(/tmp/multipartBody6719728692657497700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216753864,"filename":"image_18012025_17_10_02_649300_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329798251","file1":"1329798247","file0":"1329798243","file3":"1329798257"},"map_files_photo_id_array":[{"photo_id":"1329798251","filename":"file2"},{"photo_id":"1329798247","filename":"file1"},{"photo_id":"1329798243","filename":"file0"},{"photo_id":"1329798257","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329798251":["hashtag1","hashtag2"]},{"1329798257":["hashtag1","hashtag2"]},{"1329798247":["hashtag1","hashtag2"]},{"1329798243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329798251, 1329798257, 1329798247, 1329798243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08258938789368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:12:22.782937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/11/image_18012025_17_11_02_751609_0003.jpg', '/home/pi/Desktop/images/18012025/17/12/image_18012025_17_12_02_946276_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/11/image_18012025_17_11_02_751609_0003.jpg
/home/pi/Desktop/images/18012025/17/12/image_18012025_17_12_02_946276_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":["1329798303","1329798299"],"photo_ids_order":["1329798299","1329798303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce61854c54ec2e484dd70e94f524280b.jpg","text":"TemporaryFile(/tmp/multipartBody4637455422130591449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216808702,"filename":"image_18012025_17_12_02_946276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b9bbab00f3f038d7256a4fe94feffaa.jpg","text":"TemporaryFile(/tmp/multipartBody7824344449844103662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216808702,"filename":"image_18012025_17_11_02_751609_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329798303","file0":"1329798299"},"map_files_photo_id_array":[{"photo_id":"1329798303","filename":"file1"},{"photo_id":"1329798299","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329798303":["hashtag1","hashtag2"]},{"1329798299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329798303, 1329798299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.11800265312195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 17:12:52.748508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0000.jpg', '/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0001.jpg', '/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0002.jpg', '/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0003.jpg', '/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0000.jpg', '/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0000.jpg
/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0001.jpg
/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0002.jpg
/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0003.jpg
/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0000.jpg
/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_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: 18.076033115386963 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:13:21.973923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/12/image_18012025_17_12_02_946276_0002.jpg', '/home/pi/Desktop/images/18012025/17/13/image_18012025_17_13_03_104749_0000.jpg', '/home/pi/Desktop/images/18012025/17/13/image_18012025_17_13_03_104749_0001.jpg', '/home/pi/Desktop/images/18012025/17/13/image_18012025_17_13_03_104749_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/12/image_18012025_17_12_02_946276_0002.jpg
/home/pi/Desktop/images/18012025/17/13/image_18012025_17_13_03_104749_0000.jpg
/home/pi/Desktop/images/18012025/17/13/image_18012025_17_13_03_104749_0001.jpg
/home/pi/Desktop/images/18012025/17/13/image_18012025_17_13_03_104749_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329798517","1329798610","1329798624","1329798522"],"photo_ids_order":["1329798517","1329798522","1329798610","1329798624"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/580384fb54ebd240492861a35c60de65.jpg","text":"TemporaryFile(/tmp/multipartBody4118890024094229040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216873168,"filename":"image_18012025_17_12_02_946276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e227b88196da96a4525055f6ee79ed0c.jpg","text":"TemporaryFile(/tmp/multipartBody5223468133259508090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216873168,"filename":"image_18012025_17_13_03_104749_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/863489b9926811e15b848e4773444e64.jpg","text":"TemporaryFile(/tmp/multipartBody766575507264814925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216873168,"filename":"image_18012025_17_13_03_104749_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c47da83fe215e5f6cdde47345a87103c.jpg","text":"TemporaryFile(/tmp/multipartBody1496506687171012370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216873168,"filename":"image_18012025_17_13_03_104749_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329798610","file1":"1329798522","file0":"1329798517","file3":"1329798624"},"map_files_photo_id_array":[{"photo_id":"1329798610","filename":"file2"},{"photo_id":"1329798522","filename":"file1"},{"photo_id":"1329798517","filename":"file0"},{"photo_id":"1329798624","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329798517":["hashtag1","hashtag2"]},{"1329798610":["hashtag1","hashtag2"]},{"1329798624":["hashtag1","hashtag2"]},{"1329798522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329798517, 1329798610, 1329798624, 1329798522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47920751571655 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-18 17:14:22.200717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/13/image_18012025_17_13_03_104749_0003.jpg', '/home/pi/Desktop/images/18012025/17/14/image_18012025_17_14_02_276542_0000.jpg', '/home/pi/Desktop/images/18012025/17/14/image_18012025_17_14_02_276542_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/13/image_18012025_17_13_03_104749_0003.jpg
/home/pi/Desktop/images/18012025/17/14/image_18012025_17_14_02_276542_0000.jpg
/home/pi/Desktop/images/18012025/17/14/image_18012025_17_14_02_276542_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329798795","1329798791","1329798692"],"photo_ids_order":["1329798692","1329798791","1329798795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/430bed943823c8bf2723ca768f81cb58.jpg","text":"TemporaryFile(/tmp/multipartBody4494811111850144261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216930787,"filename":"image_18012025_17_14_02_276542_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5bac5549df4135bafeb36ba3f523d53a.jpg","text":"TemporaryFile(/tmp/multipartBody3974845499945548051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216930787,"filename":"image_18012025_17_14_02_276542_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5299765778343a8da099d1bffa25a33.jpg","text":"TemporaryFile(/tmp/multipartBody7507138474079068622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216930787,"filename":"image_18012025_17_13_03_104749_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329798795","file1":"1329798791","file0":"1329798692"},"map_files_photo_id_array":[{"photo_id":"1329798795","filename":"file2"},{"photo_id":"1329798791","filename":"file1"},{"photo_id":"1329798692","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329798795":["hashtag1","hashtag2"]},{"1329798791":["hashtag1","hashtag2"]},{"1329798692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329798795, 1329798791, 1329798692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.210368156433105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:15:02.785087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0000.jpg', '/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0001.jpg', '/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0002.jpg', '/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0003.jpg', '/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0000.jpg', '/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0000.jpg
/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0001.jpg
/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0002.jpg
/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0003.jpg
/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0000.jpg
/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 18.141200304031372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:15:22.243448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/14/image_18012025_17_14_02_276542_0003.jpg', '/home/pi/Desktop/images/18012025/17/15/image_18012025_17_15_02_514934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/14/image_18012025_17_14_02_276542_0003.jpg
/home/pi/Desktop/images/18012025/17/15/image_18012025_17_15_02_514934_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329798914","1329798909"],"photo_ids_order":["1329798909","1329798914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/71eaa0adf8626c588e6968fbc770d7c3.jpg","text":"TemporaryFile(/tmp/multipartBody5190919819188143059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216988160,"filename":"image_18012025_17_15_02_514934_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e54e8c05794f52cf30f60f37ba3e1474.jpg","text":"TemporaryFile(/tmp/multipartBody6087323470593499298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737216988160,"filename":"image_18012025_17_14_02_276542_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329798914","file0":"1329798909"},"map_files_photo_id_array":[{"photo_id":"1329798914","filename":"file1"},{"photo_id":"1329798909","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329798914":["hashtag1","hashtag2"]},{"1329798909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329798914, 1329798909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.477617025375366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 17:15:52.257708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0000.jpg', '/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0001.jpg', '/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0002.jpg', '/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0003.jpg', '/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0000.jpg', '/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0000.jpg
/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0001.jpg
/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0002.jpg
/home/pi/Desktop/images/16012025/22/54/image_16012025_22_54_02_397604_0003.jpg
/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0000.jpg
/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329799115","1329798964","1329798943","1329799167","1329798969","1329798965"],"photo_ids_order":["1329798943","1329798964","1329798965","1329798969","1329799115","1329799167"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17dc51bcaf7ddba85803629ff46c16ff.jpg","text":"TemporaryFile(/tmp/multipartBody5390219411342404542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217030526,"filename":"image_16012025_22_55_02_554350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a942673d0e0176b22f180eb1ac8421bb.jpg","text":"TemporaryFile(/tmp/multipartBody98715640894806998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217030526,"filename":"image_16012025_22_54_02_397604_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ade4d9c6697979d53d5244b1eb730384.jpg","text":"TemporaryFile(/tmp/multipartBody3088764496002620540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217030526,"filename":"image_16012025_22_54_02_397604_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/241eb68d5d4534a084324b7670e66b40.jpg","text":"TemporaryFile(/tmp/multipartBody1444874246472511895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217030526,"filename":"image_16012025_22_55_02_554350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/06ca8a67181f405f2a36eab81cb16aeb.jpg","text":"TemporaryFile(/tmp/multipartBody2560474668360019975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217030526,"filename":"image_16012025_22_54_02_397604_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c2d5dac17ebd3b490ef4b2a0db56f06.jpg","text":"TemporaryFile(/tmp/multipartBody3339051024239448841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217030526,"filename":"image_16012025_22_54_02_397604_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329798965","file1":"1329798964","file0":"1329798943","file4":"1329799115","file5":"1329799167","file3":"1329798969"},"map_files_photo_id_array":[{"photo_id":"1329799167","filename":"file5"},{"photo_id":"1329798965","filename":"file2"},{"photo_id":"1329799115","filename":"file4"},{"photo_id":"1329798964","filename":"file1"},{"photo_id":"1329798943","filename":"file0"},{"photo_id":"1329798969","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329799115":["hashtag1","hashtag2"]},{"1329798964":["hashtag1","hashtag2"]},{"1329798943":["hashtag1","hashtag2"]},{"1329799167":["hashtag1","hashtag2"]},{"1329798969":["hashtag1","hashtag2"]},{"1329798965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329799115, 1329798964, 1329798943, 1329799167, 1329798969, 1329798965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.06413698196411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:17:03.419212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/15/image_18012025_17_15_02_514934_0003.jpg', '/home/pi/Desktop/images/18012025/17/16/image_18012025_17_16_02_741474_0000.jpg', '/home/pi/Desktop/images/18012025/17/16/image_18012025_17_16_02_741474_0001.jpg', '/home/pi/Desktop/images/18012025/17/16/image_18012025_17_16_02_741474_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/15/image_18012025_17_15_02_514934_0003.jpg
/home/pi/Desktop/images/18012025/17/16/image_18012025_17_16_02_741474_0000.jpg
/home/pi/Desktop/images/18012025/17/16/image_18012025_17_16_02_741474_0001.jpg
/home/pi/Desktop/images/18012025/17/16/image_18012025_17_16_02_741474_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329799217","1329799228","1329799224","1329799226"],"photo_ids_order":["1329799217","1329799224","1329799226","1329799228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b3defa99570ef380bd8779d18ee02473.jpg","text":"TemporaryFile(/tmp/multipartBody7167867247813995644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217094679,"filename":"image_18012025_17_15_02_514934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0a3c24a699e4a52f2c1233dff465948.jpg","text":"TemporaryFile(/tmp/multipartBody1303611894379792448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217094679,"filename":"image_18012025_17_16_02_741474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/61e43b841a75f10ce610d742e2073528.jpg","text":"TemporaryFile(/tmp/multipartBody4330691489203547815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217094679,"filename":"image_18012025_17_16_02_741474_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc568788de727634aa0f733681672eeb.jpg","text":"TemporaryFile(/tmp/multipartBody3662193125097104881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217094679,"filename":"image_18012025_17_16_02_741474_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329799226","file1":"1329799224","file0":"1329799217","file3":"1329799228"},"map_files_photo_id_array":[{"photo_id":"1329799226","filename":"file2"},{"photo_id":"1329799224","filename":"file1"},{"photo_id":"1329799217","filename":"file0"},{"photo_id":"1329799228","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329799217":["hashtag1","hashtag2"]},{"1329799228":["hashtag1","hashtag2"]},{"1329799224":["hashtag1","hashtag2"]},{"1329799226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329799217, 1329799228, 1329799224, 1329799226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.482898473739624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 17:17:52.755205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/16/image_18012025_17_16_02_741474_0003.jpg', '/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0000.jpg', '/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0001.jpg', '/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/16/image_18012025_17_16_02_741474_0003.jpg
/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0000.jpg
/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0001.jpg
/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.893013954162598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:18:21.955544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/16/image_18012025_17_16_02_741474_0003.jpg', '/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0000.jpg', '/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0001.jpg', '/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0002.jpg', '/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0003.jpg', '/home/pi/Desktop/images/18012025/17/18/image_18012025_17_18_03_164190_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/16/image_18012025_17_16_02_741474_0003.jpg
/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0000.jpg
/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0001.jpg
/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0002.jpg
/home/pi/Desktop/images/18012025/17/17/image_18012025_17_17_02_835243_0003.jpg
/home/pi/Desktop/images/18012025/17/18/image_18012025_17_18_03_164190_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329799607","1329799603","1329799611","1329799583","1329799589","1329799616"],"photo_ids_order":["1329799583","1329799589","1329799603","1329799607","1329799611","1329799616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/24ab6a72d17b682a360fc145a211a99c.jpg","text":"TemporaryFile(/tmp/multipartBody8280970437329069791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217178460,"filename":"image_18012025_17_17_02_835243_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8db0847990876254858e8ecfe85ad8fb.jpg","text":"TemporaryFile(/tmp/multipartBody7686378404045620084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217178460,"filename":"image_18012025_17_17_02_835243_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/537446928aa994f5ec3551ecce498bab.jpg","text":"TemporaryFile(/tmp/multipartBody7707591106530358000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217178460,"filename":"image_18012025_17_17_02_835243_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce6b963da661c022e2cc39b50dd58f06.jpg","text":"TemporaryFile(/tmp/multipartBody5951659960938527762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217178460,"filename":"image_18012025_17_16_02_741474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c71cf99da9324b80e111b7399cc6c50b.jpg","text":"TemporaryFile(/tmp/multipartBody5731388755446346543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217178460,"filename":"image_18012025_17_17_02_835243_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/23698ead2991563547266223b8331b3a.jpg","text":"TemporaryFile(/tmp/multipartBody8730344272613503475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217178460,"filename":"image_18012025_17_18_03_164190_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329799603","file1":"1329799589","file0":"1329799583","file4":"1329799611","file5":"1329799616","file3":"1329799607"},"map_files_photo_id_array":[{"photo_id":"1329799616","filename":"file5"},{"photo_id":"1329799603","filename":"file2"},{"photo_id":"1329799611","filename":"file4"},{"photo_id":"1329799589","filename":"file1"},{"photo_id":"1329799583","filename":"file0"},{"photo_id":"1329799607","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329799607":["hashtag1","hashtag2"]},{"1329799603":["hashtag1","hashtag2"]},{"1329799611":["hashtag1","hashtag2"]},{"1329799583":["hashtag1","hashtag2"]},{"1329799589":["hashtag1","hashtag2"]},{"1329799616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329799607, 1329799603, 1329799611, 1329799583, 1329799589, 1329799616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.954716205596924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:19:22.163502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/18/image_18012025_17_18_03_164190_0001.jpg', '/home/pi/Desktop/images/18012025/17/18/image_18012025_17_18_03_164190_0002.jpg', '/home/pi/Desktop/images/18012025/17/19/image_18012025_17_19_02_294652_0000.jpg', '/home/pi/Desktop/images/18012025/17/19/image_18012025_17_19_02_294652_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/18/image_18012025_17_18_03_164190_0001.jpg
/home/pi/Desktop/images/18012025/17/18/image_18012025_17_18_03_164190_0002.jpg
/home/pi/Desktop/images/18012025/17/19/image_18012025_17_19_02_294652_0000.jpg
/home/pi/Desktop/images/18012025/17/19/image_18012025_17_19_02_294652_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329799651","1329799624","1329799633","1329799628"],"photo_ids_order":["1329799624","1329799628","1329799633","1329799651"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/451126a63585a721e00741249ab2336e.jpg","text":"TemporaryFile(/tmp/multipartBody8007782037558546970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217233392,"filename":"image_18012025_17_19_02_294652_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2005168f886616183c690d28ed5d7641.jpg","text":"TemporaryFile(/tmp/multipartBody6235196501526900216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217233392,"filename":"image_18012025_17_18_03_164190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0d3f4f359209b2825b0494180daa8e48.jpg","text":"TemporaryFile(/tmp/multipartBody4779956349806864049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217233392,"filename":"image_18012025_17_19_02_294652_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18bd2376a4a993e53753f52bb30e8019.jpg","text":"TemporaryFile(/tmp/multipartBody5346665288807517102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217233392,"filename":"image_18012025_17_18_03_164190_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329799633","file1":"1329799628","file0":"1329799624","file3":"1329799651"},"map_files_photo_id_array":[{"photo_id":"1329799633","filename":"file2"},{"photo_id":"1329799628","filename":"file1"},{"photo_id":"1329799624","filename":"file0"},{"photo_id":"1329799651","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329799651":["hashtag1","hashtag2"]},{"1329799624":["hashtag1","hashtag2"]},{"1329799633":["hashtag1","hashtag2"]},{"1329799628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329799651, 1329799624, 1329799633, 1329799628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.831867694854736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:20:22.386038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/19/image_18012025_17_19_02_294652_0003.jpg', '/home/pi/Desktop/images/18012025/17/20/image_18012025_17_20_02_562726_0000.jpg', '/home/pi/Desktop/images/18012025/17/20/image_18012025_17_20_02_562726_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/19/image_18012025_17_19_02_294652_0003.jpg
/home/pi/Desktop/images/18012025/17/20/image_18012025_17_20_02_562726_0000.jpg
/home/pi/Desktop/images/18012025/17/20/image_18012025_17_20_02_562726_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":["1329799699","1329799695","1329799704"],"photo_ids_order":["1329799695","1329799699","1329799704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/26b703afc3a59d5c7d53404e07732100.jpg","text":"TemporaryFile(/tmp/multipartBody3913251364332931921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217290956,"filename":"image_18012025_17_20_02_562726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/66cb75a17379c5c80d231bf2357ae1ff.jpg","text":"TemporaryFile(/tmp/multipartBody3375992337042881577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217290956,"filename":"image_18012025_17_19_02_294652_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0206e8b7a32653d96f418474a6b53d26.jpg","text":"TemporaryFile(/tmp/multipartBody574527057322793891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217290956,"filename":"image_18012025_17_20_02_562726_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329799704","file1":"1329799699","file0":"1329799695"},"map_files_photo_id_array":[{"photo_id":"1329799704","filename":"file2"},{"photo_id":"1329799699","filename":"file1"},{"photo_id":"1329799695","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329799699":["hashtag1","hashtag2"]},{"1329799695":["hashtag1","hashtag2"]},{"1329799704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329799699, 1329799695, 1329799704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.49873900413513 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:21:03.360339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0002.jpg', '/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0003.jpg', '/home/pi/Desktop/images/16012025/22/56/image_16012025_22_56_02_861796_0000.jpg', '/home/pi/Desktop/images/16012025/22/56/image_16012025_22_56_02_861796_0001.jpg', '/home/pi/Desktop/images/16012025/22/56/image_16012025_22_56_02_861796_0002.jpg', '/home/pi/Desktop/images/16012025/22/56/image_16012025_22_56_02_861796_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0002.jpg
/home/pi/Desktop/images/16012025/22/55/image_16012025_22_55_02_554350_0003.jpg
/home/pi/Desktop/images/16012025/22/56/image_16012025_22_56_02_861796_0000.jpg
/home/pi/Desktop/images/16012025/22/56/image_16012025_22_56_02_861796_0001.jpg
/home/pi/Desktop/images/16012025/22/56/image_16012025_22_56_02_861796_0002.jpg
/home/pi/Desktop/images/16012025/22/56/image_16012025_22_56_02_861796_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329799747","1329799758","1329799731","1329799733","1329799742","1329799736"],"photo_ids_order":["1329799731","1329799733","1329799736","1329799742","1329799747","1329799758"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/37a31e8fa6b4cbe41a22a5dcb5b05c56.jpg","text":"TemporaryFile(/tmp/multipartBody4346114551750684698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217341347,"filename":"image_16012025_22_56_02_861796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d934881a1961ba4b727b5436d6dbfd8d.jpg","text":"TemporaryFile(/tmp/multipartBody5500660196029894519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217341347,"filename":"image_16012025_22_56_02_861796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16862b32253ea10e9d3d907ff1a5c465.jpg","text":"TemporaryFile(/tmp/multipartBody3607747508457035365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217341347,"filename":"image_16012025_22_55_02_554350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a1c4ffb62e33763718b378648f452cc.jpg","text":"TemporaryFile(/tmp/multipartBody7846812521124265199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217341347,"filename":"image_16012025_22_55_02_554350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1993c20a0fc036e0e8446759c03dd7cc.jpg","text":"TemporaryFile(/tmp/multipartBody2056354992874240291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217341347,"filename":"image_16012025_22_56_02_861796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9a18b257cbb7dddde1eb483b78adcfc.jpg","text":"TemporaryFile(/tmp/multipartBody7056237046800302496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217341347,"filename":"image_16012025_22_56_02_861796_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329799736","file1":"1329799733","file0":"1329799731","file4":"1329799747","file5":"1329799758","file3":"1329799742"},"map_files_photo_id_array":[{"photo_id":"1329799758","filename":"file5"},{"photo_id":"1329799736","filename":"file2"},{"photo_id":"1329799747","filename":"file4"},{"photo_id":"1329799733","filename":"file1"},{"photo_id":"1329799731","filename":"file0"},{"photo_id":"1329799742","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329799747":["hashtag1","hashtag2"]},{"1329799758":["hashtag1","hashtag2"]},{"1329799731":["hashtag1","hashtag2"]},{"1329799733":["hashtag1","hashtag2"]},{"1329799742":["hashtag1","hashtag2"]},{"1329799736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329799747, 1329799758, 1329799731, 1329799733, 1329799742, 1329799736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.207990407943726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:22:21.824597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/20/image_18012025_17_20_02_562726_0002.jpg', '/home/pi/Desktop/images/18012025/17/21/image_18012025_17_21_02_746441_0000.jpg', '/home/pi/Desktop/images/18012025/17/21/image_18012025_17_21_02_746441_0001.jpg', '/home/pi/Desktop/images/18012025/17/21/image_18012025_17_21_02_746441_0002.jpg', '/home/pi/Desktop/images/18012025/17/21/image_18012025_17_21_02_746441_0003.jpg', '/home/pi/Desktop/images/18012025/17/22/image_18012025_17_22_02_940386_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/20/image_18012025_17_20_02_562726_0002.jpg
/home/pi/Desktop/images/18012025/17/21/image_18012025_17_21_02_746441_0000.jpg
/home/pi/Desktop/images/18012025/17/21/image_18012025_17_21_02_746441_0001.jpg
/home/pi/Desktop/images/18012025/17/21/image_18012025_17_21_02_746441_0002.jpg
/home/pi/Desktop/images/18012025/17/21/image_18012025_17_21_02_746441_0003.jpg
/home/pi/Desktop/images/18012025/17/22/image_18012025_17_22_02_940386_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":["1329801081","1329801077","1329801085","1329801104","1329801088","1329801109"],"photo_ids_order":["1329801077","1329801081","1329801085","1329801088","1329801104","1329801109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8af965dc774a54eb4af9308037137e87.jpg","text":"TemporaryFile(/tmp/multipartBody6393102678585655770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217418326,"filename":"image_18012025_17_21_02_746441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fa4342bb25295a58e8e61102c676db89.jpg","text":"TemporaryFile(/tmp/multipartBody3815819710031140101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217418326,"filename":"image_18012025_17_20_02_562726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a1733bb8fcdb670e42207c7b81b0435c.jpg","text":"TemporaryFile(/tmp/multipartBody2167195091846921106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217418326,"filename":"image_18012025_17_21_02_746441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9e1f92d9e683be0d004231050ef3eb16.jpg","text":"TemporaryFile(/tmp/multipartBody2283059717505417512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217418326,"filename":"image_18012025_17_21_02_746441_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5b1a7bb7ef216e5d5ee2254e97ae4f29.jpg","text":"TemporaryFile(/tmp/multipartBody6499204732613507729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217418326,"filename":"image_18012025_17_21_02_746441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d5d1811d077f4e2e24b97ffd52e2ac98.jpg","text":"TemporaryFile(/tmp/multipartBody7105434205831175188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217418326,"filename":"image_18012025_17_22_02_940386_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329801085","file1":"1329801081","file0":"1329801077","file4":"1329801104","file5":"1329801109","file3":"1329801088"},"map_files_photo_id_array":[{"photo_id":"1329801109","filename":"file5"},{"photo_id":"1329801085","filename":"file2"},{"photo_id":"1329801104","filename":"file4"},{"photo_id":"1329801081","filename":"file1"},{"photo_id":"1329801077","filename":"file0"},{"photo_id":"1329801088","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329801081":["hashtag1","hashtag2"]},{"1329801077":["hashtag1","hashtag2"]},{"1329801085":["hashtag1","hashtag2"]},{"1329801104":["hashtag1","hashtag2"]},{"1329801088":["hashtag1","hashtag2"]},{"1329801109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329801081, 1329801077, 1329801085, 1329801104, 1329801088, 1329801109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.431633949279785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:23:21.987802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/22/image_18012025_17_22_02_940386_0003.jpg', '/home/pi/Desktop/images/18012025/17/23/image_18012025_17_23_02_173248_0000.jpg', '/home/pi/Desktop/images/18012025/17/23/image_18012025_17_23_02_173248_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/22/image_18012025_17_22_02_940386_0003.jpg
/home/pi/Desktop/images/18012025/17/23/image_18012025_17_23_02_173248_0000.jpg
/home/pi/Desktop/images/18012025/17/23/image_18012025_17_23_02_173248_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329801437","1329801152","1329801130"],"photo_ids_order":["1329801130","1329801152","1329801437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/798b2bc305e0d12e590f6b0a951932af.jpg","text":"TemporaryFile(/tmp/multipartBody3604086093092828213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217470574,"filename":"image_18012025_17_23_02_173248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/545f895121b2ffbe830e11cfd30d37ac.jpg","text":"TemporaryFile(/tmp/multipartBody4434358535083651993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217470574,"filename":"image_18012025_17_23_02_173248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c43ecad2fc67e31151048964ad9413d6.jpg","text":"TemporaryFile(/tmp/multipartBody8263532958875404716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217470574,"filename":"image_18012025_17_22_02_940386_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329801437","file1":"1329801152","file0":"1329801130"},"map_files_photo_id_array":[{"photo_id":"1329801437","filename":"file2"},{"photo_id":"1329801152","filename":"file1"},{"photo_id":"1329801130","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329801437":["hashtag1","hashtag2"]},{"1329801152":["hashtag1","hashtag2"]},{"1329801130":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329801437, 1329801152, 1329801130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.834887742996216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:24:02.639232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0000.jpg', '/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0001.jpg', '/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0002.jpg', '/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0003.jpg', '/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0000.jpg', '/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0000.jpg
/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0001.jpg
/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0002.jpg
/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0003.jpg
/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0000.jpg
/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.127530097961426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:24:22.213626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/23/image_18012025_17_23_02_173248_0003.jpg', '/home/pi/Desktop/images/18012025/17/24/image_18012025_17_24_02_476847_0001.jpg', '/home/pi/Desktop/images/18012025/17/24/image_18012025_17_24_02_476847_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/23/image_18012025_17_23_02_173248_0003.jpg
/home/pi/Desktop/images/18012025/17/24/image_18012025_17_24_02_476847_0001.jpg
/home/pi/Desktop/images/18012025/17/24/image_18012025_17_24_02_476847_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329801762","1329801702","1329801770"],"photo_ids_order":["1329801702","1329801762","1329801770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a2341ea2fc130549ba034a83ebab880.jpg","text":"TemporaryFile(/tmp/multipartBody90860369397218960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217530790,"filename":"image_18012025_17_24_02_476847_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d4898575a9789ecefee7102bea19705.jpg","text":"TemporaryFile(/tmp/multipartBody5956864503112139093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217530790,"filename":"image_18012025_17_23_02_173248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/61aa5a18adf92782d164f73906db00fa.jpg","text":"TemporaryFile(/tmp/multipartBody1475774097450952067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217530790,"filename":"image_18012025_17_24_02_476847_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329801770","file1":"1329801762","file0":"1329801702"},"map_files_photo_id_array":[{"photo_id":"1329801770","filename":"file2"},{"photo_id":"1329801762","filename":"file1"},{"photo_id":"1329801702","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329801762":["hashtag1","hashtag2"]},{"1329801702":["hashtag1","hashtag2"]},{"1329801770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329801762, 1329801702, 1329801770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.570493936538696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:25:02.970568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0000.jpg', '/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0001.jpg', '/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0002.jpg', '/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0003.jpg', '/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0000.jpg', '/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0000.jpg
/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0001.jpg
/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0002.jpg
/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0003.jpg
/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0000.jpg
/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.766388177871704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:25:22.472921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/24/image_18012025_17_24_02_476847_0003.jpg', '/home/pi/Desktop/images/18012025/17/25/image_18012025_17_25_02_674100_0000.jpg', '/home/pi/Desktop/images/18012025/17/25/image_18012025_17_25_02_674100_0001.jpg', '/home/pi/Desktop/images/18012025/17/25/image_18012025_17_25_02_674100_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/24/image_18012025_17_24_02_476847_0003.jpg
/home/pi/Desktop/images/18012025/17/25/image_18012025_17_25_02_674100_0000.jpg
/home/pi/Desktop/images/18012025/17/25/image_18012025_17_25_02_674100_0001.jpg
/home/pi/Desktop/images/18012025/17/25/image_18012025_17_25_02_674100_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329801831","1329801827","1329801803","1329801795"],"photo_ids_order":["1329801795","1329801803","1329801827","1329801831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c1b3151ebc46ca4ea1cf4ca1e39fa10e.jpg","text":"TemporaryFile(/tmp/multipartBody2496597515142245732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217593530,"filename":"image_18012025_17_25_02_674100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e209f040d30626fa8c188022e2f12f9e.jpg","text":"TemporaryFile(/tmp/multipartBody129288479130431377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217593530,"filename":"image_18012025_17_25_02_674100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dcf5008bced30302d12c394c79b7710b.jpg","text":"TemporaryFile(/tmp/multipartBody5361953813640902855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217593530,"filename":"image_18012025_17_25_02_674100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92c89d583f1b6a5531eb516f148235db.jpg","text":"TemporaryFile(/tmp/multipartBody2361600442336730509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217593530,"filename":"image_18012025_17_24_02_476847_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329801827","file1":"1329801803","file0":"1329801795","file3":"1329801831"},"map_files_photo_id_array":[{"photo_id":"1329801827","filename":"file2"},{"photo_id":"1329801803","filename":"file1"},{"photo_id":"1329801795","filename":"file0"},{"photo_id":"1329801831","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329801831":["hashtag1","hashtag2"]},{"1329801827":["hashtag1","hashtag2"]},{"1329801803":["hashtag1","hashtag2"]},{"1329801795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329801831, 1329801827, 1329801803, 1329801795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.24040722846985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:26:22.698366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/25/image_18012025_17_25_02_674100_0003.jpg', '/home/pi/Desktop/images/18012025/17/26/image_18012025_17_26_02_775594_0000.jpg', '/home/pi/Desktop/images/18012025/17/26/image_18012025_17_26_02_775594_0001.jpg', '/home/pi/Desktop/images/18012025/17/26/image_18012025_17_26_02_775594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/25/image_18012025_17_25_02_674100_0003.jpg
/home/pi/Desktop/images/18012025/17/26/image_18012025_17_26_02_775594_0000.jpg
/home/pi/Desktop/images/18012025/17/26/image_18012025_17_26_02_775594_0001.jpg
/home/pi/Desktop/images/18012025/17/26/image_18012025_17_26_02_775594_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329801933","1329801927","1329801877","1329801922"],"photo_ids_order":["1329801877","1329801922","1329801927","1329801933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a409cf1006f51a5fbc7fc771957aa28.jpg","text":"TemporaryFile(/tmp/multipartBody8573237758666311544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217653134,"filename":"image_18012025_17_26_02_775594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/394ed1958cc6241cf5229634fa344fc0.jpg","text":"TemporaryFile(/tmp/multipartBody8516847455566398673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217653134,"filename":"image_18012025_17_26_02_775594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4af07726a3988f2fe2db48327fdb1c7b.jpg","text":"TemporaryFile(/tmp/multipartBody35926722745134763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217653134,"filename":"image_18012025_17_25_02_674100_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/91dddc3c5bc3fde7501b600e12cddc9c.jpg","text":"TemporaryFile(/tmp/multipartBody1287955869629594935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217653134,"filename":"image_18012025_17_26_02_775594_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329801927","file1":"1329801922","file0":"1329801877","file3":"1329801933"},"map_files_photo_id_array":[{"photo_id":"1329801927","filename":"file2"},{"photo_id":"1329801922","filename":"file1"},{"photo_id":"1329801877","filename":"file0"},{"photo_id":"1329801933","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329801933":["hashtag1","hashtag2"]},{"1329801927":["hashtag1","hashtag2"]},{"1329801877":["hashtag1","hashtag2"]},{"1329801922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329801933, 1329801927, 1329801877, 1329801922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.04928159713745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:27:02.217058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0000.jpg', '/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0001.jpg', '/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0002.jpg', '/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0003.jpg', '/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0000.jpg', '/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0000.jpg
/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0001.jpg
/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0002.jpg
/home/pi/Desktop/images/16012025/22/57/image_16012025_22_57_02_982773_0003.jpg
/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0000.jpg
/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329802008","1329801992","1329801997","1329801988","1329802003","1329802012"],"photo_ids_order":["1329801988","1329801992","1329801997","1329802003","1329802008","1329802012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f333e9e74c1a4ef755394e3cad519641.jpg","text":"TemporaryFile(/tmp/multipartBody7476048518561780475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217699714,"filename":"image_16012025_22_58_02_208882_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/708340b01d8eabe5c3ab94b9b913cc60.jpg","text":"TemporaryFile(/tmp/multipartBody4018274097997760198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217699714,"filename":"image_16012025_22_57_02_982773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2eab0aeafd3c3e326a6ab32a5292393d.jpg","text":"TemporaryFile(/tmp/multipartBody4008670294260087766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217699714,"filename":"image_16012025_22_57_02_982773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fc8c973a3a1842c24be7326b6f915dcc.jpg","text":"TemporaryFile(/tmp/multipartBody1640735744163899143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217699714,"filename":"image_16012025_22_57_02_982773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c35b39e5ce70509b162d28256f585a8a.jpg","text":"TemporaryFile(/tmp/multipartBody5181920136719143357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217699714,"filename":"image_16012025_22_57_02_982773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bda391f4352b4cba26bc3142aff145be.jpg","text":"TemporaryFile(/tmp/multipartBody4884513268279744569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217699714,"filename":"image_16012025_22_58_02_208882_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329801997","file1":"1329801992","file0":"1329801988","file4":"1329802008","file5":"1329802012","file3":"1329802003"},"map_files_photo_id_array":[{"photo_id":"1329802012","filename":"file5"},{"photo_id":"1329801997","filename":"file2"},{"photo_id":"1329802008","filename":"file4"},{"photo_id":"1329801992","filename":"file1"},{"photo_id":"1329801988","filename":"file0"},{"photo_id":"1329802003","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329802008":["hashtag1","hashtag2"]},{"1329801992":["hashtag1","hashtag2"]},{"1329801997":["hashtag1","hashtag2"]},{"1329801988":["hashtag1","hashtag2"]},{"1329802003":["hashtag1","hashtag2"]},{"1329802012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329802008, 1329801992, 1329801997, 1329801988, 1329802003, 1329802012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.233222007751465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:28:21.992260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/26/image_18012025_17_26_02_775594_0003.jpg', '/home/pi/Desktop/images/18012025/17/27/image_18012025_17_27_03_021112_0000.jpg', '/home/pi/Desktop/images/18012025/17/27/image_18012025_17_27_03_021112_0001.jpg', '/home/pi/Desktop/images/18012025/17/27/image_18012025_17_27_03_021112_0002.jpg', '/home/pi/Desktop/images/18012025/17/27/image_18012025_17_27_03_021112_0003.jpg', '/home/pi/Desktop/images/18012025/17/28/image_18012025_17_28_02_181775_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/26/image_18012025_17_26_02_775594_0003.jpg
/home/pi/Desktop/images/18012025/17/27/image_18012025_17_27_03_021112_0000.jpg
/home/pi/Desktop/images/18012025/17/27/image_18012025_17_27_03_021112_0001.jpg
/home/pi/Desktop/images/18012025/17/27/image_18012025_17_27_03_021112_0002.jpg
/home/pi/Desktop/images/18012025/17/27/image_18012025_17_27_03_021112_0003.jpg
/home/pi/Desktop/images/18012025/17/28/image_18012025_17_28_02_181775_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329802084","1329802036","1329802098","1329802077","1329802065","1329802032"],"photo_ids_order":["1329802032","1329802036","1329802065","1329802077","1329802084","1329802098"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a28bd645a7184099cf68a835473a34f1.jpg","text":"TemporaryFile(/tmp/multipartBody7092071054819657955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217777929,"filename":"image_18012025_17_27_03_021112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c594d686992155aa2e321d51b0cd0475.jpg","text":"TemporaryFile(/tmp/multipartBody608137051796508119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217777929,"filename":"image_18012025_17_27_03_021112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46f6dc796c84381d7b1c2904d2c72333.jpg","text":"TemporaryFile(/tmp/multipartBody6401536555978848113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217777929,"filename":"image_18012025_17_28_02_181775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cceba576b11603f1aa13115e3440db7b.jpg","text":"TemporaryFile(/tmp/multipartBody6833606788516685040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217777929,"filename":"image_18012025_17_27_03_021112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4e1388ce70359c664eb77880123cad33.jpg","text":"TemporaryFile(/tmp/multipartBody8856175876901850479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217777929,"filename":"image_18012025_17_27_03_021112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39c1a95749e0cfe731d3a416e8fecf44.jpg","text":"TemporaryFile(/tmp/multipartBody329904239866967080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217777929,"filename":"image_18012025_17_26_02_775594_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329802065","file1":"1329802036","file0":"1329802032","file4":"1329802084","file5":"1329802098","file3":"1329802077"},"map_files_photo_id_array":[{"photo_id":"1329802098","filename":"file5"},{"photo_id":"1329802065","filename":"file2"},{"photo_id":"1329802084","filename":"file4"},{"photo_id":"1329802036","filename":"file1"},{"photo_id":"1329802032","filename":"file0"},{"photo_id":"1329802077","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329802084":["hashtag1","hashtag2"]},{"1329802036":["hashtag1","hashtag2"]},{"1329802098":["hashtag1","hashtag2"]},{"1329802077":["hashtag1","hashtag2"]},{"1329802065":["hashtag1","hashtag2"]},{"1329802032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329802084, 1329802036, 1329802098, 1329802077, 1329802065, 1329802032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.064719676971436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:29:22.232282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/28/image_18012025_17_28_02_181775_0001.jpg', '/home/pi/Desktop/images/18012025/17/28/image_18012025_17_28_02_181775_0002.jpg', '/home/pi/Desktop/images/18012025/17/28/image_18012025_17_28_02_181775_0003.jpg', '/home/pi/Desktop/images/18012025/17/29/image_18012025_17_29_02_309208_0000.jpg', '/home/pi/Desktop/images/18012025/17/29/image_18012025_17_29_02_309208_0001.jpg', '/home/pi/Desktop/images/18012025/17/29/image_18012025_17_29_02_309208_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/28/image_18012025_17_28_02_181775_0001.jpg
/home/pi/Desktop/images/18012025/17/28/image_18012025_17_28_02_181775_0002.jpg
/home/pi/Desktop/images/18012025/17/28/image_18012025_17_28_02_181775_0003.jpg
/home/pi/Desktop/images/18012025/17/29/image_18012025_17_29_02_309208_0000.jpg
/home/pi/Desktop/images/18012025/17/29/image_18012025_17_29_02_309208_0001.jpg
/home/pi/Desktop/images/18012025/17/29/image_18012025_17_29_02_309208_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329802172","1329802169","1329802160","1329802154","1329802163","1329802174"],"photo_ids_order":["1329802154","1329802160","1329802163","1329802169","1329802172","1329802174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d13d03b3886bd7cb12623bd31d843f6.jpg","text":"TemporaryFile(/tmp/multipartBody7295966539145086599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217838526,"filename":"image_18012025_17_29_02_309208_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39c101e7614b1fce32ed2d21a345b004.jpg","text":"TemporaryFile(/tmp/multipartBody1491740217075610351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217838526,"filename":"image_18012025_17_29_02_309208_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6cb513a96496d12bfa4d76644ea6ec04.jpg","text":"TemporaryFile(/tmp/multipartBody5596735531369604793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217838526,"filename":"image_18012025_17_28_02_181775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cc7100139f35a87113ee7c4086667f58.jpg","text":"TemporaryFile(/tmp/multipartBody518033253652814387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217838526,"filename":"image_18012025_17_28_02_181775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ebb141d3a5c71a83c9ecbb0d42d150cb.jpg","text":"TemporaryFile(/tmp/multipartBody3782780563352319474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217838526,"filename":"image_18012025_17_28_02_181775_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa2a8ea511ed1de58af44b7040c93b10.jpg","text":"TemporaryFile(/tmp/multipartBody8633022802627972981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217838526,"filename":"image_18012025_17_29_02_309208_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329802163","file1":"1329802160","file0":"1329802154","file4":"1329802172","file5":"1329802174","file3":"1329802169"},"map_files_photo_id_array":[{"photo_id":"1329802174","filename":"file5"},{"photo_id":"1329802163","filename":"file2"},{"photo_id":"1329802172","filename":"file4"},{"photo_id":"1329802160","filename":"file1"},{"photo_id":"1329802154","filename":"file0"},{"photo_id":"1329802169","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329802172":["hashtag1","hashtag2"]},{"1329802169":["hashtag1","hashtag2"]},{"1329802160":["hashtag1","hashtag2"]},{"1329802154":["hashtag1","hashtag2"]},{"1329802163":["hashtag1","hashtag2"]},{"1329802174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329802172, 1329802169, 1329802160, 1329802154, 1329802163, 1329802174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.216920137405396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:30:22.344708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/29/image_18012025_17_29_02_309208_0003.jpg', '/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0000.jpg', '/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0001.jpg', '/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/29/image_18012025_17_29_02_309208_0003.jpg
/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0000.jpg
/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0001.jpg
/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.061314582824707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 17:30:42.319394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/29/image_18012025_17_29_02_309208_0003.jpg', '/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0000.jpg', '/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0001.jpg', '/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/29/image_18012025_17_29_02_309208_0003.jpg
/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0000.jpg
/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0001.jpg
/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329802212","1329802217","1329802214","1329802216"],"photo_ids_order":["1329802212","1329802214","1329802216","1329802217"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e17243a295e06d8e8d46e5c56b0e18c.jpg","text":"TemporaryFile(/tmp/multipartBody4568400356667885533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217913767,"filename":"image_18012025_17_29_02_309208_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a52317107fb4393bd66fe9ab18b9f823.jpg","text":"TemporaryFile(/tmp/multipartBody8710346192877490697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217913767,"filename":"image_18012025_17_30_02_500915_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a9c164b8c9e422c6c12295b46ede0c65.jpg","text":"TemporaryFile(/tmp/multipartBody5908765344234560250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217913767,"filename":"image_18012025_17_30_02_500915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a5400c3c3639845a6d4d1981bad11379.jpg","text":"TemporaryFile(/tmp/multipartBody1530337394997895659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217913767,"filename":"image_18012025_17_30_02_500915_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329802216","file1":"1329802214","file0":"1329802212","file3":"1329802217"},"map_files_photo_id_array":[{"photo_id":"1329802216","filename":"file2"},{"photo_id":"1329802214","filename":"file1"},{"photo_id":"1329802212","filename":"file0"},{"photo_id":"1329802217","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329802212":["hashtag1","hashtag2"]},{"1329802217":["hashtag1","hashtag2"]},{"1329802214":["hashtag1","hashtag2"]},{"1329802216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329802212, 1329802217, 1329802214, 1329802216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.691128969192505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 17:31:32.449853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0003.jpg', '/home/pi/Desktop/images/18012025/17/31/image_18012025_17_31_02_696832_0000.jpg', '/home/pi/Desktop/images/18012025/17/31/image_18012025_17_31_02_696832_0001.jpg', '/home/pi/Desktop/images/18012025/17/31/image_18012025_17_31_02_696832_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/30/image_18012025_17_30_02_500915_0003.jpg
/home/pi/Desktop/images/18012025/17/31/image_18012025_17_31_02_696832_0000.jpg
/home/pi/Desktop/images/18012025/17/31/image_18012025_17_31_02_696832_0001.jpg
/home/pi/Desktop/images/18012025/17/31/image_18012025_17_31_02_696832_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329802248","1329802237","1329802242","1329802245"],"photo_ids_order":["1329802237","1329802242","1329802245","1329802248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f91c1e2e6c6488b9ce940bc8e22bd52.jpg","text":"TemporaryFile(/tmp/multipartBody741731307846860341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217963630,"filename":"image_18012025_17_31_02_696832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ccd47526e19901a34d9126e7c5c9d57.jpg","text":"TemporaryFile(/tmp/multipartBody8184263640890143947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217963630,"filename":"image_18012025_17_30_02_500915_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9663947acd528ea530312029a032f47e.jpg","text":"TemporaryFile(/tmp/multipartBody8577620369557688226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217963630,"filename":"image_18012025_17_31_02_696832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ede7b25935e128e9674a12214014182b.jpg","text":"TemporaryFile(/tmp/multipartBody778276593281567628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737217963630,"filename":"image_18012025_17_31_02_696832_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329802245","file1":"1329802242","file0":"1329802237","file3":"1329802248"},"map_files_photo_id_array":[{"photo_id":"1329802245","filename":"file2"},{"photo_id":"1329802242","filename":"file1"},{"photo_id":"1329802237","filename":"file0"},{"photo_id":"1329802248","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329802248":["hashtag1","hashtag2"]},{"1329802237":["hashtag1","hashtag2"]},{"1329802242":["hashtag1","hashtag2"]},{"1329802245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329802248, 1329802237, 1329802242, 1329802245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.24880528450012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:32:22.646068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/31/image_18012025_17_31_02_696832_0003.jpg', '/home/pi/Desktop/images/18012025/17/32/image_18012025_17_32_02_875570_0000.jpg', '/home/pi/Desktop/images/18012025/17/32/image_18012025_17_32_02_875570_0001.jpg', '/home/pi/Desktop/images/18012025/17/32/image_18012025_17_32_02_875570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/31/image_18012025_17_31_02_696832_0003.jpg
/home/pi/Desktop/images/18012025/17/32/image_18012025_17_32_02_875570_0000.jpg
/home/pi/Desktop/images/18012025/17/32/image_18012025_17_32_02_875570_0001.jpg
/home/pi/Desktop/images/18012025/17/32/image_18012025_17_32_02_875570_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329802271","1329802262","1329802275","1329802266"],"photo_ids_order":["1329802262","1329802266","1329802271","1329802275"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13887feb2b88e1942b31eddde0ba4ba2.jpg","text":"TemporaryFile(/tmp/multipartBody5345369892130145712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218014213,"filename":"image_18012025_17_32_02_875570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e756701afcb5321578cc3fb24f27b60e.jpg","text":"TemporaryFile(/tmp/multipartBody8705824926288674687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218014213,"filename":"image_18012025_17_31_02_696832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d06a476be344b75d9af3d5bb70a8f3e.jpg","text":"TemporaryFile(/tmp/multipartBody7772668061345958862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218014213,"filename":"image_18012025_17_32_02_875570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4652bfe6c7666903c4be7a113d385ad.jpg","text":"TemporaryFile(/tmp/multipartBody5388261276641729619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218014213,"filename":"image_18012025_17_32_02_875570_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329802271","file1":"1329802266","file0":"1329802262","file3":"1329802275"},"map_files_photo_id_array":[{"photo_id":"1329802271","filename":"file2"},{"photo_id":"1329802266","filename":"file1"},{"photo_id":"1329802262","filename":"file0"},{"photo_id":"1329802275","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329802271":["hashtag1","hashtag2"]},{"1329802262":["hashtag1","hashtag2"]},{"1329802275":["hashtag1","hashtag2"]},{"1329802266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329802271, 1329802262, 1329802275, 1329802266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.36953544616699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:33:21.889229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/32/image_18012025_17_32_02_875570_0003.jpg', '/home/pi/Desktop/images/18012025/17/33/image_18012025_17_33_03_056469_0000.jpg', '/home/pi/Desktop/images/18012025/17/33/image_18012025_17_33_03_056469_0001.jpg', '/home/pi/Desktop/images/18012025/17/33/image_18012025_17_33_03_056469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/32/image_18012025_17_32_02_875570_0003.jpg
/home/pi/Desktop/images/18012025/17/33/image_18012025_17_33_03_056469_0000.jpg
/home/pi/Desktop/images/18012025/17/33/image_18012025_17_33_03_056469_0001.jpg
/home/pi/Desktop/images/18012025/17/33/image_18012025_17_33_03_056469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329802329","1329802339","1329802335","1329802323"],"photo_ids_order":["1329802323","1329802329","1329802335","1329802339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93613f418b5e0fac1916cc04a14ae019.jpg","text":"TemporaryFile(/tmp/multipartBody957915434955136459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218073220,"filename":"image_18012025_17_33_03_056469_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ef4709e806a6d714c975aaa70b7a4bf.jpg","text":"TemporaryFile(/tmp/multipartBody8493614799710648872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218073220,"filename":"image_18012025_17_33_03_056469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b0919fdc997075a28cf6777a81f8f4b.jpg","text":"TemporaryFile(/tmp/multipartBody6600384638665110280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218073220,"filename":"image_18012025_17_33_03_056469_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a5dd0e28e6966cf8a28fa3ad47523732.jpg","text":"TemporaryFile(/tmp/multipartBody5868480327013724276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218073220,"filename":"image_18012025_17_32_02_875570_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329802335","file1":"1329802329","file0":"1329802323","file3":"1329802339"},"map_files_photo_id_array":[{"photo_id":"1329802335","filename":"file2"},{"photo_id":"1329802329","filename":"file1"},{"photo_id":"1329802323","filename":"file0"},{"photo_id":"1329802339","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329802329":["hashtag1","hashtag2"]},{"1329802339":["hashtag1","hashtag2"]},{"1329802335":["hashtag1","hashtag2"]},{"1329802323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329802329, 1329802339, 1329802335, 1329802323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.80615162849426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:34:22.059789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/33/image_18012025_17_33_03_056469_0003.jpg', '/home/pi/Desktop/images/18012025/17/34/image_18012025_17_34_02_269105_0000.jpg', '/home/pi/Desktop/images/18012025/17/34/image_18012025_17_34_02_269105_0001.jpg', '/home/pi/Desktop/images/18012025/17/34/image_18012025_17_34_02_269105_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/33/image_18012025_17_33_03_056469_0003.jpg
/home/pi/Desktop/images/18012025/17/34/image_18012025_17_34_02_269105_0000.jpg
/home/pi/Desktop/images/18012025/17/34/image_18012025_17_34_02_269105_0001.jpg
/home/pi/Desktop/images/18012025/17/34/image_18012025_17_34_02_269105_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329802379","1329802361","1329802357","1329802374"],"photo_ids_order":["1329802357","1329802361","1329802374","1329802379"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc709754d0b95ebf55c44dc2cbd51fab.jpg","text":"TemporaryFile(/tmp/multipartBody7507081203780927347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218133275,"filename":"image_18012025_17_34_02_269105_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6715451be7cc4962584c0a5c8345ef07.jpg","text":"TemporaryFile(/tmp/multipartBody1413744356956974383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218133275,"filename":"image_18012025_17_34_02_269105_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d44dbd9c120a4feab591a3228cc94119.jpg","text":"TemporaryFile(/tmp/multipartBody939382423458730766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218133275,"filename":"image_18012025_17_33_03_056469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/636709df5f730ceada4e4ef45158c19a.jpg","text":"TemporaryFile(/tmp/multipartBody3466595491433942605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218133275,"filename":"image_18012025_17_34_02_269105_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329802374","file1":"1329802361","file0":"1329802357","file3":"1329802379"},"map_files_photo_id_array":[{"photo_id":"1329802374","filename":"file2"},{"photo_id":"1329802361","filename":"file1"},{"photo_id":"1329802357","filename":"file0"},{"photo_id":"1329802379","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329802379":["hashtag1","hashtag2"]},{"1329802361":["hashtag1","hashtag2"]},{"1329802357":["hashtag1","hashtag2"]},{"1329802374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329802379, 1329802361, 1329802357, 1329802374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.16654968261719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:35:22.289705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/34/image_18012025_17_34_02_269105_0003.jpg', '/home/pi/Desktop/images/18012025/17/35/image_18012025_17_35_02_494445_0000.jpg', '/home/pi/Desktop/images/18012025/17/35/image_18012025_17_35_02_494445_0001.jpg', '/home/pi/Desktop/images/18012025/17/35/image_18012025_17_35_02_494445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/34/image_18012025_17_34_02_269105_0003.jpg
/home/pi/Desktop/images/18012025/17/35/image_18012025_17_35_02_494445_0000.jpg
/home/pi/Desktop/images/18012025/17/35/image_18012025_17_35_02_494445_0001.jpg
/home/pi/Desktop/images/18012025/17/35/image_18012025_17_35_02_494445_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329802418","1329802423","1329802435","1329802408"],"photo_ids_order":["1329802408","1329802418","1329802423","1329802435"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c2103222632b38cb8fe17aa1d111532.jpg","text":"TemporaryFile(/tmp/multipartBody8969584766174985209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218193613,"filename":"image_18012025_17_35_02_494445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cce0e8bea6e10dd0b4931f13302c9828.jpg","text":"TemporaryFile(/tmp/multipartBody3183743873407568544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218193613,"filename":"image_18012025_17_35_02_494445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7e781455537d59e68172aaa6625d86b.jpg","text":"TemporaryFile(/tmp/multipartBody2739747533015065559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218193613,"filename":"image_18012025_17_35_02_494445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a0a60543653c078494cdd323f081003.jpg","text":"TemporaryFile(/tmp/multipartBody1366613001231784324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218193613,"filename":"image_18012025_17_34_02_269105_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329802423","file1":"1329802418","file0":"1329802408","file3":"1329802435"},"map_files_photo_id_array":[{"photo_id":"1329802423","filename":"file2"},{"photo_id":"1329802418","filename":"file1"},{"photo_id":"1329802408","filename":"file0"},{"photo_id":"1329802435","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329802418":["hashtag1","hashtag2"]},{"1329802423":["hashtag1","hashtag2"]},{"1329802435":["hashtag1","hashtag2"]},{"1329802408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329802418, 1329802423, 1329802435, 1329802408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.300065755844116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:36:22.462829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/35/image_18012025_17_35_02_494445_0003.jpg', '/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0000.jpg', '/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0001.jpg', '/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/35/image_18012025_17_35_02_494445_0003.jpg
/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0000.jpg
/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0001.jpg
/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.844138622283936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 17:36:42.414295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/35/image_18012025_17_35_02_494445_0003.jpg', '/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0000.jpg', '/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0001.jpg', '/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/35/image_18012025_17_35_02_494445_0003.jpg
/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0000.jpg
/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0001.jpg
/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329802518","1329802512","1329802519","1329802515"],"photo_ids_order":["1329802512","1329802515","1329802518","1329802519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c1007e8a68abfc14c4c8e54a3041e079.jpg","text":"TemporaryFile(/tmp/multipartBody9059218657090090389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218273625,"filename":"image_18012025_17_36_02_585823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f4e62d8115e5814c1abf434d0c5dce1f.jpg","text":"TemporaryFile(/tmp/multipartBody1006425019781582424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218273625,"filename":"image_18012025_17_35_02_494445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc75c8ec8b69d1a72de6644face4b11d.jpg","text":"TemporaryFile(/tmp/multipartBody3240814573825884802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218273625,"filename":"image_18012025_17_36_02_585823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9f88932b8902c908c1bd99c438a1f493.jpg","text":"TemporaryFile(/tmp/multipartBody4791400151053118455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218273625,"filename":"image_18012025_17_36_02_585823_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329802518","file1":"1329802515","file0":"1329802512","file3":"1329802519"},"map_files_photo_id_array":[{"photo_id":"1329802518","filename":"file2"},{"photo_id":"1329802515","filename":"file1"},{"photo_id":"1329802512","filename":"file0"},{"photo_id":"1329802519","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329802518":["hashtag1","hashtag2"]},{"1329802512":["hashtag1","hashtag2"]},{"1329802519":["hashtag1","hashtag2"]},{"1329802515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329802518, 1329802512, 1329802519, 1329802515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.78294396400452 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 17:37:32.604171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0003.jpg', '/home/pi/Desktop/images/18012025/17/37/image_18012025_17_37_02_761226_0000.jpg', '/home/pi/Desktop/images/18012025/17/37/image_18012025_17_37_02_761226_0001.jpg', '/home/pi/Desktop/images/18012025/17/37/image_18012025_17_37_02_761226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/36/image_18012025_17_36_02_585823_0003.jpg
/home/pi/Desktop/images/18012025/17/37/image_18012025_17_37_02_761226_0000.jpg
/home/pi/Desktop/images/18012025/17/37/image_18012025_17_37_02_761226_0001.jpg
/home/pi/Desktop/images/18012025/17/37/image_18012025_17_37_02_761226_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329802550","1329802541","1329802546","1329802536"],"photo_ids_order":["1329802536","1329802541","1329802546","1329802550"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c0ecb2e4b2594db8ddaa7303d3b47c6.jpg","text":"TemporaryFile(/tmp/multipartBody1365611826459421178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218323818,"filename":"image_18012025_17_37_02_761226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/11f9575f0e92a3a3dff5d38cede9231b.jpg","text":"TemporaryFile(/tmp/multipartBody6443614822811031578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218323818,"filename":"image_18012025_17_37_02_761226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e351bbc401e4d74c711e4993ba1896fe.jpg","text":"TemporaryFile(/tmp/multipartBody6932356321767526909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218323818,"filename":"image_18012025_17_37_02_761226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/899197c120577930a782473968d10ec4.jpg","text":"TemporaryFile(/tmp/multipartBody5162003449303552244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218323818,"filename":"image_18012025_17_36_02_585823_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329802546","file1":"1329802541","file0":"1329802536","file3":"1329802550"},"map_files_photo_id_array":[{"photo_id":"1329802546","filename":"file2"},{"photo_id":"1329802541","filename":"file1"},{"photo_id":"1329802536","filename":"file0"},{"photo_id":"1329802550","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329802550":["hashtag1","hashtag2"]},{"1329802541":["hashtag1","hashtag2"]},{"1329802546":["hashtag1","hashtag2"]},{"1329802536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329802550, 1329802541, 1329802546, 1329802536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76574397087097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:38:22.779094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/37/image_18012025_17_37_02_761226_0003.jpg', '/home/pi/Desktop/images/18012025/17/38/image_18012025_17_38_03_004730_0000.jpg', '/home/pi/Desktop/images/18012025/17/38/image_18012025_17_38_03_004730_0001.jpg', '/home/pi/Desktop/images/18012025/17/38/image_18012025_17_38_03_004730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/37/image_18012025_17_37_02_761226_0003.jpg
/home/pi/Desktop/images/18012025/17/38/image_18012025_17_38_03_004730_0000.jpg
/home/pi/Desktop/images/18012025/17/38/image_18012025_17_38_03_004730_0001.jpg
/home/pi/Desktop/images/18012025/17/38/image_18012025_17_38_03_004730_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329802574","1329802582","1329802564","1329802569"],"photo_ids_order":["1329802564","1329802569","1329802574","1329802582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8f69339cc21b967e1f2115f7fa0f55c1.jpg","text":"TemporaryFile(/tmp/multipartBody3523939217383082389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218374058,"filename":"image_18012025_17_38_03_004730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/68008e9e7547cd92a983553f50331b7f.jpg","text":"TemporaryFile(/tmp/multipartBody466489531060299138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218374058,"filename":"image_18012025_17_38_03_004730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a0cf7c93a0666c4f1d631d58cda2fca.jpg","text":"TemporaryFile(/tmp/multipartBody4749311480957230896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218374058,"filename":"image_18012025_17_37_02_761226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/778f2738170675af8089b629897b9dfd.jpg","text":"TemporaryFile(/tmp/multipartBody8905038612340817012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218374058,"filename":"image_18012025_17_38_03_004730_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329802574","file1":"1329802569","file0":"1329802564","file3":"1329802582"},"map_files_photo_id_array":[{"photo_id":"1329802574","filename":"file2"},{"photo_id":"1329802569","filename":"file1"},{"photo_id":"1329802564","filename":"file0"},{"photo_id":"1329802582","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329802574":["hashtag1","hashtag2"]},{"1329802582":["hashtag1","hashtag2"]},{"1329802564":["hashtag1","hashtag2"]},{"1329802569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329802574, 1329802582, 1329802564, 1329802569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.40932750701904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:39:21.909127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/38/image_18012025_17_38_03_004730_0003.jpg', '/home/pi/Desktop/images/18012025/17/39/image_18012025_17_39_03_156004_0000.jpg', '/home/pi/Desktop/images/18012025/17/39/image_18012025_17_39_03_156004_0001.jpg', '/home/pi/Desktop/images/18012025/17/39/image_18012025_17_39_03_156004_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/38/image_18012025_17_38_03_004730_0003.jpg
/home/pi/Desktop/images/18012025/17/39/image_18012025_17_39_03_156004_0000.jpg
/home/pi/Desktop/images/18012025/17/39/image_18012025_17_39_03_156004_0001.jpg
/home/pi/Desktop/images/18012025/17/39/image_18012025_17_39_03_156004_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329802697","1329802687","1329802683","1329802692"],"photo_ids_order":["1329802683","1329802687","1329802692","1329802697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9aa75dc0fcf157d841c6c826c452a976.jpg","text":"TemporaryFile(/tmp/multipartBody7142390252446408862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218433177,"filename":"image_18012025_17_39_03_156004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c66be17d7f6fbcce42bbc045b0b16d24.jpg","text":"TemporaryFile(/tmp/multipartBody517860044887615351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218433177,"filename":"image_18012025_17_39_03_156004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/42b3c4f0f5c4fcb615c8dff259b490e6.jpg","text":"TemporaryFile(/tmp/multipartBody620198966696020719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218433177,"filename":"image_18012025_17_38_03_004730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/87eaa341ece23fd9b54b9de6f8b97199.jpg","text":"TemporaryFile(/tmp/multipartBody5473671001884118081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218433177,"filename":"image_18012025_17_39_03_156004_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329802692","file1":"1329802687","file0":"1329802683","file3":"1329802697"},"map_files_photo_id_array":[{"photo_id":"1329802692","filename":"file2"},{"photo_id":"1329802687","filename":"file1"},{"photo_id":"1329802683","filename":"file0"},{"photo_id":"1329802697","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329802697":["hashtag1","hashtag2"]},{"1329802687":["hashtag1","hashtag2"]},{"1329802683":["hashtag1","hashtag2"]},{"1329802692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329802697, 1329802687, 1329802683, 1329802692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.28959035873413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:40:02.510713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0002.jpg', '/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0003.jpg', '/home/pi/Desktop/images/16012025/22/59/image_16012025_22_59_02_393645_0000.jpg', '/home/pi/Desktop/images/16012025/22/59/image_16012025_22_59_02_393645_0001.jpg', '/home/pi/Desktop/images/16012025/22/59/image_16012025_22_59_02_393645_0002.jpg', '/home/pi/Desktop/images/16012025/22/59/image_16012025_22_59_02_393645_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0002.jpg
/home/pi/Desktop/images/16012025/22/58/image_16012025_22_58_02_208882_0003.jpg
/home/pi/Desktop/images/16012025/22/59/image_16012025_22_59_02_393645_0000.jpg
/home/pi/Desktop/images/16012025/22/59/image_16012025_22_59_02_393645_0001.jpg
/home/pi/Desktop/images/16012025/22/59/image_16012025_22_59_02_393645_0002.jpg
/home/pi/Desktop/images/16012025/22/59/image_16012025_22_59_02_393645_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":["1329802722","1329802718","1329802709","1329802705","1329802713","1329802707"],"photo_ids_order":["1329802705","1329802707","1329802709","1329802713","1329802718","1329802722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e16572ef50c0084aebc9771cbe5cf7e8.jpg","text":"TemporaryFile(/tmp/multipartBody2378964383093136156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218480092,"filename":"image_16012025_22_59_02_393645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/61fc8c8f951fc539cccd1f6707f09929.jpg","text":"TemporaryFile(/tmp/multipartBody532833133451424388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218480092,"filename":"image_16012025_22_59_02_393645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee0e1930451825e11226910a2b8d8a7a.jpg","text":"TemporaryFile(/tmp/multipartBody5677123222574819631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218480092,"filename":"image_16012025_22_59_02_393645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca77a9da8821168f475bc864ca597c69.jpg","text":"TemporaryFile(/tmp/multipartBody4975795001105911339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218480092,"filename":"image_16012025_22_58_02_208882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93071b8cb852d61096fa9829c53c4c40.jpg","text":"TemporaryFile(/tmp/multipartBody4203937640927268381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218480092,"filename":"image_16012025_22_59_02_393645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/81d7a13fa0d2551cbc0e9efcdd25c102.jpg","text":"TemporaryFile(/tmp/multipartBody6384596502947878933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218480092,"filename":"image_16012025_22_58_02_208882_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329802709","file1":"1329802707","file0":"1329802705","file4":"1329802718","file5":"1329802722","file3":"1329802713"},"map_files_photo_id_array":[{"photo_id":"1329802722","filename":"file5"},{"photo_id":"1329802709","filename":"file2"},{"photo_id":"1329802718","filename":"file4"},{"photo_id":"1329802707","filename":"file1"},{"photo_id":"1329802705","filename":"file0"},{"photo_id":"1329802713","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329802722":["hashtag1","hashtag2"]},{"1329802718":["hashtag1","hashtag2"]},{"1329802709":["hashtag1","hashtag2"]},{"1329802705":["hashtag1","hashtag2"]},{"1329802713":["hashtag1","hashtag2"]},{"1329802707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329802722, 1329802718, 1329802709, 1329802705, 1329802713, 1329802707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.70749473571777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:41:02.747833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/39/image_18012025_17_39_03_156004_0003.jpg', '/home/pi/Desktop/images/18012025/17/40/image_18012025_17_40_02_238769_0000.jpg', '/home/pi/Desktop/images/18012025/17/40/image_18012025_17_40_02_238769_0001.jpg', '/home/pi/Desktop/images/18012025/17/40/image_18012025_17_40_02_238769_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/39/image_18012025_17_39_03_156004_0003.jpg
/home/pi/Desktop/images/18012025/17/40/image_18012025_17_40_02_238769_0000.jpg
/home/pi/Desktop/images/18012025/17/40/image_18012025_17_40_02_238769_0001.jpg
/home/pi/Desktop/images/18012025/17/40/image_18012025_17_40_02_238769_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329803516","1329803272","1329802765","1329803023"],"photo_ids_order":["1329802765","1329803023","1329803272","1329803516"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bdb6d11fd69f5bf3d756afc40ea3f512.jpg","text":"TemporaryFile(/tmp/multipartBody852591027292021431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218533902,"filename":"image_18012025_17_40_02_238769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ab6e57302788693268bdf5331b0f34f5.jpg","text":"TemporaryFile(/tmp/multipartBody5207147535100496593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218533902,"filename":"image_18012025_17_40_02_238769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8dcf80c486c22b96a7afe313ce344ed.jpg","text":"TemporaryFile(/tmp/multipartBody6951666957489743343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218533902,"filename":"image_18012025_17_39_03_156004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/126dd6a9a1705fe044e9f529f8f08468.jpg","text":"TemporaryFile(/tmp/multipartBody8983204821491596278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218533902,"filename":"image_18012025_17_40_02_238769_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329803272","file1":"1329803023","file0":"1329802765","file3":"1329803516"},"map_files_photo_id_array":[{"photo_id":"1329803272","filename":"file2"},{"photo_id":"1329803023","filename":"file1"},{"photo_id":"1329802765","filename":"file0"},{"photo_id":"1329803516","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329803516":["hashtag1","hashtag2"]},{"1329803272":["hashtag1","hashtag2"]},{"1329802765":["hashtag1","hashtag2"]},{"1329803023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329803516, 1329803272, 1329802765, 1329803023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44947361946106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 17:41:52.222452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/40/image_18012025_17_40_02_238769_0003.jpg', '/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0000.jpg', '/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0001.jpg', '/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/40/image_18012025_17_40_02_238769_0003.jpg
/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0000.jpg
/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0001.jpg
/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.77421760559082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:42:22.443188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/40/image_18012025_17_40_02_238769_0003.jpg', '/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0000.jpg', '/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0001.jpg', '/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0002.jpg', '/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0003.jpg', '/home/pi/Desktop/images/18012025/17/42/image_18012025_17_42_02_582339_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/40/image_18012025_17_40_02_238769_0003.jpg
/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0000.jpg
/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0001.jpg
/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0002.jpg
/home/pi/Desktop/images/18012025/17/41/image_18012025_17_41_02_438440_0003.jpg
/home/pi/Desktop/images/18012025/17/42/image_18012025_17_42_02_582339_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329804503","1329804757","1329804745","1329804750","1329804675","1329804854"],"photo_ids_order":["1329804503","1329804675","1329804745","1329804750","1329804757","1329804854"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5da1729dabc1105e4814bb661148aa0.jpg","text":"TemporaryFile(/tmp/multipartBody1174525658468046834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218618802,"filename":"image_18012025_17_40_02_238769_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0c875774230ccc5b787c8aafc8d3ff9.jpg","text":"TemporaryFile(/tmp/multipartBody2495470751243339013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218618802,"filename":"image_18012025_17_41_02_438440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/37b17e1179c799c008ee27f066e4dd83.jpg","text":"TemporaryFile(/tmp/multipartBody1430681757751799981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218618802,"filename":"image_18012025_17_41_02_438440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1305b21fdd6c34e4959383264c52a031.jpg","text":"TemporaryFile(/tmp/multipartBody7873747163926305596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218618802,"filename":"image_18012025_17_41_02_438440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca7569def3a5f7ac1b6ea848a3802da6.jpg","text":"TemporaryFile(/tmp/multipartBody3501663890344819905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218618802,"filename":"image_18012025_17_41_02_438440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eed3ba40b51a4dca45e28f8bc2e52a2d.jpg","text":"TemporaryFile(/tmp/multipartBody5631040850097289301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218618802,"filename":"image_18012025_17_42_02_582339_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329804745","file1":"1329804675","file0":"1329804503","file4":"1329804757","file5":"1329804854","file3":"1329804750"},"map_files_photo_id_array":[{"photo_id":"1329804854","filename":"file5"},{"photo_id":"1329804745","filename":"file2"},{"photo_id":"1329804757","filename":"file4"},{"photo_id":"1329804675","filename":"file1"},{"photo_id":"1329804503","filename":"file0"},{"photo_id":"1329804750","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329804503":["hashtag1","hashtag2"]},{"1329804757":["hashtag1","hashtag2"]},{"1329804745":["hashtag1","hashtag2"]},{"1329804750":["hashtag1","hashtag2"]},{"1329804675":["hashtag1","hashtag2"]},{"1329804854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329804503, 1329804757, 1329804745, 1329804750, 1329804675, 1329804854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.4492244720459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:43:22.596384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/42/image_18012025_17_42_02_582339_0001.jpg', '/home/pi/Desktop/images/18012025/17/42/image_18012025_17_42_02_582339_0002.jpg', '/home/pi/Desktop/images/18012025/17/42/image_18012025_17_42_02_582339_0003.jpg', '/home/pi/Desktop/images/18012025/17/43/image_18012025_17_43_02_760070_0000.jpg', '/home/pi/Desktop/images/18012025/17/43/image_18012025_17_43_02_760070_0001.jpg', '/home/pi/Desktop/images/18012025/17/43/image_18012025_17_43_02_760070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/42/image_18012025_17_42_02_582339_0001.jpg
/home/pi/Desktop/images/18012025/17/42/image_18012025_17_42_02_582339_0002.jpg
/home/pi/Desktop/images/18012025/17/42/image_18012025_17_42_02_582339_0003.jpg
/home/pi/Desktop/images/18012025/17/43/image_18012025_17_43_02_760070_0000.jpg
/home/pi/Desktop/images/18012025/17/43/image_18012025_17_43_02_760070_0001.jpg
/home/pi/Desktop/images/18012025/17/43/image_18012025_17_43_02_760070_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329805860","1329805848","1329805803","1329806009","1329805868","1329806012"],"photo_ids_order":["1329805803","1329805848","1329805860","1329805868","1329806009","1329806012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8ef0e358a31f5295093674f6b8aa677.jpg","text":"TemporaryFile(/tmp/multipartBody7230931212764323985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218679034,"filename":"image_18012025_17_42_02_582339_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1b4352ebc17dd10b6656b16f75ba4bc.jpg","text":"TemporaryFile(/tmp/multipartBody794041907666637128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218679034,"filename":"image_18012025_17_42_02_582339_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ce41f1d6ce695a4bd9b88b9b08a9ae6.jpg","text":"TemporaryFile(/tmp/multipartBody34613334849040575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218679034,"filename":"image_18012025_17_42_02_582339_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b36ae900cb48cbaa193190d7f9361b70.jpg","text":"TemporaryFile(/tmp/multipartBody6690665056026994541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218679034,"filename":"image_18012025_17_43_02_760070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f2c3a66a3d292349a7d2b3a885a231e.jpg","text":"TemporaryFile(/tmp/multipartBody6274706908367111470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218679034,"filename":"image_18012025_17_43_02_760070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/06a88ea9a393e1f50a9dd46fbb9e7b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2901977380053650263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218679034,"filename":"image_18012025_17_43_02_760070_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329805860","file1":"1329805848","file0":"1329805803","file4":"1329806009","file5":"1329806012","file3":"1329805868"},"map_files_photo_id_array":[{"photo_id":"1329806012","filename":"file5"},{"photo_id":"1329805860","filename":"file2"},{"photo_id":"1329806009","filename":"file4"},{"photo_id":"1329805848","filename":"file1"},{"photo_id":"1329805803","filename":"file0"},{"photo_id":"1329805868","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329805860":["hashtag1","hashtag2"]},{"1329805848":["hashtag1","hashtag2"]},{"1329805803":["hashtag1","hashtag2"]},{"1329806009":["hashtag1","hashtag2"]},{"1329805868":["hashtag1","hashtag2"]},{"1329806012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329805860, 1329805848, 1329805803, 1329806009, 1329805868, 1329806012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.0435893535614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:44:22.723337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/43/image_18012025_17_43_02_760070_0003.jpg', '/home/pi/Desktop/images/18012025/17/44/image_18012025_17_44_02_906880_0000.jpg', '/home/pi/Desktop/images/18012025/17/44/image_18012025_17_44_02_906880_0001.jpg', '/home/pi/Desktop/images/18012025/17/44/image_18012025_17_44_02_906880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/43/image_18012025_17_43_02_760070_0003.jpg
/home/pi/Desktop/images/18012025/17/44/image_18012025_17_44_02_906880_0000.jpg
/home/pi/Desktop/images/18012025/17/44/image_18012025_17_44_02_906880_0001.jpg
/home/pi/Desktop/images/18012025/17/44/image_18012025_17_44_02_906880_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329806231","1329806024","1329806080","1329806218"],"photo_ids_order":["1329806024","1329806080","1329806218","1329806231"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4eb0bbe4ac5f3718189d91c036fddc25.jpg","text":"TemporaryFile(/tmp/multipartBody1583242792548829165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218733560,"filename":"image_18012025_17_44_02_906880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48291f11018e7b9be8f8d6e0cacaa563.jpg","text":"TemporaryFile(/tmp/multipartBody2555239389646145544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218733560,"filename":"image_18012025_17_43_02_760070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c29a882866641f44fd40e825d465ae26.jpg","text":"TemporaryFile(/tmp/multipartBody5007830614169393842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218733560,"filename":"image_18012025_17_44_02_906880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e1577fe4c8f2ab151cadb7c2c932491.jpg","text":"TemporaryFile(/tmp/multipartBody3843772494175463042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218733560,"filename":"image_18012025_17_44_02_906880_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329806218","file1":"1329806080","file0":"1329806024","file3":"1329806231"},"map_files_photo_id_array":[{"photo_id":"1329806218","filename":"file2"},{"photo_id":"1329806080","filename":"file1"},{"photo_id":"1329806024","filename":"file0"},{"photo_id":"1329806231","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329806231":["hashtag1","hashtag2"]},{"1329806024":["hashtag1","hashtag2"]},{"1329806080":["hashtag1","hashtag2"]},{"1329806218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329806231, 1329806024, 1329806080, 1329806218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.343072175979614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:45:21.872259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/44/image_18012025_17_44_02_906880_0003.jpg', '/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0000.jpg', '/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0001.jpg', '/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/44/image_18012025_17_44_02_906880_0003.jpg
/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0000.jpg
/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0001.jpg
/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.026289701461792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 17:45:41.935470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/44/image_18012025_17_44_02_906880_0003.jpg', '/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0000.jpg', '/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0001.jpg', '/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/44/image_18012025_17_44_02_906880_0003.jpg
/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0000.jpg
/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0001.jpg
/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329806592","1329806594","1329806639","1329806641"],"photo_ids_order":["1329806592","1329806594","1329806639","1329806641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c7370644ebdc3c57fb275eff3e733c53.jpg","text":"TemporaryFile(/tmp/multipartBody1869704697579889436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218813337,"filename":"image_18012025_17_44_02_906880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd47d94da831494428dd8630fe7e6e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5383975084679326015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218813337,"filename":"image_18012025_17_45_03_082260_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/daf24aa619d3de93618c5a725af5dbb0.jpg","text":"TemporaryFile(/tmp/multipartBody4424454693860032020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218813337,"filename":"image_18012025_17_45_03_082260_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/44bda7dbfb472539aea5724f875cb2a1.jpg","text":"TemporaryFile(/tmp/multipartBody2633911573404539796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218813337,"filename":"image_18012025_17_45_03_082260_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329806639","file1":"1329806594","file0":"1329806592","file3":"1329806641"},"map_files_photo_id_array":[{"photo_id":"1329806639","filename":"file2"},{"photo_id":"1329806594","filename":"file1"},{"photo_id":"1329806592","filename":"file0"},{"photo_id":"1329806641","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329806592":["hashtag1","hashtag2"]},{"1329806594":["hashtag1","hashtag2"]},{"1329806639":["hashtag1","hashtag2"]},{"1329806641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329806592, 1329806594, 1329806639, 1329806641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40342116355896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:46:22.061783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0003.jpg', '/home/pi/Desktop/images/18012025/17/46/image_18012025_17_46_02_310128_0000.jpg', '/home/pi/Desktop/images/18012025/17/46/image_18012025_17_46_02_310128_0001.jpg', '/home/pi/Desktop/images/18012025/17/46/image_18012025_17_46_02_310128_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/45/image_18012025_17_45_03_082260_0003.jpg
/home/pi/Desktop/images/18012025/17/46/image_18012025_17_46_02_310128_0000.jpg
/home/pi/Desktop/images/18012025/17/46/image_18012025_17_46_02_310128_0001.jpg
/home/pi/Desktop/images/18012025/17/46/image_18012025_17_46_02_310128_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329806661","1329806655","1329806652","1329806666"],"photo_ids_order":["1329806652","1329806655","1329806661","1329806666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e949fea2b15af5b0dee827847a56fff.jpg","text":"TemporaryFile(/tmp/multipartBody2288092176620705636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218853243,"filename":"image_18012025_17_46_02_310128_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/106ccf7302f26e93d9e59cc793f6b56a.jpg","text":"TemporaryFile(/tmp/multipartBody7733564932664537239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218853243,"filename":"image_18012025_17_46_02_310128_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4cfddd9a8f9245fd741bea0ab526ad0e.jpg","text":"TemporaryFile(/tmp/multipartBody8432645478697441416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218853243,"filename":"image_18012025_17_45_03_082260_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a418dadd974c26c0a94564ebc6d8f44.jpg","text":"TemporaryFile(/tmp/multipartBody8954611696512823595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218853243,"filename":"image_18012025_17_46_02_310128_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329806661","file1":"1329806655","file0":"1329806652","file3":"1329806666"},"map_files_photo_id_array":[{"photo_id":"1329806661","filename":"file2"},{"photo_id":"1329806655","filename":"file1"},{"photo_id":"1329806652","filename":"file0"},{"photo_id":"1329806666","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329806661":["hashtag1","hashtag2"]},{"1329806655":["hashtag1","hashtag2"]},{"1329806652":["hashtag1","hashtag2"]},{"1329806666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329806661, 1329806655, 1329806652, 1329806666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.904881954193115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:47:22.290690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/46/image_18012025_17_46_02_310128_0003.jpg', '/home/pi/Desktop/images/18012025/17/47/image_18012025_17_47_02_435037_0000.jpg', '/home/pi/Desktop/images/18012025/17/47/image_18012025_17_47_02_435037_0001.jpg', '/home/pi/Desktop/images/18012025/17/47/image_18012025_17_47_02_435037_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/46/image_18012025_17_46_02_310128_0003.jpg
/home/pi/Desktop/images/18012025/17/47/image_18012025_17_47_02_435037_0000.jpg
/home/pi/Desktop/images/18012025/17/47/image_18012025_17_47_02_435037_0001.jpg
/home/pi/Desktop/images/18012025/17/47/image_18012025_17_47_02_435037_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329806701","1329806691","1329806696","1329806687"],"photo_ids_order":["1329806687","1329806691","1329806696","1329806701"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0065030ae326ab2ce20af6e91496a02.jpg","text":"TemporaryFile(/tmp/multipartBody7477440526862083851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218913705,"filename":"image_18012025_17_47_02_435037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ebdfa5313d365f6618033f108f52b2d.jpg","text":"TemporaryFile(/tmp/multipartBody967019382820538900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218913705,"filename":"image_18012025_17_47_02_435037_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4c4bc2f74887e8a9b88b4ffbf8d8133.jpg","text":"TemporaryFile(/tmp/multipartBody5313929618838961702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218913705,"filename":"image_18012025_17_47_02_435037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fbe13dd4ab5b14a1a3c0179b4d3db6be.jpg","text":"TemporaryFile(/tmp/multipartBody1905453769039349365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218913705,"filename":"image_18012025_17_46_02_310128_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329806696","file1":"1329806691","file0":"1329806687","file3":"1329806701"},"map_files_photo_id_array":[{"photo_id":"1329806696","filename":"file2"},{"photo_id":"1329806691","filename":"file1"},{"photo_id":"1329806687","filename":"file0"},{"photo_id":"1329806701","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329806701":["hashtag1","hashtag2"]},{"1329806691":["hashtag1","hashtag2"]},{"1329806696":["hashtag1","hashtag2"]},{"1329806687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329806701, 1329806691, 1329806696, 1329806687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.274885416030884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:48:22.534208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/47/image_18012025_17_47_02_435037_0003.jpg', '/home/pi/Desktop/images/18012025/17/48/image_18012025_17_48_02_686986_0000.jpg', '/home/pi/Desktop/images/18012025/17/48/image_18012025_17_48_02_686986_0001.jpg', '/home/pi/Desktop/images/18012025/17/48/image_18012025_17_48_02_686986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/47/image_18012025_17_47_02_435037_0003.jpg
/home/pi/Desktop/images/18012025/17/48/image_18012025_17_48_02_686986_0000.jpg
/home/pi/Desktop/images/18012025/17/48/image_18012025_17_48_02_686986_0001.jpg
/home/pi/Desktop/images/18012025/17/48/image_18012025_17_48_02_686986_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329807260","1329807250","1329807256","1329807202"],"photo_ids_order":["1329807202","1329807250","1329807256","1329807260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ec1ec418bd26b75a1a9993753935062.jpg","text":"TemporaryFile(/tmp/multipartBody4125357531348763063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218973919,"filename":"image_18012025_17_48_02_686986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/463cd8ae43c75924fe2c34c9612eab7a.jpg","text":"TemporaryFile(/tmp/multipartBody178314882644108867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218973919,"filename":"image_18012025_17_48_02_686986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f52ed3607815dbf15970aebb45420fa9.jpg","text":"TemporaryFile(/tmp/multipartBody4820114153015148400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218973919,"filename":"image_18012025_17_48_02_686986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/809006c218dafffad79367ab11c5206b.jpg","text":"TemporaryFile(/tmp/multipartBody4578965045321917184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737218973919,"filename":"image_18012025_17_47_02_435037_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329807256","file1":"1329807250","file0":"1329807202","file3":"1329807260"},"map_files_photo_id_array":[{"photo_id":"1329807256","filename":"file2"},{"photo_id":"1329807250","filename":"file1"},{"photo_id":"1329807202","filename":"file0"},{"photo_id":"1329807260","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329807260":["hashtag1","hashtag2"]},{"1329807250":["hashtag1","hashtag2"]},{"1329807256":["hashtag1","hashtag2"]},{"1329807202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329807260, 1329807250, 1329807256, 1329807202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12696981430054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:49:22.676679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/48/image_18012025_17_48_02_686986_0003.jpg', '/home/pi/Desktop/images/18012025/17/49/image_18012025_17_49_02_849857_0000.jpg', '/home/pi/Desktop/images/18012025/17/49/image_18012025_17_49_02_849857_0001.jpg', '/home/pi/Desktop/images/18012025/17/49/image_18012025_17_49_02_849857_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/48/image_18012025_17_48_02_686986_0003.jpg
/home/pi/Desktop/images/18012025/17/49/image_18012025_17_49_02_849857_0000.jpg
/home/pi/Desktop/images/18012025/17/49/image_18012025_17_49_02_849857_0001.jpg
/home/pi/Desktop/images/18012025/17/49/image_18012025_17_49_02_849857_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329807287","1329807277","1329807292","1329807282"],"photo_ids_order":["1329807277","1329807282","1329807287","1329807292"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b78c05182bd92d2dc0be6b9f693c976.jpg","text":"TemporaryFile(/tmp/multipartBody426359472956426982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219033685,"filename":"image_18012025_17_49_02_849857_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39f987e811bd3e8ec570268069f676ab.jpg","text":"TemporaryFile(/tmp/multipartBody8714071991511455350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219033685,"filename":"image_18012025_17_48_02_686986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18cc317b548665fca0e1be07e1eac7da.jpg","text":"TemporaryFile(/tmp/multipartBody1073872973685942053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219033685,"filename":"image_18012025_17_49_02_849857_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/32f5a21a91d4275f4a5ad985238eb517.jpg","text":"TemporaryFile(/tmp/multipartBody3601566932794129549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219033685,"filename":"image_18012025_17_49_02_849857_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329807287","file1":"1329807282","file0":"1329807277","file3":"1329807292"},"map_files_photo_id_array":[{"photo_id":"1329807287","filename":"file2"},{"photo_id":"1329807282","filename":"file1"},{"photo_id":"1329807277","filename":"file0"},{"photo_id":"1329807292","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329807287":["hashtag1","hashtag2"]},{"1329807277":["hashtag1","hashtag2"]},{"1329807292":["hashtag1","hashtag2"]},{"1329807282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329807287, 1329807277, 1329807292, 1329807282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.79936599731445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:50:21.854221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/49/image_18012025_17_49_02_849857_0003.jpg', '/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0000.jpg', '/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0001.jpg', '/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/49/image_18012025_17_49_02_849857_0003.jpg
/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0000.jpg
/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0001.jpg
/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.045351505279541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 17:50:41.786540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/49/image_18012025_17_49_02_849857_0003.jpg', '/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0000.jpg', '/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0001.jpg', '/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/49/image_18012025_17_49_02_849857_0003.jpg
/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0000.jpg
/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0001.jpg
/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329807365","1329807389","1329807346","1329807369"],"photo_ids_order":["1329807346","1329807365","1329807369","1329807389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1939902efc2552c941df0ba358f82543.jpg","text":"TemporaryFile(/tmp/multipartBody483679421786902042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219113209,"filename":"image_18012025_17_50_02_971894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a624bf62c328ff6906b6516fec7e08b.jpg","text":"TemporaryFile(/tmp/multipartBody4669205997979314589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219113209,"filename":"image_18012025_17_50_02_971894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b15ca90485e68a2175f01c268f727f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2444624443701334234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219113209,"filename":"image_18012025_17_49_02_849857_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f0d0dbf2fecdd0455652e151d149a33.jpg","text":"TemporaryFile(/tmp/multipartBody7613181058507975082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219113209,"filename":"image_18012025_17_50_02_971894_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329807369","file1":"1329807365","file0":"1329807346","file3":"1329807389"},"map_files_photo_id_array":[{"photo_id":"1329807369","filename":"file2"},{"photo_id":"1329807365","filename":"file1"},{"photo_id":"1329807346","filename":"file0"},{"photo_id":"1329807389","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329807365":["hashtag1","hashtag2"]},{"1329807389":["hashtag1","hashtag2"]},{"1329807346":["hashtag1","hashtag2"]},{"1329807369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329807365, 1329807389, 1329807346, 1329807369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.021663665771484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:51:21.991791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0003.jpg', '/home/pi/Desktop/images/18012025/17/51/image_18012025_17_51_02_167390_0000.jpg', '/home/pi/Desktop/images/18012025/17/51/image_18012025_17_51_02_167390_0001.jpg', '/home/pi/Desktop/images/18012025/17/51/image_18012025_17_51_02_167390_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/50/image_18012025_17_50_02_971894_0003.jpg
/home/pi/Desktop/images/18012025/17/51/image_18012025_17_51_02_167390_0000.jpg
/home/pi/Desktop/images/18012025/17/51/image_18012025_17_51_02_167390_0001.jpg
/home/pi/Desktop/images/18012025/17/51/image_18012025_17_51_02_167390_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329807408","1329807413","1329807397","1329807403"],"photo_ids_order":["1329807397","1329807403","1329807408","1329807413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c32d7e0316aff47bd4291c8f96af5b48.jpg","text":"TemporaryFile(/tmp/multipartBody8531498668643940022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219152828,"filename":"image_18012025_17_51_02_167390_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/163477de3751b96532546a683528453e.jpg","text":"TemporaryFile(/tmp/multipartBody2281967624532876614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219152828,"filename":"image_18012025_17_51_02_167390_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8295d18d2ef1a08f8ee0052a857ac42.jpg","text":"TemporaryFile(/tmp/multipartBody1736406004920494717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219152828,"filename":"image_18012025_17_50_02_971894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9988b2ccc5b1466571d0e30fa19977da.jpg","text":"TemporaryFile(/tmp/multipartBody1450162490543752050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219152828,"filename":"image_18012025_17_51_02_167390_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329807408","file1":"1329807403","file0":"1329807397","file3":"1329807413"},"map_files_photo_id_array":[{"photo_id":"1329807408","filename":"file2"},{"photo_id":"1329807403","filename":"file1"},{"photo_id":"1329807397","filename":"file0"},{"photo_id":"1329807413","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329807408":["hashtag1","hashtag2"]},{"1329807413":["hashtag1","hashtag2"]},{"1329807397":["hashtag1","hashtag2"]},{"1329807403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329807408, 1329807413, 1329807397, 1329807403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.74921989440918 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:52:02.527875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/00/image_16012025_23_00_02_480414_0000.jpg', '/home/pi/Desktop/images/16012025/23/00/image_16012025_23_00_02_480414_0001.jpg', '/home/pi/Desktop/images/16012025/23/00/image_16012025_23_00_02_480414_0002.jpg', '/home/pi/Desktop/images/16012025/23/00/image_16012025_23_00_02_480414_0003.jpg', '/home/pi/Desktop/images/16012025/23/01/image_16012025_23_01_02_667083_0000.jpg', '/home/pi/Desktop/images/16012025/23/01/image_16012025_23_01_02_667083_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/00/image_16012025_23_00_02_480414_0000.jpg
/home/pi/Desktop/images/16012025/23/00/image_16012025_23_00_02_480414_0001.jpg
/home/pi/Desktop/images/16012025/23/00/image_16012025_23_00_02_480414_0002.jpg
/home/pi/Desktop/images/16012025/23/00/image_16012025_23_00_02_480414_0003.jpg
/home/pi/Desktop/images/16012025/23/01/image_16012025_23_01_02_667083_0000.jpg
/home/pi/Desktop/images/16012025/23/01/image_16012025_23_01_02_667083_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329807450","1329807423","1329807437","1329807442","1329807430","1329807427"],"photo_ids_order":["1329807423","1329807427","1329807430","1329807437","1329807442","1329807450"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf6cb17ca216e809869fb431b2618958.jpg","text":"TemporaryFile(/tmp/multipartBody2277005863990862039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219200011,"filename":"image_16012025_23_01_02_667083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/842d3d4cf86554c4c642b95526170bc3.jpg","text":"TemporaryFile(/tmp/multipartBody3362595649814700976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219200011,"filename":"image_16012025_23_00_02_480414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ce744c1d6ffe55c3d7df4d061ab9221.jpg","text":"TemporaryFile(/tmp/multipartBody7060524511319281077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219200011,"filename":"image_16012025_23_00_02_480414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0145561f7a372e733d2e3e2c1281633d.jpg","text":"TemporaryFile(/tmp/multipartBody772630898670911847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219200011,"filename":"image_16012025_23_01_02_667083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/77c09f43a22ad01151fd75f8b40c8649.jpg","text":"TemporaryFile(/tmp/multipartBody5969157301144630848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219200011,"filename":"image_16012025_23_00_02_480414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/26a787883118b23d3d3cfc5bd3880d61.jpg","text":"TemporaryFile(/tmp/multipartBody8956864863183259754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219200011,"filename":"image_16012025_23_00_02_480414_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329807430","file1":"1329807427","file0":"1329807423","file4":"1329807442","file5":"1329807450","file3":"1329807437"},"map_files_photo_id_array":[{"photo_id":"1329807450","filename":"file5"},{"photo_id":"1329807430","filename":"file2"},{"photo_id":"1329807442","filename":"file4"},{"photo_id":"1329807427","filename":"file1"},{"photo_id":"1329807423","filename":"file0"},{"photo_id":"1329807437","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329807450":["hashtag1","hashtag2"]},{"1329807423":["hashtag1","hashtag2"]},{"1329807437":["hashtag1","hashtag2"]},{"1329807442":["hashtag1","hashtag2"]},{"1329807430":["hashtag1","hashtag2"]},{"1329807427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329807450, 1329807423, 1329807437, 1329807442, 1329807430, 1329807427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.7895655632019 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:53:22.313251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/51/image_18012025_17_51_02_167390_0003.jpg', '/home/pi/Desktop/images/18012025/17/52/image_18012025_17_52_02_358675_0000.jpg', '/home/pi/Desktop/images/18012025/17/52/image_18012025_17_52_02_358675_0001.jpg', '/home/pi/Desktop/images/18012025/17/52/image_18012025_17_52_02_358675_0002.jpg', '/home/pi/Desktop/images/18012025/17/52/image_18012025_17_52_02_358675_0003.jpg', '/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/51/image_18012025_17_51_02_167390_0003.jpg
/home/pi/Desktop/images/18012025/17/52/image_18012025_17_52_02_358675_0000.jpg
/home/pi/Desktop/images/18012025/17/52/image_18012025_17_52_02_358675_0001.jpg
/home/pi/Desktop/images/18012025/17/52/image_18012025_17_52_02_358675_0002.jpg
/home/pi/Desktop/images/18012025/17/52/image_18012025_17_52_02_358675_0003.jpg
/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329807575","1329807569","1329807487","1329807553","1329807579","1329807573"],"photo_ids_order":["1329807487","1329807553","1329807569","1329807573","1329807575","1329807579"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a12e8d0374ccff46d11d5688a43fdd6a.jpg","text":"TemporaryFile(/tmp/multipartBody4726304554052972416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219278779,"filename":"image_18012025_17_52_02_358675_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f606b4bb27d8c680f326e784567af28d.jpg","text":"TemporaryFile(/tmp/multipartBody6181009559246418620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219278779,"filename":"image_18012025_17_52_02_358675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2b08787569d01c36649ef35d37898e0.jpg","text":"TemporaryFile(/tmp/multipartBody8590913650063099303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219278779,"filename":"image_18012025_17_51_02_167390_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/95cb2f928786941267e08048740f78f6.jpg","text":"TemporaryFile(/tmp/multipartBody1095644546642553244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219278779,"filename":"image_18012025_17_52_02_358675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4fa759aea51b770d1137c3612daeb706.jpg","text":"TemporaryFile(/tmp/multipartBody1663746328813686166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219278779,"filename":"image_18012025_17_53_02_539652_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0aad4edb094986e15d5059afa1835c7.jpg","text":"TemporaryFile(/tmp/multipartBody6822989470584629751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219278779,"filename":"image_18012025_17_52_02_358675_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329807569","file1":"1329807553","file0":"1329807487","file4":"1329807575","file5":"1329807579","file3":"1329807573"},"map_files_photo_id_array":[{"photo_id":"1329807579","filename":"file5"},{"photo_id":"1329807569","filename":"file2"},{"photo_id":"1329807575","filename":"file4"},{"photo_id":"1329807553","filename":"file1"},{"photo_id":"1329807487","filename":"file0"},{"photo_id":"1329807573","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329807575":["hashtag1","hashtag2"]},{"1329807569":["hashtag1","hashtag2"]},{"1329807487":["hashtag1","hashtag2"]},{"1329807553":["hashtag1","hashtag2"]},{"1329807579":["hashtag1","hashtag2"]},{"1329807573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329807575, 1329807569, 1329807487, 1329807553, 1329807579, 1329807573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.900343894958496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 17:54:22.593683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0001.jpg', '/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0002.jpg', '/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0003.jpg', '/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0000.jpg', '/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0001.jpg', '/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0001.jpg
/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0002.jpg
/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0003.jpg
/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0000.jpg
/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0001.jpg
/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.915040016174316 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 17:54:42.513729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0001.jpg', '/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0002.jpg', '/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0003.jpg', '/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0000.jpg', '/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0001.jpg', '/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0001.jpg
/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0002.jpg
/home/pi/Desktop/images/18012025/17/53/image_18012025_17_53_02_539652_0003.jpg
/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0000.jpg
/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0001.jpg
/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329807630","1329807624","1329807635","1329807608","1329807631","1329807628"],"photo_ids_order":["1329807608","1329807624","1329807628","1329807630","1329807631","1329807635"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c19fb26057f79bea03d98586c0a52a36.jpg","text":"TemporaryFile(/tmp/multipartBody4000962506542608549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219358816,"filename":"image_18012025_17_54_02_695414_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/90720ed7a3b8bf6cbbf76332f730f6a5.jpg","text":"TemporaryFile(/tmp/multipartBody3697236382385571665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219358816,"filename":"image_18012025_17_53_02_539652_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bb7fcbfe8ad16a26e520d25312129a13.jpg","text":"TemporaryFile(/tmp/multipartBody9027844665179575989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219358816,"filename":"image_18012025_17_54_02_695414_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bfe01b3c98b44e4b2f9ab25836bc28b3.jpg","text":"TemporaryFile(/tmp/multipartBody422502766702410926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219358816,"filename":"image_18012025_17_53_02_539652_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f29cdd62c48bb42706c3c6584eaa783.jpg","text":"TemporaryFile(/tmp/multipartBody3821998460728131986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219358816,"filename":"image_18012025_17_54_02_695414_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fec89ba2d7d5c7e9658ec90e85ac261e.jpg","text":"TemporaryFile(/tmp/multipartBody5645222306418759773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219358816,"filename":"image_18012025_17_53_02_539652_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329807628","file1":"1329807624","file0":"1329807608","file4":"1329807631","file5":"1329807635","file3":"1329807630"},"map_files_photo_id_array":[{"photo_id":"1329807635","filename":"file5"},{"photo_id":"1329807628","filename":"file2"},{"photo_id":"1329807631","filename":"file4"},{"photo_id":"1329807624","filename":"file1"},{"photo_id":"1329807608","filename":"file0"},{"photo_id":"1329807630","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329807630":["hashtag1","hashtag2"]},{"1329807624":["hashtag1","hashtag2"]},{"1329807635":["hashtag1","hashtag2"]},{"1329807608":["hashtag1","hashtag2"]},{"1329807631":["hashtag1","hashtag2"]},{"1329807628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329807630, 1329807624, 1329807635, 1329807608, 1329807631, 1329807628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.223631143569946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 17:55:42.678170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0003.jpg', '/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0000.jpg', '/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0001.jpg', '/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0003.jpg
/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0000.jpg
/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0001.jpg
/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.958637475967407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:56:02.281145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0003.jpg', '/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0000.jpg', '/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0001.jpg', '/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/54/image_18012025_17_54_02_695414_0003.jpg
/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0000.jpg
/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0001.jpg
/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329807791","1329807806","1329807803","1329807793"],"photo_ids_order":["1329807791","1329807793","1329807803","1329807806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/607d51bf530334ef961d103a60f2eff5.jpg","text":"TemporaryFile(/tmp/multipartBody5965728323730366599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219433647,"filename":"image_18012025_17_54_02_695414_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b03bbe65648d0e52b3ffccab92769e63.jpg","text":"TemporaryFile(/tmp/multipartBody3879370483968664046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219433647,"filename":"image_18012025_17_55_02_850251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b1b0f8a628f8f1287d8e5d60d225accc.jpg","text":"TemporaryFile(/tmp/multipartBody3903181335631621443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219433647,"filename":"image_18012025_17_55_02_850251_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b5891c051701729e107b293336b24150.jpg","text":"TemporaryFile(/tmp/multipartBody4020658697338605225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219433647,"filename":"image_18012025_17_55_02_850251_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329807803","file1":"1329807793","file0":"1329807791","file3":"1329807806"},"map_files_photo_id_array":[{"photo_id":"1329807803","filename":"file2"},{"photo_id":"1329807793","filename":"file1"},{"photo_id":"1329807791","filename":"file0"},{"photo_id":"1329807806","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329807791":["hashtag1","hashtag2"]},{"1329807806":["hashtag1","hashtag2"]},{"1329807803":["hashtag1","hashtag2"]},{"1329807793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329807791, 1329807806, 1329807803, 1329807793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.78621768951416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 17:56:51.805710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0003.jpg', '/home/pi/Desktop/images/18012025/17/56/image_18012025_17_56_03_074112_0000.jpg', '/home/pi/Desktop/images/18012025/17/56/image_18012025_17_56_03_074112_0001.jpg', '/home/pi/Desktop/images/18012025/17/56/image_18012025_17_56_03_074112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/55/image_18012025_17_55_02_850251_0003.jpg
/home/pi/Desktop/images/18012025/17/56/image_18012025_17_56_03_074112_0000.jpg
/home/pi/Desktop/images/18012025/17/56/image_18012025_17_56_03_074112_0001.jpg
/home/pi/Desktop/images/18012025/17/56/image_18012025_17_56_03_074112_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329807890","1329807887","1329807872","1329807891"],"photo_ids_order":["1329807872","1329807887","1329807890","1329807891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13aab4ddc430c5bac94188c30b53b327.jpg","text":"TemporaryFile(/tmp/multipartBody6430853660754605849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219482837,"filename":"image_18012025_17_56_03_074112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f2357ba7396457be17b086a9d60c560.jpg","text":"TemporaryFile(/tmp/multipartBody9094891238834482163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219482837,"filename":"image_18012025_17_56_03_074112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86dea15b935af4942078e6365cd40f06.jpg","text":"TemporaryFile(/tmp/multipartBody8157878053866751539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219482837,"filename":"image_18012025_17_55_02_850251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e197096e4f567eddd9299a0b97356d0a.jpg","text":"TemporaryFile(/tmp/multipartBody1813232898694985690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219482837,"filename":"image_18012025_17_56_03_074112_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329807890","file1":"1329807887","file0":"1329807872","file3":"1329807891"},"map_files_photo_id_array":[{"photo_id":"1329807890","filename":"file2"},{"photo_id":"1329807887","filename":"file1"},{"photo_id":"1329807872","filename":"file0"},{"photo_id":"1329807891","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329807890":["hashtag1","hashtag2"]},{"1329807887":["hashtag1","hashtag2"]},{"1329807872":["hashtag1","hashtag2"]},{"1329807891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329807890, 1329807887, 1329807872, 1329807891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73697018623352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 17:57:42.091986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/56/image_18012025_17_56_03_074112_0003.jpg', '/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0000.jpg', '/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0001.jpg', '/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/56/image_18012025_17_56_03_074112_0003.jpg
/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0000.jpg
/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0001.jpg
/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0002.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 17:59:03.025607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/56/image_18012025_17_56_03_074112_0003.jpg', '/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0000.jpg', '/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0001.jpg', '/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0002.jpg', '/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0003.jpg', '/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/56/image_18012025_17_56_03_074112_0003.jpg
/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0000.jpg
/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0001.jpg
/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0002.jpg
/home/pi/Desktop/images/18012025/17/57/image_18012025_17_57_02_235076_0003.jpg
/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329808028","1329808043","1329808072","1329808054","1329808048","1329808036"],"photo_ids_order":["1329808028","1329808036","1329808043","1329808048","1329808054","1329808072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9dfe8c27a7ad31291c3265ba10f2ba99.jpg","text":"TemporaryFile(/tmp/multipartBody840437021429024610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219619947,"filename":"image_18012025_17_56_03_074112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af00df1346a0eee442d98f04ff93ab75.jpg","text":"TemporaryFile(/tmp/multipartBody1379012226301983762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219619947,"filename":"image_18012025_17_57_02_235076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39b4649c3171edb5d5814be1acb13138.jpg","text":"TemporaryFile(/tmp/multipartBody8053631012016595417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219619947,"filename":"image_18012025_17_58_02_367678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4229720c860e35993579017c21591d90.jpg","text":"TemporaryFile(/tmp/multipartBody914838836467426384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219619947,"filename":"image_18012025_17_57_02_235076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7f1b522e9b40817e480e4377a877cfb3.jpg","text":"TemporaryFile(/tmp/multipartBody636631380216157594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219619947,"filename":"image_18012025_17_57_02_235076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c984eff9eb78955d9d9bc148124e52ab.jpg","text":"TemporaryFile(/tmp/multipartBody4363793349085293605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219619947,"filename":"image_18012025_17_57_02_235076_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329808043","file1":"1329808036","file0":"1329808028","file4":"1329808054","file5":"1329808072","file3":"1329808048"},"map_files_photo_id_array":[{"photo_id":"1329808072","filename":"file5"},{"photo_id":"1329808043","filename":"file2"},{"photo_id":"1329808054","filename":"file4"},{"photo_id":"1329808036","filename":"file1"},{"photo_id":"1329808028","filename":"file0"},{"photo_id":"1329808048","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329808028":["hashtag1","hashtag2"]},{"1329808043":["hashtag1","hashtag2"]},{"1329808072":["hashtag1","hashtag2"]},{"1329808054":["hashtag1","hashtag2"]},{"1329808048":["hashtag1","hashtag2"]},{"1329808036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329808028, 1329808043, 1329808072, 1329808054, 1329808048, 1329808036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.66502618789673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 18:00:02.917307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0001.jpg', '/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0002.jpg', '/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0003.jpg', '/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0000.jpg', '/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0001.jpg', '/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0001.jpg
/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0002.jpg
/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0003.jpg
/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0000.jpg
/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0001.jpg
/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.939269542694092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:00:22.493354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0001.jpg', '/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0002.jpg', '/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0003.jpg', '/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0000.jpg', '/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0001.jpg', '/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0001.jpg
/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0002.jpg
/home/pi/Desktop/images/18012025/17/58/image_18012025_17_58_02_367678_0003.jpg
/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0000.jpg
/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0001.jpg
/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329808733","1329808756","1329808741","1329808749","1329808752","1329808746"],"photo_ids_order":["1329808733","1329808741","1329808746","1329808749","1329808752","1329808756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/12d57075ef2d1f4c60b40e9a610bbc0c.jpg","text":"TemporaryFile(/tmp/multipartBody6779912728168807677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219698806,"filename":"image_18012025_17_58_02_367678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fa4ef4d3c34469099e88c6b9f5d9202d.jpg","text":"TemporaryFile(/tmp/multipartBody5826944030871089519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219698806,"filename":"image_18012025_17_59_02_540449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e682a1ef9cb6d3c860a648c448bb619f.jpg","text":"TemporaryFile(/tmp/multipartBody4758027388029094053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219698806,"filename":"image_18012025_17_58_02_367678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e305b770495d9f4deb7a39930648d7a0.jpg","text":"TemporaryFile(/tmp/multipartBody8874218852387951061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219698806,"filename":"image_18012025_17_59_02_540449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f58e8dd1e5d8dbecbe710cde2843ab8.jpg","text":"TemporaryFile(/tmp/multipartBody6328092718727173189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219698806,"filename":"image_18012025_17_59_02_540449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/159b5ad686b9b4bd2fe9382b88dcb66c.jpg","text":"TemporaryFile(/tmp/multipartBody612805858448919441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219698806,"filename":"image_18012025_17_58_02_367678_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329808746","file1":"1329808741","file0":"1329808733","file4":"1329808752","file5":"1329808756","file3":"1329808749"},"map_files_photo_id_array":[{"photo_id":"1329808756","filename":"file5"},{"photo_id":"1329808746","filename":"file2"},{"photo_id":"1329808752","filename":"file4"},{"photo_id":"1329808741","filename":"file1"},{"photo_id":"1329808733","filename":"file0"},{"photo_id":"1329808749","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329808733":["hashtag1","hashtag2"]},{"1329808756":["hashtag1","hashtag2"]},{"1329808741":["hashtag1","hashtag2"]},{"1329808749":["hashtag1","hashtag2"]},{"1329808752":["hashtag1","hashtag2"]},{"1329808746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329808733, 1329808756, 1329808741, 1329808749, 1329808752, 1329808746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.35667157173157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:01:22.800467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0003.jpg', '/home/pi/Desktop/images/18012025/18/00/image_18012025_18_00_02_741796_0000.jpg', '/home/pi/Desktop/images/18012025/18/00/image_18012025_18_00_02_741796_0001.jpg', '/home/pi/Desktop/images/18012025/18/00/image_18012025_18_00_02_741796_0002.jpg', '/home/pi/Desktop/images/18012025/18/00/image_18012025_18_00_02_741796_0003.jpg', '/home/pi/Desktop/images/18012025/18/01/image_18012025_18_01_02_963192_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/17/59/image_18012025_17_59_02_540449_0003.jpg
/home/pi/Desktop/images/18012025/18/00/image_18012025_18_00_02_741796_0000.jpg
/home/pi/Desktop/images/18012025/18/00/image_18012025_18_00_02_741796_0001.jpg
/home/pi/Desktop/images/18012025/18/00/image_18012025_18_00_02_741796_0002.jpg
/home/pi/Desktop/images/18012025/18/00/image_18012025_18_00_02_741796_0003.jpg
/home/pi/Desktop/images/18012025/18/01/image_18012025_18_01_02_963192_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329809080","1329809083","1329809038","1329809029","1329809049","1329809043"],"photo_ids_order":["1329809029","1329809038","1329809043","1329809049","1329809080","1329809083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f0f763d96e8035d39af2f50d166fe276.jpg","text":"TemporaryFile(/tmp/multipartBody4479547813210011614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219759738,"filename":"image_18012025_18_00_02_741796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/090e06afd5756237a05b65f2cc5743c2.jpg","text":"TemporaryFile(/tmp/multipartBody581881340705194248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219759738,"filename":"image_18012025_18_01_02_963192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a68f6b0af0b9ea6e85b7e523d6675ddb.jpg","text":"TemporaryFile(/tmp/multipartBody6175648770261153923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219759738,"filename":"image_18012025_18_00_02_741796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e029e5f2c30d5372f59e43389b38b8ed.jpg","text":"TemporaryFile(/tmp/multipartBody4598110362043286111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219759738,"filename":"image_18012025_17_59_02_540449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff6850aa44eeddf125c0c3d38be7efbe.jpg","text":"TemporaryFile(/tmp/multipartBody2908405485699925112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219759738,"filename":"image_18012025_18_00_02_741796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b90dbbfff07e57d50547dafe319d5858.jpg","text":"TemporaryFile(/tmp/multipartBody1604167929722735468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219759738,"filename":"image_18012025_18_00_02_741796_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329809043","file1":"1329809038","file0":"1329809029","file4":"1329809080","file5":"1329809083","file3":"1329809049"},"map_files_photo_id_array":[{"photo_id":"1329809083","filename":"file5"},{"photo_id":"1329809043","filename":"file2"},{"photo_id":"1329809080","filename":"file4"},{"photo_id":"1329809038","filename":"file1"},{"photo_id":"1329809029","filename":"file0"},{"photo_id":"1329809049","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329809080":["hashtag1","hashtag2"]},{"1329809083":["hashtag1","hashtag2"]},{"1329809038":["hashtag1","hashtag2"]},{"1329809029":["hashtag1","hashtag2"]},{"1329809049":["hashtag1","hashtag2"]},{"1329809043":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329809080, 1329809083, 1329809038, 1329809029, 1329809049, 1329809043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.55993676185608 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:02:21.885201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/01/image_18012025_18_01_02_963192_0001.jpg', '/home/pi/Desktop/images/18012025/18/01/image_18012025_18_01_02_963192_0002.jpg', '/home/pi/Desktop/images/18012025/18/01/image_18012025_18_01_02_963192_0003.jpg', '/home/pi/Desktop/images/18012025/18/02/image_18012025_18_02_03_120018_0000.jpg', '/home/pi/Desktop/images/18012025/18/02/image_18012025_18_02_03_120018_0001.jpg', '/home/pi/Desktop/images/18012025/18/02/image_18012025_18_02_03_120018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/01/image_18012025_18_01_02_963192_0001.jpg
/home/pi/Desktop/images/18012025/18/01/image_18012025_18_01_02_963192_0002.jpg
/home/pi/Desktop/images/18012025/18/01/image_18012025_18_01_02_963192_0003.jpg
/home/pi/Desktop/images/18012025/18/02/image_18012025_18_02_03_120018_0000.jpg
/home/pi/Desktop/images/18012025/18/02/image_18012025_18_02_03_120018_0001.jpg
/home/pi/Desktop/images/18012025/18/02/image_18012025_18_02_03_120018_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329809144","1329809132","1329809140","1329809127","1329809136","1329809121"],"photo_ids_order":["1329809121","1329809127","1329809132","1329809136","1329809140","1329809144"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/007053dc107380781064ecd4d9b96fb3.jpg","text":"TemporaryFile(/tmp/multipartBody6324681994385223858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219819063,"filename":"image_18012025_18_02_03_120018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/afd6e867797312cccdff77e34d7b5d93.jpg","text":"TemporaryFile(/tmp/multipartBody5448651609115751843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219819063,"filename":"image_18012025_18_01_02_963192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e8cade5e6d4f974ad0c3e2e3b5da5d3.jpg","text":"TemporaryFile(/tmp/multipartBody1270992883474048815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219819063,"filename":"image_18012025_18_02_03_120018_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/915d07248fce5c06d1e0a250d49049a6.jpg","text":"TemporaryFile(/tmp/multipartBody4397592062992416712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219819063,"filename":"image_18012025_18_01_02_963192_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63924ad7f71b7c1b2ce8b8cc315ea054.jpg","text":"TemporaryFile(/tmp/multipartBody913195176953944425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219819063,"filename":"image_18012025_18_02_03_120018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7130f62498918d1126a02f3de6017b32.jpg","text":"TemporaryFile(/tmp/multipartBody9159081857545131547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219819063,"filename":"image_18012025_18_01_02_963192_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329809132","file1":"1329809127","file0":"1329809121","file4":"1329809140","file5":"1329809144","file3":"1329809136"},"map_files_photo_id_array":[{"photo_id":"1329809144","filename":"file5"},{"photo_id":"1329809132","filename":"file2"},{"photo_id":"1329809140","filename":"file4"},{"photo_id":"1329809127","filename":"file1"},{"photo_id":"1329809121","filename":"file0"},{"photo_id":"1329809136","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329809144":["hashtag1","hashtag2"]},{"1329809132":["hashtag1","hashtag2"]},{"1329809140":["hashtag1","hashtag2"]},{"1329809127":["hashtag1","hashtag2"]},{"1329809136":["hashtag1","hashtag2"]},{"1329809121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329809144, 1329809132, 1329809140, 1329809127, 1329809136, 1329809121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.41256642341614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:03:22.024442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/02/image_18012025_18_02_03_120018_0003.jpg', '/home/pi/Desktop/images/18012025/18/03/image_18012025_18_03_02_237685_0000.jpg', '/home/pi/Desktop/images/18012025/18/03/image_18012025_18_03_02_237685_0001.jpg', '/home/pi/Desktop/images/18012025/18/03/image_18012025_18_03_02_237685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/02/image_18012025_18_02_03_120018_0003.jpg
/home/pi/Desktop/images/18012025/18/03/image_18012025_18_03_02_237685_0000.jpg
/home/pi/Desktop/images/18012025/18/03/image_18012025_18_03_02_237685_0001.jpg
/home/pi/Desktop/images/18012025/18/03/image_18012025_18_03_02_237685_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329809163","1329809169","1329809174","1329809156"],"photo_ids_order":["1329809156","1329809163","1329809169","1329809174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/302aafdd3c69d532c79dba50b59c85fc.jpg","text":"TemporaryFile(/tmp/multipartBody6770866151332897118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219873114,"filename":"image_18012025_18_03_02_237685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/651037b37f7257dd6fcc511082c0657c.jpg","text":"TemporaryFile(/tmp/multipartBody166546241319956952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219873114,"filename":"image_18012025_18_03_02_237685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63912b426b0e98afa6468db4e6237862.jpg","text":"TemporaryFile(/tmp/multipartBody5337845093793799220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219873114,"filename":"image_18012025_18_03_02_237685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de397d3761c672888e1403b64d85d265.jpg","text":"TemporaryFile(/tmp/multipartBody4790378622201945592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219873114,"filename":"image_18012025_18_02_03_120018_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329809169","file1":"1329809163","file0":"1329809156","file3":"1329809174"},"map_files_photo_id_array":[{"photo_id":"1329809169","filename":"file2"},{"photo_id":"1329809163","filename":"file1"},{"photo_id":"1329809156","filename":"file0"},{"photo_id":"1329809174","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329809163":["hashtag1","hashtag2"]},{"1329809169":["hashtag1","hashtag2"]},{"1329809174":["hashtag1","hashtag2"]},{"1329809156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329809163, 1329809169, 1329809174, 1329809156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.8497850894928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:04:22.211349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/03/image_18012025_18_03_02_237685_0003.jpg', '/home/pi/Desktop/images/18012025/18/04/image_18012025_18_04_02_371194_0000.jpg', '/home/pi/Desktop/images/18012025/18/04/image_18012025_18_04_02_371194_0001.jpg', '/home/pi/Desktop/images/18012025/18/04/image_18012025_18_04_02_371194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/03/image_18012025_18_03_02_237685_0003.jpg
/home/pi/Desktop/images/18012025/18/04/image_18012025_18_04_02_371194_0000.jpg
/home/pi/Desktop/images/18012025/18/04/image_18012025_18_04_02_371194_0001.jpg
/home/pi/Desktop/images/18012025/18/04/image_18012025_18_04_02_371194_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329809336","1329809356","1329809331","1329809366"],"photo_ids_order":["1329809331","1329809336","1329809356","1329809366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5cc07c40cdb88ff879c3610400060957.jpg","text":"TemporaryFile(/tmp/multipartBody2794502408467459926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219933780,"filename":"image_18012025_18_04_02_371194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c399b823a476836cf389f5d9e812a740.jpg","text":"TemporaryFile(/tmp/multipartBody6171818198126583863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219933780,"filename":"image_18012025_18_04_02_371194_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e04230282e86523f414f2152b490d91.jpg","text":"TemporaryFile(/tmp/multipartBody3879362839631800245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219933780,"filename":"image_18012025_18_03_02_237685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ff04a213bbe7e968a09784d53bcf9b6.jpg","text":"TemporaryFile(/tmp/multipartBody8954119961056513153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219933780,"filename":"image_18012025_18_04_02_371194_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329809356","file1":"1329809336","file0":"1329809331","file3":"1329809366"},"map_files_photo_id_array":[{"photo_id":"1329809356","filename":"file2"},{"photo_id":"1329809336","filename":"file1"},{"photo_id":"1329809331","filename":"file0"},{"photo_id":"1329809366","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329809336":["hashtag1","hashtag2"]},{"1329809356":["hashtag1","hashtag2"]},{"1329809331":["hashtag1","hashtag2"]},{"1329809366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329809336, 1329809356, 1329809331, 1329809366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.75899696350098 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:05:22.339747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/04/image_18012025_18_04_02_371194_0003.jpg', '/home/pi/Desktop/images/18012025/18/05/image_18012025_18_05_02_534655_0000.jpg', '/home/pi/Desktop/images/18012025/18/05/image_18012025_18_05_02_534655_0001.jpg', '/home/pi/Desktop/images/18012025/18/05/image_18012025_18_05_02_534655_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/04/image_18012025_18_04_02_371194_0003.jpg
/home/pi/Desktop/images/18012025/18/05/image_18012025_18_05_02_534655_0000.jpg
/home/pi/Desktop/images/18012025/18/05/image_18012025_18_05_02_534655_0001.jpg
/home/pi/Desktop/images/18012025/18/05/image_18012025_18_05_02_534655_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329809429","1329809405","1329809412","1329809399"],"photo_ids_order":["1329809399","1329809405","1329809412","1329809429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf767b926b84d3df58a0f2cd3914baeb.jpg","text":"TemporaryFile(/tmp/multipartBody5074318290325360356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219993926,"filename":"image_18012025_18_05_02_534655_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a50cd09d5d56a663e81afc9e07c15b7.jpg","text":"TemporaryFile(/tmp/multipartBody183061180517287630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219993926,"filename":"image_18012025_18_05_02_534655_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4429270f0df4e44da3d68e0052fad09a.jpg","text":"TemporaryFile(/tmp/multipartBody612391006572415627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219993926,"filename":"image_18012025_18_05_02_534655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aba3c9c485b0520a0d930966b152683f.jpg","text":"TemporaryFile(/tmp/multipartBody3757251879663648321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737219993926,"filename":"image_18012025_18_04_02_371194_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329809412","file1":"1329809405","file0":"1329809399","file3":"1329809429"},"map_files_photo_id_array":[{"photo_id":"1329809412","filename":"file2"},{"photo_id":"1329809405","filename":"file1"},{"photo_id":"1329809399","filename":"file0"},{"photo_id":"1329809429","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329809429":["hashtag1","hashtag2"]},{"1329809405":["hashtag1","hashtag2"]},{"1329809412":["hashtag1","hashtag2"]},{"1329809399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329809429, 1329809405, 1329809412, 1329809399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.29892063140869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:06:22.586941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/05/image_18012025_18_05_02_534655_0003.jpg', '/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0000.jpg', '/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0001.jpg', '/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/05/image_18012025_18_05_02_534655_0003.jpg
/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0000.jpg
/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0001.jpg
/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.206027746200562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 18:06:42.574540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/05/image_18012025_18_05_02_534655_0003.jpg', '/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0000.jpg', '/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0001.jpg', '/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/05/image_18012025_18_05_02_534655_0003.jpg
/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0000.jpg
/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0001.jpg
/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329809476","1329809488","1329809500","1329809496"],"photo_ids_order":["1329809476","1329809488","1329809496","1329809500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/344d26798c66346a0e771cddcd7822e5.jpg","text":"TemporaryFile(/tmp/multipartBody2848068249967626102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220074202,"filename":"image_18012025_18_05_02_534655_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9c9543be1f85087b8f50823f95071987.jpg","text":"TemporaryFile(/tmp/multipartBody6255828874026561037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220074202,"filename":"image_18012025_18_06_02_696648_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/35189b0e1c24a7d3a942b3904acc05f7.jpg","text":"TemporaryFile(/tmp/multipartBody4274192572014313040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220074202,"filename":"image_18012025_18_06_02_696648_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf87c618a2294d8c0d695a077a9bfd3a.jpg","text":"TemporaryFile(/tmp/multipartBody5866446694087008404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220074202,"filename":"image_18012025_18_06_02_696648_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329809496","file1":"1329809488","file0":"1329809476","file3":"1329809500"},"map_files_photo_id_array":[{"photo_id":"1329809496","filename":"file2"},{"photo_id":"1329809488","filename":"file1"},{"photo_id":"1329809476","filename":"file0"},{"photo_id":"1329809500","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329809476":["hashtag1","hashtag2"]},{"1329809488":["hashtag1","hashtag2"]},{"1329809500":["hashtag1","hashtag2"]},{"1329809496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329809476, 1329809488, 1329809500, 1329809496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66094088554382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 18:07:31.866739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0003.jpg', '/home/pi/Desktop/images/18012025/18/07/image_18012025_18_07_02_899024_0000.jpg', '/home/pi/Desktop/images/18012025/18/07/image_18012025_18_07_02_899024_0001.jpg', '/home/pi/Desktop/images/18012025/18/07/image_18012025_18_07_02_899024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/06/image_18012025_18_06_02_696648_0003.jpg
/home/pi/Desktop/images/18012025/18/07/image_18012025_18_07_02_899024_0000.jpg
/home/pi/Desktop/images/18012025/18/07/image_18012025_18_07_02_899024_0001.jpg
/home/pi/Desktop/images/18012025/18/07/image_18012025_18_07_02_899024_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329809947","1329809944","1329809913","1329809777"],"photo_ids_order":["1329809777","1329809913","1329809944","1329809947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48f102656e5e3f1bd1c395e0820fb663.jpg","text":"TemporaryFile(/tmp/multipartBody2047515121863861813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220123294,"filename":"image_18012025_18_07_02_899024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/009fffca47ed1ba7004f0be15a1b3fa4.jpg","text":"TemporaryFile(/tmp/multipartBody1737774991138924553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220123294,"filename":"image_18012025_18_07_02_899024_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28b697914834186f035a1fc397f817f5.jpg","text":"TemporaryFile(/tmp/multipartBody7480942101134403670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220123294,"filename":"image_18012025_18_07_02_899024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f5da7026bb74185eece246feefe9b1f.jpg","text":"TemporaryFile(/tmp/multipartBody1982262867351469271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220123294,"filename":"image_18012025_18_06_02_696648_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329809944","file1":"1329809913","file0":"1329809777","file3":"1329809947"},"map_files_photo_id_array":[{"photo_id":"1329809944","filename":"file2"},{"photo_id":"1329809913","filename":"file1"},{"photo_id":"1329809777","filename":"file0"},{"photo_id":"1329809947","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329809947":["hashtag1","hashtag2"]},{"1329809944":["hashtag1","hashtag2"]},{"1329809913":["hashtag1","hashtag2"]},{"1329809777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329809947, 1329809944, 1329809913, 1329809777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.020995140075684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:08:21.983239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/07/image_18012025_18_07_02_899024_0003.jpg', '/home/pi/Desktop/images/18012025/18/08/image_18012025_18_08_02_218684_0000.jpg', '/home/pi/Desktop/images/18012025/18/08/image_18012025_18_08_02_218684_0001.jpg', '/home/pi/Desktop/images/18012025/18/08/image_18012025_18_08_02_218684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/07/image_18012025_18_07_02_899024_0003.jpg
/home/pi/Desktop/images/18012025/18/08/image_18012025_18_08_02_218684_0000.jpg
/home/pi/Desktop/images/18012025/18/08/image_18012025_18_08_02_218684_0001.jpg
/home/pi/Desktop/images/18012025/18/08/image_18012025_18_08_02_218684_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329811057","1329811060","1329811065","1329811070"],"photo_ids_order":["1329811057","1329811060","1329811065","1329811070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e8a76844eef9344b3dffc9e35a8b22d.jpg","text":"TemporaryFile(/tmp/multipartBody673141958183416856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220173414,"filename":"image_18012025_18_07_02_899024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67e1ca199441193cc9d0a242e05f8a48.jpg","text":"TemporaryFile(/tmp/multipartBody902351310964552567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220173414,"filename":"image_18012025_18_08_02_218684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d31091ddd69db981f6d04b754a27feb.jpg","text":"TemporaryFile(/tmp/multipartBody8338458269228251633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220173414,"filename":"image_18012025_18_08_02_218684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6e4b29dd7d030eeb86df0d52fa7e5d4.jpg","text":"TemporaryFile(/tmp/multipartBody326645580428783086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220173414,"filename":"image_18012025_18_08_02_218684_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329811065","file1":"1329811060","file0":"1329811057","file3":"1329811070"},"map_files_photo_id_array":[{"photo_id":"1329811065","filename":"file2"},{"photo_id":"1329811060","filename":"file1"},{"photo_id":"1329811057","filename":"file0"},{"photo_id":"1329811070","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329811057":["hashtag1","hashtag2"]},{"1329811060":["hashtag1","hashtag2"]},{"1329811065":["hashtag1","hashtag2"]},{"1329811070":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329811057, 1329811060, 1329811065, 1329811070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79079222679138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 18:09:02.770651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/01/image_16012025_23_01_02_667083_0002.jpg', '/home/pi/Desktop/images/16012025/23/01/image_16012025_23_01_02_667083_0003.jpg', '/home/pi/Desktop/images/16012025/23/02/image_16012025_23_02_02_845593_0000.jpg', '/home/pi/Desktop/images/16012025/23/02/image_16012025_23_02_02_845593_0001.jpg', '/home/pi/Desktop/images/16012025/23/02/image_16012025_23_02_02_845593_0002.jpg', '/home/pi/Desktop/images/16012025/23/02/image_16012025_23_02_02_845593_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/01/image_16012025_23_01_02_667083_0002.jpg
/home/pi/Desktop/images/16012025/23/01/image_16012025_23_01_02_667083_0003.jpg
/home/pi/Desktop/images/16012025/23/02/image_16012025_23_02_02_845593_0000.jpg
/home/pi/Desktop/images/16012025/23/02/image_16012025_23_02_02_845593_0001.jpg
/home/pi/Desktop/images/16012025/23/02/image_16012025_23_02_02_845593_0002.jpg
/home/pi/Desktop/images/16012025/23/02/image_16012025_23_02_02_845593_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":["1329811161","1329811137","1329811128","1329811097","1329811101","1329811094"],"photo_ids_order":["1329811094","1329811097","1329811101","1329811128","1329811137","1329811161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/973a1c3439f4216e6672a89222a6f8c8.jpg","text":"TemporaryFile(/tmp/multipartBody7269731938999453580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220220468,"filename":"image_16012025_23_02_02_845593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6853189702f2696cf97fdde8ff773a15.jpg","text":"TemporaryFile(/tmp/multipartBody3367944200659019644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220220468,"filename":"image_16012025_23_02_02_845593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b0c2f2bf4ecee3c379610b995f62ab5.jpg","text":"TemporaryFile(/tmp/multipartBody6624827626802536276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220220468,"filename":"image_16012025_23_02_02_845593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ae3530f98e1c78a9e086a73fd4d4699.jpg","text":"TemporaryFile(/tmp/multipartBody4473154847983745196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220220468,"filename":"image_16012025_23_01_02_667083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b4730f4cbf9e804c921222c73a6f862.jpg","text":"TemporaryFile(/tmp/multipartBody6519405897168288676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220220468,"filename":"image_16012025_23_02_02_845593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17ebcf606eefa5d78e056bcb8c313290.jpg","text":"TemporaryFile(/tmp/multipartBody4470565527897377711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220220468,"filename":"image_16012025_23_01_02_667083_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329811101","file1":"1329811097","file0":"1329811094","file4":"1329811137","file5":"1329811161","file3":"1329811128"},"map_files_photo_id_array":[{"photo_id":"1329811161","filename":"file5"},{"photo_id":"1329811101","filename":"file2"},{"photo_id":"1329811137","filename":"file4"},{"photo_id":"1329811097","filename":"file1"},{"photo_id":"1329811094","filename":"file0"},{"photo_id":"1329811128","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329811161":["hashtag1","hashtag2"]},{"1329811137":["hashtag1","hashtag2"]},{"1329811128":["hashtag1","hashtag2"]},{"1329811097":["hashtag1","hashtag2"]},{"1329811101":["hashtag1","hashtag2"]},{"1329811094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329811161, 1329811137, 1329811128, 1329811097, 1329811101, 1329811094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.78568911552429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 18:10:02.788011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/08/image_18012025_18_08_02_218684_0003.jpg', '/home/pi/Desktop/images/18012025/18/09/image_18012025_18_09_02_386108_0000.jpg', '/home/pi/Desktop/images/18012025/18/09/image_18012025_18_09_02_386108_0001.jpg', '/home/pi/Desktop/images/18012025/18/09/image_18012025_18_09_02_386108_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/08/image_18012025_18_08_02_218684_0003.jpg
/home/pi/Desktop/images/18012025/18/09/image_18012025_18_09_02_386108_0000.jpg
/home/pi/Desktop/images/18012025/18/09/image_18012025_18_09_02_386108_0001.jpg
/home/pi/Desktop/images/18012025/18/09/image_18012025_18_09_02_386108_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329811637","1329811634","1329811698","1329811686"],"photo_ids_order":["1329811634","1329811637","1329811686","1329811698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/90f8a2c0bd489ad9fdb24d7748d4a718.jpg","text":"TemporaryFile(/tmp/multipartBody1512470382902134572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220274159,"filename":"image_18012025_18_09_02_386108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/72cf9299fe980d714a71040a6dc1eb92.jpg","text":"TemporaryFile(/tmp/multipartBody8570697898696726227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220274159,"filename":"image_18012025_18_08_02_218684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a963248b00651023012a47c367c9594.jpg","text":"TemporaryFile(/tmp/multipartBody2067074950729067200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220274159,"filename":"image_18012025_18_09_02_386108_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bebc8bbef0e7846a2d1ae59bc128781c.jpg","text":"TemporaryFile(/tmp/multipartBody7586573784078556568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220274159,"filename":"image_18012025_18_09_02_386108_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329811686","file1":"1329811637","file0":"1329811634","file3":"1329811698"},"map_files_photo_id_array":[{"photo_id":"1329811686","filename":"file2"},{"photo_id":"1329811637","filename":"file1"},{"photo_id":"1329811634","filename":"file0"},{"photo_id":"1329811698","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329811637":["hashtag1","hashtag2"]},{"1329811634":["hashtag1","hashtag2"]},{"1329811698":["hashtag1","hashtag2"]},{"1329811686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329811637, 1329811634, 1329811698, 1329811686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.19236087799072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 18:10:52.292522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/09/image_18012025_18_09_02_386108_0003.jpg', '/home/pi/Desktop/images/18012025/18/10/image_18012025_18_10_02_445086_0000.jpg', '/home/pi/Desktop/images/18012025/18/10/image_18012025_18_10_02_445086_0001.jpg', '/home/pi/Desktop/images/18012025/18/10/image_18012025_18_10_02_445086_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/09/image_18012025_18_09_02_386108_0003.jpg
/home/pi/Desktop/images/18012025/18/10/image_18012025_18_10_02_445086_0000.jpg
/home/pi/Desktop/images/18012025/18/10/image_18012025_18_10_02_445086_0001.jpg
/home/pi/Desktop/images/18012025/18/10/image_18012025_18_10_02_445086_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329811724","1329811720","1329811723","1329811722"],"photo_ids_order":["1329811720","1329811722","1329811723","1329811724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/585d30f173039a3df4c1da5413baded9.jpg","text":"TemporaryFile(/tmp/multipartBody1862557281678031128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220323367,"filename":"image_18012025_18_10_02_445086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c9998dff4d0b3858ea1bc9313365be3.jpg","text":"TemporaryFile(/tmp/multipartBody7745499839984296916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220323367,"filename":"image_18012025_18_09_02_386108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e06477d4fb13f74a591886a497361036.jpg","text":"TemporaryFile(/tmp/multipartBody7391481806529643312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220323367,"filename":"image_18012025_18_10_02_445086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/baf271c482b947361d2343d9a698c175.jpg","text":"TemporaryFile(/tmp/multipartBody2048624013456832864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220323367,"filename":"image_18012025_18_10_02_445086_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329811723","file1":"1329811722","file0":"1329811720","file3":"1329811724"},"map_files_photo_id_array":[{"photo_id":"1329811723","filename":"file2"},{"photo_id":"1329811722","filename":"file1"},{"photo_id":"1329811720","filename":"file0"},{"photo_id":"1329811724","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329811724":["hashtag1","hashtag2"]},{"1329811720":["hashtag1","hashtag2"]},{"1329811723":["hashtag1","hashtag2"]},{"1329811722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329811724, 1329811720, 1329811723, 1329811722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93614649772644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 18:11:32.478216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/10/image_18012025_18_10_02_445086_0003.jpg', '/home/pi/Desktop/images/18012025/18/11/image_18012025_18_11_02_687434_0000.jpg', '/home/pi/Desktop/images/18012025/18/11/image_18012025_18_11_02_687434_0001.jpg', '/home/pi/Desktop/images/18012025/18/11/image_18012025_18_11_02_687434_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/10/image_18012025_18_10_02_445086_0003.jpg
/home/pi/Desktop/images/18012025/18/11/image_18012025_18_11_02_687434_0000.jpg
/home/pi/Desktop/images/18012025/18/11/image_18012025_18_11_02_687434_0001.jpg
/home/pi/Desktop/images/18012025/18/11/image_18012025_18_11_02_687434_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329811783","1329811788","1329811797","1329811806"],"photo_ids_order":["1329811783","1329811788","1329811797","1329811806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0054b6ba0012443fa6c3ac075a17927b.jpg","text":"TemporaryFile(/tmp/multipartBody1402978531824729001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220363507,"filename":"image_18012025_18_10_02_445086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b621a557fb028a457bb02dbcf968b24.jpg","text":"TemporaryFile(/tmp/multipartBody3201619375003275669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220363507,"filename":"image_18012025_18_11_02_687434_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9c8947fbce095b67db490e9bca5211a3.jpg","text":"TemporaryFile(/tmp/multipartBody5470706311170919741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220363507,"filename":"image_18012025_18_11_02_687434_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/adff39e5e0a6170523e30bdc87cee496.jpg","text":"TemporaryFile(/tmp/multipartBody5904346907133416436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220363507,"filename":"image_18012025_18_11_02_687434_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329811797","file1":"1329811788","file0":"1329811783","file3":"1329811806"},"map_files_photo_id_array":[{"photo_id":"1329811797","filename":"file2"},{"photo_id":"1329811788","filename":"file1"},{"photo_id":"1329811783","filename":"file0"},{"photo_id":"1329811806","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329811783":["hashtag1","hashtag2"]},{"1329811788":["hashtag1","hashtag2"]},{"1329811797":["hashtag1","hashtag2"]},{"1329811806":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329811783, 1329811788, 1329811797, 1329811806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.38918685913086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:12:22.722119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/11/image_18012025_18_11_02_687434_0003.jpg', '/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0000.jpg', '/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0001.jpg', '/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/11/image_18012025_18_11_02_687434_0003.jpg
/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0000.jpg
/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0001.jpg
/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.069125890731812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 18:12:42.651039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/11/image_18012025_18_11_02_687434_0003.jpg', '/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0000.jpg', '/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0001.jpg', '/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/11/image_18012025_18_11_02_687434_0003.jpg
/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0000.jpg
/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0001.jpg
/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329811924","1329811927","1329811921","1329811991"],"photo_ids_order":["1329811921","1329811924","1329811927","1329811991"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54fc257d6d15d3ffb682331c7b70df32.jpg","text":"TemporaryFile(/tmp/multipartBody1564871818998472504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220434135,"filename":"image_18012025_18_12_02_902018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/38906b730cbd665a706d273c91840c7f.jpg","text":"TemporaryFile(/tmp/multipartBody3381492145490611693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220434135,"filename":"image_18012025_18_12_02_902018_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b970306db60eac99c4ea7766e78bcb8c.jpg","text":"TemporaryFile(/tmp/multipartBody3052102978497613443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220434135,"filename":"image_18012025_18_11_02_687434_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fe4489d0024909b4209f7619eced4955.jpg","text":"TemporaryFile(/tmp/multipartBody8551870041776978948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220434135,"filename":"image_18012025_18_12_02_902018_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329811927","file1":"1329811924","file0":"1329811921","file3":"1329811991"},"map_files_photo_id_array":[{"photo_id":"1329811927","filename":"file2"},{"photo_id":"1329811924","filename":"file1"},{"photo_id":"1329811921","filename":"file0"},{"photo_id":"1329811991","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329811924":["hashtag1","hashtag2"]},{"1329811927":["hashtag1","hashtag2"]},{"1329811921":["hashtag1","hashtag2"]},{"1329811991":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329811924, 1329811927, 1329811921, 1329811991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.284470319747925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 18:13:31.866748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0003.jpg', '/home/pi/Desktop/images/18012025/18/13/image_18012025_18_13_03_026830_0000.jpg', '/home/pi/Desktop/images/18012025/18/13/image_18012025_18_13_03_026830_0001.jpg', '/home/pi/Desktop/images/18012025/18/13/image_18012025_18_13_03_026830_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/12/image_18012025_18_12_02_902018_0003.jpg
/home/pi/Desktop/images/18012025/18/13/image_18012025_18_13_03_026830_0000.jpg
/home/pi/Desktop/images/18012025/18/13/image_18012025_18_13_03_026830_0001.jpg
/home/pi/Desktop/images/18012025/18/13/image_18012025_18_13_03_026830_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329812216","1329812220","1329812223","1329812210"],"photo_ids_order":["1329812210","1329812216","1329812220","1329812223"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92d6f326279c46693470f15fe182c0e8.jpg","text":"TemporaryFile(/tmp/multipartBody4665665625636762121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220483451,"filename":"image_18012025_18_13_03_026830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/334c61873359df061e1ac0ce654839b3.jpg","text":"TemporaryFile(/tmp/multipartBody1536973065124148686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220483451,"filename":"image_18012025_18_13_03_026830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0707209413c67639f921313d9c6a6a60.jpg","text":"TemporaryFile(/tmp/multipartBody1510768473479129595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220483451,"filename":"image_18012025_18_13_03_026830_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c3ccba277bc6ac4297ec354cf7fbb6b.jpg","text":"TemporaryFile(/tmp/multipartBody3949337566364967897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220483451,"filename":"image_18012025_18_12_02_902018_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329812220","file1":"1329812216","file0":"1329812210","file3":"1329812223"},"map_files_photo_id_array":[{"photo_id":"1329812220","filename":"file2"},{"photo_id":"1329812216","filename":"file1"},{"photo_id":"1329812210","filename":"file0"},{"photo_id":"1329812223","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329812216":["hashtag1","hashtag2"]},{"1329812220":["hashtag1","hashtag2"]},{"1329812223":["hashtag1","hashtag2"]},{"1329812210":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329812216, 1329812220, 1329812223, 1329812210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.33096122741699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:14:22.103888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/13/image_18012025_18_13_03_026830_0003.jpg', '/home/pi/Desktop/images/18012025/18/14/image_18012025_18_14_02_179222_0000.jpg', '/home/pi/Desktop/images/18012025/18/14/image_18012025_18_14_02_179222_0001.jpg', '/home/pi/Desktop/images/18012025/18/14/image_18012025_18_14_02_179222_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/13/image_18012025_18_13_03_026830_0003.jpg
/home/pi/Desktop/images/18012025/18/14/image_18012025_18_14_02_179222_0000.jpg
/home/pi/Desktop/images/18012025/18/14/image_18012025_18_14_02_179222_0001.jpg
/home/pi/Desktop/images/18012025/18/14/image_18012025_18_14_02_179222_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329812245","1329812239","1329812250","1329812253"],"photo_ids_order":["1329812239","1329812245","1329812250","1329812253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a25e3a6f1fcdccb6da8075613e2ae268.jpg","text":"TemporaryFile(/tmp/multipartBody3932313639624450222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220533240,"filename":"image_18012025_18_14_02_179222_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d41d727763ba20eccc4fee97f8edba20.jpg","text":"TemporaryFile(/tmp/multipartBody4015876777298166623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220533240,"filename":"image_18012025_18_13_03_026830_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5ec05010a26f7854680b684ad734bf94.jpg","text":"TemporaryFile(/tmp/multipartBody4302399396831894668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220533240,"filename":"image_18012025_18_14_02_179222_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/45c6b3d1ec77cf07632d417afd22b96f.jpg","text":"TemporaryFile(/tmp/multipartBody6416134557451769568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220533240,"filename":"image_18012025_18_14_02_179222_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329812250","file1":"1329812245","file0":"1329812239","file3":"1329812253"},"map_files_photo_id_array":[{"photo_id":"1329812250","filename":"file2"},{"photo_id":"1329812245","filename":"file1"},{"photo_id":"1329812239","filename":"file0"},{"photo_id":"1329812253","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329812245":["hashtag1","hashtag2"]},{"1329812239":["hashtag1","hashtag2"]},{"1329812250":["hashtag1","hashtag2"]},{"1329812253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329812245, 1329812239, 1329812250, 1329812253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.05565810203552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:15:22.337657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/14/image_18012025_18_14_02_179222_0003.jpg', '/home/pi/Desktop/images/18012025/18/15/image_18012025_18_15_02_446439_0000.jpg', '/home/pi/Desktop/images/18012025/18/15/image_18012025_18_15_02_446439_0001.jpg', '/home/pi/Desktop/images/18012025/18/15/image_18012025_18_15_02_446439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/14/image_18012025_18_14_02_179222_0003.jpg
/home/pi/Desktop/images/18012025/18/15/image_18012025_18_15_02_446439_0000.jpg
/home/pi/Desktop/images/18012025/18/15/image_18012025_18_15_02_446439_0001.jpg
/home/pi/Desktop/images/18012025/18/15/image_18012025_18_15_02_446439_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329812490","1329812294","1329812477","1329812318"],"photo_ids_order":["1329812294","1329812318","1329812477","1329812490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/260a00a36280bef1081feac2852e8b9f.jpg","text":"TemporaryFile(/tmp/multipartBody5037678392416231247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220593506,"filename":"image_18012025_18_15_02_446439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c7b87d52ea7318afe53590658ee6704.jpg","text":"TemporaryFile(/tmp/multipartBody8396814261558479384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220593506,"filename":"image_18012025_18_14_02_179222_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/32ddb2b883a4f42b0948869a83579dca.jpg","text":"TemporaryFile(/tmp/multipartBody234048470403802398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220593506,"filename":"image_18012025_18_15_02_446439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e470c68bc7e5a92fd864575b0ccca017.jpg","text":"TemporaryFile(/tmp/multipartBody3756019452624677459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220593506,"filename":"image_18012025_18_15_02_446439_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329812477","file1":"1329812318","file0":"1329812294","file3":"1329812490"},"map_files_photo_id_array":[{"photo_id":"1329812477","filename":"file2"},{"photo_id":"1329812318","filename":"file1"},{"photo_id":"1329812294","filename":"file0"},{"photo_id":"1329812490","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329812490":["hashtag1","hashtag2"]},{"1329812294":["hashtag1","hashtag2"]},{"1329812477":["hashtag1","hashtag2"]},{"1329812318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329812490, 1329812294, 1329812477, 1329812318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10401916503906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 18:16:02.937705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/03/image_16012025_23_03_03_002087_0000.jpg', '/home/pi/Desktop/images/16012025/23/03/image_16012025_23_03_03_002087_0001.jpg', '/home/pi/Desktop/images/16012025/23/03/image_16012025_23_03_03_002087_0002.jpg', '/home/pi/Desktop/images/16012025/23/03/image_16012025_23_03_03_002087_0003.jpg', '/home/pi/Desktop/images/16012025/23/04/image_16012025_23_04_02_203189_0000.jpg', '/home/pi/Desktop/images/16012025/23/04/image_16012025_23_04_02_203189_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/03/image_16012025_23_03_03_002087_0000.jpg
/home/pi/Desktop/images/16012025/23/03/image_16012025_23_03_03_002087_0001.jpg
/home/pi/Desktop/images/16012025/23/03/image_16012025_23_03_03_002087_0002.jpg
/home/pi/Desktop/images/16012025/23/03/image_16012025_23_03_03_002087_0003.jpg
/home/pi/Desktop/images/16012025/23/04/image_16012025_23_04_02_203189_0000.jpg
/home/pi/Desktop/images/16012025/23/04/image_16012025_23_04_02_203189_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":["1329812507","1329812503","1329812523","1329812511","1329812517","1329812528"],"photo_ids_order":["1329812503","1329812507","1329812511","1329812517","1329812523","1329812528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cb80d7d06c026d902523c7a8da2777e1.jpg","text":"TemporaryFile(/tmp/multipartBody825564798838332948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220640411,"filename":"image_16012025_23_03_03_002087_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/526e7964f27873291df659e86bb61e18.jpg","text":"TemporaryFile(/tmp/multipartBody3794807002287559550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220640411,"filename":"image_16012025_23_03_03_002087_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/81f19e48d744d374b11b1c38d145f371.jpg","text":"TemporaryFile(/tmp/multipartBody1509616319554512728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220640411,"filename":"image_16012025_23_04_02_203189_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17a51077cd443dbee8292716a4e80f24.jpg","text":"TemporaryFile(/tmp/multipartBody2194144958722790617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220640411,"filename":"image_16012025_23_03_03_002087_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fad953639658681846d348e7f664fd54.jpg","text":"TemporaryFile(/tmp/multipartBody520647482169031158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220640411,"filename":"image_16012025_23_03_03_002087_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/02a1688b9f2895e2fec55b404c4fc9a6.jpg","text":"TemporaryFile(/tmp/multipartBody7544916120378907942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220640411,"filename":"image_16012025_23_04_02_203189_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329812511","file1":"1329812507","file0":"1329812503","file4":"1329812523","file5":"1329812528","file3":"1329812517"},"map_files_photo_id_array":[{"photo_id":"1329812528","filename":"file5"},{"photo_id":"1329812511","filename":"file2"},{"photo_id":"1329812523","filename":"file4"},{"photo_id":"1329812507","filename":"file1"},{"photo_id":"1329812503","filename":"file0"},{"photo_id":"1329812517","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329812507":["hashtag1","hashtag2"]},{"1329812503":["hashtag1","hashtag2"]},{"1329812523":["hashtag1","hashtag2"]},{"1329812511":["hashtag1","hashtag2"]},{"1329812517":["hashtag1","hashtag2"]},{"1329812528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329812507, 1329812503, 1329812523, 1329812511, 1329812517, 1329812528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.05087399482727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 18:17:03.322969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/15/image_18012025_18_15_02_446439_0003.jpg', '/home/pi/Desktop/images/18012025/18/16/image_18012025_18_16_02_749345_0000.jpg', '/home/pi/Desktop/images/18012025/18/16/image_18012025_18_16_02_749345_0001.jpg', '/home/pi/Desktop/images/18012025/18/16/image_18012025_18_16_02_749345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/15/image_18012025_18_15_02_446439_0003.jpg
/home/pi/Desktop/images/18012025/18/16/image_18012025_18_16_02_749345_0000.jpg
/home/pi/Desktop/images/18012025/18/16/image_18012025_18_16_02_749345_0001.jpg
/home/pi/Desktop/images/18012025/18/16/image_18012025_18_16_02_749345_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329812542","1329812536","1329812538","1329812546"],"photo_ids_order":["1329812536","1329812538","1329812542","1329812546"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4e8cffe3c5441919c811de906a7c2888.jpg","text":"TemporaryFile(/tmp/multipartBody1425485893314093759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220694546,"filename":"image_18012025_18_16_02_749345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7dcf1db92ba42b8ab442c2b7659e8acd.jpg","text":"TemporaryFile(/tmp/multipartBody8778870780429387342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220694546,"filename":"image_18012025_18_15_02_446439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee34e376b1ebfd2e9dfddfda79d7d3a9.jpg","text":"TemporaryFile(/tmp/multipartBody6943267287146634147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220694546,"filename":"image_18012025_18_16_02_749345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/769b4d0e5ddccbf8a8b33bbefe3be25d.jpg","text":"TemporaryFile(/tmp/multipartBody7533771293051066830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220694546,"filename":"image_18012025_18_16_02_749345_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329812542","file1":"1329812538","file0":"1329812536","file3":"1329812546"},"map_files_photo_id_array":[{"photo_id":"1329812542","filename":"file2"},{"photo_id":"1329812538","filename":"file1"},{"photo_id":"1329812536","filename":"file0"},{"photo_id":"1329812546","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329812542":["hashtag1","hashtag2"]},{"1329812536":["hashtag1","hashtag2"]},{"1329812538":["hashtag1","hashtag2"]},{"1329812546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329812542, 1329812536, 1329812538, 1329812546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77521467208862 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-18 18:17:52.718831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/16/image_18012025_18_16_02_749345_0003.jpg', '/home/pi/Desktop/images/18012025/18/17/image_18012025_18_17_02_863516_0000.jpg', '/home/pi/Desktop/images/18012025/18/17/image_18012025_18_17_02_863516_0001.jpg', '/home/pi/Desktop/images/18012025/18/17/image_18012025_18_17_02_863516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/16/image_18012025_18_16_02_749345_0003.jpg
/home/pi/Desktop/images/18012025/18/17/image_18012025_18_17_02_863516_0000.jpg
/home/pi/Desktop/images/18012025/18/17/image_18012025_18_17_02_863516_0001.jpg
/home/pi/Desktop/images/18012025/18/17/image_18012025_18_17_02_863516_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329812598","1329812592","1329812595","1329812600"],"photo_ids_order":["1329812592","1329812595","1329812598","1329812600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2d6dd845d1c91efb0cd3faf47108095b.jpg","text":"TemporaryFile(/tmp/multipartBody514163977698969841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220744256,"filename":"image_18012025_18_17_02_863516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be10ef27d898aefaad6ffc0242af4dfe.jpg","text":"TemporaryFile(/tmp/multipartBody2152023267817609862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220744256,"filename":"image_18012025_18_16_02_749345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/36144c14596058f193ee5259b277c3f2.jpg","text":"TemporaryFile(/tmp/multipartBody1275244918677883860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220744256,"filename":"image_18012025_18_17_02_863516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b141b18a8542509f95dc217efd806761.jpg","text":"TemporaryFile(/tmp/multipartBody4032540004406209419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220744256,"filename":"image_18012025_18_17_02_863516_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329812598","file1":"1329812595","file0":"1329812592","file3":"1329812600"},"map_files_photo_id_array":[{"photo_id":"1329812598","filename":"file2"},{"photo_id":"1329812595","filename":"file1"},{"photo_id":"1329812592","filename":"file0"},{"photo_id":"1329812600","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329812598":["hashtag1","hashtag2"]},{"1329812592":["hashtag1","hashtag2"]},{"1329812595":["hashtag1","hashtag2"]},{"1329812600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329812598, 1329812592, 1329812595, 1329812600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82255697250366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 18:18:41.946136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/17/image_18012025_18_17_02_863516_0003.jpg', '/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0000.jpg', '/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0001.jpg', '/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/17/image_18012025_18_17_02_863516_0003.jpg
/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0000.jpg
/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0001.jpg
/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.789976119995117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 18:19:02.518107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/17/image_18012025_18_17_02_863516_0003.jpg', '/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0000.jpg', '/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0001.jpg', '/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/17/image_18012025_18_17_02_863516_0003.jpg
/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0000.jpg
/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0001.jpg
/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329812650","1329812646","1329812642","1329812639"],"photo_ids_order":["1329812639","1329812642","1329812646","1329812650"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a3b0e908cdce0da726d3ae57ead7d545.jpg","text":"TemporaryFile(/tmp/multipartBody6338094739354131036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220813787,"filename":"image_18012025_18_18_03_104611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5cc775230d4ecd4bb419e39312f68e44.jpg","text":"TemporaryFile(/tmp/multipartBody8069828000139967597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220813787,"filename":"image_18012025_18_18_03_104611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bbcc36e72f2bb6ebe98c1d58a3c83993.jpg","text":"TemporaryFile(/tmp/multipartBody6295881921323022883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220813787,"filename":"image_18012025_18_18_03_104611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7cdac2f3a6da58aa64e9fd74bd80f4e.jpg","text":"TemporaryFile(/tmp/multipartBody7865479831308954558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220813787,"filename":"image_18012025_18_17_02_863516_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329812646","file1":"1329812642","file0":"1329812639","file3":"1329812650"},"map_files_photo_id_array":[{"photo_id":"1329812646","filename":"file2"},{"photo_id":"1329812642","filename":"file1"},{"photo_id":"1329812639","filename":"file0"},{"photo_id":"1329812650","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329812650":["hashtag1","hashtag2"]},{"1329812646":["hashtag1","hashtag2"]},{"1329812642":["hashtag1","hashtag2"]},{"1329812639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329812650, 1329812646, 1329812642, 1329812639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.197447776794434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 18:19:52.028479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0003.jpg', '/home/pi/Desktop/images/18012025/18/19/image_18012025_18_19_02_238517_0000.jpg', '/home/pi/Desktop/images/18012025/18/19/image_18012025_18_19_02_238517_0001.jpg', '/home/pi/Desktop/images/18012025/18/19/image_18012025_18_19_02_238517_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/18/image_18012025_18_18_03_104611_0003.jpg
/home/pi/Desktop/images/18012025/18/19/image_18012025_18_19_02_238517_0000.jpg
/home/pi/Desktop/images/18012025/18/19/image_18012025_18_19_02_238517_0001.jpg
/home/pi/Desktop/images/18012025/18/19/image_18012025_18_19_02_238517_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329812755","1329812757","1329812742","1329812753"],"photo_ids_order":["1329812742","1329812753","1329812755","1329812757"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/34c46edd7f9795fd2a48a34e5a551559.jpg","text":"TemporaryFile(/tmp/multipartBody8367186386619551549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220863243,"filename":"image_18012025_18_19_02_238517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb7d833dc50622744bf234a9effddf22.jpg","text":"TemporaryFile(/tmp/multipartBody1786410557993124172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220863243,"filename":"image_18012025_18_19_02_238517_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a99e7579d2263eb10e5701bcd3291106.jpg","text":"TemporaryFile(/tmp/multipartBody1034897143371110058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220863243,"filename":"image_18012025_18_18_03_104611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f6a41623fbe1f3b4fd2ca1e5a9f97e19.jpg","text":"TemporaryFile(/tmp/multipartBody8275093755404074073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220863243,"filename":"image_18012025_18_19_02_238517_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329812755","file1":"1329812753","file0":"1329812742","file3":"1329812757"},"map_files_photo_id_array":[{"photo_id":"1329812755","filename":"file2"},{"photo_id":"1329812753","filename":"file1"},{"photo_id":"1329812742","filename":"file0"},{"photo_id":"1329812757","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329812755":["hashtag1","hashtag2"]},{"1329812757":["hashtag1","hashtag2"]},{"1329812742":["hashtag1","hashtag2"]},{"1329812753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329812755, 1329812757, 1329812742, 1329812753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85765743255615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 18:20:42.240068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/19/image_18012025_18_19_02_238517_0003.jpg', '/home/pi/Desktop/images/18012025/18/20/image_18012025_18_20_02_491730_0000.jpg', '/home/pi/Desktop/images/18012025/18/20/image_18012025_18_20_02_491730_0001.jpg', '/home/pi/Desktop/images/18012025/18/20/image_18012025_18_20_02_491730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/19/image_18012025_18_19_02_238517_0003.jpg
/home/pi/Desktop/images/18012025/18/20/image_18012025_18_20_02_491730_0000.jpg
/home/pi/Desktop/images/18012025/18/20/image_18012025_18_20_02_491730_0001.jpg
/home/pi/Desktop/images/18012025/18/20/image_18012025_18_20_02_491730_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329813081","1329812839","1329813080","1329813073"],"photo_ids_order":["1329812839","1329813073","1329813080","1329813081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c05c172b74331970f86d20ab9cfa7f0.jpg","text":"TemporaryFile(/tmp/multipartBody4982353404373980026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220913658,"filename":"image_18012025_18_20_02_491730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/23598cddee795ec26cb7a8f79a191ca2.jpg","text":"TemporaryFile(/tmp/multipartBody5884416822727650069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220913658,"filename":"image_18012025_18_19_02_238517_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/832c2ce9c2930f4fdcb85ff33647d446.jpg","text":"TemporaryFile(/tmp/multipartBody2285389699654996687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220913658,"filename":"image_18012025_18_20_02_491730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04b0e44c2396e7777918563052bff5e3.jpg","text":"TemporaryFile(/tmp/multipartBody4282465372125460635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220913658,"filename":"image_18012025_18_20_02_491730_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329813080","file1":"1329813073","file0":"1329812839","file3":"1329813081"},"map_files_photo_id_array":[{"photo_id":"1329813080","filename":"file2"},{"photo_id":"1329813073","filename":"file1"},{"photo_id":"1329812839","filename":"file0"},{"photo_id":"1329813081","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329813081":["hashtag1","hashtag2"]},{"1329812839":["hashtag1","hashtag2"]},{"1329813080":["hashtag1","hashtag2"]},{"1329813073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329813081, 1329812839, 1329813080, 1329813073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76854181289673 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 18:21:32.343148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/20/image_18012025_18_20_02_491730_0003.jpg', '/home/pi/Desktop/images/18012025/18/21/image_18012025_18_21_02_666825_0000.jpg', '/home/pi/Desktop/images/18012025/18/21/image_18012025_18_21_02_666825_0001.jpg', '/home/pi/Desktop/images/18012025/18/21/image_18012025_18_21_02_666825_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/20/image_18012025_18_20_02_491730_0003.jpg
/home/pi/Desktop/images/18012025/18/21/image_18012025_18_21_02_666825_0000.jpg
/home/pi/Desktop/images/18012025/18/21/image_18012025_18_21_02_666825_0001.jpg
/home/pi/Desktop/images/18012025/18/21/image_18012025_18_21_02_666825_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329814034","1329813149","1329813707","1329813343"],"photo_ids_order":["1329813149","1329813343","1329813707","1329814034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c29e477f2949234460b7e28f1c6274c3.jpg","text":"TemporaryFile(/tmp/multipartBody378239595018927983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220963310,"filename":"image_18012025_18_21_02_666825_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/14e04c3f681baade92b99ffe5ac20e6a.jpg","text":"TemporaryFile(/tmp/multipartBody3946735798633404078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220963310,"filename":"image_18012025_18_20_02_491730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bbea0d833bf7df874d7f19866f2574c0.jpg","text":"TemporaryFile(/tmp/multipartBody291690697671403814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220963310,"filename":"image_18012025_18_21_02_666825_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d4d4d5db4723c9717509cfede3e4ae5.jpg","text":"TemporaryFile(/tmp/multipartBody7718794202636174527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737220963310,"filename":"image_18012025_18_21_02_666825_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329813707","file1":"1329813343","file0":"1329813149","file3":"1329814034"},"map_files_photo_id_array":[{"photo_id":"1329813707","filename":"file2"},{"photo_id":"1329813343","filename":"file1"},{"photo_id":"1329813149","filename":"file0"},{"photo_id":"1329814034","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329814034":["hashtag1","hashtag2"]},{"1329813149":["hashtag1","hashtag2"]},{"1329813707":["hashtag1","hashtag2"]},{"1329813343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329814034, 1329813149, 1329813707, 1329813343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.54024887084961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:22:22.528206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/21/image_18012025_18_21_02_666825_0003.jpg', '/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0000.jpg', '/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0001.jpg', '/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/21/image_18012025_18_21_02_666825_0003.jpg
/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0000.jpg
/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0001.jpg
/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.719772338867188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 18:22:42.577135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/21/image_18012025_18_21_02_666825_0003.jpg', '/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0000.jpg', '/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0001.jpg', '/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/21/image_18012025_18_21_02_666825_0003.jpg
/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0000.jpg
/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0001.jpg
/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329814173","1329814274","1329814214","1329814223"],"photo_ids_order":["1329814173","1329814214","1329814223","1329814274"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74b47f68a7118590f88cf8b4595c392b.jpg","text":"TemporaryFile(/tmp/multipartBody1685170119115061066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221033778,"filename":"image_18012025_18_21_02_666825_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65e7dfd85fc2d61d4ef207fbebd03402.jpg","text":"TemporaryFile(/tmp/multipartBody1468850980660010262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221033778,"filename":"image_18012025_18_22_02_786318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/607c3c2be7ba689db44fd46f66b28aaf.jpg","text":"TemporaryFile(/tmp/multipartBody8489763208839494701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221033778,"filename":"image_18012025_18_22_02_786318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b57567d7edab85e072cbe7bab75e968.jpg","text":"TemporaryFile(/tmp/multipartBody4129022148402269142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221033778,"filename":"image_18012025_18_22_02_786318_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329814223","file1":"1329814214","file0":"1329814173","file3":"1329814274"},"map_files_photo_id_array":[{"photo_id":"1329814223","filename":"file2"},{"photo_id":"1329814214","filename":"file1"},{"photo_id":"1329814173","filename":"file0"},{"photo_id":"1329814274","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329814173":["hashtag1","hashtag2"]},{"1329814274":["hashtag1","hashtag2"]},{"1329814214":["hashtag1","hashtag2"]},{"1329814223":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329814173, 1329814274, 1329814214, 1329814223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.00781607627869 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 18:23:32.754319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0003.jpg', '/home/pi/Desktop/images/18012025/18/23/image_18012025_18_23_02_911355_0000.jpg', '/home/pi/Desktop/images/18012025/18/23/image_18012025_18_23_02_911355_0001.jpg', '/home/pi/Desktop/images/18012025/18/23/image_18012025_18_23_02_911355_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/22/image_18012025_18_22_02_786318_0003.jpg
/home/pi/Desktop/images/18012025/18/23/image_18012025_18_23_02_911355_0000.jpg
/home/pi/Desktop/images/18012025/18/23/image_18012025_18_23_02_911355_0001.jpg
/home/pi/Desktop/images/18012025/18/23/image_18012025_18_23_02_911355_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329815019","1329815168","1329815116","1329815262"],"photo_ids_order":["1329815019","1329815116","1329815168","1329815262"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/739952838c7e31ead6f195ad17edb176.jpg","text":"TemporaryFile(/tmp/multipartBody4325169191434028190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221084302,"filename":"image_18012025_18_22_02_786318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a0cfa4dd772bb1c5425cf3add320a66.jpg","text":"TemporaryFile(/tmp/multipartBody3818997102875451158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221084302,"filename":"image_18012025_18_23_02_911355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/76fc91205abf7c27ec5c4c482d175c11.jpg","text":"TemporaryFile(/tmp/multipartBody2929670952131204375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221084302,"filename":"image_18012025_18_23_02_911355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0871e91a14624f818fe7422323cdaa5.jpg","text":"TemporaryFile(/tmp/multipartBody6776897863351930923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221084302,"filename":"image_18012025_18_23_02_911355_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329815168","file1":"1329815116","file0":"1329815019","file3":"1329815262"},"map_files_photo_id_array":[{"photo_id":"1329815168","filename":"file2"},{"photo_id":"1329815116","filename":"file1"},{"photo_id":"1329815019","filename":"file0"},{"photo_id":"1329815262","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329815019":["hashtag1","hashtag2"]},{"1329815168":["hashtag1","hashtag2"]},{"1329815116":["hashtag1","hashtag2"]},{"1329815262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329815019, 1329815168, 1329815116, 1329815262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.746326208114624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:24:22.036543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/23/image_18012025_18_23_02_911355_0003.jpg', '/home/pi/Desktop/images/18012025/18/24/image_18012025_18_24_03_137524_0000.jpg', '/home/pi/Desktop/images/18012025/18/24/image_18012025_18_24_03_137524_0001.jpg', '/home/pi/Desktop/images/18012025/18/24/image_18012025_18_24_03_137524_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/23/image_18012025_18_23_02_911355_0003.jpg
/home/pi/Desktop/images/18012025/18/24/image_18012025_18_24_03_137524_0000.jpg
/home/pi/Desktop/images/18012025/18/24/image_18012025_18_24_03_137524_0001.jpg
/home/pi/Desktop/images/18012025/18/24/image_18012025_18_24_03_137524_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329815789","1329816124","1329815905","1329816009"],"photo_ids_order":["1329815789","1329815905","1329816009","1329816124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2ca5a946c266ca2c1f5b48ff00896359.jpg","text":"TemporaryFile(/tmp/multipartBody662671561111538814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221133217,"filename":"image_18012025_18_23_02_911355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d01f856f6668116e9afe3b3dd00ffef.jpg","text":"TemporaryFile(/tmp/multipartBody1485236910926576319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221133217,"filename":"image_18012025_18_24_03_137524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/43366462595f9048b7c74989b398f6c4.jpg","text":"TemporaryFile(/tmp/multipartBody4037036504768493918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221133217,"filename":"image_18012025_18_24_03_137524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2fd91dab1382580751944e0b23c1d3b.jpg","text":"TemporaryFile(/tmp/multipartBody1427522261957343911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221133217,"filename":"image_18012025_18_24_03_137524_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329816009","file1":"1329815905","file0":"1329815789","file3":"1329816124"},"map_files_photo_id_array":[{"photo_id":"1329816009","filename":"file2"},{"photo_id":"1329815905","filename":"file1"},{"photo_id":"1329815789","filename":"file0"},{"photo_id":"1329816124","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329815789":["hashtag1","hashtag2"]},{"1329816124":["hashtag1","hashtag2"]},{"1329815905":["hashtag1","hashtag2"]},{"1329816009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329815789, 1329816124, 1329815905, 1329816009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.20329713821411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:25:22.139055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/24/image_18012025_18_24_03_137524_0003.jpg', '/home/pi/Desktop/images/18012025/18/25/image_18012025_18_25_02_310367_0000.jpg', '/home/pi/Desktop/images/18012025/18/25/image_18012025_18_25_02_310367_0001.jpg', '/home/pi/Desktop/images/18012025/18/25/image_18012025_18_25_02_310367_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/24/image_18012025_18_24_03_137524_0003.jpg
/home/pi/Desktop/images/18012025/18/25/image_18012025_18_25_02_310367_0000.jpg
/home/pi/Desktop/images/18012025/18/25/image_18012025_18_25_02_310367_0001.jpg
/home/pi/Desktop/images/18012025/18/25/image_18012025_18_25_02_310367_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329816410","1329816406","1329816415","1329816420"],"photo_ids_order":["1329816406","1329816410","1329816415","1329816420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4bde7c09a00a8525973a25bd7d405c0c.jpg","text":"TemporaryFile(/tmp/multipartBody8414324489448470510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221193260,"filename":"image_18012025_18_25_02_310367_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e654a8f56192118a0c4fb03bb91959f3.jpg","text":"TemporaryFile(/tmp/multipartBody53437157844605050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221193260,"filename":"image_18012025_18_24_03_137524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/681bb78a571a4c05c3546e8c23158e32.jpg","text":"TemporaryFile(/tmp/multipartBody2633154205593435487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221193260,"filename":"image_18012025_18_25_02_310367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49340021334c67092fcb906c7d26f34f.jpg","text":"TemporaryFile(/tmp/multipartBody6107565164547512858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221193260,"filename":"image_18012025_18_25_02_310367_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329816415","file1":"1329816410","file0":"1329816406","file3":"1329816420"},"map_files_photo_id_array":[{"photo_id":"1329816415","filename":"file2"},{"photo_id":"1329816410","filename":"file1"},{"photo_id":"1329816406","filename":"file0"},{"photo_id":"1329816420","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329816410":["hashtag1","hashtag2"]},{"1329816406":["hashtag1","hashtag2"]},{"1329816415":["hashtag1","hashtag2"]},{"1329816420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329816410, 1329816406, 1329816415, 1329816420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.010436058044434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:26:22.348922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/25/image_18012025_18_25_02_310367_0003.jpg', '/home/pi/Desktop/images/18012025/18/26/image_18012025_18_26_02_512207_0000.jpg', '/home/pi/Desktop/images/18012025/18/26/image_18012025_18_26_02_512207_0001.jpg', '/home/pi/Desktop/images/18012025/18/26/image_18012025_18_26_02_512207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/25/image_18012025_18_25_02_310367_0003.jpg
/home/pi/Desktop/images/18012025/18/26/image_18012025_18_26_02_512207_0000.jpg
/home/pi/Desktop/images/18012025/18/26/image_18012025_18_26_02_512207_0001.jpg
/home/pi/Desktop/images/18012025/18/26/image_18012025_18_26_02_512207_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329816470","1329816487","1329816483","1329816477"],"photo_ids_order":["1329816470","1329816477","1329816483","1329816487"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c6e147c2c52a2e4d94ce856d1c03acd.jpg","text":"TemporaryFile(/tmp/multipartBody2721596597343223295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221253065,"filename":"image_18012025_18_25_02_310367_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a4bb50e2e46713dc24d2a1361b2aecc.jpg","text":"TemporaryFile(/tmp/multipartBody4088603290917831095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221253065,"filename":"image_18012025_18_26_02_512207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53e48cec836d7f810e50e5f5b4e8ca65.jpg","text":"TemporaryFile(/tmp/multipartBody8224254452677021063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221253065,"filename":"image_18012025_18_26_02_512207_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a7d02fca214cd5e3b7344c43d9317ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7025579513381983920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221253065,"filename":"image_18012025_18_26_02_512207_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329816483","file1":"1329816477","file0":"1329816470","file3":"1329816487"},"map_files_photo_id_array":[{"photo_id":"1329816483","filename":"file2"},{"photo_id":"1329816477","filename":"file1"},{"photo_id":"1329816470","filename":"file0"},{"photo_id":"1329816487","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329816470":["hashtag1","hashtag2"]},{"1329816487":["hashtag1","hashtag2"]},{"1329816483":["hashtag1","hashtag2"]},{"1329816477":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329816470, 1329816487, 1329816483, 1329816477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.08589029312134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:27:22.549680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/26/image_18012025_18_26_02_512207_0003.jpg', '/home/pi/Desktop/images/18012025/18/27/image_18012025_18_27_02_721819_0000.jpg', '/home/pi/Desktop/images/18012025/18/27/image_18012025_18_27_02_721819_0001.jpg', '/home/pi/Desktop/images/18012025/18/27/image_18012025_18_27_02_721819_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/26/image_18012025_18_26_02_512207_0003.jpg
/home/pi/Desktop/images/18012025/18/27/image_18012025_18_27_02_721819_0000.jpg
/home/pi/Desktop/images/18012025/18/27/image_18012025_18_27_02_721819_0001.jpg
/home/pi/Desktop/images/18012025/18/27/image_18012025_18_27_02_721819_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329817078","1329817072","1329817066","1329817083"],"photo_ids_order":["1329817066","1329817072","1329817078","1329817083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ab399b87b5ba0e87492682d42933c63.jpg","text":"TemporaryFile(/tmp/multipartBody6444902207386638382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221313647,"filename":"image_18012025_18_27_02_721819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8c653f54c4ba6db324c0e2289e78c54.jpg","text":"TemporaryFile(/tmp/multipartBody8641787991424750560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221313647,"filename":"image_18012025_18_27_02_721819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a59b1e6e1b5ec8ce2d397c0f879d04f.jpg","text":"TemporaryFile(/tmp/multipartBody765111138376703020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221313647,"filename":"image_18012025_18_26_02_512207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5408704cd890684cb15cc1cf868afbc7.jpg","text":"TemporaryFile(/tmp/multipartBody6206991447203802966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221313647,"filename":"image_18012025_18_27_02_721819_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329817078","file1":"1329817072","file0":"1329817066","file3":"1329817083"},"map_files_photo_id_array":[{"photo_id":"1329817078","filename":"file2"},{"photo_id":"1329817072","filename":"file1"},{"photo_id":"1329817066","filename":"file0"},{"photo_id":"1329817083","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329817078":["hashtag1","hashtag2"]},{"1329817072":["hashtag1","hashtag2"]},{"1329817066":["hashtag1","hashtag2"]},{"1329817083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329817078, 1329817072, 1329817066, 1329817083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.360862255096436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:28:21.828198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/27/image_18012025_18_27_02_721819_0003.jpg', '/home/pi/Desktop/images/18012025/18/28/image_18012025_18_28_02_946042_0000.jpg', '/home/pi/Desktop/images/18012025/18/28/image_18012025_18_28_02_946042_0001.jpg', '/home/pi/Desktop/images/18012025/18/28/image_18012025_18_28_02_946042_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/27/image_18012025_18_27_02_721819_0003.jpg
/home/pi/Desktop/images/18012025/18/28/image_18012025_18_28_02_946042_0000.jpg
/home/pi/Desktop/images/18012025/18/28/image_18012025_18_28_02_946042_0001.jpg
/home/pi/Desktop/images/18012025/18/28/image_18012025_18_28_02_946042_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329817328","1329817333","1329817324","1329817338"],"photo_ids_order":["1329817324","1329817328","1329817333","1329817338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/72f3ebaaa4f3dacc8d7558dda9c85db2.jpg","text":"TemporaryFile(/tmp/multipartBody3541422160739084521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221373161,"filename":"image_18012025_18_28_02_946042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6122b8a7675802937d084d48552bd1a5.jpg","text":"TemporaryFile(/tmp/multipartBody9117456462298358471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221373161,"filename":"image_18012025_18_28_02_946042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6465a676289037f4399c0f57120430de.jpg","text":"TemporaryFile(/tmp/multipartBody2655180065689059259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221373161,"filename":"image_18012025_18_27_02_721819_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f19c33a491a4631e4e633b16c5f6e19.jpg","text":"TemporaryFile(/tmp/multipartBody1683193815037297524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221373161,"filename":"image_18012025_18_28_02_946042_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329817333","file1":"1329817328","file0":"1329817324","file3":"1329817338"},"map_files_photo_id_array":[{"photo_id":"1329817333","filename":"file2"},{"photo_id":"1329817328","filename":"file1"},{"photo_id":"1329817324","filename":"file0"},{"photo_id":"1329817338","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329817328":["hashtag1","hashtag2"]},{"1329817333":["hashtag1","hashtag2"]},{"1329817324":["hashtag1","hashtag2"]},{"1329817338":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329817328, 1329817333, 1329817324, 1329817338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.60564208030701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:29:22.026987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/28/image_18012025_18_28_02_946042_0003.jpg', '/home/pi/Desktop/images/18012025/18/29/image_18012025_18_29_02_102891_0000.jpg', '/home/pi/Desktop/images/18012025/18/29/image_18012025_18_29_02_102891_0001.jpg', '/home/pi/Desktop/images/18012025/18/29/image_18012025_18_29_02_102891_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/28/image_18012025_18_28_02_946042_0003.jpg
/home/pi/Desktop/images/18012025/18/29/image_18012025_18_29_02_102891_0000.jpg
/home/pi/Desktop/images/18012025/18/29/image_18012025_18_29_02_102891_0001.jpg
/home/pi/Desktop/images/18012025/18/29/image_18012025_18_29_02_102891_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329817658","1329817689","1329817506","1329817628"],"photo_ids_order":["1329817506","1329817628","1329817658","1329817689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b5e2fac411e9ea6f79b3c74a8fdb43a.jpg","text":"TemporaryFile(/tmp/multipartBody3542608142202825563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221432980,"filename":"image_18012025_18_29_02_102891_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba8a26ddecde476a86f32a61f73e8824.jpg","text":"TemporaryFile(/tmp/multipartBody9055341163140765676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221432980,"filename":"image_18012025_18_29_02_102891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b16af8086f65ba06fd13d2950fd520a6.jpg","text":"TemporaryFile(/tmp/multipartBody1060674655947376238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221432980,"filename":"image_18012025_18_28_02_946042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a53f1c82b707d076555013dfb39e963.jpg","text":"TemporaryFile(/tmp/multipartBody6262822137866297139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221432980,"filename":"image_18012025_18_29_02_102891_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329817658","file1":"1329817628","file0":"1329817506","file3":"1329817689"},"map_files_photo_id_array":[{"photo_id":"1329817658","filename":"file2"},{"photo_id":"1329817628","filename":"file1"},{"photo_id":"1329817506","filename":"file0"},{"photo_id":"1329817689","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329817658":["hashtag1","hashtag2"]},{"1329817689":["hashtag1","hashtag2"]},{"1329817506":["hashtag1","hashtag2"]},{"1329817628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329817658, 1329817689, 1329817506, 1329817628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.76763463020325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:30:22.211944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/29/image_18012025_18_29_02_102891_0003.jpg', '/home/pi/Desktop/images/18012025/18/30/image_18012025_18_30_02_551975_0000.jpg', '/home/pi/Desktop/images/18012025/18/30/image_18012025_18_30_02_551975_0001.jpg', '/home/pi/Desktop/images/18012025/18/30/image_18012025_18_30_02_551975_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/29/image_18012025_18_29_02_102891_0003.jpg
/home/pi/Desktop/images/18012025/18/30/image_18012025_18_30_02_551975_0000.jpg
/home/pi/Desktop/images/18012025/18/30/image_18012025_18_30_02_551975_0001.jpg
/home/pi/Desktop/images/18012025/18/30/image_18012025_18_30_02_551975_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329817730","1329817735","1329817740","1329817725"],"photo_ids_order":["1329817725","1329817730","1329817735","1329817740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/99bb9264df8da9f623397ae500242df7.jpg","text":"TemporaryFile(/tmp/multipartBody4395698446875780993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221493525,"filename":"image_18012025_18_30_02_551975_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a62ba1c263ed94c0cfd58a9195876fa.jpg","text":"TemporaryFile(/tmp/multipartBody904499405337534004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221493525,"filename":"image_18012025_18_30_02_551975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d3d9d72213dea8b65e0ec54f4387af6f.jpg","text":"TemporaryFile(/tmp/multipartBody1304411814314497446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221493525,"filename":"image_18012025_18_30_02_551975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/abc5b44025325b0e2f19cc3d1a55208c.jpg","text":"TemporaryFile(/tmp/multipartBody2190270012170129009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221493525,"filename":"image_18012025_18_29_02_102891_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329817735","file1":"1329817730","file0":"1329817725","file3":"1329817740"},"map_files_photo_id_array":[{"photo_id":"1329817735","filename":"file2"},{"photo_id":"1329817730","filename":"file1"},{"photo_id":"1329817725","filename":"file0"},{"photo_id":"1329817740","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329817730":["hashtag1","hashtag2"]},{"1329817735":["hashtag1","hashtag2"]},{"1329817740":["hashtag1","hashtag2"]},{"1329817725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329817730, 1329817735, 1329817740, 1329817725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.242838859558105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:31:22.413268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/30/image_18012025_18_30_02_551975_0003.jpg', '/home/pi/Desktop/images/18012025/18/31/image_18012025_18_31_02_484155_0000.jpg', '/home/pi/Desktop/images/18012025/18/31/image_18012025_18_31_02_484155_0001.jpg', '/home/pi/Desktop/images/18012025/18/31/image_18012025_18_31_02_484155_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/30/image_18012025_18_30_02_551975_0003.jpg
/home/pi/Desktop/images/18012025/18/31/image_18012025_18_31_02_484155_0000.jpg
/home/pi/Desktop/images/18012025/18/31/image_18012025_18_31_02_484155_0001.jpg
/home/pi/Desktop/images/18012025/18/31/image_18012025_18_31_02_484155_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329817777","1329817807","1329817799","1329817784"],"photo_ids_order":["1329817777","1329817784","1329817799","1329817807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/890b54c9646c51a151be6e4e5b5e0303.jpg","text":"TemporaryFile(/tmp/multipartBody6914336416498698957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221553597,"filename":"image_18012025_18_30_02_551975_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53e93f33af8e2cba4b23f0671ff8c851.jpg","text":"TemporaryFile(/tmp/multipartBody6024271421454017509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221553597,"filename":"image_18012025_18_31_02_484155_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13f6fae74b013eb5b2220b6429f33b55.jpg","text":"TemporaryFile(/tmp/multipartBody3811199951820328356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221553597,"filename":"image_18012025_18_31_02_484155_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b282cc6ed2e4e3c83648ce639d898ab.jpg","text":"TemporaryFile(/tmp/multipartBody7111903085788729740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221553597,"filename":"image_18012025_18_31_02_484155_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329817799","file1":"1329817784","file0":"1329817777","file3":"1329817807"},"map_files_photo_id_array":[{"photo_id":"1329817799","filename":"file2"},{"photo_id":"1329817784","filename":"file1"},{"photo_id":"1329817777","filename":"file0"},{"photo_id":"1329817807","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329817777":["hashtag1","hashtag2"]},{"1329817807":["hashtag1","hashtag2"]},{"1329817799":["hashtag1","hashtag2"]},{"1329817784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329817777, 1329817807, 1329817799, 1329817784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.54089975357056 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:32:22.547592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/31/image_18012025_18_31_02_484155_0003.jpg', '/home/pi/Desktop/images/18012025/18/32/image_18012025_18_32_02_692211_0000.jpg', '/home/pi/Desktop/images/18012025/18/32/image_18012025_18_32_02_692211_0001.jpg', '/home/pi/Desktop/images/18012025/18/32/image_18012025_18_32_02_692211_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/31/image_18012025_18_31_02_484155_0003.jpg
/home/pi/Desktop/images/18012025/18/32/image_18012025_18_32_02_692211_0000.jpg
/home/pi/Desktop/images/18012025/18/32/image_18012025_18_32_02_692211_0001.jpg
/home/pi/Desktop/images/18012025/18/32/image_18012025_18_32_02_692211_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329817833","1329817821","1329817827","1329817847"],"photo_ids_order":["1329817821","1329817827","1329817833","1329817847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/36ab1774a1d4b4a86f44a2af6afd21df.jpg","text":"TemporaryFile(/tmp/multipartBody7609966258909129242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221613993,"filename":"image_18012025_18_32_02_692211_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0395f55d310dc8c8ac8aa93014c50ded.jpg","text":"TemporaryFile(/tmp/multipartBody87418972849998990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221613993,"filename":"image_18012025_18_31_02_484155_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a3cbeefa36f097420499718617301c87.jpg","text":"TemporaryFile(/tmp/multipartBody3716306562750527266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221613993,"filename":"image_18012025_18_32_02_692211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fbd5c4422121eef1a2230101d473a807.jpg","text":"TemporaryFile(/tmp/multipartBody4230793459832398381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221613993,"filename":"image_18012025_18_32_02_692211_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329817833","file1":"1329817827","file0":"1329817821","file3":"1329817847"},"map_files_photo_id_array":[{"photo_id":"1329817833","filename":"file2"},{"photo_id":"1329817827","filename":"file1"},{"photo_id":"1329817821","filename":"file0"},{"photo_id":"1329817847","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329817833":["hashtag1","hashtag2"]},{"1329817821":["hashtag1","hashtag2"]},{"1329817827":["hashtag1","hashtag2"]},{"1329817847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329817833, 1329817821, 1329817827, 1329817847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.02997326850891 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 18:33:03.158307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/04/image_16012025_23_04_02_203189_0002.jpg', '/home/pi/Desktop/images/16012025/23/04/image_16012025_23_04_02_203189_0003.jpg', '/home/pi/Desktop/images/16012025/23/05/image_16012025_23_05_02_414718_0000.jpg', '/home/pi/Desktop/images/16012025/23/05/image_16012025_23_05_02_414718_0001.jpg', '/home/pi/Desktop/images/16012025/23/05/image_16012025_23_05_02_414718_0002.jpg', '/home/pi/Desktop/images/16012025/23/05/image_16012025_23_05_02_414718_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/04/image_16012025_23_04_02_203189_0002.jpg
/home/pi/Desktop/images/16012025/23/04/image_16012025_23_04_02_203189_0003.jpg
/home/pi/Desktop/images/16012025/23/05/image_16012025_23_05_02_414718_0000.jpg
/home/pi/Desktop/images/16012025/23/05/image_16012025_23_05_02_414718_0001.jpg
/home/pi/Desktop/images/16012025/23/05/image_16012025_23_05_02_414718_0002.jpg
/home/pi/Desktop/images/16012025/23/05/image_16012025_23_05_02_414718_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":["1329817882","1329817887","1329817872","1329817877","1329817892","1329817868"],"photo_ids_order":["1329817868","1329817872","1329817877","1329817882","1329817887","1329817892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/31708790961f1a30ae54c49bd61c109a.jpg","text":"TemporaryFile(/tmp/multipartBody1774969426661634365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221661309,"filename":"image_16012025_23_05_02_414718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86df6caa8a18b36ecafbaf7862373dd4.jpg","text":"TemporaryFile(/tmp/multipartBody8397347067420592454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221661309,"filename":"image_16012025_23_05_02_414718_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa50d636f805289752573731d063d1c9.jpg","text":"TemporaryFile(/tmp/multipartBody2844892260483108458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221661309,"filename":"image_16012025_23_04_02_203189_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/502b032e4b798aea34bf17b6cde573a9.jpg","text":"TemporaryFile(/tmp/multipartBody3597320008759374286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221661309,"filename":"image_16012025_23_05_02_414718_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f3160dd6e053413bdefb2c998532aefe.jpg","text":"TemporaryFile(/tmp/multipartBody7573055746410275788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221661309,"filename":"image_16012025_23_05_02_414718_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f2eea00f715a97665f41d92faee94a0.jpg","text":"TemporaryFile(/tmp/multipartBody7069490726150527551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221661309,"filename":"image_16012025_23_04_02_203189_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329817877","file1":"1329817872","file0":"1329817868","file4":"1329817887","file5":"1329817892","file3":"1329817882"},"map_files_photo_id_array":[{"photo_id":"1329817892","filename":"file5"},{"photo_id":"1329817877","filename":"file2"},{"photo_id":"1329817887","filename":"file4"},{"photo_id":"1329817872","filename":"file1"},{"photo_id":"1329817868","filename":"file0"},{"photo_id":"1329817882","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329817882":["hashtag1","hashtag2"]},{"1329817887":["hashtag1","hashtag2"]},{"1329817872":["hashtag1","hashtag2"]},{"1329817877":["hashtag1","hashtag2"]},{"1329817892":["hashtag1","hashtag2"]},{"1329817868":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329817882, 1329817887, 1329817872, 1329817877, 1329817892, 1329817868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.585145473480225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 18:34:02.303569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/32/image_18012025_18_32_02_692211_0003.jpg', '/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0000.jpg', '/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0001.jpg', '/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/32/image_18012025_18_32_02_692211_0003.jpg
/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0000.jpg
/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0001.jpg
/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.053895711898804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:34:21.792666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/32/image_18012025_18_32_02_692211_0003.jpg', '/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0000.jpg', '/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0001.jpg', '/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0002.jpg', '/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0003.jpg', '/home/pi/Desktop/images/18012025/18/34/image_18012025_18_34_02_984827_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/32/image_18012025_18_32_02_692211_0003.jpg
/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0000.jpg
/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0001.jpg
/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0002.jpg
/home/pi/Desktop/images/18012025/18/33/image_18012025_18_33_02_978283_0003.jpg
/home/pi/Desktop/images/18012025/18/34/image_18012025_18_34_02_984827_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329817936","1329817939","1329817927","1329817909","1329817944","1329817946"],"photo_ids_order":["1329817909","1329817927","1329817936","1329817939","1329817944","1329817946"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/643a0ee0aa3c262c3f27109d58aeef4e.jpg","text":"TemporaryFile(/tmp/multipartBody4005101416647255073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221738308,"filename":"image_18012025_18_33_02_978283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9639126282368d03e993b13b26516ef.jpg","text":"TemporaryFile(/tmp/multipartBody8459056206607524308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221738308,"filename":"image_18012025_18_33_02_978283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/06f575e98563d4ccac572126ae61581f.jpg","text":"TemporaryFile(/tmp/multipartBody182981655430414963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221738308,"filename":"image_18012025_18_33_02_978283_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5593965522c314f6c06a06b34146f98f.jpg","text":"TemporaryFile(/tmp/multipartBody4362776639856655115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221738308,"filename":"image_18012025_18_32_02_692211_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dad80c131f0ec19e714307aa46229745.jpg","text":"TemporaryFile(/tmp/multipartBody8760355347231341674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221738308,"filename":"image_18012025_18_33_02_978283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/538c1b626db4a709bb7812dcd884f47e.jpg","text":"TemporaryFile(/tmp/multipartBody5612666317690002060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221738308,"filename":"image_18012025_18_34_02_984827_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329817936","file1":"1329817927","file0":"1329817909","file4":"1329817944","file5":"1329817946","file3":"1329817939"},"map_files_photo_id_array":[{"photo_id":"1329817946","filename":"file5"},{"photo_id":"1329817936","filename":"file2"},{"photo_id":"1329817944","filename":"file4"},{"photo_id":"1329817927","filename":"file1"},{"photo_id":"1329817909","filename":"file0"},{"photo_id":"1329817939","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329817936":["hashtag1","hashtag2"]},{"1329817939":["hashtag1","hashtag2"]},{"1329817927":["hashtag1","hashtag2"]},{"1329817909":["hashtag1","hashtag2"]},{"1329817944":["hashtag1","hashtag2"]},{"1329817946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329817936, 1329817939, 1329817927, 1329817909, 1329817944, 1329817946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.02114248275757 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:35:22.050243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/34/image_18012025_18_34_02_984827_0001.jpg', '/home/pi/Desktop/images/18012025/18/34/image_18012025_18_34_02_984827_0002.jpg', '/home/pi/Desktop/images/18012025/18/34/image_18012025_18_34_02_984827_0003.jpg', '/home/pi/Desktop/images/18012025/18/35/image_18012025_18_35_02_186112_0000.jpg', '/home/pi/Desktop/images/18012025/18/35/image_18012025_18_35_02_186112_0001.jpg', '/home/pi/Desktop/images/18012025/18/35/image_18012025_18_35_02_186112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/34/image_18012025_18_34_02_984827_0001.jpg
/home/pi/Desktop/images/18012025/18/34/image_18012025_18_34_02_984827_0002.jpg
/home/pi/Desktop/images/18012025/18/34/image_18012025_18_34_02_984827_0003.jpg
/home/pi/Desktop/images/18012025/18/35/image_18012025_18_35_02_186112_0000.jpg
/home/pi/Desktop/images/18012025/18/35/image_18012025_18_35_02_186112_0001.jpg
/home/pi/Desktop/images/18012025/18/35/image_18012025_18_35_02_186112_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329817972","1329817981","1329817975","1329817978","1329817963","1329817968"],"photo_ids_order":["1329817963","1329817968","1329817972","1329817975","1329817978","1329817981"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7700129efe7e4b7f2e1e260d484cdb93.jpg","text":"TemporaryFile(/tmp/multipartBody1078748289540733812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221798721,"filename":"image_18012025_18_34_02_984827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03cca7836178ad2b83e6aa45b320c990.jpg","text":"TemporaryFile(/tmp/multipartBody6046412376204808493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221798721,"filename":"image_18012025_18_35_02_186112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9db750574b3b20068b293e339e4348a3.jpg","text":"TemporaryFile(/tmp/multipartBody3137705049243867856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221798721,"filename":"image_18012025_18_35_02_186112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4c4b24f86b421cf0795b93d0c6e81ef.jpg","text":"TemporaryFile(/tmp/multipartBody1397346413965648793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221798721,"filename":"image_18012025_18_35_02_186112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e037b5ae1e30cbca000dbdd2c5dc9dd4.jpg","text":"TemporaryFile(/tmp/multipartBody4328977458329636080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221798721,"filename":"image_18012025_18_34_02_984827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ebca686753a21690fdee7fb0eaaa1e44.jpg","text":"TemporaryFile(/tmp/multipartBody2438679254437149570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221798721,"filename":"image_18012025_18_34_02_984827_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329817972","file1":"1329817968","file0":"1329817963","file4":"1329817978","file5":"1329817981","file3":"1329817975"},"map_files_photo_id_array":[{"photo_id":"1329817981","filename":"file5"},{"photo_id":"1329817972","filename":"file2"},{"photo_id":"1329817978","filename":"file4"},{"photo_id":"1329817968","filename":"file1"},{"photo_id":"1329817963","filename":"file0"},{"photo_id":"1329817975","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329817972":["hashtag1","hashtag2"]},{"1329817981":["hashtag1","hashtag2"]},{"1329817975":["hashtag1","hashtag2"]},{"1329817978":["hashtag1","hashtag2"]},{"1329817963":["hashtag1","hashtag2"]},{"1329817968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329817972, 1329817981, 1329817975, 1329817978, 1329817963, 1329817968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.989405155181885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:36:22.285806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/35/image_18012025_18_35_02_186112_0003.jpg', '/home/pi/Desktop/images/18012025/18/36/image_18012025_18_36_02_390720_0000.jpg', '/home/pi/Desktop/images/18012025/18/36/image_18012025_18_36_02_390720_0001.jpg', '/home/pi/Desktop/images/18012025/18/36/image_18012025_18_36_02_390720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/35/image_18012025_18_35_02_186112_0003.jpg
/home/pi/Desktop/images/18012025/18/36/image_18012025_18_36_02_390720_0000.jpg
/home/pi/Desktop/images/18012025/18/36/image_18012025_18_36_02_390720_0001.jpg
/home/pi/Desktop/images/18012025/18/36/image_18012025_18_36_02_390720_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329817990","1329817998","1329817986","1329817994"],"photo_ids_order":["1329817986","1329817990","1329817994","1329817998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01640423bab56d73a84a4975989d7f0c.jpg","text":"TemporaryFile(/tmp/multipartBody6501798422695106538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221853738,"filename":"image_18012025_18_36_02_390720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/85d2cc0b480433d1c704a2fa5c1daae0.jpg","text":"TemporaryFile(/tmp/multipartBody2370472883180717095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221853738,"filename":"image_18012025_18_36_02_390720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/30c6bebd953433208aaf9097d2851ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7435265200769918432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221853738,"filename":"image_18012025_18_35_02_186112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/308784bc42c057f8800857b07902d612.jpg","text":"TemporaryFile(/tmp/multipartBody4196009796785713587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221853738,"filename":"image_18012025_18_36_02_390720_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329817994","file1":"1329817990","file0":"1329817986","file3":"1329817998"},"map_files_photo_id_array":[{"photo_id":"1329817994","filename":"file2"},{"photo_id":"1329817990","filename":"file1"},{"photo_id":"1329817986","filename":"file0"},{"photo_id":"1329817998","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329817990":["hashtag1","hashtag2"]},{"1329817998":["hashtag1","hashtag2"]},{"1329817986":["hashtag1","hashtag2"]},{"1329817994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329817990, 1329817998, 1329817986, 1329817994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.824989318847656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:37:22.412915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/36/image_18012025_18_36_02_390720_0003.jpg', '/home/pi/Desktop/images/18012025/18/37/image_18012025_18_37_02_614072_0000.jpg', '/home/pi/Desktop/images/18012025/18/37/image_18012025_18_37_02_614072_0001.jpg', '/home/pi/Desktop/images/18012025/18/37/image_18012025_18_37_02_614072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/36/image_18012025_18_36_02_390720_0003.jpg
/home/pi/Desktop/images/18012025/18/37/image_18012025_18_37_02_614072_0000.jpg
/home/pi/Desktop/images/18012025/18/37/image_18012025_18_37_02_614072_0001.jpg
/home/pi/Desktop/images/18012025/18/37/image_18012025_18_37_02_614072_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329818017","1329818020","1329818024","1329818012"],"photo_ids_order":["1329818012","1329818017","1329818020","1329818024"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a40c5f74a0bc1168b41ef7c63e08c5e.jpg","text":"TemporaryFile(/tmp/multipartBody7949521234104563570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221913714,"filename":"image_18012025_18_37_02_614072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b5d652694fc36fee7e8c4875211d2344.jpg","text":"TemporaryFile(/tmp/multipartBody6049586001584215695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221913714,"filename":"image_18012025_18_37_02_614072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1fdbc87159164deeff3c28eb4c57b377.jpg","text":"TemporaryFile(/tmp/multipartBody6077610062874905227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221913714,"filename":"image_18012025_18_37_02_614072_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a23d21f7b92f1ac40a01f757063460f5.jpg","text":"TemporaryFile(/tmp/multipartBody4508690504168491088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221913714,"filename":"image_18012025_18_36_02_390720_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329818020","file1":"1329818017","file0":"1329818012","file3":"1329818024"},"map_files_photo_id_array":[{"photo_id":"1329818020","filename":"file2"},{"photo_id":"1329818017","filename":"file1"},{"photo_id":"1329818012","filename":"file0"},{"photo_id":"1329818024","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329818017":["hashtag1","hashtag2"]},{"1329818020":["hashtag1","hashtag2"]},{"1329818024":["hashtag1","hashtag2"]},{"1329818012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329818017, 1329818020, 1329818024, 1329818012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.13101935386658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:38:22.655941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/37/image_18012025_18_37_02_614072_0003.jpg', '/home/pi/Desktop/images/18012025/18/38/image_18012025_18_38_02_750819_0000.jpg', '/home/pi/Desktop/images/18012025/18/38/image_18012025_18_38_02_750819_0001.jpg', '/home/pi/Desktop/images/18012025/18/38/image_18012025_18_38_02_750819_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/37/image_18012025_18_37_02_614072_0003.jpg
/home/pi/Desktop/images/18012025/18/38/image_18012025_18_38_02_750819_0000.jpg
/home/pi/Desktop/images/18012025/18/38/image_18012025_18_38_02_750819_0001.jpg
/home/pi/Desktop/images/18012025/18/38/image_18012025_18_38_02_750819_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329818056","1329818059","1329818052","1329818048"],"photo_ids_order":["1329818048","1329818052","1329818056","1329818059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3b62f8f2ced061d5aa57e1b09f20858.jpg","text":"TemporaryFile(/tmp/multipartBody2828594411132298682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221973701,"filename":"image_18012025_18_38_02_750819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e4cbfd691b71e94316f1557bc46120dc.jpg","text":"TemporaryFile(/tmp/multipartBody6120613535962557191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221973701,"filename":"image_18012025_18_38_02_750819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0a348f60a9f6bbe15195f8ad86e0151.jpg","text":"TemporaryFile(/tmp/multipartBody8391947279260830331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221973701,"filename":"image_18012025_18_38_02_750819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/82f16938e91ebc0fcf5614cc8057585f.jpg","text":"TemporaryFile(/tmp/multipartBody420568695094876336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737221973701,"filename":"image_18012025_18_37_02_614072_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329818056","file1":"1329818052","file0":"1329818048","file3":"1329818059"},"map_files_photo_id_array":[{"photo_id":"1329818056","filename":"file2"},{"photo_id":"1329818052","filename":"file1"},{"photo_id":"1329818048","filename":"file0"},{"photo_id":"1329818059","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329818056":["hashtag1","hashtag2"]},{"1329818059":["hashtag1","hashtag2"]},{"1329818052":["hashtag1","hashtag2"]},{"1329818048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329818056, 1329818059, 1329818052, 1329818048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91752910614014 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:39:21.794896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/38/image_18012025_18_38_02_750819_0003.jpg', '/home/pi/Desktop/images/18012025/18/39/image_18012025_18_39_02_942357_0000.jpg', '/home/pi/Desktop/images/18012025/18/39/image_18012025_18_39_02_942357_0001.jpg', '/home/pi/Desktop/images/18012025/18/39/image_18012025_18_39_02_942357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/38/image_18012025_18_38_02_750819_0003.jpg
/home/pi/Desktop/images/18012025/18/39/image_18012025_18_39_02_942357_0000.jpg
/home/pi/Desktop/images/18012025/18/39/image_18012025_18_39_02_942357_0001.jpg
/home/pi/Desktop/images/18012025/18/39/image_18012025_18_39_02_942357_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329818110","1329818118","1329818105","1329818114"],"photo_ids_order":["1329818105","1329818110","1329818114","1329818118"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cb6e43dc7ab9f54a5cb1af70e03af27a.jpg","text":"TemporaryFile(/tmp/multipartBody1682028918275610181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222033161,"filename":"image_18012025_18_39_02_942357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec19595886965dfb6d8fe43398ea9749.jpg","text":"TemporaryFile(/tmp/multipartBody3083284167785210390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222033161,"filename":"image_18012025_18_39_02_942357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/71d92e02f36de9f3687d8b5dbfd2fbef.jpg","text":"TemporaryFile(/tmp/multipartBody5598931654919201142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222033161,"filename":"image_18012025_18_38_02_750819_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3d4a3790740270d53c9c34a726761fe5.jpg","text":"TemporaryFile(/tmp/multipartBody7181240072826748282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222033161,"filename":"image_18012025_18_39_02_942357_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329818114","file1":"1329818110","file0":"1329818105","file3":"1329818118"},"map_files_photo_id_array":[{"photo_id":"1329818114","filename":"file2"},{"photo_id":"1329818110","filename":"file1"},{"photo_id":"1329818105","filename":"file0"},{"photo_id":"1329818118","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329818110":["hashtag1","hashtag2"]},{"1329818118":["hashtag1","hashtag2"]},{"1329818105":["hashtag1","hashtag2"]},{"1329818114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329818110, 1329818118, 1329818105, 1329818114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.27764940261841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 18:40:02.235922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/06/image_16012025_23_06_02_597658_0000.jpg', '/home/pi/Desktop/images/16012025/23/06/image_16012025_23_06_02_597658_0001.jpg', '/home/pi/Desktop/images/16012025/23/06/image_16012025_23_06_02_597658_0002.jpg', '/home/pi/Desktop/images/16012025/23/06/image_16012025_23_06_02_597658_0003.jpg', '/home/pi/Desktop/images/16012025/23/07/image_16012025_23_07_02_748863_0000.jpg', '/home/pi/Desktop/images/16012025/23/07/image_16012025_23_07_02_748863_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/06/image_16012025_23_06_02_597658_0000.jpg
/home/pi/Desktop/images/16012025/23/06/image_16012025_23_06_02_597658_0001.jpg
/home/pi/Desktop/images/16012025/23/06/image_16012025_23_06_02_597658_0002.jpg
/home/pi/Desktop/images/16012025/23/06/image_16012025_23_06_02_597658_0003.jpg
/home/pi/Desktop/images/16012025/23/07/image_16012025_23_07_02_748863_0000.jpg
/home/pi/Desktop/images/16012025/23/07/image_16012025_23_07_02_748863_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329819489","1329819498","1329819492","1329819486","1329819503","1329819481"],"photo_ids_order":["1329819481","1329819486","1329819489","1329819492","1329819498","1329819503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0746031e9d32908e6bbec1b9859e591.jpg","text":"TemporaryFile(/tmp/multipartBody7293781127342724473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222080189,"filename":"image_16012025_23_06_02_597658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5395081ab8413a77d6164877bc9ea459.jpg","text":"TemporaryFile(/tmp/multipartBody2171092380655308455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222080189,"filename":"image_16012025_23_07_02_748863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/44e6a14f54a6c1ec8aff2a4336def861.jpg","text":"TemporaryFile(/tmp/multipartBody9042145073381762254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222080189,"filename":"image_16012025_23_06_02_597658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd191e7b046c5ae1bcbcb599ad904ebc.jpg","text":"TemporaryFile(/tmp/multipartBody2934206556884179204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222080189,"filename":"image_16012025_23_06_02_597658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e36e4eda5b8138b68ebe76dedc3c07ef.jpg","text":"TemporaryFile(/tmp/multipartBody8515430575002952315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222080189,"filename":"image_16012025_23_07_02_748863_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7cd3d55daeea0389af0a53ec4a689e2.jpg","text":"TemporaryFile(/tmp/multipartBody7731933895750478356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222080189,"filename":"image_16012025_23_06_02_597658_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329819489","file1":"1329819486","file0":"1329819481","file4":"1329819498","file5":"1329819503","file3":"1329819492"},"map_files_photo_id_array":[{"photo_id":"1329819503","filename":"file5"},{"photo_id":"1329819489","filename":"file2"},{"photo_id":"1329819498","filename":"file4"},{"photo_id":"1329819486","filename":"file1"},{"photo_id":"1329819481","filename":"file0"},{"photo_id":"1329819492","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329819489":["hashtag1","hashtag2"]},{"1329819498":["hashtag1","hashtag2"]},{"1329819492":["hashtag1","hashtag2"]},{"1329819486":["hashtag1","hashtag2"]},{"1329819503":["hashtag1","hashtag2"]},{"1329819481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329819489, 1329819498, 1329819492, 1329819486, 1329819503, 1329819481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.98832321166992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:41:22.163914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/39/image_18012025_18_39_02_942357_0003.jpg', '/home/pi/Desktop/images/18012025/18/40/image_18012025_18_40_02_175346_0000.jpg', '/home/pi/Desktop/images/18012025/18/40/image_18012025_18_40_02_175346_0001.jpg', '/home/pi/Desktop/images/18012025/18/40/image_18012025_18_40_02_175346_0002.jpg', '/home/pi/Desktop/images/18012025/18/40/image_18012025_18_40_02_175346_0003.jpg', '/home/pi/Desktop/images/18012025/18/41/image_18012025_18_41_02_349447_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/39/image_18012025_18_39_02_942357_0003.jpg
/home/pi/Desktop/images/18012025/18/40/image_18012025_18_40_02_175346_0000.jpg
/home/pi/Desktop/images/18012025/18/40/image_18012025_18_40_02_175346_0001.jpg
/home/pi/Desktop/images/18012025/18/40/image_18012025_18_40_02_175346_0002.jpg
/home/pi/Desktop/images/18012025/18/40/image_18012025_18_40_02_175346_0003.jpg
/home/pi/Desktop/images/18012025/18/41/image_18012025_18_41_02_349447_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329819559","1329819560","1329819554","1329819557","1329819551","1329819548"],"photo_ids_order":["1329819548","1329819551","1329819554","1329819557","1329819559","1329819560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f33b31f158eacdae6067864034113e45.jpg","text":"TemporaryFile(/tmp/multipartBody2910363173737455521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222159110,"filename":"image_18012025_18_40_02_175346_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4cec2abbf741c4e3c0dff3e58fb8049.jpg","text":"TemporaryFile(/tmp/multipartBody4981259989751035067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222159110,"filename":"image_18012025_18_41_02_349447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b251d6c15cb06bdf551a451d71b94075.jpg","text":"TemporaryFile(/tmp/multipartBody4747620437995203573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222159110,"filename":"image_18012025_18_40_02_175346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9df363453103964cf8cb9154e4b9ab90.jpg","text":"TemporaryFile(/tmp/multipartBody756214813897780571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222159110,"filename":"image_18012025_18_40_02_175346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9bcc8248e031e232cfcf61f66b331a30.jpg","text":"TemporaryFile(/tmp/multipartBody4122397194345992873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222159110,"filename":"image_18012025_18_40_02_175346_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af927d2f4c2daef50141a64cc221c03b.jpg","text":"TemporaryFile(/tmp/multipartBody4514565150612577573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222159110,"filename":"image_18012025_18_39_02_942357_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329819554","file1":"1329819551","file0":"1329819548","file4":"1329819559","file5":"1329819560","file3":"1329819557"},"map_files_photo_id_array":[{"photo_id":"1329819560","filename":"file5"},{"photo_id":"1329819554","filename":"file2"},{"photo_id":"1329819559","filename":"file4"},{"photo_id":"1329819551","filename":"file1"},{"photo_id":"1329819548","filename":"file0"},{"photo_id":"1329819557","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329819559":["hashtag1","hashtag2"]},{"1329819560":["hashtag1","hashtag2"]},{"1329819554":["hashtag1","hashtag2"]},{"1329819557":["hashtag1","hashtag2"]},{"1329819551":["hashtag1","hashtag2"]},{"1329819548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329819559, 1329819560, 1329819554, 1329819557, 1329819551, 1329819548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.75339722633362 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:42:22.349641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/41/image_18012025_18_41_02_349447_0001.jpg', '/home/pi/Desktop/images/18012025/18/41/image_18012025_18_41_02_349447_0002.jpg', '/home/pi/Desktop/images/18012025/18/41/image_18012025_18_41_02_349447_0003.jpg', '/home/pi/Desktop/images/18012025/18/42/image_18012025_18_42_02_507507_0000.jpg', '/home/pi/Desktop/images/18012025/18/42/image_18012025_18_42_02_507507_0001.jpg', '/home/pi/Desktop/images/18012025/18/42/image_18012025_18_42_02_507507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/41/image_18012025_18_41_02_349447_0001.jpg
/home/pi/Desktop/images/18012025/18/41/image_18012025_18_41_02_349447_0002.jpg
/home/pi/Desktop/images/18012025/18/41/image_18012025_18_41_02_349447_0003.jpg
/home/pi/Desktop/images/18012025/18/42/image_18012025_18_42_02_507507_0000.jpg
/home/pi/Desktop/images/18012025/18/42/image_18012025_18_42_02_507507_0001.jpg
/home/pi/Desktop/images/18012025/18/42/image_18012025_18_42_02_507507_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329820180","1329820174","1329820177","1329820182","1329820188","1329820328"],"photo_ids_order":["1329820174","1329820177","1329820180","1329820182","1329820188","1329820328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d3bfe510427e5b4b12adf834ff31c51.jpg","text":"TemporaryFile(/tmp/multipartBody3742140699179416573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222218928,"filename":"image_18012025_18_41_02_349447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08c600f8dc897e1b69e415670244b25b.jpg","text":"TemporaryFile(/tmp/multipartBody5744211158374651182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222218928,"filename":"image_18012025_18_41_02_349447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b1f363864b6c2a2a2b00169b21cfbcd.jpg","text":"TemporaryFile(/tmp/multipartBody5295497386277663046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222218928,"filename":"image_18012025_18_41_02_349447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f3dc893760ee35885585ac972288098.jpg","text":"TemporaryFile(/tmp/multipartBody7050378883445600717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222218928,"filename":"image_18012025_18_42_02_507507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e51ccb1c63a3079f2bb325b3232f7164.jpg","text":"TemporaryFile(/tmp/multipartBody6499164137640761555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222218928,"filename":"image_18012025_18_42_02_507507_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/00c3bf82a1c2ca59d1f878e120fdd55e.jpg","text":"TemporaryFile(/tmp/multipartBody8065999672749635228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222218928,"filename":"image_18012025_18_42_02_507507_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329820180","file1":"1329820177","file0":"1329820174","file4":"1329820188","file5":"1329820328","file3":"1329820182"},"map_files_photo_id_array":[{"photo_id":"1329820328","filename":"file5"},{"photo_id":"1329820180","filename":"file2"},{"photo_id":"1329820188","filename":"file4"},{"photo_id":"1329820177","filename":"file1"},{"photo_id":"1329820174","filename":"file0"},{"photo_id":"1329820182","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329820180":["hashtag1","hashtag2"]},{"1329820174":["hashtag1","hashtag2"]},{"1329820177":["hashtag1","hashtag2"]},{"1329820182":["hashtag1","hashtag2"]},{"1329820188":["hashtag1","hashtag2"]},{"1329820328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329820180, 1329820174, 1329820177, 1329820182, 1329820188, 1329820328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.20074415206909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:43:22.497151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/42/image_18012025_18_42_02_507507_0003.jpg', '/home/pi/Desktop/images/18012025/18/43/image_18012025_18_43_02_653858_0000.jpg', '/home/pi/Desktop/images/18012025/18/43/image_18012025_18_43_02_653858_0001.jpg', '/home/pi/Desktop/images/18012025/18/43/image_18012025_18_43_02_653858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/42/image_18012025_18_42_02_507507_0003.jpg
/home/pi/Desktop/images/18012025/18/43/image_18012025_18_43_02_653858_0000.jpg
/home/pi/Desktop/images/18012025/18/43/image_18012025_18_43_02_653858_0001.jpg
/home/pi/Desktop/images/18012025/18/43/image_18012025_18_43_02_653858_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329820333","1329820344","1329820341","1329820337"],"photo_ids_order":["1329820333","1329820337","1329820341","1329820344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aba5ff1938da49d02f5073679ce919ae.jpg","text":"TemporaryFile(/tmp/multipartBody6401978296695350555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222273938,"filename":"image_18012025_18_42_02_507507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53f838e402aab44db6250abd4951b551.jpg","text":"TemporaryFile(/tmp/multipartBody8951728970325771577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222273938,"filename":"image_18012025_18_43_02_653858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a4bfb6c035352d63053ca37c98cb5fb.jpg","text":"TemporaryFile(/tmp/multipartBody2777942629029033365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222273938,"filename":"image_18012025_18_43_02_653858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2eed2427313f1730a95e6e22419f9062.jpg","text":"TemporaryFile(/tmp/multipartBody8469310721999652953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222273938,"filename":"image_18012025_18_43_02_653858_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329820341","file1":"1329820337","file0":"1329820333","file3":"1329820344"},"map_files_photo_id_array":[{"photo_id":"1329820341","filename":"file2"},{"photo_id":"1329820337","filename":"file1"},{"photo_id":"1329820333","filename":"file0"},{"photo_id":"1329820344","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329820333":["hashtag1","hashtag2"]},{"1329820344":["hashtag1","hashtag2"]},{"1329820341":["hashtag1","hashtag2"]},{"1329820337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329820333, 1329820344, 1329820341, 1329820337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.00858497619629 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:44:22.701418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/43/image_18012025_18_43_02_653858_0003.jpg', '/home/pi/Desktop/images/18012025/18/44/image_18012025_18_44_02_875272_0000.jpg', '/home/pi/Desktop/images/18012025/18/44/image_18012025_18_44_02_875272_0001.jpg', '/home/pi/Desktop/images/18012025/18/44/image_18012025_18_44_02_875272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/43/image_18012025_18_43_02_653858_0003.jpg
/home/pi/Desktop/images/18012025/18/44/image_18012025_18_44_02_875272_0000.jpg
/home/pi/Desktop/images/18012025/18/44/image_18012025_18_44_02_875272_0001.jpg
/home/pi/Desktop/images/18012025/18/44/image_18012025_18_44_02_875272_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329820599","1329820593","1329820596","1329820602"],"photo_ids_order":["1329820593","1329820596","1329820599","1329820602"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/976dd9cf60d63f6d699e6d4c3af47a22.jpg","text":"TemporaryFile(/tmp/multipartBody5436823224272042247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222333835,"filename":"image_18012025_18_44_02_875272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/db5389b99a88dcdc8d398049bbcbd979.jpg","text":"TemporaryFile(/tmp/multipartBody2264430324069225809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222333835,"filename":"image_18012025_18_43_02_653858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f7d5e437d9d1519c14d28a2d28209dd.jpg","text":"TemporaryFile(/tmp/multipartBody4970685581242746158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222333835,"filename":"image_18012025_18_44_02_875272_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e8f525d69befcc0a39cd82abfb2eccc.jpg","text":"TemporaryFile(/tmp/multipartBody1308471110743752832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222333835,"filename":"image_18012025_18_44_02_875272_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329820599","file1":"1329820596","file0":"1329820593","file3":"1329820602"},"map_files_photo_id_array":[{"photo_id":"1329820599","filename":"file2"},{"photo_id":"1329820596","filename":"file1"},{"photo_id":"1329820593","filename":"file0"},{"photo_id":"1329820602","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329820599":["hashtag1","hashtag2"]},{"1329820593":["hashtag1","hashtag2"]},{"1329820596":["hashtag1","hashtag2"]},{"1329820602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329820599, 1329820593, 1329820596, 1329820602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.19415855407715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:45:21.893996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/44/image_18012025_18_44_02_875272_0003.jpg', '/home/pi/Desktop/images/18012025/18/45/image_18012025_18_45_03_009917_0000.jpg', '/home/pi/Desktop/images/18012025/18/45/image_18012025_18_45_03_009917_0001.jpg', '/home/pi/Desktop/images/18012025/18/45/image_18012025_18_45_03_009917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/44/image_18012025_18_44_02_875272_0003.jpg
/home/pi/Desktop/images/18012025/18/45/image_18012025_18_45_03_009917_0000.jpg
/home/pi/Desktop/images/18012025/18/45/image_18012025_18_45_03_009917_0001.jpg
/home/pi/Desktop/images/18012025/18/45/image_18012025_18_45_03_009917_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329820639","1329820630","1329820626","1329820635"],"photo_ids_order":["1329820626","1329820630","1329820635","1329820639"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0c74ebb24f1b2cee5ade3a689fc1f6a.jpg","text":"TemporaryFile(/tmp/multipartBody4149134698842043409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222393290,"filename":"image_18012025_18_45_03_009917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7495229badc6fc7e47c950643536f615.jpg","text":"TemporaryFile(/tmp/multipartBody3171439350067020206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222393290,"filename":"image_18012025_18_45_03_009917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ee6fde3961abbef288f213340a05fc7.jpg","text":"TemporaryFile(/tmp/multipartBody4279303434867795501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222393290,"filename":"image_18012025_18_44_02_875272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/31fd1c96316c28db98ddbfdb2e66c412.jpg","text":"TemporaryFile(/tmp/multipartBody8736419886157951867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222393290,"filename":"image_18012025_18_45_03_009917_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329820635","file1":"1329820630","file0":"1329820626","file3":"1329820639"},"map_files_photo_id_array":[{"photo_id":"1329820635","filename":"file2"},{"photo_id":"1329820630","filename":"file1"},{"photo_id":"1329820626","filename":"file0"},{"photo_id":"1329820639","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329820639":["hashtag1","hashtag2"]},{"1329820630":["hashtag1","hashtag2"]},{"1329820626":["hashtag1","hashtag2"]},{"1329820635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329820639, 1329820630, 1329820626, 1329820635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.21903085708618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:46:22.018531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/45/image_18012025_18_45_03_009917_0003.jpg', '/home/pi/Desktop/images/18012025/18/46/image_18012025_18_46_02_234828_0000.jpg', '/home/pi/Desktop/images/18012025/18/46/image_18012025_18_46_02_234828_0001.jpg', '/home/pi/Desktop/images/18012025/18/46/image_18012025_18_46_02_234828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/45/image_18012025_18_45_03_009917_0003.jpg
/home/pi/Desktop/images/18012025/18/46/image_18012025_18_46_02_234828_0000.jpg
/home/pi/Desktop/images/18012025/18/46/image_18012025_18_46_02_234828_0001.jpg
/home/pi/Desktop/images/18012025/18/46/image_18012025_18_46_02_234828_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329820849","1329820702","1329820709","1329820706"],"photo_ids_order":["1329820702","1329820706","1329820709","1329820849"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/25f55ff5b6f34f3bd021311a9e08f103.jpg","text":"TemporaryFile(/tmp/multipartBody7054657252286746967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222453448,"filename":"image_18012025_18_46_02_234828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ef8f8c280b05e2602426975a52133a17.jpg","text":"TemporaryFile(/tmp/multipartBody8521353079565189199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222453448,"filename":"image_18012025_18_45_03_009917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/931a3d20df8077ef8f42f670b78a6057.jpg","text":"TemporaryFile(/tmp/multipartBody2441707307938842596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222453448,"filename":"image_18012025_18_46_02_234828_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6b3e7f39c8d1af8372fbeaa3f4ccb7b.jpg","text":"TemporaryFile(/tmp/multipartBody6578424770311604391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222453448,"filename":"image_18012025_18_46_02_234828_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329820709","file1":"1329820706","file0":"1329820702","file3":"1329820849"},"map_files_photo_id_array":[{"photo_id":"1329820709","filename":"file2"},{"photo_id":"1329820706","filename":"file1"},{"photo_id":"1329820702","filename":"file0"},{"photo_id":"1329820849","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329820849":["hashtag1","hashtag2"]},{"1329820702":["hashtag1","hashtag2"]},{"1329820709":["hashtag1","hashtag2"]},{"1329820706":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329820849, 1329820702, 1329820709, 1329820706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.03564476966858 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:47:22.251660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/46/image_18012025_18_46_02_234828_0003.jpg', '/home/pi/Desktop/images/18012025/18/47/image_18012025_18_47_02_413587_0000.jpg', '/home/pi/Desktop/images/18012025/18/47/image_18012025_18_47_02_413587_0001.jpg', '/home/pi/Desktop/images/18012025/18/47/image_18012025_18_47_02_413587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/46/image_18012025_18_46_02_234828_0003.jpg
/home/pi/Desktop/images/18012025/18/47/image_18012025_18_47_02_413587_0000.jpg
/home/pi/Desktop/images/18012025/18/47/image_18012025_18_47_02_413587_0001.jpg
/home/pi/Desktop/images/18012025/18/47/image_18012025_18_47_02_413587_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329820861","1329820864","1329820858","1329820867"],"photo_ids_order":["1329820858","1329820861","1329820864","1329820867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eb3ff9f2531eaca53254cc3a219c158d.jpg","text":"TemporaryFile(/tmp/multipartBody6830255397397507035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222513297,"filename":"image_18012025_18_47_02_413587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4e8a6ae566570bdedf04b3d57ec6c88d.jpg","text":"TemporaryFile(/tmp/multipartBody7595357813155956374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222513297,"filename":"image_18012025_18_47_02_413587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4079a7eaacb3fb8113475da20894d6d1.jpg","text":"TemporaryFile(/tmp/multipartBody5311631669706201709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222513297,"filename":"image_18012025_18_46_02_234828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d99356350a4a44a2d831e56734d81361.jpg","text":"TemporaryFile(/tmp/multipartBody3022462855555410350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222513297,"filename":"image_18012025_18_47_02_413587_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329820864","file1":"1329820861","file0":"1329820858","file3":"1329820867"},"map_files_photo_id_array":[{"photo_id":"1329820864","filename":"file2"},{"photo_id":"1329820861","filename":"file1"},{"photo_id":"1329820858","filename":"file0"},{"photo_id":"1329820867","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329820861":["hashtag1","hashtag2"]},{"1329820864":["hashtag1","hashtag2"]},{"1329820858":["hashtag1","hashtag2"]},{"1329820867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329820861, 1329820864, 1329820858, 1329820867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.774216413497925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:48:22.381183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/47/image_18012025_18_47_02_413587_0003.jpg', '/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0000.jpg', '/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0001.jpg', '/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/47/image_18012025_18_47_02_413587_0003.jpg
/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0000.jpg
/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0001.jpg
/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.381282806396484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 18:48:42.378857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/47/image_18012025_18_47_02_413587_0003.jpg', '/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0000.jpg', '/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0001.jpg', '/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/47/image_18012025_18_47_02_413587_0003.jpg
/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0000.jpg
/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0001.jpg
/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329820918","1329820914","1329820916","1329820919"],"photo_ids_order":["1329820914","1329820916","1329820918","1329820919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2a57caa31b9623fa9406ee876d97577.jpg","text":"TemporaryFile(/tmp/multipartBody5093236880647400660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222593149,"filename":"image_18012025_18_48_02_567732_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ddba4aa2d422f27901db0aaa66f72eac.jpg","text":"TemporaryFile(/tmp/multipartBody5412670111380002522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222593149,"filename":"image_18012025_18_47_02_413587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5fce0f16566a9370eeceec2821a07139.jpg","text":"TemporaryFile(/tmp/multipartBody351718794734330426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222593149,"filename":"image_18012025_18_48_02_567732_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be7703968064974a39d2661a49f65cbd.jpg","text":"TemporaryFile(/tmp/multipartBody6136529225964850038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222593149,"filename":"image_18012025_18_48_02_567732_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329820918","file1":"1329820916","file0":"1329820914","file3":"1329820919"},"map_files_photo_id_array":[{"photo_id":"1329820918","filename":"file2"},{"photo_id":"1329820916","filename":"file1"},{"photo_id":"1329820914","filename":"file0"},{"photo_id":"1329820919","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329820918":["hashtag1","hashtag2"]},{"1329820914":["hashtag1","hashtag2"]},{"1329820916":["hashtag1","hashtag2"]},{"1329820919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329820918, 1329820914, 1329820916, 1329820919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15498447418213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:49:22.521462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0003.jpg', '/home/pi/Desktop/images/18012025/18/49/image_18012025_18_49_02_731863_0000.jpg', '/home/pi/Desktop/images/18012025/18/49/image_18012025_18_49_02_731863_0001.jpg', '/home/pi/Desktop/images/18012025/18/49/image_18012025_18_49_02_731863_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/48/image_18012025_18_48_02_567732_0003.jpg
/home/pi/Desktop/images/18012025/18/49/image_18012025_18_49_02_731863_0000.jpg
/home/pi/Desktop/images/18012025/18/49/image_18012025_18_49_02_731863_0001.jpg
/home/pi/Desktop/images/18012025/18/49/image_18012025_18_49_02_731863_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329820944","1329821042","1329821071","1329820934"],"photo_ids_order":["1329820934","1329820944","1329821042","1329821071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e34e760dbbe5981a29e106028598b5e9.jpg","text":"TemporaryFile(/tmp/multipartBody8370942821278433028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222633790,"filename":"image_18012025_18_49_02_731863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb63024998e7fee14cb329418846c468.jpg","text":"TemporaryFile(/tmp/multipartBody3404867696967075519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222633790,"filename":"image_18012025_18_49_02_731863_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e2f75d17eeb77690bd159cfb5d33445.jpg","text":"TemporaryFile(/tmp/multipartBody6076544428281836688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222633790,"filename":"image_18012025_18_49_02_731863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb76c5efa81aecbd39f84a998d15f2bf.jpg","text":"TemporaryFile(/tmp/multipartBody7577746676496590731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222633790,"filename":"image_18012025_18_48_02_567732_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329821042","file1":"1329820944","file0":"1329820934","file3":"1329821071"},"map_files_photo_id_array":[{"photo_id":"1329821042","filename":"file2"},{"photo_id":"1329820944","filename":"file1"},{"photo_id":"1329820934","filename":"file0"},{"photo_id":"1329821071","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329820944":["hashtag1","hashtag2"]},{"1329821042":["hashtag1","hashtag2"]},{"1329821071":["hashtag1","hashtag2"]},{"1329820934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329820944, 1329821042, 1329821071, 1329820934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.16289567947388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:50:21.753404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/49/image_18012025_18_49_02_731863_0003.jpg', '/home/pi/Desktop/images/18012025/18/50/image_18012025_18_50_02_938842_0000.jpg', '/home/pi/Desktop/images/18012025/18/50/image_18012025_18_50_02_938842_0001.jpg', '/home/pi/Desktop/images/18012025/18/50/image_18012025_18_50_02_938842_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/49/image_18012025_18_49_02_731863_0003.jpg
/home/pi/Desktop/images/18012025/18/50/image_18012025_18_50_02_938842_0000.jpg
/home/pi/Desktop/images/18012025/18/50/image_18012025_18_50_02_938842_0001.jpg
/home/pi/Desktop/images/18012025/18/50/image_18012025_18_50_02_938842_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329821163","1329821166","1329821156","1329821159"],"photo_ids_order":["1329821156","1329821159","1329821163","1329821166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7450db3d5bd3409bf074a80455e97792.jpg","text":"TemporaryFile(/tmp/multipartBody956475022676829249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222693074,"filename":"image_18012025_18_50_02_938842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/079e15125be830800462fcf1cd9e588a.jpg","text":"TemporaryFile(/tmp/multipartBody8665489119740723880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222693074,"filename":"image_18012025_18_50_02_938842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b4f6057d262185646864036be083d96.jpg","text":"TemporaryFile(/tmp/multipartBody7534684489549295023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222693074,"filename":"image_18012025_18_49_02_731863_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dcdf26d1b92c28719cb176da9a026cfc.jpg","text":"TemporaryFile(/tmp/multipartBody2148873920194172801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222693074,"filename":"image_18012025_18_50_02_938842_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329821163","file1":"1329821159","file0":"1329821156","file3":"1329821166"},"map_files_photo_id_array":[{"photo_id":"1329821163","filename":"file2"},{"photo_id":"1329821159","filename":"file1"},{"photo_id":"1329821156","filename":"file0"},{"photo_id":"1329821166","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329821163":["hashtag1","hashtag2"]},{"1329821166":["hashtag1","hashtag2"]},{"1329821156":["hashtag1","hashtag2"]},{"1329821159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329821163, 1329821166, 1329821156, 1329821159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.8488712310791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:51:21.954106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/50/image_18012025_18_50_02_938842_0003.jpg', '/home/pi/Desktop/images/18012025/18/51/image_18012025_18_51_02_098835_0000.jpg', '/home/pi/Desktop/images/18012025/18/51/image_18012025_18_51_02_098835_0001.jpg', '/home/pi/Desktop/images/18012025/18/51/image_18012025_18_51_02_098835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/50/image_18012025_18_50_02_938842_0003.jpg
/home/pi/Desktop/images/18012025/18/51/image_18012025_18_51_02_098835_0000.jpg
/home/pi/Desktop/images/18012025/18/51/image_18012025_18_51_02_098835_0001.jpg
/home/pi/Desktop/images/18012025/18/51/image_18012025_18_51_02_098835_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329821186","1329821180","1329821183","1329821176"],"photo_ids_order":["1329821176","1329821180","1329821183","1329821186"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d5537f954a4658671b90caf0a92061ea.jpg","text":"TemporaryFile(/tmp/multipartBody1076352792311820781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222752969,"filename":"image_18012025_18_51_02_098835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a88a173d543add659c0cea6808cc4bb6.jpg","text":"TemporaryFile(/tmp/multipartBody5389209021960836459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222752969,"filename":"image_18012025_18_51_02_098835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/896535de44d1c67c6b46065daea33b25.jpg","text":"TemporaryFile(/tmp/multipartBody8436551430464073472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222752969,"filename":"image_18012025_18_51_02_098835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1c9cf127ab46d314497d065f93691508.jpg","text":"TemporaryFile(/tmp/multipartBody3884792547591600158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222752969,"filename":"image_18012025_18_50_02_938842_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329821183","file1":"1329821180","file0":"1329821176","file3":"1329821186"},"map_files_photo_id_array":[{"photo_id":"1329821183","filename":"file2"},{"photo_id":"1329821180","filename":"file1"},{"photo_id":"1329821176","filename":"file0"},{"photo_id":"1329821186","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329821186":["hashtag1","hashtag2"]},{"1329821180":["hashtag1","hashtag2"]},{"1329821183":["hashtag1","hashtag2"]},{"1329821176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329821186, 1329821180, 1329821183, 1329821176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.50326085090637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:52:22.158117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/51/image_18012025_18_51_02_098835_0003.jpg', '/home/pi/Desktop/images/18012025/18/52/image_18012025_18_52_02_338287_0000.jpg', '/home/pi/Desktop/images/18012025/18/52/image_18012025_18_52_02_338287_0001.jpg', '/home/pi/Desktop/images/18012025/18/52/image_18012025_18_52_02_338287_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/51/image_18012025_18_51_02_098835_0003.jpg
/home/pi/Desktop/images/18012025/18/52/image_18012025_18_52_02_338287_0000.jpg
/home/pi/Desktop/images/18012025/18/52/image_18012025_18_52_02_338287_0001.jpg
/home/pi/Desktop/images/18012025/18/52/image_18012025_18_52_02_338287_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329821193","1329821211","1329821198","1329821205"],"photo_ids_order":["1329821193","1329821198","1329821205","1329821211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dded8355c3227a65434215d2f8f982a0.jpg","text":"TemporaryFile(/tmp/multipartBody8197062090417599913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222813235,"filename":"image_18012025_18_51_02_098835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c80d9f2f5619829c0af17b982d9ee8fd.jpg","text":"TemporaryFile(/tmp/multipartBody580319658594471779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222813235,"filename":"image_18012025_18_52_02_338287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16057f9913d397f4f16604ba16025c2e.jpg","text":"TemporaryFile(/tmp/multipartBody2041437957331553531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222813235,"filename":"image_18012025_18_52_02_338287_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/12343fca1111723e0f7dd4aba1538bbc.jpg","text":"TemporaryFile(/tmp/multipartBody5448002975247514724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222813235,"filename":"image_18012025_18_52_02_338287_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329821205","file1":"1329821198","file0":"1329821193","file3":"1329821211"},"map_files_photo_id_array":[{"photo_id":"1329821205","filename":"file2"},{"photo_id":"1329821198","filename":"file1"},{"photo_id":"1329821193","filename":"file0"},{"photo_id":"1329821211","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329821193":["hashtag1","hashtag2"]},{"1329821211":["hashtag1","hashtag2"]},{"1329821198":["hashtag1","hashtag2"]},{"1329821205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329821193, 1329821211, 1329821198, 1329821205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.221463441848755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:53:22.399878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/52/image_18012025_18_52_02_338287_0003.jpg', '/home/pi/Desktop/images/18012025/18/53/image_18012025_18_53_02_495685_0000.jpg', '/home/pi/Desktop/images/18012025/18/53/image_18012025_18_53_02_495685_0001.jpg', '/home/pi/Desktop/images/18012025/18/53/image_18012025_18_53_02_495685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/52/image_18012025_18_52_02_338287_0003.jpg
/home/pi/Desktop/images/18012025/18/53/image_18012025_18_53_02_495685_0000.jpg
/home/pi/Desktop/images/18012025/18/53/image_18012025_18_53_02_495685_0001.jpg
/home/pi/Desktop/images/18012025/18/53/image_18012025_18_53_02_495685_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329821259","1329821270","1329821267","1329821264"],"photo_ids_order":["1329821259","1329821264","1329821267","1329821270"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b06432e66d6acd38bd991f0082c3031.jpg","text":"TemporaryFile(/tmp/multipartBody6150962929721897352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222873092,"filename":"image_18012025_18_52_02_338287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/07e67dcb5467dbbcca9f6f602094fb9d.jpg","text":"TemporaryFile(/tmp/multipartBody7796987995211411705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222873092,"filename":"image_18012025_18_53_02_495685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/651cc9d0f5cc463533323222aba4442e.jpg","text":"TemporaryFile(/tmp/multipartBody3785853183807266946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222873092,"filename":"image_18012025_18_53_02_495685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2727b1264e17a5e3915ba499e0434c98.jpg","text":"TemporaryFile(/tmp/multipartBody2910734170249734492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222873092,"filename":"image_18012025_18_53_02_495685_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329821267","file1":"1329821264","file0":"1329821259","file3":"1329821270"},"map_files_photo_id_array":[{"photo_id":"1329821267","filename":"file2"},{"photo_id":"1329821264","filename":"file1"},{"photo_id":"1329821259","filename":"file0"},{"photo_id":"1329821270","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329821259":["hashtag1","hashtag2"]},{"1329821270":["hashtag1","hashtag2"]},{"1329821267":["hashtag1","hashtag2"]},{"1329821264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329821259, 1329821270, 1329821267, 1329821264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.69250512123108 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 18:54:02.788814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/07/image_16012025_23_07_02_748863_0002.jpg', '/home/pi/Desktop/images/16012025/23/07/image_16012025_23_07_02_748863_0003.jpg', '/home/pi/Desktop/images/16012025/23/08/image_16012025_23_08_02_870694_0000.jpg', '/home/pi/Desktop/images/16012025/23/08/image_16012025_23_08_02_870694_0001.jpg', '/home/pi/Desktop/images/16012025/23/08/image_16012025_23_08_02_870694_0002.jpg', '/home/pi/Desktop/images/16012025/23/08/image_16012025_23_08_02_870694_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/07/image_16012025_23_07_02_748863_0002.jpg
/home/pi/Desktop/images/16012025/23/07/image_16012025_23_07_02_748863_0003.jpg
/home/pi/Desktop/images/16012025/23/08/image_16012025_23_08_02_870694_0000.jpg
/home/pi/Desktop/images/16012025/23/08/image_16012025_23_08_02_870694_0001.jpg
/home/pi/Desktop/images/16012025/23/08/image_16012025_23_08_02_870694_0002.jpg
/home/pi/Desktop/images/16012025/23/08/image_16012025_23_08_02_870694_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329821320","1329821277","1329821285","1329821296","1329821299","1329821293"],"photo_ids_order":["1329821277","1329821285","1329821293","1329821296","1329821299","1329821320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b23a279f8754b32d93218d95eca65bf8.jpg","text":"TemporaryFile(/tmp/multipartBody7487604337398772439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222920641,"filename":"image_16012025_23_08_02_870694_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e56ea6acfb6ad99f5da47163393808ee.jpg","text":"TemporaryFile(/tmp/multipartBody7750336970710288557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222920641,"filename":"image_16012025_23_07_02_748863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/35fa7a968449580021839e37f33e5ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1932360305695320389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222920641,"filename":"image_16012025_23_07_02_748863_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f564e8340c0450989d0ebe710f3670e8.jpg","text":"TemporaryFile(/tmp/multipartBody4680416235452343118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222920641,"filename":"image_16012025_23_08_02_870694_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b44ec6c55ab1c7f45f06e31980f897b1.jpg","text":"TemporaryFile(/tmp/multipartBody3295597588952072870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222920641,"filename":"image_16012025_23_08_02_870694_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0dfbaf8f50bb2446849835319ff06081.jpg","text":"TemporaryFile(/tmp/multipartBody7799339560593909617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222920641,"filename":"image_16012025_23_08_02_870694_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329821293","file1":"1329821285","file0":"1329821277","file4":"1329821299","file5":"1329821320","file3":"1329821296"},"map_files_photo_id_array":[{"photo_id":"1329821320","filename":"file5"},{"photo_id":"1329821293","filename":"file2"},{"photo_id":"1329821299","filename":"file4"},{"photo_id":"1329821285","filename":"file1"},{"photo_id":"1329821277","filename":"file0"},{"photo_id":"1329821296","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329821320":["hashtag1","hashtag2"]},{"1329821277":["hashtag1","hashtag2"]},{"1329821285":["hashtag1","hashtag2"]},{"1329821296":["hashtag1","hashtag2"]},{"1329821299":["hashtag1","hashtag2"]},{"1329821293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329821320, 1329821277, 1329821285, 1329821296, 1329821299, 1329821293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.86931014060974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 18:55:22.612656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/53/image_18012025_18_53_02_495685_0003.jpg', '/home/pi/Desktop/images/18012025/18/54/image_18012025_18_54_02_695455_0000.jpg', '/home/pi/Desktop/images/18012025/18/54/image_18012025_18_54_02_695455_0001.jpg', '/home/pi/Desktop/images/18012025/18/54/image_18012025_18_54_02_695455_0002.jpg', '/home/pi/Desktop/images/18012025/18/54/image_18012025_18_54_02_695455_0003.jpg', '/home/pi/Desktop/images/18012025/18/55/image_18012025_18_55_02_754478_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/53/image_18012025_18_53_02_495685_0003.jpg
/home/pi/Desktop/images/18012025/18/54/image_18012025_18_54_02_695455_0000.jpg
/home/pi/Desktop/images/18012025/18/54/image_18012025_18_54_02_695455_0001.jpg
/home/pi/Desktop/images/18012025/18/54/image_18012025_18_54_02_695455_0002.jpg
/home/pi/Desktop/images/18012025/18/54/image_18012025_18_54_02_695455_0003.jpg
/home/pi/Desktop/images/18012025/18/55/image_18012025_18_55_02_754478_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329822123","1329821751","1329821346","1329821340","1329821372","1329821360"],"photo_ids_order":["1329821340","1329821346","1329821360","1329821372","1329821751","1329822123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c1d75d9319a1362a6d52b50db7cc82f.jpg","text":"TemporaryFile(/tmp/multipartBody4619527018354148823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222998604,"filename":"image_18012025_18_55_02_754478_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c098bf235f5e144d4732669cdd416b46.jpg","text":"TemporaryFile(/tmp/multipartBody7972881278876255909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222998604,"filename":"image_18012025_18_54_02_695455_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/300ce192d63fec9ae3e41ef6d8161860.jpg","text":"TemporaryFile(/tmp/multipartBody8389265765548999204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222998604,"filename":"image_18012025_18_54_02_695455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f8ea55ffc0488b55ca4289ace86205fd.jpg","text":"TemporaryFile(/tmp/multipartBody3904902142003254188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222998604,"filename":"image_18012025_18_53_02_495685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d38355af0346b30c61033eb7aec08f75.jpg","text":"TemporaryFile(/tmp/multipartBody4028713575785355327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222998604,"filename":"image_18012025_18_54_02_695455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50dd0aa5b12c541dcc5b0354c915b02a.jpg","text":"TemporaryFile(/tmp/multipartBody4172495353435004285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737222998604,"filename":"image_18012025_18_54_02_695455_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329821360","file1":"1329821346","file0":"1329821340","file4":"1329821751","file5":"1329822123","file3":"1329821372"},"map_files_photo_id_array":[{"photo_id":"1329822123","filename":"file5"},{"photo_id":"1329821360","filename":"file2"},{"photo_id":"1329821751","filename":"file4"},{"photo_id":"1329821346","filename":"file1"},{"photo_id":"1329821340","filename":"file0"},{"photo_id":"1329821372","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329822123":["hashtag1","hashtag2"]},{"1329821751":["hashtag1","hashtag2"]},{"1329821346":["hashtag1","hashtag2"]},{"1329821340":["hashtag1","hashtag2"]},{"1329821372":["hashtag1","hashtag2"]},{"1329821360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329822123, 1329821751, 1329821346, 1329821340, 1329821372, 1329821360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.38712430000305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 18:56:31.782435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/55/image_18012025_18_55_02_754478_0001.jpg', '/home/pi/Desktop/images/18012025/18/55/image_18012025_18_55_02_754478_0002.jpg', '/home/pi/Desktop/images/18012025/18/55/image_18012025_18_55_02_754478_0003.jpg', '/home/pi/Desktop/images/18012025/18/56/image_18012025_18_56_03_047371_0000.jpg', '/home/pi/Desktop/images/18012025/18/56/image_18012025_18_56_03_047371_0001.jpg', '/home/pi/Desktop/images/18012025/18/56/image_18012025_18_56_03_047371_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/55/image_18012025_18_55_02_754478_0001.jpg
/home/pi/Desktop/images/18012025/18/55/image_18012025_18_55_02_754478_0002.jpg
/home/pi/Desktop/images/18012025/18/55/image_18012025_18_55_02_754478_0003.jpg
/home/pi/Desktop/images/18012025/18/56/image_18012025_18_56_03_047371_0000.jpg
/home/pi/Desktop/images/18012025/18/56/image_18012025_18_56_03_047371_0001.jpg
/home/pi/Desktop/images/18012025/18/56/image_18012025_18_56_03_047371_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329823031","1329823034","1329823022","1329823025","1329823019","1329823027"],"photo_ids_order":["1329823019","1329823022","1329823025","1329823027","1329823031","1329823034"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/22f39d7e4bd04c89353e864dca69a16f.jpg","text":"TemporaryFile(/tmp/multipartBody7454936217804067418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223068031,"filename":"image_18012025_18_56_03_047371_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b136cf50b77b3de1021b7c3e0163b94.jpg","text":"TemporaryFile(/tmp/multipartBody3412780060101551767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223068031,"filename":"image_18012025_18_56_03_047371_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e9b1320a8e9d177144bc35d0bd1e2a7d.jpg","text":"TemporaryFile(/tmp/multipartBody7822090020899379802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223068031,"filename":"image_18012025_18_55_02_754478_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c30cab97c76650736cd0629ac09f3c16.jpg","text":"TemporaryFile(/tmp/multipartBody9078862083438816255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223068031,"filename":"image_18012025_18_55_02_754478_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6fd6dc1f29b0ebfeef38bdebe2f5d0b7.jpg","text":"TemporaryFile(/tmp/multipartBody7803344116179003427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223068031,"filename":"image_18012025_18_55_02_754478_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/832bf8e441a59b2e9317766c55fdd408.jpg","text":"TemporaryFile(/tmp/multipartBody2422045120529829409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223068031,"filename":"image_18012025_18_56_03_047371_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329823025","file1":"1329823022","file0":"1329823019","file4":"1329823031","file5":"1329823034","file3":"1329823027"},"map_files_photo_id_array":[{"photo_id":"1329823034","filename":"file5"},{"photo_id":"1329823025","filename":"file2"},{"photo_id":"1329823031","filename":"file4"},{"photo_id":"1329823022","filename":"file1"},{"photo_id":"1329823019","filename":"file0"},{"photo_id":"1329823027","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329823031":["hashtag1","hashtag2"]},{"1329823034":["hashtag1","hashtag2"]},{"1329823022":["hashtag1","hashtag2"]},{"1329823025":["hashtag1","hashtag2"]},{"1329823019":["hashtag1","hashtag2"]},{"1329823027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329823031, 1329823034, 1329823022, 1329823025, 1329823019, 1329823027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.431222677230835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 18:57:32.019358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/56/image_18012025_18_56_03_047371_0003.jpg', '/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0000.jpg', '/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0001.jpg', '/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/56/image_18012025_18_56_03_047371_0003.jpg
/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0000.jpg
/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0001.jpg
/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 18:59:03.059699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/56/image_18012025_18_56_03_047371_0003.jpg', '/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0000.jpg', '/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0001.jpg', '/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0002.jpg', '/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0003.jpg', '/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/56/image_18012025_18_56_03_047371_0003.jpg
/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0000.jpg
/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0001.jpg
/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0002.jpg
/home/pi/Desktop/images/18012025/18/57/image_18012025_18_57_02_192924_0003.jpg
/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329823818","1329823812","1329823809","1329823888","1329823795","1329823816"],"photo_ids_order":["1329823795","1329823809","1329823812","1329823816","1329823818","1329823888"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bcb7f2a92e99c3ad310d84d464077fe2.jpg","text":"TemporaryFile(/tmp/multipartBody951816229860262984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223218857,"filename":"image_18012025_18_57_02_192924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b60effa1863f66bab15a117f89849b4.jpg","text":"TemporaryFile(/tmp/multipartBody5211066048213973221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223218857,"filename":"image_18012025_18_57_02_192924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/83f2bf1b0c9505f1ca351548236ac738.jpg","text":"TemporaryFile(/tmp/multipartBody8854595843550304455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223218857,"filename":"image_18012025_18_57_02_192924_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a52b8b54591b96d1699291c8848bb0af.jpg","text":"TemporaryFile(/tmp/multipartBody5150034902945740531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223218857,"filename":"image_18012025_18_58_02_416191_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e82c09a9e390b6dbb3ab59d00fea05e.jpg","text":"TemporaryFile(/tmp/multipartBody5395427370858706233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223218857,"filename":"image_18012025_18_56_03_047371_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2bac082bdffbbc5552dac15032d394ee.jpg","text":"TemporaryFile(/tmp/multipartBody702811873533287953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223218857,"filename":"image_18012025_18_57_02_192924_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329823812","file1":"1329823809","file0":"1329823795","file4":"1329823818","file5":"1329823888","file3":"1329823816"},"map_files_photo_id_array":[{"photo_id":"1329823888","filename":"file5"},{"photo_id":"1329823812","filename":"file2"},{"photo_id":"1329823818","filename":"file4"},{"photo_id":"1329823809","filename":"file1"},{"photo_id":"1329823795","filename":"file0"},{"photo_id":"1329823816","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329823818":["hashtag1","hashtag2"]},{"1329823812":["hashtag1","hashtag2"]},{"1329823809":["hashtag1","hashtag2"]},{"1329823888":["hashtag1","hashtag2"]},{"1329823795":["hashtag1","hashtag2"]},{"1329823816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329823818, 1329823812, 1329823809, 1329823888, 1329823795, 1329823816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.97365188598633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 19:00:02.863540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0001.jpg', '/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0002.jpg', '/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0003.jpg', '/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0000.jpg', '/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0001.jpg', '/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0001.jpg
/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0002.jpg
/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0003.jpg
/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0000.jpg
/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0001.jpg
/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.718936443328857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:00:22.526843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0001.jpg', '/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0002.jpg', '/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0003.jpg', '/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0000.jpg', '/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0001.jpg', '/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0001.jpg
/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0002.jpg
/home/pi/Desktop/images/18012025/18/58/image_18012025_18_58_02_416191_0003.jpg
/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0000.jpg
/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0001.jpg
/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329824096","1329824098","1329824398","1329824137","1329824088","1329824093"],"photo_ids_order":["1329824088","1329824093","1329824096","1329824098","1329824137","1329824398"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5b6da4070e964604d70ef2ecd5bbb8e.jpg","text":"TemporaryFile(/tmp/multipartBody8632262644269777509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223298608,"filename":"image_18012025_18_58_02_416191_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fc9c7954b1add4bb988afbb551481378.jpg","text":"TemporaryFile(/tmp/multipartBody8219585308515252986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223298608,"filename":"image_18012025_18_59_02_598558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d133b1266e8891d4b0854852eebcbe9f.jpg","text":"TemporaryFile(/tmp/multipartBody1486370332584071698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223298608,"filename":"image_18012025_18_59_02_598558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd33486279d30cb9c90e944eff236373.jpg","text":"TemporaryFile(/tmp/multipartBody817954666689855741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223298608,"filename":"image_18012025_18_59_02_598558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46992a6ee06cfe1e71f2139e8f0e71d4.jpg","text":"TemporaryFile(/tmp/multipartBody478211825815583829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223298608,"filename":"image_18012025_18_58_02_416191_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/345435329ad7044f29a9c229ef2aefb7.jpg","text":"TemporaryFile(/tmp/multipartBody5040250845845711841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223298608,"filename":"image_18012025_18_58_02_416191_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329824096","file1":"1329824093","file0":"1329824088","file4":"1329824137","file5":"1329824398","file3":"1329824098"},"map_files_photo_id_array":[{"photo_id":"1329824398","filename":"file5"},{"photo_id":"1329824096","filename":"file2"},{"photo_id":"1329824137","filename":"file4"},{"photo_id":"1329824093","filename":"file1"},{"photo_id":"1329824088","filename":"file0"},{"photo_id":"1329824098","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329824096":["hashtag1","hashtag2"]},{"1329824098":["hashtag1","hashtag2"]},{"1329824398":["hashtag1","hashtag2"]},{"1329824137":["hashtag1","hashtag2"]},{"1329824088":["hashtag1","hashtag2"]},{"1329824093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329824096, 1329824098, 1329824398, 1329824137, 1329824088, 1329824093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.35661721229553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:01:22.757808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0003.jpg', '/home/pi/Desktop/images/18012025/19/00/image_18012025_19_00_02_696713_0000.jpg', '/home/pi/Desktop/images/18012025/19/00/image_18012025_19_00_02_696713_0001.jpg', '/home/pi/Desktop/images/18012025/19/00/image_18012025_19_00_02_696713_0002.jpg', '/home/pi/Desktop/images/18012025/19/00/image_18012025_19_00_02_696713_0003.jpg', '/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/18/59/image_18012025_18_59_02_598558_0003.jpg
/home/pi/Desktop/images/18012025/19/00/image_18012025_19_00_02_696713_0000.jpg
/home/pi/Desktop/images/18012025/19/00/image_18012025_19_00_02_696713_0001.jpg
/home/pi/Desktop/images/18012025/19/00/image_18012025_19_00_02_696713_0002.jpg
/home/pi/Desktop/images/18012025/19/00/image_18012025_19_00_02_696713_0003.jpg
/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329824432","1329824426","1329824435","1329824429","1329824437","1329824439"],"photo_ids_order":["1329824426","1329824429","1329824432","1329824435","1329824437","1329824439"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/acfa37576fc545228486c4c332f7e9f3.jpg","text":"TemporaryFile(/tmp/multipartBody5922635520225871564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223359297,"filename":"image_18012025_19_00_02_696713_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c676b4122a709bb09ddc5b10429d688d.jpg","text":"TemporaryFile(/tmp/multipartBody3489935535039758575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223359297,"filename":"image_18012025_18_59_02_598558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/66997238003e3db2adf199f81575aec9.jpg","text":"TemporaryFile(/tmp/multipartBody257012953178896534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223359297,"filename":"image_18012025_19_00_02_696713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c002ff1498ea21de33590e1d4d335286.jpg","text":"TemporaryFile(/tmp/multipartBody5262887360867636538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223359297,"filename":"image_18012025_19_00_02_696713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c1601ab1c56bc5220ff76130d87e5937.jpg","text":"TemporaryFile(/tmp/multipartBody7470314002584468133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223359297,"filename":"image_18012025_19_00_02_696713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f0e386f8647eecb5ffd5265b12b04592.jpg","text":"TemporaryFile(/tmp/multipartBody271545540172342783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223359297,"filename":"image_18012025_19_01_02_869550_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329824432","file1":"1329824429","file0":"1329824426","file4":"1329824437","file5":"1329824439","file3":"1329824435"},"map_files_photo_id_array":[{"photo_id":"1329824439","filename":"file5"},{"photo_id":"1329824432","filename":"file2"},{"photo_id":"1329824437","filename":"file4"},{"photo_id":"1329824429","filename":"file1"},{"photo_id":"1329824426","filename":"file0"},{"photo_id":"1329824435","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329824432":["hashtag1","hashtag2"]},{"1329824426":["hashtag1","hashtag2"]},{"1329824435":["hashtag1","hashtag2"]},{"1329824429":["hashtag1","hashtag2"]},{"1329824437":["hashtag1","hashtag2"]},{"1329824439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329824432, 1329824426, 1329824435, 1329824429, 1329824437, 1329824439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.235233545303345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:02:31.906502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0001.jpg', '/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0002.jpg', '/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0003.jpg', '/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0000.jpg', '/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0001.jpg', '/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0001.jpg
/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0002.jpg
/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0003.jpg
/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0000.jpg
/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0001.jpg
/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.609387397766113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:02:51.883307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0001.jpg', '/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0002.jpg', '/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0003.jpg', '/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0000.jpg', '/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0001.jpg', '/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0001.jpg
/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0002.jpg
/home/pi/Desktop/images/18012025/19/01/image_18012025_19_01_02_869550_0003.jpg
/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0000.jpg
/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0001.jpg
/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329824465","1329825064","1329824461","1329824467","1329824697","1329824463"],"photo_ids_order":["1329824461","1329824463","1329824465","1329824467","1329824697","1329825064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0debf4b402a1bc6b9c103d846007ae17.jpg","text":"TemporaryFile(/tmp/multipartBody4451076503454169274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223447921,"filename":"image_18012025_19_01_02_869550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/52a7e3883fd6ea6869ae1e8a33ccbb19.jpg","text":"TemporaryFile(/tmp/multipartBody6613035317510685386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223447921,"filename":"image_18012025_19_02_03_065364_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bfe76dacce59fbfb5c5046365c1d5fcc.jpg","text":"TemporaryFile(/tmp/multipartBody3693819202673376715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223447921,"filename":"image_18012025_19_01_02_869550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/40d979ef9edae1e96b35a5dc8a9e59b7.jpg","text":"TemporaryFile(/tmp/multipartBody444935927401658991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223447921,"filename":"image_18012025_19_02_03_065364_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f4831f583581a2315dbcbf89a5918ea.jpg","text":"TemporaryFile(/tmp/multipartBody6500117509109362350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223447921,"filename":"image_18012025_19_02_03_065364_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad5b32ff288fa7b24a203a643fd47d0b.jpg","text":"TemporaryFile(/tmp/multipartBody381304991087273309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223447921,"filename":"image_18012025_19_01_02_869550_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329824465","file1":"1329824463","file0":"1329824461","file4":"1329824697","file5":"1329825064","file3":"1329824467"},"map_files_photo_id_array":[{"photo_id":"1329825064","filename":"file5"},{"photo_id":"1329824465","filename":"file2"},{"photo_id":"1329824697","filename":"file4"},{"photo_id":"1329824463","filename":"file1"},{"photo_id":"1329824461","filename":"file0"},{"photo_id":"1329824467","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329824465":["hashtag1","hashtag2"]},{"1329825064":["hashtag1","hashtag2"]},{"1329824461":["hashtag1","hashtag2"]},{"1329824467":["hashtag1","hashtag2"]},{"1329824697":["hashtag1","hashtag2"]},{"1329824463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329824465, 1329825064, 1329824461, 1329824467, 1329824697, 1329824463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.51409912109375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:03:52.050293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0003.jpg', '/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0000.jpg', '/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0001.jpg', '/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0003.jpg
/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0000.jpg
/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0001.jpg
/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.70100450515747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:04:22.241794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0003.jpg', '/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0000.jpg', '/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0001.jpg', '/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0002.jpg', '/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0003.jpg', '/home/pi/Desktop/images/18012025/19/04/image_18012025_19_04_02_517884_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/02/image_18012025_19_02_03_065364_0003.jpg
/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0000.jpg
/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0001.jpg
/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0002.jpg
/home/pi/Desktop/images/18012025/19/03/image_18012025_19_03_02_242492_0003.jpg
/home/pi/Desktop/images/18012025/19/04/image_18012025_19_04_02_517884_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329825631","1329825481","1329825469","1329825636","1329825501","1329825464"],"photo_ids_order":["1329825464","1329825469","1329825481","1329825501","1329825631","1329825636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/286957b03261ffc2a69e11968ba31fcd.jpg","text":"TemporaryFile(/tmp/multipartBody3923750681927151428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223538647,"filename":"image_18012025_19_03_02_242492_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bfc478764fde72a2e924b13639fb226d.jpg","text":"TemporaryFile(/tmp/multipartBody7218109506535795249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223538647,"filename":"image_18012025_19_03_02_242492_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f371e33d6de808692e96648151e3c516.jpg","text":"TemporaryFile(/tmp/multipartBody3542333427639253887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223538647,"filename":"image_18012025_19_03_02_242492_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/611adaa8a262cd365af7718f3f4631da.jpg","text":"TemporaryFile(/tmp/multipartBody5332287088707935699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223538647,"filename":"image_18012025_19_04_02_517884_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad62a5d3873817fd84b616259d232d44.jpg","text":"TemporaryFile(/tmp/multipartBody8115730919718832718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223538647,"filename":"image_18012025_19_03_02_242492_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7d742d029de7a0e4085aa9c92ea2d72.jpg","text":"TemporaryFile(/tmp/multipartBody3407603947446318688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223538647,"filename":"image_18012025_19_02_03_065364_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329825481","file1":"1329825469","file0":"1329825464","file4":"1329825631","file5":"1329825636","file3":"1329825501"},"map_files_photo_id_array":[{"photo_id":"1329825636","filename":"file5"},{"photo_id":"1329825481","filename":"file2"},{"photo_id":"1329825631","filename":"file4"},{"photo_id":"1329825469","filename":"file1"},{"photo_id":"1329825464","filename":"file0"},{"photo_id":"1329825501","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329825631":["hashtag1","hashtag2"]},{"1329825481":["hashtag1","hashtag2"]},{"1329825469":["hashtag1","hashtag2"]},{"1329825636":["hashtag1","hashtag2"]},{"1329825501":["hashtag1","hashtag2"]},{"1329825464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329825631, 1329825481, 1329825469, 1329825636, 1329825501, 1329825464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.98971962928772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:05:22.388971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/04/image_18012025_19_04_02_517884_0001.jpg', '/home/pi/Desktop/images/18012025/19/04/image_18012025_19_04_02_517884_0002.jpg', '/home/pi/Desktop/images/18012025/19/04/image_18012025_19_04_02_517884_0003.jpg', '/home/pi/Desktop/images/18012025/19/05/image_18012025_19_05_02_595223_0000.jpg', '/home/pi/Desktop/images/18012025/19/05/image_18012025_19_05_02_595223_0001.jpg', '/home/pi/Desktop/images/18012025/19/05/image_18012025_19_05_02_595223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/04/image_18012025_19_04_02_517884_0001.jpg
/home/pi/Desktop/images/18012025/19/04/image_18012025_19_04_02_517884_0002.jpg
/home/pi/Desktop/images/18012025/19/04/image_18012025_19_04_02_517884_0003.jpg
/home/pi/Desktop/images/18012025/19/05/image_18012025_19_05_02_595223_0000.jpg
/home/pi/Desktop/images/18012025/19/05/image_18012025_19_05_02_595223_0001.jpg
/home/pi/Desktop/images/18012025/19/05/image_18012025_19_05_02_595223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329826081","1329826086","1329826722","1329826140","1329826329","1329826416"],"photo_ids_order":["1329826081","1329826086","1329826140","1329826329","1329826416","1329826722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d3768daee87de938ed5578bf441c40f2.jpg","text":"TemporaryFile(/tmp/multipartBody1457183284087013926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223599114,"filename":"image_18012025_19_04_02_517884_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d1fdeae74b216258224f048dbe4fe22d.jpg","text":"TemporaryFile(/tmp/multipartBody5385297337969256051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223599114,"filename":"image_18012025_19_04_02_517884_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/204ae36058fd7e470c0fafa9d2d96db5.jpg","text":"TemporaryFile(/tmp/multipartBody1237966373840650607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223599114,"filename":"image_18012025_19_05_02_595223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec90fd5c4307b7aa5c9c30182675380e.jpg","text":"TemporaryFile(/tmp/multipartBody5981114704605036328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223599114,"filename":"image_18012025_19_04_02_517884_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b29a70407d4f7be5b850d561a2f610fd.jpg","text":"TemporaryFile(/tmp/multipartBody6142030536254740200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223599114,"filename":"image_18012025_19_05_02_595223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3faf5502d3ecd9f2bf64f99983ac6faa.jpg","text":"TemporaryFile(/tmp/multipartBody8621082530702438943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223599114,"filename":"image_18012025_19_05_02_595223_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329826140","file1":"1329826086","file0":"1329826081","file4":"1329826416","file5":"1329826722","file3":"1329826329"},"map_files_photo_id_array":[{"photo_id":"1329826722","filename":"file5"},{"photo_id":"1329826140","filename":"file2"},{"photo_id":"1329826416","filename":"file4"},{"photo_id":"1329826086","filename":"file1"},{"photo_id":"1329826081","filename":"file0"},{"photo_id":"1329826329","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329826081":["hashtag1","hashtag2"]},{"1329826086":["hashtag1","hashtag2"]},{"1329826722":["hashtag1","hashtag2"]},{"1329826140":["hashtag1","hashtag2"]},{"1329826329":["hashtag1","hashtag2"]},{"1329826416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329826081, 1329826086, 1329826722, 1329826140, 1329826329, 1329826416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.64112424850464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:06:32.619555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/05/image_18012025_19_05_02_595223_0003.jpg', '/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0000.jpg', '/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0001.jpg', '/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/05/image_18012025_19_05_02_595223_0003.jpg
/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0000.jpg
/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0001.jpg
/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.097607135772705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:06:52.613110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/05/image_18012025_19_05_02_595223_0003.jpg', '/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0000.jpg', '/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0001.jpg', '/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/05/image_18012025_19_05_02_595223_0003.jpg
/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0000.jpg
/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0001.jpg
/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329827286","1329827282","1329827078","1329827321"],"photo_ids_order":["1329827078","1329827282","1329827286","1329827321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4fde3bfb610df23191d6bad5258be1e.jpg","text":"TemporaryFile(/tmp/multipartBody2284491070709360596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223684142,"filename":"image_18012025_19_06_02_857747_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0361c20afb488b30a622c326a3d721ba.jpg","text":"TemporaryFile(/tmp/multipartBody6180034594459939556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223684142,"filename":"image_18012025_19_06_02_857747_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8945a7a1f32c7405964bfa996668cf9c.jpg","text":"TemporaryFile(/tmp/multipartBody8789599163793928889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223684142,"filename":"image_18012025_19_05_02_595223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d0f3cf540e8536a1e2c196e771f0c4e.jpg","text":"TemporaryFile(/tmp/multipartBody5960234191729842836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223684142,"filename":"image_18012025_19_06_02_857747_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329827286","file1":"1329827282","file0":"1329827078","file3":"1329827321"},"map_files_photo_id_array":[{"photo_id":"1329827286","filename":"file2"},{"photo_id":"1329827282","filename":"file1"},{"photo_id":"1329827078","filename":"file0"},{"photo_id":"1329827321","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329827286":["hashtag1","hashtag2"]},{"1329827282":["hashtag1","hashtag2"]},{"1329827078":["hashtag1","hashtag2"]},{"1329827321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329827286, 1329827282, 1329827078, 1329827321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.18028736114502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 19:07:41.813917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0003.jpg', '/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0000.jpg', '/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0001.jpg', '/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0003.jpg
/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0000.jpg
/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0001.jpg
/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.959513187408447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 19:08:02.471844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0003.jpg', '/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0000.jpg', '/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0001.jpg', '/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/06/image_18012025_19_06_02_857747_0003.jpg
/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0000.jpg
/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0001.jpg
/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329827385","1329827403","1329827384","1329827386"],"photo_ids_order":["1329827384","1329827385","1329827386","1329827403"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6327d44498ef8002ef9381a97e3316ea.jpg","text":"TemporaryFile(/tmp/multipartBody9171850466491550392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223753848,"filename":"image_18012025_19_07_02_982828_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7edd0ccfdd033d5d2f117bdc85baf29e.jpg","text":"TemporaryFile(/tmp/multipartBody3854650360222506609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223753848,"filename":"image_18012025_19_07_02_982828_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/40650138981c5b99ac47de07ed1c93c0.jpg","text":"TemporaryFile(/tmp/multipartBody4132315385463534388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223753848,"filename":"image_18012025_19_06_02_857747_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a3e5b754cc544f45ecfc4c57942fe80.jpg","text":"TemporaryFile(/tmp/multipartBody8030132215492257093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223753848,"filename":"image_18012025_19_07_02_982828_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329827386","file1":"1329827385","file0":"1329827384","file3":"1329827403"},"map_files_photo_id_array":[{"photo_id":"1329827386","filename":"file2"},{"photo_id":"1329827385","filename":"file1"},{"photo_id":"1329827384","filename":"file0"},{"photo_id":"1329827403","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329827385":["hashtag1","hashtag2"]},{"1329827403":["hashtag1","hashtag2"]},{"1329827384":["hashtag1","hashtag2"]},{"1329827386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329827385, 1329827403, 1329827384, 1329827386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.26362466812134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:08:52.017858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0003.jpg', '/home/pi/Desktop/images/18012025/19/08/image_18012025_19_08_02_157701_0000.jpg', '/home/pi/Desktop/images/18012025/19/08/image_18012025_19_08_02_157701_0001.jpg', '/home/pi/Desktop/images/18012025/19/08/image_18012025_19_08_02_157701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/07/image_18012025_19_07_02_982828_0003.jpg
/home/pi/Desktop/images/18012025/19/08/image_18012025_19_08_02_157701_0000.jpg
/home/pi/Desktop/images/18012025/19/08/image_18012025_19_08_02_157701_0001.jpg
/home/pi/Desktop/images/18012025/19/08/image_18012025_19_08_02_157701_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329827454","1329827450","1329827455","1329827452"],"photo_ids_order":["1329827450","1329827452","1329827454","1329827455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0cffad2d2915f206c087e8ca92ebb2aa.jpg","text":"TemporaryFile(/tmp/multipartBody6486043963741061966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223803361,"filename":"image_18012025_19_08_02_157701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c0da9171cec551e5ad9a762598fb1cd.jpg","text":"TemporaryFile(/tmp/multipartBody4156092875873607977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223803361,"filename":"image_18012025_19_07_02_982828_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d4eb219da4785939686faa7d9a607771.jpg","text":"TemporaryFile(/tmp/multipartBody3602967985914988574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223803361,"filename":"image_18012025_19_08_02_157701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc90d1c0b2d321259775bb17af1e9a16.jpg","text":"TemporaryFile(/tmp/multipartBody1803259510070444457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223803361,"filename":"image_18012025_19_08_02_157701_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329827454","file1":"1329827452","file0":"1329827450","file3":"1329827455"},"map_files_photo_id_array":[{"photo_id":"1329827454","filename":"file2"},{"photo_id":"1329827452","filename":"file1"},{"photo_id":"1329827450","filename":"file0"},{"photo_id":"1329827455","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329827454":["hashtag1","hashtag2"]},{"1329827450":["hashtag1","hashtag2"]},{"1329827455":["hashtag1","hashtag2"]},{"1329827452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329827454, 1329827450, 1329827455, 1329827452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.96729898452759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:09:32.156543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/08/image_18012025_19_08_02_157701_0003.jpg', '/home/pi/Desktop/images/18012025/19/09/image_18012025_19_09_02_368346_0000.jpg', '/home/pi/Desktop/images/18012025/19/09/image_18012025_19_09_02_368346_0001.jpg', '/home/pi/Desktop/images/18012025/19/09/image_18012025_19_09_02_368346_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/08/image_18012025_19_08_02_157701_0003.jpg
/home/pi/Desktop/images/18012025/19/09/image_18012025_19_09_02_368346_0000.jpg
/home/pi/Desktop/images/18012025/19/09/image_18012025_19_09_02_368346_0001.jpg
/home/pi/Desktop/images/18012025/19/09/image_18012025_19_09_02_368346_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329827462","1329827467","1329827470","1329827464"],"photo_ids_order":["1329827462","1329827464","1329827467","1329827470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bacd691b126f05c9d0ba717af479a858.jpg","text":"TemporaryFile(/tmp/multipartBody2640645382360965056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223843556,"filename":"image_18012025_19_08_02_157701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2ffba645bcef519fe76723d487c32ec3.jpg","text":"TemporaryFile(/tmp/multipartBody255952691520616425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223843556,"filename":"image_18012025_19_09_02_368346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a4f86e08085a6d2628f51499ab4a4ec.jpg","text":"TemporaryFile(/tmp/multipartBody7736837889691537589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223843556,"filename":"image_18012025_19_09_02_368346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b698308eb9c2f3bf9400eb40f0effff.jpg","text":"TemporaryFile(/tmp/multipartBody8226661659948627820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223843556,"filename":"image_18012025_19_09_02_368346_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329827467","file1":"1329827464","file0":"1329827462","file3":"1329827470"},"map_files_photo_id_array":[{"photo_id":"1329827467","filename":"file2"},{"photo_id":"1329827464","filename":"file1"},{"photo_id":"1329827462","filename":"file0"},{"photo_id":"1329827470","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329827462":["hashtag1","hashtag2"]},{"1329827467":["hashtag1","hashtag2"]},{"1329827470":["hashtag1","hashtag2"]},{"1329827464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329827462, 1329827467, 1329827470, 1329827464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.555535078048706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:10:22.457764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/09/image_18012025_19_09_02_368346_0003.jpg', '/home/pi/Desktop/images/18012025/19/10/image_18012025_19_10_02_531745_0000.jpg', '/home/pi/Desktop/images/18012025/19/10/image_18012025_19_10_02_531745_0001.jpg', '/home/pi/Desktop/images/18012025/19/10/image_18012025_19_10_02_531745_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/09/image_18012025_19_09_02_368346_0003.jpg
/home/pi/Desktop/images/18012025/19/10/image_18012025_19_10_02_531745_0000.jpg
/home/pi/Desktop/images/18012025/19/10/image_18012025_19_10_02_531745_0001.jpg
/home/pi/Desktop/images/18012025/19/10/image_18012025_19_10_02_531745_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329827499","1329827502","1329827505","1329827508"],"photo_ids_order":["1329827499","1329827502","1329827505","1329827508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d28424ba713e9f3fe55d0a956b7e26fb.jpg","text":"TemporaryFile(/tmp/multipartBody7316715797800909626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223893904,"filename":"image_18012025_19_09_02_368346_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9f5747700c8d04c7d9cdcd82c80655be.jpg","text":"TemporaryFile(/tmp/multipartBody5003485411331283325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223893904,"filename":"image_18012025_19_10_02_531745_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/725194bcc66216e3c3d903560da7cd98.jpg","text":"TemporaryFile(/tmp/multipartBody8491522528575945561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223893904,"filename":"image_18012025_19_10_02_531745_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be8a977c8df9efe30e5056994aa7b732.jpg","text":"TemporaryFile(/tmp/multipartBody473232779598744886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223893904,"filename":"image_18012025_19_10_02_531745_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329827505","file1":"1329827502","file0":"1329827499","file3":"1329827508"},"map_files_photo_id_array":[{"photo_id":"1329827505","filename":"file2"},{"photo_id":"1329827502","filename":"file1"},{"photo_id":"1329827499","filename":"file0"},{"photo_id":"1329827508","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329827499":["hashtag1","hashtag2"]},{"1329827502":["hashtag1","hashtag2"]},{"1329827505":["hashtag1","hashtag2"]},{"1329827508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329827499, 1329827502, 1329827505, 1329827508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.00523853302002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:11:22.575908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/10/image_18012025_19_10_02_531745_0003.jpg', '/home/pi/Desktop/images/18012025/19/11/image_18012025_19_11_02_793693_0000.jpg', '/home/pi/Desktop/images/18012025/19/11/image_18012025_19_11_02_793693_0001.jpg', '/home/pi/Desktop/images/18012025/19/11/image_18012025_19_11_02_793693_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/10/image_18012025_19_10_02_531745_0003.jpg
/home/pi/Desktop/images/18012025/19/11/image_18012025_19_11_02_793693_0000.jpg
/home/pi/Desktop/images/18012025/19/11/image_18012025_19_11_02_793693_0001.jpg
/home/pi/Desktop/images/18012025/19/11/image_18012025_19_11_02_793693_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329827574","1329827570","1329827581","1329827578"],"photo_ids_order":["1329827570","1329827574","1329827578","1329827581"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/908ede297910d656167b5f893cb4c682.jpg","text":"TemporaryFile(/tmp/multipartBody446892751548468415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223953798,"filename":"image_18012025_19_11_02_793693_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/34ba7b435cba8263c043a1d1eff53237.jpg","text":"TemporaryFile(/tmp/multipartBody1821077367038752619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223953798,"filename":"image_18012025_19_10_02_531745_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8086c92e39edb82fb552116a96fc9e63.jpg","text":"TemporaryFile(/tmp/multipartBody2041333900236789780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223953798,"filename":"image_18012025_19_11_02_793693_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1217e5f05037f625e4dbd89a5c3a139d.jpg","text":"TemporaryFile(/tmp/multipartBody7601004827332919644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737223953798,"filename":"image_18012025_19_11_02_793693_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329827578","file1":"1329827574","file0":"1329827570","file3":"1329827581"},"map_files_photo_id_array":[{"photo_id":"1329827578","filename":"file2"},{"photo_id":"1329827574","filename":"file1"},{"photo_id":"1329827570","filename":"file0"},{"photo_id":"1329827581","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329827574":["hashtag1","hashtag2"]},{"1329827570":["hashtag1","hashtag2"]},{"1329827581":["hashtag1","hashtag2"]},{"1329827578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329827574, 1329827570, 1329827581, 1329827578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.55234456062317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:12:21.803666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/11/image_18012025_19_11_02_793693_0003.jpg', '/home/pi/Desktop/images/18012025/19/12/image_18012025_19_12_02_951287_0000.jpg', '/home/pi/Desktop/images/18012025/19/12/image_18012025_19_12_02_951287_0001.jpg', '/home/pi/Desktop/images/18012025/19/12/image_18012025_19_12_02_951287_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/11/image_18012025_19_11_02_793693_0003.jpg
/home/pi/Desktop/images/18012025/19/12/image_18012025_19_12_02_951287_0000.jpg
/home/pi/Desktop/images/18012025/19/12/image_18012025_19_12_02_951287_0001.jpg
/home/pi/Desktop/images/18012025/19/12/image_18012025_19_12_02_951287_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329827853","1329827861","1329827849","1329827863"],"photo_ids_order":["1329827849","1329827853","1329827861","1329827863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/918e05631952215ebb75a50b823f42a3.jpg","text":"TemporaryFile(/tmp/multipartBody7201620737705219707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224012828,"filename":"image_18012025_19_12_02_951287_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b67c09314cab33812e87c21a7bc846c.jpg","text":"TemporaryFile(/tmp/multipartBody8424692975656031387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224012828,"filename":"image_18012025_19_12_02_951287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/71d560fddac5234122af4a738b69023c.jpg","text":"TemporaryFile(/tmp/multipartBody383068544955357939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224012828,"filename":"image_18012025_19_11_02_793693_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50189f70635d2fc2d2b52c983838bda9.jpg","text":"TemporaryFile(/tmp/multipartBody4295693588070669392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224012828,"filename":"image_18012025_19_12_02_951287_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329827861","file1":"1329827853","file0":"1329827849","file3":"1329827863"},"map_files_photo_id_array":[{"photo_id":"1329827861","filename":"file2"},{"photo_id":"1329827853","filename":"file1"},{"photo_id":"1329827849","filename":"file0"},{"photo_id":"1329827863","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329827853":["hashtag1","hashtag2"]},{"1329827861":["hashtag1","hashtag2"]},{"1329827849":["hashtag1","hashtag2"]},{"1329827863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329827853, 1329827861, 1329827849, 1329827863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16714096069336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 19:13:02.580442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/09/image_16012025_23_09_03_065969_0000.jpg', '/home/pi/Desktop/images/16012025/23/09/image_16012025_23_09_03_065969_0001.jpg', '/home/pi/Desktop/images/16012025/23/09/image_16012025_23_09_03_065969_0002.jpg', '/home/pi/Desktop/images/16012025/23/09/image_16012025_23_09_03_065969_0003.jpg', '/home/pi/Desktop/images/16012025/23/10/image_16012025_23_10_02_269205_0000.jpg', '/home/pi/Desktop/images/16012025/23/10/image_16012025_23_10_02_269205_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/09/image_16012025_23_09_03_065969_0000.jpg
/home/pi/Desktop/images/16012025/23/09/image_16012025_23_09_03_065969_0001.jpg
/home/pi/Desktop/images/16012025/23/09/image_16012025_23_09_03_065969_0002.jpg
/home/pi/Desktop/images/16012025/23/09/image_16012025_23_09_03_065969_0003.jpg
/home/pi/Desktop/images/16012025/23/10/image_16012025_23_10_02_269205_0000.jpg
/home/pi/Desktop/images/16012025/23/10/image_16012025_23_10_02_269205_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329827886","1329827880","1329827873","1329827876","1329827884","1329827869"],"photo_ids_order":["1329827869","1329827873","1329827876","1329827880","1329827884","1329827886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2fc5998b047f24cb0959a5c0a2917e4.jpg","text":"TemporaryFile(/tmp/multipartBody8533747220903488469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224060782,"filename":"image_16012025_23_10_02_269205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2da13239f4d14793d984b88026dbf50a.jpg","text":"TemporaryFile(/tmp/multipartBody327874101944351641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224060782,"filename":"image_16012025_23_09_03_065969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee4bb38c2f3757ff406a5fe818e1ddd7.jpg","text":"TemporaryFile(/tmp/multipartBody2718950418357153574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224060782,"filename":"image_16012025_23_09_03_065969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/820e610fa2d2172d8193878b643a7d91.jpg","text":"TemporaryFile(/tmp/multipartBody3144501344727829899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224060782,"filename":"image_16012025_23_09_03_065969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21d2252409062c748527df773af965e5.jpg","text":"TemporaryFile(/tmp/multipartBody3036247214532318623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224060782,"filename":"image_16012025_23_10_02_269205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ee9cd1ce375936b45c9002a84b6cf19.jpg","text":"TemporaryFile(/tmp/multipartBody5139070800332999053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224060782,"filename":"image_16012025_23_09_03_065969_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329827876","file1":"1329827873","file0":"1329827869","file4":"1329827884","file5":"1329827886","file3":"1329827880"},"map_files_photo_id_array":[{"photo_id":"1329827886","filename":"file5"},{"photo_id":"1329827876","filename":"file2"},{"photo_id":"1329827884","filename":"file4"},{"photo_id":"1329827873","filename":"file1"},{"photo_id":"1329827869","filename":"file0"},{"photo_id":"1329827880","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329827886":["hashtag1","hashtag2"]},{"1329827880":["hashtag1","hashtag2"]},{"1329827873":["hashtag1","hashtag2"]},{"1329827876":["hashtag1","hashtag2"]},{"1329827884":["hashtag1","hashtag2"]},{"1329827869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329827886, 1329827880, 1329827873, 1329827876, 1329827884, 1329827869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.402592420578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:14:22.078086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/12/image_18012025_19_12_02_951287_0003.jpg', '/home/pi/Desktop/images/18012025/19/13/image_18012025_19_13_02_151541_0000.jpg', '/home/pi/Desktop/images/18012025/19/13/image_18012025_19_13_02_151541_0001.jpg', '/home/pi/Desktop/images/18012025/19/13/image_18012025_19_13_02_151541_0002.jpg', '/home/pi/Desktop/images/18012025/19/13/image_18012025_19_13_02_151541_0003.jpg', '/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/12/image_18012025_19_12_02_951287_0003.jpg
/home/pi/Desktop/images/18012025/19/13/image_18012025_19_13_02_151541_0000.jpg
/home/pi/Desktop/images/18012025/19/13/image_18012025_19_13_02_151541_0001.jpg
/home/pi/Desktop/images/18012025/19/13/image_18012025_19_13_02_151541_0002.jpg
/home/pi/Desktop/images/18012025/19/13/image_18012025_19_13_02_151541_0003.jpg
/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329827905","1329827940","1329827925","1329827913","1329827900","1329827932"],"photo_ids_order":["1329827900","1329827905","1329827913","1329827925","1329827932","1329827940"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c6b69044a0a5ea609c82f7eae3905ec.jpg","text":"TemporaryFile(/tmp/multipartBody41279724221843550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224139056,"filename":"image_18012025_19_13_02_151541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0d20390f362c8ef2ca892f0237ec96f.jpg","text":"TemporaryFile(/tmp/multipartBody5066034759248054510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224139056,"filename":"image_18012025_19_14_02_283166_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b69d79525eaccfbffc663730e16d13bb.jpg","text":"TemporaryFile(/tmp/multipartBody207469847181279878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224139056,"filename":"image_18012025_19_13_02_151541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c527d4f3532e148fc18b69358affd167.jpg","text":"TemporaryFile(/tmp/multipartBody5765666795335060141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224139056,"filename":"image_18012025_19_13_02_151541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28777defc84390597e5a3ea5c0811d77.jpg","text":"TemporaryFile(/tmp/multipartBody922683213356804686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224139056,"filename":"image_18012025_19_12_02_951287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a94cf345d8e8454ee1fa986727b934f5.jpg","text":"TemporaryFile(/tmp/multipartBody856363530096622416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224139056,"filename":"image_18012025_19_13_02_151541_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329827913","file1":"1329827905","file0":"1329827900","file4":"1329827932","file5":"1329827940","file3":"1329827925"},"map_files_photo_id_array":[{"photo_id":"1329827940","filename":"file5"},{"photo_id":"1329827913","filename":"file2"},{"photo_id":"1329827932","filename":"file4"},{"photo_id":"1329827905","filename":"file1"},{"photo_id":"1329827900","filename":"file0"},{"photo_id":"1329827925","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329827905":["hashtag1","hashtag2"]},{"1329827940":["hashtag1","hashtag2"]},{"1329827925":["hashtag1","hashtag2"]},{"1329827913":["hashtag1","hashtag2"]},{"1329827900":["hashtag1","hashtag2"]},{"1329827932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329827905, 1329827940, 1329827925, 1329827913, 1329827900, 1329827932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.25391721725464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:15:22.242910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0001.jpg', '/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0002.jpg', '/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0003.jpg', '/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0000.jpg', '/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0001.jpg', '/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0001.jpg
/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0002.jpg
/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0003.jpg
/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0000.jpg
/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0001.jpg
/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.155094146728516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 19:15:42.305608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0001.jpg', '/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0002.jpg', '/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0003.jpg', '/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0000.jpg', '/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0001.jpg', '/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0001.jpg
/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0002.jpg
/home/pi/Desktop/images/18012025/19/14/image_18012025_19_14_02_283166_0003.jpg
/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0000.jpg
/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0001.jpg
/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329827964","1329827966","1329827960","1329827963","1329827971","1329827968"],"photo_ids_order":["1329827960","1329827963","1329827964","1329827966","1329827968","1329827971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a094f81bab588327a725c668aecbce92.jpg","text":"TemporaryFile(/tmp/multipartBody1406688022065643682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224218851,"filename":"image_18012025_19_14_02_283166_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/79f4cbfecd4bdb9ecca3b4fe80c2cd61.jpg","text":"TemporaryFile(/tmp/multipartBody5981368814832147966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224218851,"filename":"image_18012025_19_15_02_510985_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/66eb36a415f48e082b17087da1792464.jpg","text":"TemporaryFile(/tmp/multipartBody6182525990901675455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224218851,"filename":"image_18012025_19_14_02_283166_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e50f4bdd8797afe4a8cf708eba4fb714.jpg","text":"TemporaryFile(/tmp/multipartBody3590511918653988439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224218851,"filename":"image_18012025_19_14_02_283166_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0999c0a71390561892ad4ccfff6baff2.jpg","text":"TemporaryFile(/tmp/multipartBody4920202791502368111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224218851,"filename":"image_18012025_19_15_02_510985_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/481123ef58c79e9e2cc2b7d06eb40f55.jpg","text":"TemporaryFile(/tmp/multipartBody1451820878801573264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224218851,"filename":"image_18012025_19_15_02_510985_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329827964","file1":"1329827963","file0":"1329827960","file4":"1329827968","file5":"1329827971","file3":"1329827966"},"map_files_photo_id_array":[{"photo_id":"1329827971","filename":"file5"},{"photo_id":"1329827964","filename":"file2"},{"photo_id":"1329827968","filename":"file4"},{"photo_id":"1329827963","filename":"file1"},{"photo_id":"1329827960","filename":"file0"},{"photo_id":"1329827966","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329827964":["hashtag1","hashtag2"]},{"1329827966":["hashtag1","hashtag2"]},{"1329827960":["hashtag1","hashtag2"]},{"1329827963":["hashtag1","hashtag2"]},{"1329827971":["hashtag1","hashtag2"]},{"1329827968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329827964, 1329827966, 1329827960, 1329827963, 1329827971, 1329827968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.91327381134033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 19:16:42.436398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0003.jpg', '/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0000.jpg', '/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0001.jpg', '/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0003.jpg
/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0000.jpg
/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0001.jpg
/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.52536392211914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 19:17:03.284756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0003.jpg', '/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0000.jpg', '/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0001.jpg', '/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/15/image_18012025_19_15_02_510985_0003.jpg
/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0000.jpg
/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0001.jpg
/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329827988","1329828122","1329828119","1329828110"],"photo_ids_order":["1329827988","1329828110","1329828119","1329828122"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8da0ed01af7e839baac62b657762804c.jpg","text":"TemporaryFile(/tmp/multipartBody4488758760819316693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224295299,"filename":"image_18012025_19_15_02_510985_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be26d30741fe245006e628ac5b13caba.jpg","text":"TemporaryFile(/tmp/multipartBody7521634279443857078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224295299,"filename":"image_18012025_19_16_02_678413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c907b913cbac91b81e8b90e000e58b5a.jpg","text":"TemporaryFile(/tmp/multipartBody8174555865469745782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224295299,"filename":"image_18012025_19_16_02_678413_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/756f98a22d89c8a1d9ba7ac8d9d92050.jpg","text":"TemporaryFile(/tmp/multipartBody6974417326474456418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224295299,"filename":"image_18012025_19_16_02_678413_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329828119","file1":"1329828110","file0":"1329827988","file3":"1329828122"},"map_files_photo_id_array":[{"photo_id":"1329828119","filename":"file2"},{"photo_id":"1329828110","filename":"file1"},{"photo_id":"1329827988","filename":"file0"},{"photo_id":"1329828122","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329827988":["hashtag1","hashtag2"]},{"1329828122":["hashtag1","hashtag2"]},{"1329828119":["hashtag1","hashtag2"]},{"1329828110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329827988, 1329828122, 1329828119, 1329828110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.717724084854126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:17:52.717086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0003.jpg', '/home/pi/Desktop/images/18012025/19/17/image_18012025_19_17_02_812654_0000.jpg', '/home/pi/Desktop/images/18012025/19/17/image_18012025_19_17_02_812654_0001.jpg', '/home/pi/Desktop/images/18012025/19/17/image_18012025_19_17_02_812654_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/16/image_18012025_19_16_02_678413_0003.jpg
/home/pi/Desktop/images/18012025/19/17/image_18012025_19_17_02_812654_0000.jpg
/home/pi/Desktop/images/18012025/19/17/image_18012025_19_17_02_812654_0001.jpg
/home/pi/Desktop/images/18012025/19/17/image_18012025_19_17_02_812654_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329828158","1329828167","1329828169","1329828142"],"photo_ids_order":["1329828142","1329828158","1329828167","1329828169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/51fd28ce284fabcb8c1ca08df1f45d3f.jpg","text":"TemporaryFile(/tmp/multipartBody6639356308494203947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224344527,"filename":"image_18012025_19_17_02_812654_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/38710f4088875c324c7f0a963275aaa3.jpg","text":"TemporaryFile(/tmp/multipartBody6186121031751445594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224344527,"filename":"image_18012025_19_17_02_812654_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/727bf8371400c49d8e09a81340109c7b.jpg","text":"TemporaryFile(/tmp/multipartBody905896416204046336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224344527,"filename":"image_18012025_19_17_02_812654_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/219d7668a0734bc1a38014802c7f21e2.jpg","text":"TemporaryFile(/tmp/multipartBody2260109003961134525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224344527,"filename":"image_18012025_19_16_02_678413_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329828167","file1":"1329828158","file0":"1329828142","file3":"1329828169"},"map_files_photo_id_array":[{"photo_id":"1329828167","filename":"file2"},{"photo_id":"1329828158","filename":"file1"},{"photo_id":"1329828142","filename":"file0"},{"photo_id":"1329828169","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329828158":["hashtag1","hashtag2"]},{"1329828167":["hashtag1","hashtag2"]},{"1329828169":["hashtag1","hashtag2"]},{"1329828142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329828158, 1329828167, 1329828169, 1329828142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.78208875656128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 19:18:41.926635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/17/image_18012025_19_17_02_812654_0003.jpg', '/home/pi/Desktop/images/18012025/19/18/image_18012025_19_18_03_080636_0000.jpg', '/home/pi/Desktop/images/18012025/19/18/image_18012025_19_18_03_080636_0001.jpg', '/home/pi/Desktop/images/18012025/19/18/image_18012025_19_18_03_080636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/17/image_18012025_19_17_02_812654_0003.jpg
/home/pi/Desktop/images/18012025/19/18/image_18012025_19_18_03_080636_0000.jpg
/home/pi/Desktop/images/18012025/19/18/image_18012025_19_18_03_080636_0001.jpg
/home/pi/Desktop/images/18012025/19/18/image_18012025_19_18_03_080636_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329828261","1329828254","1329828262","1329828259"],"photo_ids_order":["1329828254","1329828259","1329828261","1329828262"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1dc85eb51b11f1bce793590eafa264f3.jpg","text":"TemporaryFile(/tmp/multipartBody7528290437836930713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224393516,"filename":"image_18012025_19_18_03_080636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e4d54424e0a13385d4dc3b8a141c610f.jpg","text":"TemporaryFile(/tmp/multipartBody4474105561050818967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224393516,"filename":"image_18012025_19_17_02_812654_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de1087ec1b9bfe4407df068e4a3c6e93.jpg","text":"TemporaryFile(/tmp/multipartBody2476157670422672994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224393516,"filename":"image_18012025_19_18_03_080636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff7d56719031ff65779bc042b170dd32.jpg","text":"TemporaryFile(/tmp/multipartBody4474633226180592977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224393516,"filename":"image_18012025_19_18_03_080636_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329828261","file1":"1329828259","file0":"1329828254","file3":"1329828262"},"map_files_photo_id_array":[{"photo_id":"1329828261","filename":"file2"},{"photo_id":"1329828259","filename":"file1"},{"photo_id":"1329828254","filename":"file0"},{"photo_id":"1329828262","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329828261":["hashtag1","hashtag2"]},{"1329828254":["hashtag1","hashtag2"]},{"1329828262":["hashtag1","hashtag2"]},{"1329828259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329828261, 1329828254, 1329828262, 1329828259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39573359489441 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:19:22.056520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/18/image_18012025_19_18_03_080636_0003.jpg', '/home/pi/Desktop/images/18012025/19/19/image_18012025_19_19_02_255967_0000.jpg', '/home/pi/Desktop/images/18012025/19/19/image_18012025_19_19_02_255967_0001.jpg', '/home/pi/Desktop/images/18012025/19/19/image_18012025_19_19_02_255967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/18/image_18012025_19_18_03_080636_0003.jpg
/home/pi/Desktop/images/18012025/19/19/image_18012025_19_19_02_255967_0000.jpg
/home/pi/Desktop/images/18012025/19/19/image_18012025_19_19_02_255967_0001.jpg
/home/pi/Desktop/images/18012025/19/19/image_18012025_19_19_02_255967_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329828273","1329828277","1329828279","1329828270"],"photo_ids_order":["1329828270","1329828273","1329828277","1329828279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a2010ffaaf7e6b994bd29b5908ccf7c.jpg","text":"TemporaryFile(/tmp/multipartBody1628648211227001287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224433241,"filename":"image_18012025_19_19_02_255967_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4022f4aa9ff4829124f7d769dcc497b3.jpg","text":"TemporaryFile(/tmp/multipartBody7530118074183877055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224433241,"filename":"image_18012025_19_19_02_255967_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1db953517e8a2e90ca61aea7125291c.jpg","text":"TemporaryFile(/tmp/multipartBody2714581184519440994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224433241,"filename":"image_18012025_19_19_02_255967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/402f2a21767812a878a85e34728a78a7.jpg","text":"TemporaryFile(/tmp/multipartBody7834340734671624659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224433241,"filename":"image_18012025_19_18_03_080636_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329828277","file1":"1329828273","file0":"1329828270","file3":"1329828279"},"map_files_photo_id_array":[{"photo_id":"1329828277","filename":"file2"},{"photo_id":"1329828273","filename":"file1"},{"photo_id":"1329828270","filename":"file0"},{"photo_id":"1329828279","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329828273":["hashtag1","hashtag2"]},{"1329828277":["hashtag1","hashtag2"]},{"1329828279":["hashtag1","hashtag2"]},{"1329828270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329828273, 1329828277, 1329828279, 1329828270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.12988352775574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:20:22.310403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/19/image_18012025_19_19_02_255967_0003.jpg', '/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0000.jpg', '/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0001.jpg', '/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/19/image_18012025_19_19_02_255967_0003.jpg
/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0000.jpg
/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0001.jpg
/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.903486013412476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 19:20:42.387206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/19/image_18012025_19_19_02_255967_0003.jpg', '/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0000.jpg', '/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0001.jpg', '/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/19/image_18012025_19_19_02_255967_0003.jpg
/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0000.jpg
/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0001.jpg
/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329829184","1329829135","1329829132","1329829152"],"photo_ids_order":["1329829132","1329829135","1329829152","1329829184"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86ba72af26e5e4847561c3519708ed4f.jpg","text":"TemporaryFile(/tmp/multipartBody6792046728046790218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224513716,"filename":"image_18012025_19_20_02_499789_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f95de464bf71679d9edc2f56e221e636.jpg","text":"TemporaryFile(/tmp/multipartBody2264757948814608463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224513716,"filename":"image_18012025_19_20_02_499789_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/152ef5a86e29029f9e7fee26560121f3.jpg","text":"TemporaryFile(/tmp/multipartBody2535394424273207731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224513716,"filename":"image_18012025_19_19_02_255967_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d3796be96f9dc6f12a27d5dc5fc55f63.jpg","text":"TemporaryFile(/tmp/multipartBody4785471383181562679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224513716,"filename":"image_18012025_19_20_02_499789_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329829152","file1":"1329829135","file0":"1329829132","file3":"1329829184"},"map_files_photo_id_array":[{"photo_id":"1329829152","filename":"file2"},{"photo_id":"1329829135","filename":"file1"},{"photo_id":"1329829132","filename":"file0"},{"photo_id":"1329829184","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329829184":["hashtag1","hashtag2"]},{"1329829135":["hashtag1","hashtag2"]},{"1329829132":["hashtag1","hashtag2"]},{"1329829152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329829184, 1329829135, 1329829132, 1329829152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.08471870422363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:21:32.459199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0003.jpg', '/home/pi/Desktop/images/18012025/19/21/image_18012025_19_21_02_666398_0000.jpg', '/home/pi/Desktop/images/18012025/19/21/image_18012025_19_21_02_666398_0001.jpg', '/home/pi/Desktop/images/18012025/19/21/image_18012025_19_21_02_666398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/20/image_18012025_19_20_02_499789_0003.jpg
/home/pi/Desktop/images/18012025/19/21/image_18012025_19_21_02_666398_0000.jpg
/home/pi/Desktop/images/18012025/19/21/image_18012025_19_21_02_666398_0001.jpg
/home/pi/Desktop/images/18012025/19/21/image_18012025_19_21_02_666398_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329829487","1329829532","1329829529","1329829591"],"photo_ids_order":["1329829487","1329829529","1329829532","1329829591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/733adfcabd5d5d64d4bd55d4ffed863e.jpg","text":"TemporaryFile(/tmp/multipartBody8990546074515121212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224563920,"filename":"image_18012025_19_20_02_499789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eeff173d9943ecef533e0434af49e976.jpg","text":"TemporaryFile(/tmp/multipartBody259196849230705270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224563920,"filename":"image_18012025_19_21_02_666398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c1391ce63f41a20d375729f8ef3e51ea.jpg","text":"TemporaryFile(/tmp/multipartBody3277353247217856401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224563920,"filename":"image_18012025_19_21_02_666398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/684565cb9df43f0345d0605f2075e5bb.jpg","text":"TemporaryFile(/tmp/multipartBody6335661143917460918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224563920,"filename":"image_18012025_19_21_02_666398_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329829532","file1":"1329829529","file0":"1329829487","file3":"1329829591"},"map_files_photo_id_array":[{"photo_id":"1329829532","filename":"file2"},{"photo_id":"1329829529","filename":"file1"},{"photo_id":"1329829487","filename":"file0"},{"photo_id":"1329829591","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329829487":["hashtag1","hashtag2"]},{"1329829532":["hashtag1","hashtag2"]},{"1329829529":["hashtag1","hashtag2"]},{"1329829591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329829487, 1329829532, 1329829529, 1329829591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.38729238510132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:22:22.739992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/21/image_18012025_19_21_02_666398_0003.jpg', '/home/pi/Desktop/images/18012025/19/22/image_18012025_19_22_02_977788_0000.jpg', '/home/pi/Desktop/images/18012025/19/22/image_18012025_19_22_02_977788_0001.jpg', '/home/pi/Desktop/images/18012025/19/22/image_18012025_19_22_02_977788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/21/image_18012025_19_21_02_666398_0003.jpg
/home/pi/Desktop/images/18012025/19/22/image_18012025_19_22_02_977788_0000.jpg
/home/pi/Desktop/images/18012025/19/22/image_18012025_19_22_02_977788_0001.jpg
/home/pi/Desktop/images/18012025/19/22/image_18012025_19_22_02_977788_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329829607","1329829610","1329829604","1329829600"],"photo_ids_order":["1329829600","1329829604","1329829607","1329829610"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/606eb257602b85bb739cdc766dc0ab54.jpg","text":"TemporaryFile(/tmp/multipartBody6294176347470163022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224614024,"filename":"image_18012025_19_22_02_977788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f10dcc7436afd0befbef6d8b230492bc.jpg","text":"TemporaryFile(/tmp/multipartBody6564594767261020859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224614024,"filename":"image_18012025_19_22_02_977788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d2eebf4d90a8ecec8d30cb231b6b0000.jpg","text":"TemporaryFile(/tmp/multipartBody4410319890131634666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224614024,"filename":"image_18012025_19_22_02_977788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/405061b889080792f53d7cb49a8d56bf.jpg","text":"TemporaryFile(/tmp/multipartBody3748985630153927355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224614024,"filename":"image_18012025_19_21_02_666398_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329829607","file1":"1329829604","file0":"1329829600","file3":"1329829610"},"map_files_photo_id_array":[{"photo_id":"1329829607","filename":"file2"},{"photo_id":"1329829604","filename":"file1"},{"photo_id":"1329829600","filename":"file0"},{"photo_id":"1329829610","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329829607":["hashtag1","hashtag2"]},{"1329829610":["hashtag1","hashtag2"]},{"1329829604":["hashtag1","hashtag2"]},{"1329829600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329829607, 1329829610, 1329829604, 1329829600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.38428282737732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:23:21.934650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/22/image_18012025_19_22_02_977788_0003.jpg', '/home/pi/Desktop/images/18012025/19/23/image_18012025_19_23_03_084043_0000.jpg', '/home/pi/Desktop/images/18012025/19/23/image_18012025_19_23_03_084043_0001.jpg', '/home/pi/Desktop/images/18012025/19/23/image_18012025_19_23_03_084043_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/22/image_18012025_19_22_02_977788_0003.jpg
/home/pi/Desktop/images/18012025/19/23/image_18012025_19_23_03_084043_0000.jpg
/home/pi/Desktop/images/18012025/19/23/image_18012025_19_23_03_084043_0001.jpg
/home/pi/Desktop/images/18012025/19/23/image_18012025_19_23_03_084043_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329829694","1329829703","1329829683","1329829647"],"photo_ids_order":["1329829647","1329829683","1329829694","1329829703"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28e6fa71c267ac09dfec3d12ea55b472.jpg","text":"TemporaryFile(/tmp/multipartBody5318543463032146205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224673435,"filename":"image_18012025_19_23_03_084043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/64192a8d93bac9df48c81ac1837cc01d.jpg","text":"TemporaryFile(/tmp/multipartBody4423590710566214772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224673435,"filename":"image_18012025_19_23_03_084043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/141de9c450f79f8245c616654e3ef523.jpg","text":"TemporaryFile(/tmp/multipartBody6785290284232271029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224673435,"filename":"image_18012025_19_23_03_084043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2829d5b00a86b1a6f5c965af169771f6.jpg","text":"TemporaryFile(/tmp/multipartBody5178100806405812616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224673435,"filename":"image_18012025_19_22_02_977788_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329829694","file1":"1329829683","file0":"1329829647","file3":"1329829703"},"map_files_photo_id_array":[{"photo_id":"1329829694","filename":"file2"},{"photo_id":"1329829683","filename":"file1"},{"photo_id":"1329829647","filename":"file0"},{"photo_id":"1329829703","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329829694":["hashtag1","hashtag2"]},{"1329829703":["hashtag1","hashtag2"]},{"1329829683":["hashtag1","hashtag2"]},{"1329829647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329829694, 1329829703, 1329829683, 1329829647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.68437218666077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:24:21.950226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/23/image_18012025_19_23_03_084043_0003.jpg', '/home/pi/Desktop/images/18012025/19/24/image_18012025_19_24_02_266800_0000.jpg', '/home/pi/Desktop/images/18012025/19/24/image_18012025_19_24_02_266800_0001.jpg', '/home/pi/Desktop/images/18012025/19/24/image_18012025_19_24_02_266800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/23/image_18012025_19_23_03_084043_0003.jpg
/home/pi/Desktop/images/18012025/19/24/image_18012025_19_24_02_266800_0000.jpg
/home/pi/Desktop/images/18012025/19/24/image_18012025_19_24_02_266800_0001.jpg
/home/pi/Desktop/images/18012025/19/24/image_18012025_19_24_02_266800_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329829739","1329829735","1329829726","1329829731"],"photo_ids_order":["1329829726","1329829731","1329829735","1329829739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b84e4a28a68b7a8c409da9c82967219e.jpg","text":"TemporaryFile(/tmp/multipartBody4597434093354839218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224733030,"filename":"image_18012025_19_24_02_266800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b28efa1c2909f545dbf925a5a9ff3173.jpg","text":"TemporaryFile(/tmp/multipartBody7887581423861485445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224733030,"filename":"image_18012025_19_24_02_266800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af74a1b5a6e9cee1b84cbfa77f1405a0.jpg","text":"TemporaryFile(/tmp/multipartBody407711385454956219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224733030,"filename":"image_18012025_19_23_03_084043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6b12430dee06ee21c46123c15b87508.jpg","text":"TemporaryFile(/tmp/multipartBody2403983255004682481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224733030,"filename":"image_18012025_19_24_02_266800_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329829735","file1":"1329829731","file0":"1329829726","file3":"1329829739"},"map_files_photo_id_array":[{"photo_id":"1329829735","filename":"file2"},{"photo_id":"1329829731","filename":"file1"},{"photo_id":"1329829726","filename":"file0"},{"photo_id":"1329829739","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329829739":["hashtag1","hashtag2"]},{"1329829735":["hashtag1","hashtag2"]},{"1329829726":["hashtag1","hashtag2"]},{"1329829731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329829739, 1329829735, 1329829726, 1329829731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.577112913131714 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-18 19:25:22.189982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/24/image_18012025_19_24_02_266800_0003.jpg', '/home/pi/Desktop/images/18012025/19/25/image_18012025_19_25_02_310560_0000.jpg', '/home/pi/Desktop/images/18012025/19/25/image_18012025_19_25_02_310560_0001.jpg', '/home/pi/Desktop/images/18012025/19/25/image_18012025_19_25_02_310560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/24/image_18012025_19_24_02_266800_0003.jpg
/home/pi/Desktop/images/18012025/19/25/image_18012025_19_25_02_310560_0000.jpg
/home/pi/Desktop/images/18012025/19/25/image_18012025_19_25_02_310560_0001.jpg
/home/pi/Desktop/images/18012025/19/25/image_18012025_19_25_02_310560_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329829775","1329829778","1329829782","1329829785"],"photo_ids_order":["1329829775","1329829778","1329829782","1329829785"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f7234bdc72bd560f05e02247d7fa073.jpg","text":"TemporaryFile(/tmp/multipartBody6519298638907607790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224793290,"filename":"image_18012025_19_24_02_266800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee0ca9de8c792c68fcd53971efe97c7f.jpg","text":"TemporaryFile(/tmp/multipartBody8307172648166445248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224793290,"filename":"image_18012025_19_25_02_310560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/82a14e0f26b6be1c8d542a4b5f3128b6.jpg","text":"TemporaryFile(/tmp/multipartBody3335484660000462832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224793290,"filename":"image_18012025_19_25_02_310560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee4176c6518a1837b3c30acbe72de8c7.jpg","text":"TemporaryFile(/tmp/multipartBody8719864468829542810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224793290,"filename":"image_18012025_19_25_02_310560_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329829782","file1":"1329829778","file0":"1329829775","file3":"1329829785"},"map_files_photo_id_array":[{"photo_id":"1329829782","filename":"file2"},{"photo_id":"1329829778","filename":"file1"},{"photo_id":"1329829775","filename":"file0"},{"photo_id":"1329829785","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329829775":["hashtag1","hashtag2"]},{"1329829778":["hashtag1","hashtag2"]},{"1329829782":["hashtag1","hashtag2"]},{"1329829785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329829775, 1329829778, 1329829782, 1329829785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.55077385902405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:26:22.336111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/25/image_18012025_19_25_02_310560_0003.jpg', '/home/pi/Desktop/images/18012025/19/26/image_18012025_19_26_02_510918_0000.jpg', '/home/pi/Desktop/images/18012025/19/26/image_18012025_19_26_02_510918_0001.jpg', '/home/pi/Desktop/images/18012025/19/26/image_18012025_19_26_02_510918_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/25/image_18012025_19_25_02_310560_0003.jpg
/home/pi/Desktop/images/18012025/19/26/image_18012025_19_26_02_510918_0000.jpg
/home/pi/Desktop/images/18012025/19/26/image_18012025_19_26_02_510918_0001.jpg
/home/pi/Desktop/images/18012025/19/26/image_18012025_19_26_02_510918_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329829835","1329829846","1329829822","1329829839"],"photo_ids_order":["1329829822","1329829835","1329829839","1329829846"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/152a3e958988e79e43073d8028008fe4.jpg","text":"TemporaryFile(/tmp/multipartBody5009752082369645704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224853836,"filename":"image_18012025_19_26_02_510918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3a893c1e615ce07f2d9405bc1d6c6b1b.jpg","text":"TemporaryFile(/tmp/multipartBody5467057569349291062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224853836,"filename":"image_18012025_19_26_02_510918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a55137479913fbefe5d775a1db276b13.jpg","text":"TemporaryFile(/tmp/multipartBody7705571355351013608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224853836,"filename":"image_18012025_19_25_02_310560_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2fe86f5f02c8a607e204328885ed6fc.jpg","text":"TemporaryFile(/tmp/multipartBody7264976747431076843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224853836,"filename":"image_18012025_19_26_02_510918_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329829839","file1":"1329829835","file0":"1329829822","file3":"1329829846"},"map_files_photo_id_array":[{"photo_id":"1329829839","filename":"file2"},{"photo_id":"1329829835","filename":"file1"},{"photo_id":"1329829822","filename":"file0"},{"photo_id":"1329829846","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329829835":["hashtag1","hashtag2"]},{"1329829846":["hashtag1","hashtag2"]},{"1329829822":["hashtag1","hashtag2"]},{"1329829839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329829835, 1329829846, 1329829822, 1329829839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.95122504234314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:27:22.661201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/26/image_18012025_19_26_02_510918_0003.jpg', '/home/pi/Desktop/images/18012025/19/27/image_18012025_19_27_02_754797_0000.jpg', '/home/pi/Desktop/images/18012025/19/27/image_18012025_19_27_02_754797_0001.jpg', '/home/pi/Desktop/images/18012025/19/27/image_18012025_19_27_02_754797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/26/image_18012025_19_26_02_510918_0003.jpg
/home/pi/Desktop/images/18012025/19/27/image_18012025_19_27_02_754797_0000.jpg
/home/pi/Desktop/images/18012025/19/27/image_18012025_19_27_02_754797_0001.jpg
/home/pi/Desktop/images/18012025/19/27/image_18012025_19_27_02_754797_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329829886","1329829880","1329829876","1329829884"],"photo_ids_order":["1329829876","1329829880","1329829884","1329829886"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0819e98a049412b821640c719478e923.jpg","text":"TemporaryFile(/tmp/multipartBody8038457593551879610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224914188,"filename":"image_18012025_19_27_02_754797_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8d4ee587163867403e1018eb372dda5.jpg","text":"TemporaryFile(/tmp/multipartBody55216769943613609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224914188,"filename":"image_18012025_19_27_02_754797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/87e5cf8780a44dd7dfe15a259884ae6c.jpg","text":"TemporaryFile(/tmp/multipartBody5303643515558799026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224914188,"filename":"image_18012025_19_26_02_510918_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c0894556881c3dd89fce8cdae47252a.jpg","text":"TemporaryFile(/tmp/multipartBody3455460888446082412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224914188,"filename":"image_18012025_19_27_02_754797_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329829884","file1":"1329829880","file0":"1329829876","file3":"1329829886"},"map_files_photo_id_array":[{"photo_id":"1329829884","filename":"file2"},{"photo_id":"1329829880","filename":"file1"},{"photo_id":"1329829876","filename":"file0"},{"photo_id":"1329829886","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329829886":["hashtag1","hashtag2"]},{"1329829880":["hashtag1","hashtag2"]},{"1329829876":["hashtag1","hashtag2"]},{"1329829884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329829886, 1329829880, 1329829876, 1329829884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.74234390258789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:28:22.773465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/27/image_18012025_19_27_02_754797_0003.jpg', '/home/pi/Desktop/images/18012025/19/28/image_18012025_19_28_02_961418_0000.jpg', '/home/pi/Desktop/images/18012025/19/28/image_18012025_19_28_02_961418_0001.jpg', '/home/pi/Desktop/images/18012025/19/28/image_18012025_19_28_02_961418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/27/image_18012025_19_27_02_754797_0003.jpg
/home/pi/Desktop/images/18012025/19/28/image_18012025_19_28_02_961418_0000.jpg
/home/pi/Desktop/images/18012025/19/28/image_18012025_19_28_02_961418_0001.jpg
/home/pi/Desktop/images/18012025/19/28/image_18012025_19_28_02_961418_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329830145","1329830147","1329830048","1329830150"],"photo_ids_order":["1329830048","1329830145","1329830147","1329830150"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73318945c2aa30fd3a0c175ba6db29cd.jpg","text":"TemporaryFile(/tmp/multipartBody8878413900980758374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224974124,"filename":"image_18012025_19_28_02_961418_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9f2c2ee249b84352bd0be1d2db0ddc1.jpg","text":"TemporaryFile(/tmp/multipartBody5467196286486114967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224974124,"filename":"image_18012025_19_28_02_961418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/df3851b250f7ba232c661b8ea2f1127a.jpg","text":"TemporaryFile(/tmp/multipartBody4326442900394036676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224974124,"filename":"image_18012025_19_27_02_754797_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65a366f5f184641f1405fd7a3a44b342.jpg","text":"TemporaryFile(/tmp/multipartBody9180862906215172388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737224974124,"filename":"image_18012025_19_28_02_961418_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329830147","file1":"1329830145","file0":"1329830048","file3":"1329830150"},"map_files_photo_id_array":[{"photo_id":"1329830147","filename":"file2"},{"photo_id":"1329830145","filename":"file1"},{"photo_id":"1329830048","filename":"file0"},{"photo_id":"1329830150","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329830145":["hashtag1","hashtag2"]},{"1329830147":["hashtag1","hashtag2"]},{"1329830048":["hashtag1","hashtag2"]},{"1329830150":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329830145, 1329830147, 1329830048, 1329830150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.217785358428955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:29:21.996174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/28/image_18012025_19_28_02_961418_0003.jpg', '/home/pi/Desktop/images/18012025/19/29/image_18012025_19_29_03_153770_0000.jpg', '/home/pi/Desktop/images/18012025/19/29/image_18012025_19_29_03_153770_0001.jpg', '/home/pi/Desktop/images/18012025/19/29/image_18012025_19_29_03_153770_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/28/image_18012025_19_28_02_961418_0003.jpg
/home/pi/Desktop/images/18012025/19/29/image_18012025_19_29_03_153770_0000.jpg
/home/pi/Desktop/images/18012025/19/29/image_18012025_19_29_03_153770_0001.jpg
/home/pi/Desktop/images/18012025/19/29/image_18012025_19_29_03_153770_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329830290","1329830287","1329830221","1329830292"],"photo_ids_order":["1329830221","1329830287","1329830290","1329830292"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/600679505e7d206477ee2e61cb5a57ae.jpg","text":"TemporaryFile(/tmp/multipartBody1332569749066853732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225033626,"filename":"image_18012025_19_29_03_153770_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/133334bb0e423d968ada74b57ee36b48.jpg","text":"TemporaryFile(/tmp/multipartBody4281661947101298906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225033626,"filename":"image_18012025_19_29_03_153770_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96dafdeee49caf5113d8f96fb3a2cfd4.jpg","text":"TemporaryFile(/tmp/multipartBody788924484618811352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225033626,"filename":"image_18012025_19_28_02_961418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f1b3e82d1883c590f1c33c23565cb9d6.jpg","text":"TemporaryFile(/tmp/multipartBody7594109985377206959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225033626,"filename":"image_18012025_19_29_03_153770_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329830290","file1":"1329830287","file0":"1329830221","file3":"1329830292"},"map_files_photo_id_array":[{"photo_id":"1329830290","filename":"file2"},{"photo_id":"1329830287","filename":"file1"},{"photo_id":"1329830221","filename":"file0"},{"photo_id":"1329830292","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329830290":["hashtag1","hashtag2"]},{"1329830287":["hashtag1","hashtag2"]},{"1329830221":["hashtag1","hashtag2"]},{"1329830292":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329830290, 1329830287, 1329830221, 1329830292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.133180379867554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:30:22.091819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/29/image_18012025_19_29_03_153770_0003.jpg', '/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0000.jpg', '/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0001.jpg', '/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/29/image_18012025_19_29_03_153770_0003.jpg
/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0000.jpg
/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0001.jpg
/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.897836923599243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 19:30:42.102670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/29/image_18012025_19_29_03_153770_0003.jpg', '/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0000.jpg', '/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0001.jpg', '/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/29/image_18012025_19_29_03_153770_0003.jpg
/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0000.jpg
/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0001.jpg
/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329830382","1329830381","1329830378","1329830375"],"photo_ids_order":["1329830375","1329830378","1329830381","1329830382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f4ba180e6d45912a6b92ea54c2a3242.jpg","text":"TemporaryFile(/tmp/multipartBody1618279406363545747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225113387,"filename":"image_18012025_19_30_02_266344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cdc5548c9529d7ba3b2953b639253a60.jpg","text":"TemporaryFile(/tmp/multipartBody6791828912793606846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225113387,"filename":"image_18012025_19_30_02_266344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e03ae4ca5190c33d9e77eaf195d5691.jpg","text":"TemporaryFile(/tmp/multipartBody5585641916525446019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225113387,"filename":"image_18012025_19_30_02_266344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5aee7775df7c38d3f3303c65c45d511f.jpg","text":"TemporaryFile(/tmp/multipartBody2904837964140459278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225113387,"filename":"image_18012025_19_29_03_153770_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329830381","file1":"1329830378","file0":"1329830375","file3":"1329830382"},"map_files_photo_id_array":[{"photo_id":"1329830381","filename":"file2"},{"photo_id":"1329830378","filename":"file1"},{"photo_id":"1329830375","filename":"file0"},{"photo_id":"1329830382","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329830382":["hashtag1","hashtag2"]},{"1329830381":["hashtag1","hashtag2"]},{"1329830378":["hashtag1","hashtag2"]},{"1329830375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329830382, 1329830381, 1329830378, 1329830375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.90846037864685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:31:32.254220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0003.jpg', '/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0000.jpg', '/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0001.jpg', '/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0003.jpg
/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0000.jpg
/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0001.jpg
/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.983114957809448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:31:52.270020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0003.jpg', '/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0000.jpg', '/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0001.jpg', '/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/30/image_18012025_19_30_02_266344_0003.jpg
/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0000.jpg
/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0001.jpg
/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329830412","1329830414","1329830398","1329830416"],"photo_ids_order":["1329830398","1329830412","1329830414","1329830416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d7aa2b24bd1957b1d63be1f54f21e2b3.jpg","text":"TemporaryFile(/tmp/multipartBody4456225210585155934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225183662,"filename":"image_18012025_19_31_02_454660_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13bb1b718d55121f3be037dbe359a3dc.jpg","text":"TemporaryFile(/tmp/multipartBody2977920646310869256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225183662,"filename":"image_18012025_19_31_02_454660_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de84d0a203396102c2061c72f1568c11.jpg","text":"TemporaryFile(/tmp/multipartBody3125954272592087037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225183662,"filename":"image_18012025_19_30_02_266344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/80f406990067242336175256ded3e381.jpg","text":"TemporaryFile(/tmp/multipartBody2148803212298678063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225183662,"filename":"image_18012025_19_31_02_454660_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329830414","file1":"1329830412","file0":"1329830398","file3":"1329830416"},"map_files_photo_id_array":[{"photo_id":"1329830414","filename":"file2"},{"photo_id":"1329830412","filename":"file1"},{"photo_id":"1329830398","filename":"file0"},{"photo_id":"1329830416","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329830412":["hashtag1","hashtag2"]},{"1329830414":["hashtag1","hashtag2"]},{"1329830398":["hashtag1","hashtag2"]},{"1329830416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329830412, 1329830414, 1329830398, 1329830416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.200451374053955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:32:32.520739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0003.jpg', '/home/pi/Desktop/images/18012025/19/32/image_18012025_19_32_02_628245_0000.jpg', '/home/pi/Desktop/images/18012025/19/32/image_18012025_19_32_02_628245_0001.jpg', '/home/pi/Desktop/images/18012025/19/32/image_18012025_19_32_02_628245_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/31/image_18012025_19_31_02_454660_0003.jpg
/home/pi/Desktop/images/18012025/19/32/image_18012025_19_32_02_628245_0000.jpg
/home/pi/Desktop/images/18012025/19/32/image_18012025_19_32_02_628245_0001.jpg
/home/pi/Desktop/images/18012025/19/32/image_18012025_19_32_02_628245_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329830436","1329830445","1329830432","1329830440"],"photo_ids_order":["1329830432","1329830436","1329830440","1329830445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6fefc442fec7e0940d0a31969ffc8df.jpg","text":"TemporaryFile(/tmp/multipartBody3955187592866115805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225223582,"filename":"image_18012025_19_32_02_628245_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ee71dd9cdc53d1bf488e610a4e01737.jpg","text":"TemporaryFile(/tmp/multipartBody3992728831080884156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225223582,"filename":"image_18012025_19_32_02_628245_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1998a59ec7f599af919ee290cdde9074.jpg","text":"TemporaryFile(/tmp/multipartBody4737957598105305533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225223582,"filename":"image_18012025_19_31_02_454660_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a1d2e494d4d85b3fcc13646d0618475.jpg","text":"TemporaryFile(/tmp/multipartBody3409262770393143958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225223582,"filename":"image_18012025_19_32_02_628245_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329830440","file1":"1329830436","file0":"1329830432","file3":"1329830445"},"map_files_photo_id_array":[{"photo_id":"1329830440","filename":"file2"},{"photo_id":"1329830436","filename":"file1"},{"photo_id":"1329830432","filename":"file0"},{"photo_id":"1329830445","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329830436":["hashtag1","hashtag2"]},{"1329830445":["hashtag1","hashtag2"]},{"1329830432":["hashtag1","hashtag2"]},{"1329830440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329830436, 1329830445, 1329830432, 1329830440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.25650405883789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:33:22.741285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/32/image_18012025_19_32_02_628245_0003.jpg', '/home/pi/Desktop/images/18012025/19/33/image_18012025_19_33_02_850649_0000.jpg', '/home/pi/Desktop/images/18012025/19/33/image_18012025_19_33_02_850649_0001.jpg', '/home/pi/Desktop/images/18012025/19/33/image_18012025_19_33_02_850649_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/32/image_18012025_19_32_02_628245_0003.jpg
/home/pi/Desktop/images/18012025/19/33/image_18012025_19_33_02_850649_0000.jpg
/home/pi/Desktop/images/18012025/19/33/image_18012025_19_33_02_850649_0001.jpg
/home/pi/Desktop/images/18012025/19/33/image_18012025_19_33_02_850649_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329830514","1329830523","1329830527","1329830499"],"photo_ids_order":["1329830499","1329830514","1329830523","1329830527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d1dbb7a73b0cb675a76a9f79adb846e3.jpg","text":"TemporaryFile(/tmp/multipartBody2857900061535809287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225274009,"filename":"image_18012025_19_33_02_850649_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/138944d52b721ab15240398200d2f0b7.jpg","text":"TemporaryFile(/tmp/multipartBody864569617844233494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225274009,"filename":"image_18012025_19_33_02_850649_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dbf169d11f19d2ffa893896311c741ec.jpg","text":"TemporaryFile(/tmp/multipartBody3216541501325579014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225274009,"filename":"image_18012025_19_33_02_850649_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aae25d0bad3ca8a4e0911aaff4931b8e.jpg","text":"TemporaryFile(/tmp/multipartBody6994054286883128237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225274009,"filename":"image_18012025_19_32_02_628245_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329830523","file1":"1329830514","file0":"1329830499","file3":"1329830527"},"map_files_photo_id_array":[{"photo_id":"1329830523","filename":"file2"},{"photo_id":"1329830514","filename":"file1"},{"photo_id":"1329830499","filename":"file0"},{"photo_id":"1329830527","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329830514":["hashtag1","hashtag2"]},{"1329830523":["hashtag1","hashtag2"]},{"1329830527":["hashtag1","hashtag2"]},{"1329830499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329830514, 1329830523, 1329830527, 1329830499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.99859952926636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:34:21.896069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/33/image_18012025_19_33_02_850649_0003.jpg', '/home/pi/Desktop/images/18012025/19/34/image_18012025_19_34_03_006836_0000.jpg', '/home/pi/Desktop/images/18012025/19/34/image_18012025_19_34_03_006836_0001.jpg', '/home/pi/Desktop/images/18012025/19/34/image_18012025_19_34_03_006836_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/33/image_18012025_19_33_02_850649_0003.jpg
/home/pi/Desktop/images/18012025/19/34/image_18012025_19_34_03_006836_0000.jpg
/home/pi/Desktop/images/18012025/19/34/image_18012025_19_34_03_006836_0001.jpg
/home/pi/Desktop/images/18012025/19/34/image_18012025_19_34_03_006836_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329830678","1329830674","1329830694","1329830697"],"photo_ids_order":["1329830674","1329830678","1329830694","1329830697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f61a48a8f7e836d263a65969fdb0b656.jpg","text":"TemporaryFile(/tmp/multipartBody1667424393377914618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225333145,"filename":"image_18012025_19_34_03_006836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b60f37f85ffb105139d83712235666ad.jpg","text":"TemporaryFile(/tmp/multipartBody7900227464911084979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225333145,"filename":"image_18012025_19_33_02_850649_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e4ff7575ce1574c7aeaaab2b7cccc6d2.jpg","text":"TemporaryFile(/tmp/multipartBody2413021502669186013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225333145,"filename":"image_18012025_19_34_03_006836_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5698f568f49d4ffcb674068f1400b0fd.jpg","text":"TemporaryFile(/tmp/multipartBody7866133434000021790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225333145,"filename":"image_18012025_19_34_03_006836_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329830694","file1":"1329830678","file0":"1329830674","file3":"1329830697"},"map_files_photo_id_array":[{"photo_id":"1329830694","filename":"file2"},{"photo_id":"1329830678","filename":"file1"},{"photo_id":"1329830674","filename":"file0"},{"photo_id":"1329830697","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329830678":["hashtag1","hashtag2"]},{"1329830674":["hashtag1","hashtag2"]},{"1329830694":["hashtag1","hashtag2"]},{"1329830697":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329830678, 1329830674, 1329830694, 1329830697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3377161026001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 19:35:02.738257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/10/image_16012025_23_10_02_269205_0002.jpg', '/home/pi/Desktop/images/16012025/23/10/image_16012025_23_10_02_269205_0003.jpg', '/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0000.jpg', '/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0001.jpg', '/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0002.jpg', '/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/10/image_16012025_23_10_02_269205_0002.jpg
/home/pi/Desktop/images/16012025/23/10/image_16012025_23_10_02_269205_0003.jpg
/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0000.jpg
/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0001.jpg
/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0002.jpg
/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.909067392349243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:35:22.114459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/34/image_18012025_19_34_03_006836_0003.jpg', '/home/pi/Desktop/images/18012025/19/35/image_18012025_19_35_02_202539_0000.jpg', '/home/pi/Desktop/images/18012025/19/35/image_18012025_19_35_02_202539_0001.jpg', '/home/pi/Desktop/images/18012025/19/35/image_18012025_19_35_02_202539_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/34/image_18012025_19_34_03_006836_0003.jpg
/home/pi/Desktop/images/18012025/19/35/image_18012025_19_35_02_202539_0000.jpg
/home/pi/Desktop/images/18012025/19/35/image_18012025_19_35_02_202539_0001.jpg
/home/pi/Desktop/images/18012025/19/35/image_18012025_19_35_02_202539_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329830736","1329830744","1329830749","1329830763"],"photo_ids_order":["1329830736","1329830744","1329830749","1329830763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/69d456a21bf611ffb2010448e2ebaddb.jpg","text":"TemporaryFile(/tmp/multipartBody2007125980546190561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225392924,"filename":"image_18012025_19_34_03_006836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/76821fa444168a8bf33a995b039267df.jpg","text":"TemporaryFile(/tmp/multipartBody8905062987556685053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225392924,"filename":"image_18012025_19_35_02_202539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/91b08726e2a3d6af858890b010517173.jpg","text":"TemporaryFile(/tmp/multipartBody6043995573560594922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225392924,"filename":"image_18012025_19_35_02_202539_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3f972c206a0e6367844d87d3a14f68c.jpg","text":"TemporaryFile(/tmp/multipartBody3013585037621412639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225392924,"filename":"image_18012025_19_35_02_202539_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329830749","file1":"1329830744","file0":"1329830736","file3":"1329830763"},"map_files_photo_id_array":[{"photo_id":"1329830749","filename":"file2"},{"photo_id":"1329830744","filename":"file1"},{"photo_id":"1329830736","filename":"file0"},{"photo_id":"1329830763","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329830736":["hashtag1","hashtag2"]},{"1329830744":["hashtag1","hashtag2"]},{"1329830749":["hashtag1","hashtag2"]},{"1329830763":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329830736, 1329830744, 1329830749, 1329830763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.364580154418945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 19:36:02.585763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/10/image_16012025_23_10_02_269205_0002.jpg', '/home/pi/Desktop/images/16012025/23/10/image_16012025_23_10_02_269205_0003.jpg', '/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0000.jpg', '/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0001.jpg', '/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0002.jpg', '/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/10/image_16012025_23_10_02_269205_0002.jpg
/home/pi/Desktop/images/16012025/23/10/image_16012025_23_10_02_269205_0003.jpg
/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0000.jpg
/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0001.jpg
/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_0002.jpg
/home/pi/Desktop/images/16012025/23/11/image_16012025_23_11_02_459853_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":["1329830772","1329830783","1329830779","1329830776","1329830787","1329830769"],"photo_ids_order":["1329830769","1329830772","1329830776","1329830779","1329830783","1329830787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b3c74b82b68881de4b31cfa937ba8ecd.jpg","text":"TemporaryFile(/tmp/multipartBody2588758578867100356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225440758,"filename":"image_16012025_23_10_02_269205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6486ca481d63480c66c45886244f037a.jpg","text":"TemporaryFile(/tmp/multipartBody8859336409572663096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225440758,"filename":"image_16012025_23_11_02_459853_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b343c3970cc5c5bd612cf7616d606960.jpg","text":"TemporaryFile(/tmp/multipartBody5905294919950695666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225440758,"filename":"image_16012025_23_11_02_459853_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d1f7ff0d115d31d741c53eabe5f71b8.jpg","text":"TemporaryFile(/tmp/multipartBody26481175855097643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225440758,"filename":"image_16012025_23_11_02_459853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5b716f28576e3c6f2562bfb5a0ac88c3.jpg","text":"TemporaryFile(/tmp/multipartBody762016172611157424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225440758,"filename":"image_16012025_23_11_02_459853_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd1534323ef431abcb42b73957699da2.jpg","text":"TemporaryFile(/tmp/multipartBody3157248430046085701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225440758,"filename":"image_16012025_23_10_02_269205_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329830776","file1":"1329830772","file0":"1329830769","file4":"1329830783","file5":"1329830787","file3":"1329830779"},"map_files_photo_id_array":[{"photo_id":"1329830787","filename":"file5"},{"photo_id":"1329830776","filename":"file2"},{"photo_id":"1329830783","filename":"file4"},{"photo_id":"1329830772","filename":"file1"},{"photo_id":"1329830769","filename":"file0"},{"photo_id":"1329830779","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329830772":["hashtag1","hashtag2"]},{"1329830783":["hashtag1","hashtag2"]},{"1329830779":["hashtag1","hashtag2"]},{"1329830776":["hashtag1","hashtag2"]},{"1329830787":["hashtag1","hashtag2"]},{"1329830769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329830772, 1329830783, 1329830779, 1329830776, 1329830787, 1329830769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.86417865753174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 19:37:03.009944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/35/image_18012025_19_35_02_202539_0003.jpg', '/home/pi/Desktop/images/18012025/19/36/image_18012025_19_36_02_310722_0000.jpg', '/home/pi/Desktop/images/18012025/19/36/image_18012025_19_36_02_310722_0001.jpg', '/home/pi/Desktop/images/18012025/19/36/image_18012025_19_36_02_310722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/35/image_18012025_19_35_02_202539_0003.jpg
/home/pi/Desktop/images/18012025/19/36/image_18012025_19_36_02_310722_0000.jpg
/home/pi/Desktop/images/18012025/19/36/image_18012025_19_36_02_310722_0001.jpg
/home/pi/Desktop/images/18012025/19/36/image_18012025_19_36_02_310722_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329830859","1329830879","1329830876","1329830858"],"photo_ids_order":["1329830858","1329830859","1329830876","1329830879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/29b36e01bbfdaae45e1a10f736d821db.jpg","text":"TemporaryFile(/tmp/multipartBody7877446401152400907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225494470,"filename":"image_18012025_19_36_02_310722_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/572376a0b3d78edcf7af9bfcd4863518.jpg","text":"TemporaryFile(/tmp/multipartBody4680758799334769871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225494470,"filename":"image_18012025_19_36_02_310722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2bf1389ea5089d8611fe80a3aaf809f7.jpg","text":"TemporaryFile(/tmp/multipartBody1411763957308781783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225494470,"filename":"image_18012025_19_36_02_310722_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b407e7a9436442cdcdd8228ae9c8034.jpg","text":"TemporaryFile(/tmp/multipartBody2714287411482129396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225494470,"filename":"image_18012025_19_35_02_202539_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329830876","file1":"1329830859","file0":"1329830858","file3":"1329830879"},"map_files_photo_id_array":[{"photo_id":"1329830876","filename":"file2"},{"photo_id":"1329830859","filename":"file1"},{"photo_id":"1329830858","filename":"file0"},{"photo_id":"1329830879","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329830859":["hashtag1","hashtag2"]},{"1329830879":["hashtag1","hashtag2"]},{"1329830876":["hashtag1","hashtag2"]},{"1329830858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329830859, 1329830879, 1329830876, 1329830858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.475749254226685 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:37:52.430726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/36/image_18012025_19_36_02_310722_0003.jpg', '/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0000.jpg', '/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0001.jpg', '/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/36/image_18012025_19_36_02_310722_0003.jpg
/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0000.jpg
/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0001.jpg
/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.131757020950317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:38:22.740502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/36/image_18012025_19_36_02_310722_0003.jpg', '/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0000.jpg', '/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0001.jpg', '/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0002.jpg', '/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0003.jpg', '/home/pi/Desktop/images/18012025/19/38/image_18012025_19_38_02_810799_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/36/image_18012025_19_36_02_310722_0003.jpg
/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0000.jpg
/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0001.jpg
/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0002.jpg
/home/pi/Desktop/images/18012025/19/37/image_18012025_19_37_02_501509_0003.jpg
/home/pi/Desktop/images/18012025/19/38/image_18012025_19_38_02_810799_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329831520","1329831217","1329830983","1329831007","1329830986","1329831004"],"photo_ids_order":["1329830983","1329830986","1329831004","1329831007","1329831217","1329831520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3a8b52b3f693d37b41b548576f194022.jpg","text":"TemporaryFile(/tmp/multipartBody8689226387135048083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225579766,"filename":"image_18012025_19_38_02_810799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f85063bc6f40a04ae656e557329051f.jpg","text":"TemporaryFile(/tmp/multipartBody8633159721800200391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225579766,"filename":"image_18012025_19_37_02_501509_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2522da3d6a37659f93bdf49ba3d2bf3.jpg","text":"TemporaryFile(/tmp/multipartBody7218134532339451695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225579766,"filename":"image_18012025_19_36_02_310722_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/12e359370c45afdaed71b50619e3af09.jpg","text":"TemporaryFile(/tmp/multipartBody6708854356740686071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225579766,"filename":"image_18012025_19_37_02_501509_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de762e68a48bb1a2e1c0f71f0c894277.jpg","text":"TemporaryFile(/tmp/multipartBody4513170454501652503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225579766,"filename":"image_18012025_19_37_02_501509_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8c440bae04170b327b02cbc85b7c44f.jpg","text":"TemporaryFile(/tmp/multipartBody5834626383088912382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225579766,"filename":"image_18012025_19_37_02_501509_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329831004","file1":"1329830986","file0":"1329830983","file4":"1329831217","file5":"1329831520","file3":"1329831007"},"map_files_photo_id_array":[{"photo_id":"1329831520","filename":"file5"},{"photo_id":"1329831004","filename":"file2"},{"photo_id":"1329831217","filename":"file4"},{"photo_id":"1329830986","filename":"file1"},{"photo_id":"1329830983","filename":"file0"},{"photo_id":"1329831007","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329831520":["hashtag1","hashtag2"]},{"1329831217":["hashtag1","hashtag2"]},{"1329830983":["hashtag1","hashtag2"]},{"1329831007":["hashtag1","hashtag2"]},{"1329830986":["hashtag1","hashtag2"]},{"1329831004":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329831520, 1329831217, 1329830983, 1329831007, 1329830986, 1329831004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.436492681503296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:39:22.015089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/38/image_18012025_19_38_02_810799_0001.jpg', '/home/pi/Desktop/images/18012025/19/38/image_18012025_19_38_02_810799_0002.jpg', '/home/pi/Desktop/images/18012025/19/38/image_18012025_19_38_02_810799_0003.jpg', '/home/pi/Desktop/images/18012025/19/39/image_18012025_19_39_02_972053_0000.jpg', '/home/pi/Desktop/images/18012025/19/39/image_18012025_19_39_02_972053_0001.jpg', '/home/pi/Desktop/images/18012025/19/39/image_18012025_19_39_02_972053_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/38/image_18012025_19_38_02_810799_0001.jpg
/home/pi/Desktop/images/18012025/19/38/image_18012025_19_38_02_810799_0002.jpg
/home/pi/Desktop/images/18012025/19/38/image_18012025_19_38_02_810799_0003.jpg
/home/pi/Desktop/images/18012025/19/39/image_18012025_19_39_02_972053_0000.jpg
/home/pi/Desktop/images/18012025/19/39/image_18012025_19_39_02_972053_0001.jpg
/home/pi/Desktop/images/18012025/19/39/image_18012025_19_39_02_972053_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329832297","1329832288","1329832284","1329832298","1329832292","1329832295"],"photo_ids_order":["1329832284","1329832288","1329832292","1329832295","1329832297","1329832298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f98b728d786874427846bc2a7394aa14.jpg","text":"TemporaryFile(/tmp/multipartBody5639854688212502269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225638613,"filename":"image_18012025_19_39_02_972053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f11d96644bf8e0feed1cdd9776c5a87e.jpg","text":"TemporaryFile(/tmp/multipartBody6283459834597344830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225638613,"filename":"image_18012025_19_38_02_810799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/edadd030af54d7e649b2319ab8210adf.jpg","text":"TemporaryFile(/tmp/multipartBody831123619887984028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225638613,"filename":"image_18012025_19_38_02_810799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6eee1440b96eff82ba7bc9e69919de34.jpg","text":"TemporaryFile(/tmp/multipartBody6342068794272751358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225638613,"filename":"image_18012025_19_39_02_972053_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de8a6d44de6c7e5d41c88a91fed73bc2.jpg","text":"TemporaryFile(/tmp/multipartBody3888529898199664070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225638613,"filename":"image_18012025_19_38_02_810799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0cee621cd713d57037d38d13ee1f69e.jpg","text":"TemporaryFile(/tmp/multipartBody4735055090621078699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225638613,"filename":"image_18012025_19_39_02_972053_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329832292","file1":"1329832288","file0":"1329832284","file4":"1329832297","file5":"1329832298","file3":"1329832295"},"map_files_photo_id_array":[{"photo_id":"1329832298","filename":"file5"},{"photo_id":"1329832292","filename":"file2"},{"photo_id":"1329832297","filename":"file4"},{"photo_id":"1329832288","filename":"file1"},{"photo_id":"1329832284","filename":"file0"},{"photo_id":"1329832295","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329832297":["hashtag1","hashtag2"]},{"1329832288":["hashtag1","hashtag2"]},{"1329832284":["hashtag1","hashtag2"]},{"1329832298":["hashtag1","hashtag2"]},{"1329832292":["hashtag1","hashtag2"]},{"1329832295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329832297, 1329832288, 1329832284, 1329832298, 1329832292, 1329832295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.64277958869934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:40:32.064055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/39/image_18012025_19_39_02_972053_0003.jpg', '/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0000.jpg', '/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0001.jpg', '/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/39/image_18012025_19_39_02_972053_0003.jpg
/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0000.jpg
/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0001.jpg
/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.100252389907837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:40:52.049914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/39/image_18012025_19_39_02_972053_0003.jpg', '/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0000.jpg', '/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0001.jpg', '/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/39/image_18012025_19_39_02_972053_0003.jpg
/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0000.jpg
/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0001.jpg
/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329832361","1329832360","1329832557","1329832367"],"photo_ids_order":["1329832360","1329832361","1329832367","1329832557"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b70b7192605fee66098fde56a3f89ead.jpg","text":"TemporaryFile(/tmp/multipartBody6031469936483501870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225723573,"filename":"image_18012025_19_40_02_340382_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c30e7bfb66dd7aa64b0d60fb1d8da824.jpg","text":"TemporaryFile(/tmp/multipartBody6700207254822389910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225723573,"filename":"image_18012025_19_39_02_972053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/860ec6dde62d4d71a7d7873152abb166.jpg","text":"TemporaryFile(/tmp/multipartBody6352452194388099969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225723573,"filename":"image_18012025_19_40_02_340382_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/525b07f6d333d2bcf96698f5692a96ac.jpg","text":"TemporaryFile(/tmp/multipartBody3063227016844032525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225723573,"filename":"image_18012025_19_40_02_340382_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329832367","file1":"1329832361","file0":"1329832360","file3":"1329832557"},"map_files_photo_id_array":[{"photo_id":"1329832367","filename":"file2"},{"photo_id":"1329832361","filename":"file1"},{"photo_id":"1329832360","filename":"file0"},{"photo_id":"1329832557","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329832361":["hashtag1","hashtag2"]},{"1329832360":["hashtag1","hashtag2"]},{"1329832557":["hashtag1","hashtag2"]},{"1329832367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329832361, 1329832360, 1329832557, 1329832367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.73415684700012 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 19:41:42.258815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0003.jpg', '/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0000.jpg', '/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0001.jpg', '/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0003.jpg
/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0000.jpg
/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0001.jpg
/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.99909496307373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 19:42:02.874607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0003.jpg', '/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0000.jpg', '/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0001.jpg', '/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/40/image_18012025_19_40_02_340382_0003.jpg
/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0000.jpg
/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0001.jpg
/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329833140","1329833147","1329833141","1329833144"],"photo_ids_order":["1329833140","1329833141","1329833144","1329833147"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b96bc072a762d9004cec861bc6dd2e6e.jpg","text":"TemporaryFile(/tmp/multipartBody2474280624074437757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225794295,"filename":"image_18012025_19_40_02_340382_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b3e6b7a692ecab935415f3fbec9ea0b.jpg","text":"TemporaryFile(/tmp/multipartBody3516055265436406229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225794295,"filename":"image_18012025_19_41_02_478555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/656259cee6f95ca689e5d759342392a0.jpg","text":"TemporaryFile(/tmp/multipartBody4969094666556649919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225794295,"filename":"image_18012025_19_41_02_478555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c868784ecba66ab40738b7b86e26ec7.jpg","text":"TemporaryFile(/tmp/multipartBody5001283430795484106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225794295,"filename":"image_18012025_19_41_02_478555_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329833144","file1":"1329833141","file0":"1329833140","file3":"1329833147"},"map_files_photo_id_array":[{"photo_id":"1329833144","filename":"file2"},{"photo_id":"1329833141","filename":"file1"},{"photo_id":"1329833140","filename":"file0"},{"photo_id":"1329833147","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329833140":["hashtag1","hashtag2"]},{"1329833147":["hashtag1","hashtag2"]},{"1329833141":["hashtag1","hashtag2"]},{"1329833144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329833140, 1329833147, 1329833141, 1329833144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.54178285598755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:42:52.444173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0003.jpg', '/home/pi/Desktop/images/18012025/19/42/image_18012025_19_42_02_585942_0000.jpg', '/home/pi/Desktop/images/18012025/19/42/image_18012025_19_42_02_585942_0001.jpg', '/home/pi/Desktop/images/18012025/19/42/image_18012025_19_42_02_585942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/41/image_18012025_19_41_02_478555_0003.jpg
/home/pi/Desktop/images/18012025/19/42/image_18012025_19_42_02_585942_0000.jpg
/home/pi/Desktop/images/18012025/19/42/image_18012025_19_42_02_585942_0001.jpg
/home/pi/Desktop/images/18012025/19/42/image_18012025_19_42_02_585942_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329833446","1329833428","1329833426","1329833429"],"photo_ids_order":["1329833426","1329833428","1329833429","1329833446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f5d7a4153d647bab9dc0c120141c3d86.jpg","text":"TemporaryFile(/tmp/multipartBody1267731821013722214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225843922,"filename":"image_18012025_19_42_02_585942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/44107faf001e610092d86e0189dee11d.jpg","text":"TemporaryFile(/tmp/multipartBody2421724229000733205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225843922,"filename":"image_18012025_19_42_02_585942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70c429231cba663a2b045c8bd2e65bf4.jpg","text":"TemporaryFile(/tmp/multipartBody1155564949761800562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225843922,"filename":"image_18012025_19_41_02_478555_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f12c8cfde32f672afa1c8f30f8b6aaff.jpg","text":"TemporaryFile(/tmp/multipartBody8264566994552271901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225843922,"filename":"image_18012025_19_42_02_585942_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329833429","file1":"1329833428","file0":"1329833426","file3":"1329833446"},"map_files_photo_id_array":[{"photo_id":"1329833429","filename":"file2"},{"photo_id":"1329833428","filename":"file1"},{"photo_id":"1329833426","filename":"file0"},{"photo_id":"1329833446","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329833446":["hashtag1","hashtag2"]},{"1329833428":["hashtag1","hashtag2"]},{"1329833426":["hashtag1","hashtag2"]},{"1329833429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329833446, 1329833428, 1329833426, 1329833429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.23546743392944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 19:43:42.648688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/42/image_18012025_19_42_02_585942_0003.jpg', '/home/pi/Desktop/images/18012025/19/43/image_18012025_19_43_02_793376_0000.jpg', '/home/pi/Desktop/images/18012025/19/43/image_18012025_19_43_02_793376_0001.jpg', '/home/pi/Desktop/images/18012025/19/43/image_18012025_19_43_02_793376_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/42/image_18012025_19_42_02_585942_0003.jpg
/home/pi/Desktop/images/18012025/19/43/image_18012025_19_43_02_793376_0000.jpg
/home/pi/Desktop/images/18012025/19/43/image_18012025_19_43_02_793376_0001.jpg
/home/pi/Desktop/images/18012025/19/43/image_18012025_19_43_02_793376_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329833501","1329833504","1329833506","1329833489"],"photo_ids_order":["1329833489","1329833501","1329833504","1329833506"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8759d0b8ab533e99f1768e88a3154464.jpg","text":"TemporaryFile(/tmp/multipartBody5799777722212995490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225894290,"filename":"image_18012025_19_43_02_793376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c1a88f72997a33847dd396d7be6816b.jpg","text":"TemporaryFile(/tmp/multipartBody8892666578582492061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225894290,"filename":"image_18012025_19_43_02_793376_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f046a137be2fff4d211c7bf9357d51ff.jpg","text":"TemporaryFile(/tmp/multipartBody1671809713523013214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225894290,"filename":"image_18012025_19_43_02_793376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/338b84b1557ffe3d2a4c62bbf1fb379e.jpg","text":"TemporaryFile(/tmp/multipartBody7735986248194997654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225894290,"filename":"image_18012025_19_42_02_585942_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329833504","file1":"1329833501","file0":"1329833489","file3":"1329833506"},"map_files_photo_id_array":[{"photo_id":"1329833504","filename":"file2"},{"photo_id":"1329833501","filename":"file1"},{"photo_id":"1329833489","filename":"file0"},{"photo_id":"1329833506","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329833501":["hashtag1","hashtag2"]},{"1329833504":["hashtag1","hashtag2"]},{"1329833506":["hashtag1","hashtag2"]},{"1329833489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329833501, 1329833504, 1329833506, 1329833489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.99092149734497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:44:31.811387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/43/image_18012025_19_43_02_793376_0003.jpg', '/home/pi/Desktop/images/18012025/19/44/image_18012025_19_44_03_012126_0000.jpg', '/home/pi/Desktop/images/18012025/19/44/image_18012025_19_44_03_012126_0001.jpg', '/home/pi/Desktop/images/18012025/19/44/image_18012025_19_44_03_012126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/43/image_18012025_19_43_02_793376_0003.jpg
/home/pi/Desktop/images/18012025/19/44/image_18012025_19_44_03_012126_0000.jpg
/home/pi/Desktop/images/18012025/19/44/image_18012025_19_44_03_012126_0001.jpg
/home/pi/Desktop/images/18012025/19/44/image_18012025_19_44_03_012126_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329833522","1329833516","1329833525","1329833519"],"photo_ids_order":["1329833516","1329833519","1329833522","1329833525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4cbd0ede85e68e7b3d1161aa9a6ad0b.jpg","text":"TemporaryFile(/tmp/multipartBody2608124855941746878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225942898,"filename":"image_18012025_19_44_03_012126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/10049f400799a92f3b226e3210cd847c.jpg","text":"TemporaryFile(/tmp/multipartBody4271030127472490827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225942898,"filename":"image_18012025_19_43_02_793376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f1c7ad4c3cbbdc8119f06dfb525267e.jpg","text":"TemporaryFile(/tmp/multipartBody7824131076624031850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225942898,"filename":"image_18012025_19_44_03_012126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9575f7e8ed3ae9a6a435c748248e4d9f.jpg","text":"TemporaryFile(/tmp/multipartBody2677295511662997653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737225942898,"filename":"image_18012025_19_44_03_012126_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329833522","file1":"1329833519","file0":"1329833516","file3":"1329833525"},"map_files_photo_id_array":[{"photo_id":"1329833522","filename":"file2"},{"photo_id":"1329833519","filename":"file1"},{"photo_id":"1329833516","filename":"file0"},{"photo_id":"1329833525","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329833522":["hashtag1","hashtag2"]},{"1329833516":["hashtag1","hashtag2"]},{"1329833525":["hashtag1","hashtag2"]},{"1329833519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329833522, 1329833516, 1329833525, 1329833519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.44612240791321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:45:22.061876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/44/image_18012025_19_44_03_012126_0003.jpg', '/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0000.jpg', '/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0001.jpg', '/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/44/image_18012025_19_44_03_012126_0003.jpg
/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0000.jpg
/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0001.jpg
/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.213883876800537 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 19:45:41.979056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/44/image_18012025_19_44_03_012126_0003.jpg', '/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0000.jpg', '/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0001.jpg', '/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/44/image_18012025_19_44_03_012126_0003.jpg
/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0000.jpg
/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0001.jpg
/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329833545","1329833550","1329833547","1329833552"],"photo_ids_order":["1329833545","1329833547","1329833550","1329833552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46a9c42af1b290a674a92c51cbee84f1.jpg","text":"TemporaryFile(/tmp/multipartBody3064999589642495324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226013589,"filename":"image_18012025_19_44_03_012126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7df2b3db78f5ec8b0d1767a9846cf3a9.jpg","text":"TemporaryFile(/tmp/multipartBody8679388351517141642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226013589,"filename":"image_18012025_19_45_02_162508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8481060e1f7f954f660ef2807cbc1012.jpg","text":"TemporaryFile(/tmp/multipartBody6587306336479585631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226013589,"filename":"image_18012025_19_45_02_162508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e9113ac51b9b777d68a79ef79e70862.jpg","text":"TemporaryFile(/tmp/multipartBody6386465492830506333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226013589,"filename":"image_18012025_19_45_02_162508_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329833550","file1":"1329833547","file0":"1329833545","file3":"1329833552"},"map_files_photo_id_array":[{"photo_id":"1329833550","filename":"file2"},{"photo_id":"1329833547","filename":"file1"},{"photo_id":"1329833545","filename":"file0"},{"photo_id":"1329833552","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329833545":["hashtag1","hashtag2"]},{"1329833550":["hashtag1","hashtag2"]},{"1329833547":["hashtag1","hashtag2"]},{"1329833552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329833545, 1329833550, 1329833547, 1329833552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.173906564712524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:46:32.153617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0003.jpg', '/home/pi/Desktop/images/18012025/19/46/image_18012025_19_46_02_373536_0000.jpg', '/home/pi/Desktop/images/18012025/19/46/image_18012025_19_46_02_373536_0001.jpg', '/home/pi/Desktop/images/18012025/19/46/image_18012025_19_46_02_373536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/45/image_18012025_19_45_02_162508_0003.jpg
/home/pi/Desktop/images/18012025/19/46/image_18012025_19_46_02_373536_0000.jpg
/home/pi/Desktop/images/18012025/19/46/image_18012025_19_46_02_373536_0001.jpg
/home/pi/Desktop/images/18012025/19/46/image_18012025_19_46_02_373536_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329833566","1329833574","1329833561","1329833570"],"photo_ids_order":["1329833561","1329833566","1329833570","1329833574"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4a45935462ae0da1415adeeebf42c594.jpg","text":"TemporaryFile(/tmp/multipartBody8654950058298386655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226063439,"filename":"image_18012025_19_46_02_373536_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3bd4c6c3c16ea1c957c131172a0ca756.jpg","text":"TemporaryFile(/tmp/multipartBody6016404373406142797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226063439,"filename":"image_18012025_19_46_02_373536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c08c69172ad576f80b90b960190265a.jpg","text":"TemporaryFile(/tmp/multipartBody7518418472777394717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226063439,"filename":"image_18012025_19_45_02_162508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7750770bcda43aeb55eed2d815855f81.jpg","text":"TemporaryFile(/tmp/multipartBody8738611510217580143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226063439,"filename":"image_18012025_19_46_02_373536_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329833570","file1":"1329833566","file0":"1329833561","file3":"1329833574"},"map_files_photo_id_array":[{"photo_id":"1329833570","filename":"file2"},{"photo_id":"1329833566","filename":"file1"},{"photo_id":"1329833561","filename":"file0"},{"photo_id":"1329833574","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329833566":["hashtag1","hashtag2"]},{"1329833574":["hashtag1","hashtag2"]},{"1329833561":["hashtag1","hashtag2"]},{"1329833570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329833566, 1329833574, 1329833561, 1329833570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.758007764816284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:47:22.378827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/46/image_18012025_19_46_02_373536_0003.jpg', '/home/pi/Desktop/images/18012025/19/47/image_18012025_19_47_02_554349_0000.jpg', '/home/pi/Desktop/images/18012025/19/47/image_18012025_19_47_02_554349_0001.jpg', '/home/pi/Desktop/images/18012025/19/47/image_18012025_19_47_02_554349_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/46/image_18012025_19_46_02_373536_0003.jpg
/home/pi/Desktop/images/18012025/19/47/image_18012025_19_47_02_554349_0000.jpg
/home/pi/Desktop/images/18012025/19/47/image_18012025_19_47_02_554349_0001.jpg
/home/pi/Desktop/images/18012025/19/47/image_18012025_19_47_02_554349_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329833605","1329833636","1329833630","1329833633"],"photo_ids_order":["1329833605","1329833630","1329833633","1329833636"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9406e3c45f1f6bc6e61f875400d3f696.jpg","text":"TemporaryFile(/tmp/multipartBody6471096309307491366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226113476,"filename":"image_18012025_19_46_02_373536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5aeaa6e80905d87612954a9e879ead50.jpg","text":"TemporaryFile(/tmp/multipartBody6213103491756540292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226113476,"filename":"image_18012025_19_47_02_554349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f3ec869929b1847bf906dbe61c9a2a1e.jpg","text":"TemporaryFile(/tmp/multipartBody6523419884980671246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226113476,"filename":"image_18012025_19_47_02_554349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/062af3864aab6625db5e9b200503eb53.jpg","text":"TemporaryFile(/tmp/multipartBody2458163727256218538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226113476,"filename":"image_18012025_19_47_02_554349_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329833633","file1":"1329833630","file0":"1329833605","file3":"1329833636"},"map_files_photo_id_array":[{"photo_id":"1329833633","filename":"file2"},{"photo_id":"1329833630","filename":"file1"},{"photo_id":"1329833605","filename":"file0"},{"photo_id":"1329833636","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329833605":["hashtag1","hashtag2"]},{"1329833636":["hashtag1","hashtag2"]},{"1329833630":["hashtag1","hashtag2"]},{"1329833633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329833605, 1329833636, 1329833630, 1329833633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.50167465209961 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 19:48:03.107176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/12/image_16012025_23_12_02_580151_0000.jpg', '/home/pi/Desktop/images/16012025/23/12/image_16012025_23_12_02_580151_0001.jpg', '/home/pi/Desktop/images/16012025/23/12/image_16012025_23_12_02_580151_0002.jpg', '/home/pi/Desktop/images/16012025/23/12/image_16012025_23_12_02_580151_0003.jpg', '/home/pi/Desktop/images/16012025/23/13/image_16012025_23_13_02_727214_0000.jpg', '/home/pi/Desktop/images/16012025/23/13/image_16012025_23_13_02_727214_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/12/image_16012025_23_12_02_580151_0000.jpg
/home/pi/Desktop/images/16012025/23/12/image_16012025_23_12_02_580151_0001.jpg
/home/pi/Desktop/images/16012025/23/12/image_16012025_23_12_02_580151_0002.jpg
/home/pi/Desktop/images/16012025/23/12/image_16012025_23_12_02_580151_0003.jpg
/home/pi/Desktop/images/16012025/23/13/image_16012025_23_13_02_727214_0000.jpg
/home/pi/Desktop/images/16012025/23/13/image_16012025_23_13_02_727214_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":["1329833659","1329833641","1329833643","1329833646","1329833655","1329833651"],"photo_ids_order":["1329833641","1329833643","1329833646","1329833651","1329833655","1329833659"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b288eabd4e3af8f3849a8fe0e91025c.jpg","text":"TemporaryFile(/tmp/multipartBody8448541083916667082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226161039,"filename":"image_16012025_23_13_02_727214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d479a934e773c628aa525e88eaa04f56.jpg","text":"TemporaryFile(/tmp/multipartBody6054545565798854713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226161039,"filename":"image_16012025_23_12_02_580151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9612a8f5964338ddec3dfc1ebd937bf.jpg","text":"TemporaryFile(/tmp/multipartBody2673960932485505906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226161039,"filename":"image_16012025_23_12_02_580151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/14b228dc3474591c3a229b3af311d877.jpg","text":"TemporaryFile(/tmp/multipartBody4485864980061278221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226161039,"filename":"image_16012025_23_12_02_580151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e841742a88d63ac08aac79899abb621.jpg","text":"TemporaryFile(/tmp/multipartBody6345665658574554308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226161039,"filename":"image_16012025_23_13_02_727214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f35d53b0a50f3ebaf1b2f3a95c19aac.jpg","text":"TemporaryFile(/tmp/multipartBody6127136981337797936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226161039,"filename":"image_16012025_23_12_02_580151_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329833646","file1":"1329833643","file0":"1329833641","file4":"1329833655","file5":"1329833659","file3":"1329833651"},"map_files_photo_id_array":[{"photo_id":"1329833659","filename":"file5"},{"photo_id":"1329833646","filename":"file2"},{"photo_id":"1329833655","filename":"file4"},{"photo_id":"1329833643","filename":"file1"},{"photo_id":"1329833641","filename":"file0"},{"photo_id":"1329833651","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329833659":["hashtag1","hashtag2"]},{"1329833641":["hashtag1","hashtag2"]},{"1329833643":["hashtag1","hashtag2"]},{"1329833646":["hashtag1","hashtag2"]},{"1329833655":["hashtag1","hashtag2"]},{"1329833651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329833659, 1329833641, 1329833643, 1329833646, 1329833655, 1329833651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.200854539871216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 19:49:03.284620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/47/image_18012025_19_47_02_554349_0003.jpg', '/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0000.jpg', '/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0001.jpg', '/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/47/image_18012025_19_47_02_554349_0003.jpg
/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0000.jpg
/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0001.jpg
/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.138601541519165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:49:22.725555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/47/image_18012025_19_47_02_554349_0003.jpg', '/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0000.jpg', '/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0001.jpg', '/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0002.jpg', '/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0003.jpg', '/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/47/image_18012025_19_47_02_554349_0003.jpg
/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0000.jpg
/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0001.jpg
/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0002.jpg
/home/pi/Desktop/images/18012025/19/48/image_18012025_19_48_02_681569_0003.jpg
/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329833742","1329833733","1329833712","1329833699","1329833693","1329833696"],"photo_ids_order":["1329833693","1329833696","1329833699","1329833712","1329833733","1329833742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/daf19a0720a2932873cfb5ad7c6ea73d.jpg","text":"TemporaryFile(/tmp/multipartBody6314352960956412531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226239602,"filename":"image_18012025_19_49_02_954964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d6db7a6deb1964c1085755691dcb81d.jpg","text":"TemporaryFile(/tmp/multipartBody5151475114330435332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226239602,"filename":"image_18012025_19_48_02_681569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/348f142452c804f48bfa68033539bea6.jpg","text":"TemporaryFile(/tmp/multipartBody4645211738365923751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226239602,"filename":"image_18012025_19_48_02_681569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/02ffeb2a5b4265c643cb128f13eb29b7.jpg","text":"TemporaryFile(/tmp/multipartBody6672317117474996331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226239602,"filename":"image_18012025_19_48_02_681569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c15a15e32c7424c4a45e005e66f0836f.jpg","text":"TemporaryFile(/tmp/multipartBody9070232871260595430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226239602,"filename":"image_18012025_19_47_02_554349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b03dde0fe87925e43c08cbf761c6bd4.jpg","text":"TemporaryFile(/tmp/multipartBody7179143528103617829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226239602,"filename":"image_18012025_19_48_02_681569_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329833699","file1":"1329833696","file0":"1329833693","file4":"1329833733","file5":"1329833742","file3":"1329833712"},"map_files_photo_id_array":[{"photo_id":"1329833742","filename":"file5"},{"photo_id":"1329833699","filename":"file2"},{"photo_id":"1329833733","filename":"file4"},{"photo_id":"1329833696","filename":"file1"},{"photo_id":"1329833693","filename":"file0"},{"photo_id":"1329833712","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329833742":["hashtag1","hashtag2"]},{"1329833733":["hashtag1","hashtag2"]},{"1329833712":["hashtag1","hashtag2"]},{"1329833699":["hashtag1","hashtag2"]},{"1329833693":["hashtag1","hashtag2"]},{"1329833696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329833742, 1329833733, 1329833712, 1329833699, 1329833693, 1329833696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.52885937690735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:50:21.782832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0001.jpg', '/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0002.jpg', '/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0003.jpg', '/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0000.jpg', '/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0001.jpg', '/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0001.jpg
/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0002.jpg
/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0003.jpg
/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0000.jpg
/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0001.jpg
/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.057969570159912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 19:50:41.870703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0001.jpg', '/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0002.jpg', '/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0003.jpg', '/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0000.jpg', '/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0001.jpg', '/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0001.jpg
/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0002.jpg
/home/pi/Desktop/images/18012025/19/49/image_18012025_19_49_02_954964_0003.jpg
/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0000.jpg
/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0001.jpg
/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329833785","1329833787","1329833790","1329833783","1329833786","1329833780"],"photo_ids_order":["1329833780","1329833783","1329833785","1329833786","1329833787","1329833790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be81d020c95572b2bbfcb0fc66cbd7cf.jpg","text":"TemporaryFile(/tmp/multipartBody5532307693010400438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226318317,"filename":"image_18012025_19_49_02_954964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3fb41738d99ae6119abc258f52a03115.jpg","text":"TemporaryFile(/tmp/multipartBody1088637632630246266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226318317,"filename":"image_18012025_19_50_03_029499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/979c8a6d45dac1248211040c27b0cbf8.jpg","text":"TemporaryFile(/tmp/multipartBody2851030602148734227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226318317,"filename":"image_18012025_19_50_03_029499_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/69687f7a577ccd1fdf69bde6da52c2e4.jpg","text":"TemporaryFile(/tmp/multipartBody8606336941229794721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226318317,"filename":"image_18012025_19_49_02_954964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2d97bf393b1c3d7d04067508a63f177b.jpg","text":"TemporaryFile(/tmp/multipartBody5747110951334953172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226318317,"filename":"image_18012025_19_50_03_029499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9db7120ec271ec5665aef1b84b9c84c1.jpg","text":"TemporaryFile(/tmp/multipartBody323950968810266996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226318317,"filename":"image_18012025_19_49_02_954964_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329833785","file1":"1329833783","file0":"1329833780","file4":"1329833787","file5":"1329833790","file3":"1329833786"},"map_files_photo_id_array":[{"photo_id":"1329833790","filename":"file5"},{"photo_id":"1329833785","filename":"file2"},{"photo_id":"1329833787","filename":"file4"},{"photo_id":"1329833783","filename":"file1"},{"photo_id":"1329833780","filename":"file0"},{"photo_id":"1329833786","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329833785":["hashtag1","hashtag2"]},{"1329833787":["hashtag1","hashtag2"]},{"1329833790":["hashtag1","hashtag2"]},{"1329833783":["hashtag1","hashtag2"]},{"1329833786":["hashtag1","hashtag2"]},{"1329833780":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329833785, 1329833787, 1329833790, 1329833783, 1329833786, 1329833780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.92211127281189 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 19:51:42.040751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0003.jpg', '/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0000.jpg', '/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0001.jpg', '/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0003.jpg
/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0000.jpg
/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0001.jpg
/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.082972288131714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 19:52:02.561872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0003.jpg', '/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0000.jpg', '/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0001.jpg', '/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/50/image_18012025_19_50_03_029499_0003.jpg
/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0000.jpg
/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0001.jpg
/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329834019","1329834060","1329834014","1329834017"],"photo_ids_order":["1329834014","1329834017","1329834019","1329834060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3ede714acf5b66217ee824726f9aaf9f.jpg","text":"TemporaryFile(/tmp/multipartBody4725525312265363071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226394072,"filename":"image_18012025_19_51_02_198105_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e36c2f46335a9c2926acc87a17f8d1f.jpg","text":"TemporaryFile(/tmp/multipartBody6675694380000831569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226394072,"filename":"image_18012025_19_51_02_198105_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6983d0aebd32a0db1bc655ca2d74d9d2.jpg","text":"TemporaryFile(/tmp/multipartBody2324839657684168482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226394072,"filename":"image_18012025_19_50_03_029499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2260add6d5463a39fef015e98d3b9a51.jpg","text":"TemporaryFile(/tmp/multipartBody7277414753941760328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226394072,"filename":"image_18012025_19_51_02_198105_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329834019","file1":"1329834017","file0":"1329834014","file3":"1329834060"},"map_files_photo_id_array":[{"photo_id":"1329834019","filename":"file2"},{"photo_id":"1329834017","filename":"file1"},{"photo_id":"1329834014","filename":"file0"},{"photo_id":"1329834060","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329834019":["hashtag1","hashtag2"]},{"1329834060":["hashtag1","hashtag2"]},{"1329834014":["hashtag1","hashtag2"]},{"1329834017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329834019, 1329834060, 1329834014, 1329834017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3052818775177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:52:52.300730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0003.jpg', '/home/pi/Desktop/images/18012025/19/52/image_18012025_19_52_02_453655_0000.jpg', '/home/pi/Desktop/images/18012025/19/52/image_18012025_19_52_02_453655_0001.jpg', '/home/pi/Desktop/images/18012025/19/52/image_18012025_19_52_02_453655_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/51/image_18012025_19_51_02_198105_0003.jpg
/home/pi/Desktop/images/18012025/19/52/image_18012025_19_52_02_453655_0000.jpg
/home/pi/Desktop/images/18012025/19/52/image_18012025_19_52_02_453655_0001.jpg
/home/pi/Desktop/images/18012025/19/52/image_18012025_19_52_02_453655_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329834130","1329834165","1329834132","1329834131"],"photo_ids_order":["1329834130","1329834131","1329834132","1329834165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/feeea07e605e02ab8c87b50e47bc019d.jpg","text":"TemporaryFile(/tmp/multipartBody8053014904014391605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226443689,"filename":"image_18012025_19_51_02_198105_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63c1fb595091872476a2ecfbab39122f.jpg","text":"TemporaryFile(/tmp/multipartBody5065678013743049040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226443689,"filename":"image_18012025_19_52_02_453655_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16d343e87e54de23730a463547b82516.jpg","text":"TemporaryFile(/tmp/multipartBody3140452027906005076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226443689,"filename":"image_18012025_19_52_02_453655_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13b7998e5263ec9e7b17d5335670e5f7.jpg","text":"TemporaryFile(/tmp/multipartBody6848650272402420782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226443689,"filename":"image_18012025_19_52_02_453655_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329834132","file1":"1329834131","file0":"1329834130","file3":"1329834165"},"map_files_photo_id_array":[{"photo_id":"1329834132","filename":"file2"},{"photo_id":"1329834131","filename":"file1"},{"photo_id":"1329834130","filename":"file0"},{"photo_id":"1329834165","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329834130":["hashtag1","hashtag2"]},{"1329834165":["hashtag1","hashtag2"]},{"1329834132":["hashtag1","hashtag2"]},{"1329834131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329834130, 1329834165, 1329834132, 1329834131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.46552896499634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 19:53:42.555591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/52/image_18012025_19_52_02_453655_0003.jpg', '/home/pi/Desktop/images/18012025/19/53/image_18012025_19_53_02_665825_0000.jpg', '/home/pi/Desktop/images/18012025/19/53/image_18012025_19_53_02_665825_0001.jpg', '/home/pi/Desktop/images/18012025/19/53/image_18012025_19_53_02_665825_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/52/image_18012025_19_52_02_453655_0003.jpg
/home/pi/Desktop/images/18012025/19/53/image_18012025_19_53_02_665825_0000.jpg
/home/pi/Desktop/images/18012025/19/53/image_18012025_19_53_02_665825_0001.jpg
/home/pi/Desktop/images/18012025/19/53/image_18012025_19_53_02_665825_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329834789","1329835101","1329834557","1329835030"],"photo_ids_order":["1329834557","1329834789","1329835030","1329835101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a96462b17a7cc28369339550c2fb890d.jpg","text":"TemporaryFile(/tmp/multipartBody8784886188305331977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226493873,"filename":"image_18012025_19_53_02_665825_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f65cf75bf05af3d6af9dd567b718e54d.jpg","text":"TemporaryFile(/tmp/multipartBody4105055144967285126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226493873,"filename":"image_18012025_19_53_02_665825_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a9bf245954ce62e80904746a71b5c16c.jpg","text":"TemporaryFile(/tmp/multipartBody3684956120506675467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226493873,"filename":"image_18012025_19_52_02_453655_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0cdc0e5143c58a1142454e7dbb2377f.jpg","text":"TemporaryFile(/tmp/multipartBody6245892844321330241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226493873,"filename":"image_18012025_19_53_02_665825_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329835030","file1":"1329834789","file0":"1329834557","file3":"1329835101"},"map_files_photo_id_array":[{"photo_id":"1329835030","filename":"file2"},{"photo_id":"1329834789","filename":"file1"},{"photo_id":"1329834557","filename":"file0"},{"photo_id":"1329835101","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329834789":["hashtag1","hashtag2"]},{"1329835101":["hashtag1","hashtag2"]},{"1329834557":["hashtag1","hashtag2"]},{"1329835030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329834789, 1329835101, 1329834557, 1329835030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.7251980304718 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:54:32.577394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/53/image_18012025_19_53_02_665825_0003.jpg', '/home/pi/Desktop/images/18012025/19/54/image_18012025_19_54_02_812726_0000.jpg', '/home/pi/Desktop/images/18012025/19/54/image_18012025_19_54_02_812726_0001.jpg', '/home/pi/Desktop/images/18012025/19/54/image_18012025_19_54_02_812726_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/53/image_18012025_19_53_02_665825_0003.jpg
/home/pi/Desktop/images/18012025/19/54/image_18012025_19_54_02_812726_0000.jpg
/home/pi/Desktop/images/18012025/19/54/image_18012025_19_54_02_812726_0001.jpg
/home/pi/Desktop/images/18012025/19/54/image_18012025_19_54_02_812726_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329835755","1329835734","1329835739","1329835744"],"photo_ids_order":["1329835734","1329835739","1329835744","1329835755"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f87d7fc4050d3558e215614673e1f0de.jpg","text":"TemporaryFile(/tmp/multipartBody4172970102525282088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226543853,"filename":"image_18012025_19_54_02_812726_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d84aa00a5c2710370aca17410eea2fe.jpg","text":"TemporaryFile(/tmp/multipartBody3031756246172507091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226543853,"filename":"image_18012025_19_53_02_665825_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d8a73a14ef742676b4458536933594f.jpg","text":"TemporaryFile(/tmp/multipartBody2320286370531166648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226543853,"filename":"image_18012025_19_54_02_812726_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee9b14824a41e6105f7435ef702a5be9.jpg","text":"TemporaryFile(/tmp/multipartBody5368518174583360337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226543853,"filename":"image_18012025_19_54_02_812726_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329835744","file1":"1329835739","file0":"1329835734","file3":"1329835755"},"map_files_photo_id_array":[{"photo_id":"1329835744","filename":"file2"},{"photo_id":"1329835739","filename":"file1"},{"photo_id":"1329835734","filename":"file0"},{"photo_id":"1329835755","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329835755":["hashtag1","hashtag2"]},{"1329835734":["hashtag1","hashtag2"]},{"1329835739":["hashtag1","hashtag2"]},{"1329835744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329835755, 1329835734, 1329835739, 1329835744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.594253063201904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:55:21.839690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/54/image_18012025_19_54_02_812726_0003.jpg', '/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0000.jpg', '/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0001.jpg', '/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/54/image_18012025_19_54_02_812726_0003.jpg
/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0000.jpg
/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0001.jpg
/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.80413269996643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 19:55:41.821386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/54/image_18012025_19_54_02_812726_0003.jpg', '/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0000.jpg', '/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0001.jpg', '/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/54/image_18012025_19_54_02_812726_0003.jpg
/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0000.jpg
/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0001.jpg
/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329835962","1329835976","1329835975","1329835960"],"photo_ids_order":["1329835960","1329835962","1329835975","1329835976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f18180130b7963b2d71c2d597c5132ba.jpg","text":"TemporaryFile(/tmp/multipartBody7787347809263044208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226613006,"filename":"image_18012025_19_55_02_947899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d038df5d2595ca678e7b157149f0116d.jpg","text":"TemporaryFile(/tmp/multipartBody8659912736322773976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226613006,"filename":"image_18012025_19_55_02_947899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b84f98e3c28b08b0849854ed841f1844.jpg","text":"TemporaryFile(/tmp/multipartBody5746264763587789577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226613006,"filename":"image_18012025_19_55_02_947899_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fad036f21ad231b104513b03d7cb94e9.jpg","text":"TemporaryFile(/tmp/multipartBody9163630575689068927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226613006,"filename":"image_18012025_19_54_02_812726_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329835975","file1":"1329835962","file0":"1329835960","file3":"1329835976"},"map_files_photo_id_array":[{"photo_id":"1329835975","filename":"file2"},{"photo_id":"1329835962","filename":"file1"},{"photo_id":"1329835960","filename":"file0"},{"photo_id":"1329835976","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329835962":["hashtag1","hashtag2"]},{"1329835976":["hashtag1","hashtag2"]},{"1329835975":["hashtag1","hashtag2"]},{"1329835960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329835962, 1329835976, 1329835975, 1329835960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.65068960189819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 19:56:32.030789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0003.jpg', '/home/pi/Desktop/images/18012025/19/56/image_18012025_19_56_02_164379_0000.jpg', '/home/pi/Desktop/images/18012025/19/56/image_18012025_19_56_02_164379_0001.jpg', '/home/pi/Desktop/images/18012025/19/56/image_18012025_19_56_02_164379_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/55/image_18012025_19_55_02_947899_0003.jpg
/home/pi/Desktop/images/18012025/19/56/image_18012025_19_56_02_164379_0000.jpg
/home/pi/Desktop/images/18012025/19/56/image_18012025_19_56_02_164379_0001.jpg
/home/pi/Desktop/images/18012025/19/56/image_18012025_19_56_02_164379_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329836573","1329836297","1329836143","1329836524"],"photo_ids_order":["1329836143","1329836297","1329836524","1329836573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d4c42dfc939aa95bc2e13297ddce3d6d.jpg","text":"TemporaryFile(/tmp/multipartBody6411523949508577909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226663402,"filename":"image_18012025_19_56_02_164379_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/caafde9bb4eed603456a8ed842a20b07.jpg","text":"TemporaryFile(/tmp/multipartBody6650346548662702789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226663402,"filename":"image_18012025_19_56_02_164379_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/77121417076daadf6c444d4b4af86339.jpg","text":"TemporaryFile(/tmp/multipartBody8923777803213412850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226663402,"filename":"image_18012025_19_55_02_947899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7436604459558dc02b63259b4eff2918.jpg","text":"TemporaryFile(/tmp/multipartBody2700344614832158885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226663402,"filename":"image_18012025_19_56_02_164379_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329836524","file1":"1329836297","file0":"1329836143","file3":"1329836573"},"map_files_photo_id_array":[{"photo_id":"1329836524","filename":"file2"},{"photo_id":"1329836297","filename":"file1"},{"photo_id":"1329836143","filename":"file0"},{"photo_id":"1329836573","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329836573":["hashtag1","hashtag2"]},{"1329836297":["hashtag1","hashtag2"]},{"1329836143":["hashtag1","hashtag2"]},{"1329836524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329836573, 1329836297, 1329836143, 1329836524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.20861315727234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 19:57:22.255443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/56/image_18012025_19_56_02_164379_0003.jpg', '/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_0000.jpg', '/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_0001.jpg', '/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/56/image_18012025_19_56_02_164379_0003.jpg
/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_0000.jpg
/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_0001.jpg
/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_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-18 19:59:03.256426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/56/image_18012025_19_56_02_164379_0003.jpg', '/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_0000.jpg', '/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_0001.jpg', '/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_0002.jpg', '/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_0003.jpg', '/home/pi/Desktop/images/18012025/19/58/image_18012025_19_58_02_576715_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/56/image_18012025_19_56_02_164379_0003.jpg
/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_0000.jpg
/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_0001.jpg
/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_0002.jpg
/home/pi/Desktop/images/18012025/19/57/image_18012025_19_57_02_407454_0003.jpg
/home/pi/Desktop/images/18012025/19/58/image_18012025_19_58_02_576715_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329837318","1329837359","1329837364","1329837367","1329837361","1329837333"],"photo_ids_order":["1329837318","1329837333","1329837359","1329837361","1329837364","1329837367"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5619d2d28445ef63ad3c9f3ce42b153.jpg","text":"TemporaryFile(/tmp/multipartBody4375145241510943276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226819579,"filename":"image_18012025_19_56_02_164379_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/544a3da2804bde18a3ce616e0fa23978.jpg","text":"TemporaryFile(/tmp/multipartBody2967301498202310431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226819579,"filename":"image_18012025_19_57_02_407454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f15704011c49f7591cc65211965f9a9.jpg","text":"TemporaryFile(/tmp/multipartBody564192706717699794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226819579,"filename":"image_18012025_19_57_02_407454_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4018ef548063ba4a8c4efbdd3ae51330.jpg","text":"TemporaryFile(/tmp/multipartBody5299232067292729699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226819579,"filename":"image_18012025_19_58_02_576715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/700860e24b23e32ba992f0d690e7e8fd.jpg","text":"TemporaryFile(/tmp/multipartBody8216678553413784670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226819579,"filename":"image_18012025_19_57_02_407454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f9a115451bd6bd82fd6685080d8c5b28.jpg","text":"TemporaryFile(/tmp/multipartBody5937115217926376949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226819579,"filename":"image_18012025_19_57_02_407454_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329837359","file1":"1329837333","file0":"1329837318","file4":"1329837364","file5":"1329837367","file3":"1329837361"},"map_files_photo_id_array":[{"photo_id":"1329837367","filename":"file5"},{"photo_id":"1329837359","filename":"file2"},{"photo_id":"1329837364","filename":"file4"},{"photo_id":"1329837333","filename":"file1"},{"photo_id":"1329837318","filename":"file0"},{"photo_id":"1329837361","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329837318":["hashtag1","hashtag2"]},{"1329837359":["hashtag1","hashtag2"]},{"1329837364":["hashtag1","hashtag2"]},{"1329837367":["hashtag1","hashtag2"]},{"1329837361":["hashtag1","hashtag2"]},{"1329837333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329837318, 1329837359, 1329837364, 1329837367, 1329837361, 1329837333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.64175462722778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:00:31.841296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/58/image_18012025_19_58_02_576715_0001.jpg', '/home/pi/Desktop/images/18012025/19/58/image_18012025_19_58_02_576715_0002.jpg', '/home/pi/Desktop/images/18012025/19/58/image_18012025_19_58_02_576715_0003.jpg', '/home/pi/Desktop/images/18012025/19/59/image_18012025_19_59_02_773510_0000.jpg', '/home/pi/Desktop/images/18012025/19/59/image_18012025_19_59_02_773510_0001.jpg', '/home/pi/Desktop/images/18012025/19/59/image_18012025_19_59_02_773510_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/58/image_18012025_19_58_02_576715_0001.jpg
/home/pi/Desktop/images/18012025/19/58/image_18012025_19_58_02_576715_0002.jpg
/home/pi/Desktop/images/18012025/19/58/image_18012025_19_58_02_576715_0003.jpg
/home/pi/Desktop/images/18012025/19/59/image_18012025_19_59_02_773510_0000.jpg
/home/pi/Desktop/images/18012025/19/59/image_18012025_19_59_02_773510_0001.jpg
/home/pi/Desktop/images/18012025/19/59/image_18012025_19_59_02_773510_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329837644","1329837993","1329837727","1329838125","1329837528","1329837398"],"photo_ids_order":["1329837398","1329837528","1329837644","1329837727","1329837993","1329838125"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bfb2326fb332c99e1f1b21ab3840fd2b.jpg","text":"TemporaryFile(/tmp/multipartBody9221455039565353520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226908236,"filename":"image_18012025_19_58_02_576715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/738c8aa77dc1d97f276930eb48b87a00.jpg","text":"TemporaryFile(/tmp/multipartBody8410379221581981095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226908236,"filename":"image_18012025_19_59_02_773510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eb9d76c245baefa46e9b2dde30c24ddb.jpg","text":"TemporaryFile(/tmp/multipartBody311099858773566790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226908236,"filename":"image_18012025_19_59_02_773510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bde1bbc00147e424c1d56225c0c1dbc9.jpg","text":"TemporaryFile(/tmp/multipartBody3894676566296423697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226908236,"filename":"image_18012025_19_59_02_773510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e792dfbceffae8356d9124de9dd7688.jpg","text":"TemporaryFile(/tmp/multipartBody680153151668238608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226908236,"filename":"image_18012025_19_58_02_576715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c53ea6f7b2d195ed1277221c9b0a193d.jpg","text":"TemporaryFile(/tmp/multipartBody5966555016607324357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226908236,"filename":"image_18012025_19_58_02_576715_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329837644","file1":"1329837528","file0":"1329837398","file4":"1329837993","file5":"1329838125","file3":"1329837727"},"map_files_photo_id_array":[{"photo_id":"1329838125","filename":"file5"},{"photo_id":"1329837644","filename":"file2"},{"photo_id":"1329837993","filename":"file4"},{"photo_id":"1329837528","filename":"file1"},{"photo_id":"1329837398","filename":"file0"},{"photo_id":"1329837727","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329837644":["hashtag1","hashtag2"]},{"1329837993":["hashtag1","hashtag2"]},{"1329837727":["hashtag1","hashtag2"]},{"1329838125":["hashtag1","hashtag2"]},{"1329837528":["hashtag1","hashtag2"]},{"1329837398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329837644, 1329837993, 1329837727, 1329838125, 1329837528, 1329837398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.21452569961548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:01:51.960931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/19/59/image_18012025_19_59_02_773510_0003.jpg', '/home/pi/Desktop/images/18012025/20/00/image_18012025_20_00_02_983577_0000.jpg', '/home/pi/Desktop/images/18012025/20/00/image_18012025_20_00_02_983577_0001.jpg', '/home/pi/Desktop/images/18012025/20/00/image_18012025_20_00_02_983577_0002.jpg', '/home/pi/Desktop/images/18012025/20/00/image_18012025_20_00_02_983577_0003.jpg', '/home/pi/Desktop/images/18012025/20/01/image_18012025_20_01_02_168050_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/19/59/image_18012025_19_59_02_773510_0003.jpg
/home/pi/Desktop/images/18012025/20/00/image_18012025_20_00_02_983577_0000.jpg
/home/pi/Desktop/images/18012025/20/00/image_18012025_20_00_02_983577_0001.jpg
/home/pi/Desktop/images/18012025/20/00/image_18012025_20_00_02_983577_0002.jpg
/home/pi/Desktop/images/18012025/20/00/image_18012025_20_00_02_983577_0003.jpg
/home/pi/Desktop/images/18012025/20/01/image_18012025_20_01_02_168050_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329838786","1329838687","1329838479","1329838392","1329838320","1329838565"],"photo_ids_order":["1329838320","1329838392","1329838479","1329838565","1329838687","1329838786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8f4d99af4dc4db160b4a379c8908fbd.jpg","text":"TemporaryFile(/tmp/multipartBody6929528265271149662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226987787,"filename":"image_18012025_20_01_02_168050_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d149bff35693c8546ec5705ce2e1a278.jpg","text":"TemporaryFile(/tmp/multipartBody5682414889857384541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226987787,"filename":"image_18012025_20_00_02_983577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4030687871152becc9599703b5b26e8d.jpg","text":"TemporaryFile(/tmp/multipartBody8800260881911588559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226987787,"filename":"image_18012025_20_00_02_983577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67865ae68abe0cf017e073998b677d46.jpg","text":"TemporaryFile(/tmp/multipartBody4841783946731360570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226987787,"filename":"image_18012025_20_00_02_983577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7fb0477bdc03f4615a5443b095b48480.jpg","text":"TemporaryFile(/tmp/multipartBody1514190649901347405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226987787,"filename":"image_18012025_19_59_02_773510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/191dafea02868bbeed4490f4f6148dc0.jpg","text":"TemporaryFile(/tmp/multipartBody8774651097531436953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737226987787,"filename":"image_18012025_20_00_02_983577_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329838479","file1":"1329838392","file0":"1329838320","file4":"1329838687","file5":"1329838786","file3":"1329838565"},"map_files_photo_id_array":[{"photo_id":"1329838786","filename":"file5"},{"photo_id":"1329838479","filename":"file2"},{"photo_id":"1329838687","filename":"file4"},{"photo_id":"1329838392","filename":"file1"},{"photo_id":"1329838320","filename":"file0"},{"photo_id":"1329838565","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329838786":["hashtag1","hashtag2"]},{"1329838687":["hashtag1","hashtag2"]},{"1329838479":["hashtag1","hashtag2"]},{"1329838392":["hashtag1","hashtag2"]},{"1329838320":["hashtag1","hashtag2"]},{"1329838565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329838786, 1329838687, 1329838479, 1329838392, 1329838320, 1329838565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.87792229652405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:02:52.113591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/01/image_18012025_20_01_02_168050_0001.jpg', '/home/pi/Desktop/images/18012025/20/01/image_18012025_20_01_02_168050_0002.jpg', '/home/pi/Desktop/images/18012025/20/01/image_18012025_20_01_02_168050_0003.jpg', '/home/pi/Desktop/images/18012025/20/02/image_18012025_20_02_02_432593_0000.jpg', '/home/pi/Desktop/images/18012025/20/02/image_18012025_20_02_02_432593_0001.jpg', '/home/pi/Desktop/images/18012025/20/02/image_18012025_20_02_02_432593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/01/image_18012025_20_01_02_168050_0001.jpg
/home/pi/Desktop/images/18012025/20/01/image_18012025_20_01_02_168050_0002.jpg
/home/pi/Desktop/images/18012025/20/01/image_18012025_20_01_02_168050_0003.jpg
/home/pi/Desktop/images/18012025/20/02/image_18012025_20_02_02_432593_0000.jpg
/home/pi/Desktop/images/18012025/20/02/image_18012025_20_02_02_432593_0001.jpg
/home/pi/Desktop/images/18012025/20/02/image_18012025_20_02_02_432593_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329839752","1329839748","1329839745","1329839489","1329839582","1329839756"],"photo_ids_order":["1329839489","1329839582","1329839745","1329839748","1329839752","1329839756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be401e7dc0bbce73316f620eade7c458.jpg","text":"TemporaryFile(/tmp/multipartBody8904726610367802485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227048722,"filename":"image_18012025_20_02_02_432593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d824ed39a2723650ac4bb4c25bf8bc3.jpg","text":"TemporaryFile(/tmp/multipartBody7567238305600366695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227048722,"filename":"image_18012025_20_02_02_432593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/361492b88e497d35e94ff1b9fbb94e5f.jpg","text":"TemporaryFile(/tmp/multipartBody928270918242881090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227048722,"filename":"image_18012025_20_01_02_168050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08b68c4209488f7ded6897b5df0cf1d6.jpg","text":"TemporaryFile(/tmp/multipartBody644329948042377407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227048722,"filename":"image_18012025_20_01_02_168050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97954322e5047e0d7a0fd9286f75cd25.jpg","text":"TemporaryFile(/tmp/multipartBody647799185670135680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227048722,"filename":"image_18012025_20_01_02_168050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/14a8c921ed7599407d8c833106fd9fd3.jpg","text":"TemporaryFile(/tmp/multipartBody753167332105605280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227048722,"filename":"image_18012025_20_02_02_432593_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329839745","file1":"1329839582","file0":"1329839489","file4":"1329839752","file5":"1329839756","file3":"1329839748"},"map_files_photo_id_array":[{"photo_id":"1329839756","filename":"file5"},{"photo_id":"1329839745","filename":"file2"},{"photo_id":"1329839752","filename":"file4"},{"photo_id":"1329839582","filename":"file1"},{"photo_id":"1329839489","filename":"file0"},{"photo_id":"1329839748","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329839752":["hashtag1","hashtag2"]},{"1329839748":["hashtag1","hashtag2"]},{"1329839745":["hashtag1","hashtag2"]},{"1329839489":["hashtag1","hashtag2"]},{"1329839582":["hashtag1","hashtag2"]},{"1329839756":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329839752, 1329839748, 1329839745, 1329839489, 1329839582, 1329839756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.57105016708374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:03:52.281638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/02/image_18012025_20_02_02_432593_0003.jpg', '/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0000.jpg', '/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0001.jpg', '/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/02/image_18012025_20_02_02_432593_0003.jpg
/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0000.jpg
/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0001.jpg
/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.908048629760742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:04:22.519712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/02/image_18012025_20_02_02_432593_0003.jpg', '/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0000.jpg', '/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0001.jpg', '/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0002.jpg', '/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0003.jpg', '/home/pi/Desktop/images/18012025/20/04/image_18012025_20_04_02_646205_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/02/image_18012025_20_02_02_432593_0003.jpg
/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0000.jpg
/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0001.jpg
/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0002.jpg
/home/pi/Desktop/images/18012025/20/03/image_18012025_20_03_02_549516_0003.jpg
/home/pi/Desktop/images/18012025/20/04/image_18012025_20_04_02_646205_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329840323","1329840221","1329840104","1329840280","1329840307","1329840293"],"photo_ids_order":["1329840104","1329840221","1329840280","1329840293","1329840307","1329840323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b3f5526f913a457ae955bef194fde87.jpg","text":"TemporaryFile(/tmp/multipartBody1575537087274952309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227138998,"filename":"image_18012025_20_04_02_646205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5648d124142bdfde2db9620bcd31b78c.jpg","text":"TemporaryFile(/tmp/multipartBody293618782965534277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227138998,"filename":"image_18012025_20_03_02_549516_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/deb9f3807fff27bbc3befaa5a88fed03.jpg","text":"TemporaryFile(/tmp/multipartBody4913057650835524047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227138998,"filename":"image_18012025_20_02_02_432593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f00f8bcd5c60383596297d0ca3686e77.jpg","text":"TemporaryFile(/tmp/multipartBody2226659775618045489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227138998,"filename":"image_18012025_20_03_02_549516_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c220521e75c446429535cff97ea00aee.jpg","text":"TemporaryFile(/tmp/multipartBody8495473305510284285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227138998,"filename":"image_18012025_20_03_02_549516_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0648097a81f17723e3835a658324c20e.jpg","text":"TemporaryFile(/tmp/multipartBody2767797615004156318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227138998,"filename":"image_18012025_20_03_02_549516_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329840280","file1":"1329840221","file0":"1329840104","file4":"1329840307","file5":"1329840323","file3":"1329840293"},"map_files_photo_id_array":[{"photo_id":"1329840323","filename":"file5"},{"photo_id":"1329840280","filename":"file2"},{"photo_id":"1329840307","filename":"file4"},{"photo_id":"1329840221","filename":"file1"},{"photo_id":"1329840104","filename":"file0"},{"photo_id":"1329840293","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329840323":["hashtag1","hashtag2"]},{"1329840221":["hashtag1","hashtag2"]},{"1329840104":["hashtag1","hashtag2"]},{"1329840280":["hashtag1","hashtag2"]},{"1329840307":["hashtag1","hashtag2"]},{"1329840293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329840323, 1329840221, 1329840104, 1329840280, 1329840307, 1329840293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.321146965026855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:05:22.674989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/04/image_18012025_20_04_02_646205_0001.jpg', '/home/pi/Desktop/images/18012025/20/04/image_18012025_20_04_02_646205_0002.jpg', '/home/pi/Desktop/images/18012025/20/04/image_18012025_20_04_02_646205_0003.jpg', '/home/pi/Desktop/images/18012025/20/05/image_18012025_20_05_02_855028_0000.jpg', '/home/pi/Desktop/images/18012025/20/05/image_18012025_20_05_02_855028_0001.jpg', '/home/pi/Desktop/images/18012025/20/05/image_18012025_20_05_02_855028_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/04/image_18012025_20_04_02_646205_0001.jpg
/home/pi/Desktop/images/18012025/20/04/image_18012025_20_04_02_646205_0002.jpg
/home/pi/Desktop/images/18012025/20/04/image_18012025_20_04_02_646205_0003.jpg
/home/pi/Desktop/images/18012025/20/05/image_18012025_20_05_02_855028_0000.jpg
/home/pi/Desktop/images/18012025/20/05/image_18012025_20_05_02_855028_0001.jpg
/home/pi/Desktop/images/18012025/20/05/image_18012025_20_05_02_855028_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329840512","1329840500","1329840508","1329840505","1329840495","1329840510"],"photo_ids_order":["1329840495","1329840500","1329840505","1329840508","1329840510","1329840512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3af3cc084e86825947d2f03b2b411b50.jpg","text":"TemporaryFile(/tmp/multipartBody5904415508800144799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227199289,"filename":"image_18012025_20_05_02_855028_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/871b56f6710630d44a44915eba731d0b.jpg","text":"TemporaryFile(/tmp/multipartBody7470535276363860437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227199289,"filename":"image_18012025_20_04_02_646205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f0a61d8cef36c79395566dc47057b0d.jpg","text":"TemporaryFile(/tmp/multipartBody1863192043981509352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227199289,"filename":"image_18012025_20_05_02_855028_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96aaa56dc17868869dbb6055d5faba80.jpg","text":"TemporaryFile(/tmp/multipartBody8337048692405378675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227199289,"filename":"image_18012025_20_04_02_646205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b10f6e6742cac88e2caebf50c0dc102.jpg","text":"TemporaryFile(/tmp/multipartBody2484801012503610354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227199289,"filename":"image_18012025_20_04_02_646205_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e53cb0a81626abd410e8bc02bfb4d7f7.jpg","text":"TemporaryFile(/tmp/multipartBody2322527640459759681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227199289,"filename":"image_18012025_20_05_02_855028_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329840505","file1":"1329840500","file0":"1329840495","file4":"1329840510","file5":"1329840512","file3":"1329840508"},"map_files_photo_id_array":[{"photo_id":"1329840512","filename":"file5"},{"photo_id":"1329840505","filename":"file2"},{"photo_id":"1329840510","filename":"file4"},{"photo_id":"1329840500","filename":"file1"},{"photo_id":"1329840495","filename":"file0"},{"photo_id":"1329840508","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329840512":["hashtag1","hashtag2"]},{"1329840500":["hashtag1","hashtag2"]},{"1329840508":["hashtag1","hashtag2"]},{"1329840505":["hashtag1","hashtag2"]},{"1329840495":["hashtag1","hashtag2"]},{"1329840510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329840512, 1329840500, 1329840508, 1329840505, 1329840495, 1329840510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.13317322731018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:06:31.817827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/05/image_18012025_20_05_02_855028_0003.jpg', '/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0000.jpg', '/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0001.jpg', '/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/05/image_18012025_20_05_02_855028_0003.jpg
/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0000.jpg
/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0001.jpg
/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.607319593429565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:06:51.807515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/05/image_18012025_20_05_02_855028_0003.jpg', '/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0000.jpg', '/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0001.jpg', '/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/05/image_18012025_20_05_02_855028_0003.jpg
/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0000.jpg
/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0001.jpg
/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329841095","1329841064","1329841043","1329841096"],"photo_ids_order":["1329841043","1329841064","1329841095","1329841096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b7fb9ed3e16ee563e7333c80e2ae93a1.jpg","text":"TemporaryFile(/tmp/multipartBody6129601506251031023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227282839,"filename":"image_18012025_20_06_03_025647_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/63f9fb27a10db1b3e50c2ebe146d6eef.jpg","text":"TemporaryFile(/tmp/multipartBody8763700108874766498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227282839,"filename":"image_18012025_20_06_03_025647_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ed3f78f23e95505dc73aafd4a8416de.jpg","text":"TemporaryFile(/tmp/multipartBody2129639145822009303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227282839,"filename":"image_18012025_20_05_02_855028_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0964feb5b67fa2384b08327df2936e62.jpg","text":"TemporaryFile(/tmp/multipartBody1030630058286806785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227282839,"filename":"image_18012025_20_06_03_025647_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329841095","file1":"1329841064","file0":"1329841043","file3":"1329841096"},"map_files_photo_id_array":[{"photo_id":"1329841095","filename":"file2"},{"photo_id":"1329841064","filename":"file1"},{"photo_id":"1329841043","filename":"file0"},{"photo_id":"1329841096","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329841095":["hashtag1","hashtag2"]},{"1329841064":["hashtag1","hashtag2"]},{"1329841043":["hashtag1","hashtag2"]},{"1329841096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329841095, 1329841064, 1329841043, 1329841096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.14489459991455 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 20:07:42.122050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0003.jpg', '/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0000.jpg', '/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0001.jpg', '/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0003.jpg
/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0000.jpg
/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0001.jpg
/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.704699277877808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 20:08:02.717304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0003.jpg', '/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0000.jpg', '/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0001.jpg', '/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/06/image_18012025_20_06_03_025647_0003.jpg
/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0000.jpg
/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0001.jpg
/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329842014","1329842013","1329842021","1329842018"],"photo_ids_order":["1329842013","1329842014","1329842018","1329842021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bca9fabed204815958648de23efa5901.jpg","text":"TemporaryFile(/tmp/multipartBody1427562320722747900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227353817,"filename":"image_18012025_20_07_02_245680_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73b0c01fd5eef1085422a43588fd0ab5.jpg","text":"TemporaryFile(/tmp/multipartBody4036706476560881215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227353817,"filename":"image_18012025_20_06_03_025647_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/377e620c9cd5415040eb75d6a0467a19.jpg","text":"TemporaryFile(/tmp/multipartBody1550966898044052415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227353817,"filename":"image_18012025_20_07_02_245680_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/152bcaae3ce72f26882d0f83c81277e3.jpg","text":"TemporaryFile(/tmp/multipartBody3665603485279774994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227353817,"filename":"image_18012025_20_07_02_245680_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329842018","file1":"1329842014","file0":"1329842013","file3":"1329842021"},"map_files_photo_id_array":[{"photo_id":"1329842018","filename":"file2"},{"photo_id":"1329842014","filename":"file1"},{"photo_id":"1329842013","filename":"file0"},{"photo_id":"1329842021","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329842014":["hashtag1","hashtag2"]},{"1329842013":["hashtag1","hashtag2"]},{"1329842021":["hashtag1","hashtag2"]},{"1329842018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329842014, 1329842013, 1329842021, 1329842018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.03753185272217 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:08:52.141648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0003.jpg', '/home/pi/Desktop/images/18012025/20/08/image_18012025_20_08_02_332134_0000.jpg', '/home/pi/Desktop/images/18012025/20/08/image_18012025_20_08_02_332134_0001.jpg', '/home/pi/Desktop/images/18012025/20/08/image_18012025_20_08_02_332134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/07/image_18012025_20_07_02_245680_0003.jpg
/home/pi/Desktop/images/18012025/20/08/image_18012025_20_08_02_332134_0000.jpg
/home/pi/Desktop/images/18012025/20/08/image_18012025_20_08_02_332134_0001.jpg
/home/pi/Desktop/images/18012025/20/08/image_18012025_20_08_02_332134_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329842382","1329842328","1329842301","1329842329"],"photo_ids_order":["1329842301","1329842328","1329842329","1329842382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b3dd5022c41c9bdff2c18de0a0f9d475.jpg","text":"TemporaryFile(/tmp/multipartBody261576212331623406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227403995,"filename":"image_18012025_20_08_02_332134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0aca617b9781cf6948ed20845617a8cd.jpg","text":"TemporaryFile(/tmp/multipartBody7291806758198688376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227403995,"filename":"image_18012025_20_08_02_332134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8ce52cacad8fbd33634367f6bbef624.jpg","text":"TemporaryFile(/tmp/multipartBody8321295887428076495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227403995,"filename":"image_18012025_20_07_02_245680_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed397fbc5d11cb3838195961c4504d4d.jpg","text":"TemporaryFile(/tmp/multipartBody938669202569663675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227403995,"filename":"image_18012025_20_08_02_332134_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329842329","file1":"1329842328","file0":"1329842301","file3":"1329842382"},"map_files_photo_id_array":[{"photo_id":"1329842329","filename":"file2"},{"photo_id":"1329842328","filename":"file1"},{"photo_id":"1329842301","filename":"file0"},{"photo_id":"1329842382","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329842382":["hashtag1","hashtag2"]},{"1329842328":["hashtag1","hashtag2"]},{"1329842301":["hashtag1","hashtag2"]},{"1329842329":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329842382, 1329842328, 1329842301, 1329842329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.451773166656494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 20:09:42.448993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/08/image_18012025_20_08_02_332134_0003.jpg', '/home/pi/Desktop/images/18012025/20/09/image_18012025_20_09_02_581797_0000.jpg', '/home/pi/Desktop/images/18012025/20/09/image_18012025_20_09_02_581797_0001.jpg', '/home/pi/Desktop/images/18012025/20/09/image_18012025_20_09_02_581797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/08/image_18012025_20_08_02_332134_0003.jpg
/home/pi/Desktop/images/18012025/20/09/image_18012025_20_09_02_581797_0000.jpg
/home/pi/Desktop/images/18012025/20/09/image_18012025_20_09_02_581797_0001.jpg
/home/pi/Desktop/images/18012025/20/09/image_18012025_20_09_02_581797_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329842412","1329842409","1329842406","1329842420"],"photo_ids_order":["1329842406","1329842409","1329842412","1329842420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74f81764aa7d37028ef8fc05e16837cc.jpg","text":"TemporaryFile(/tmp/multipartBody688565871747383971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227453786,"filename":"image_18012025_20_09_02_581797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d1a586635e09ace95942c6679cf43095.jpg","text":"TemporaryFile(/tmp/multipartBody108927692629737018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227453786,"filename":"image_18012025_20_09_02_581797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f8988d32ee1ed91afa32c7714777617.jpg","text":"TemporaryFile(/tmp/multipartBody8431454761080070183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227453786,"filename":"image_18012025_20_08_02_332134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/639d4956c53f5e55b88098f1f094fb1e.jpg","text":"TemporaryFile(/tmp/multipartBody4982897895336676535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227453786,"filename":"image_18012025_20_09_02_581797_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329842412","file1":"1329842409","file0":"1329842406","file3":"1329842420"},"map_files_photo_id_array":[{"photo_id":"1329842412","filename":"file2"},{"photo_id":"1329842409","filename":"file1"},{"photo_id":"1329842406","filename":"file0"},{"photo_id":"1329842420","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329842412":["hashtag1","hashtag2"]},{"1329842409":["hashtag1","hashtag2"]},{"1329842406":["hashtag1","hashtag2"]},{"1329842420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329842412, 1329842409, 1329842406, 1329842420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.0297429561615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:10:32.501552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/09/image_18012025_20_09_02_581797_0003.jpg', '/home/pi/Desktop/images/18012025/20/10/image_18012025_20_10_02_698835_0000.jpg', '/home/pi/Desktop/images/18012025/20/10/image_18012025_20_10_02_698835_0001.jpg', '/home/pi/Desktop/images/18012025/20/10/image_18012025_20_10_02_698835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/09/image_18012025_20_09_02_581797_0003.jpg
/home/pi/Desktop/images/18012025/20/10/image_18012025_20_10_02_698835_0000.jpg
/home/pi/Desktop/images/18012025/20/10/image_18012025_20_10_02_698835_0001.jpg
/home/pi/Desktop/images/18012025/20/10/image_18012025_20_10_02_698835_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329842445","1329842467","1329842449","1329842440"],"photo_ids_order":["1329842440","1329842445","1329842449","1329842467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9de55d8c08268ce8696acee3195b6390.jpg","text":"TemporaryFile(/tmp/multipartBody3149225610526055109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227503825,"filename":"image_18012025_20_10_02_698835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a9d94ecf78cd44893c2ef29d874f0631.jpg","text":"TemporaryFile(/tmp/multipartBody2845688203654350910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227503825,"filename":"image_18012025_20_10_02_698835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6df4a8138fb10913ff148a978b16bcc1.jpg","text":"TemporaryFile(/tmp/multipartBody1269362755830731875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227503825,"filename":"image_18012025_20_10_02_698835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8458234a756ee14563f5515f7f5dc2fd.jpg","text":"TemporaryFile(/tmp/multipartBody982999777124628966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227503825,"filename":"image_18012025_20_09_02_581797_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329842449","file1":"1329842445","file0":"1329842440","file3":"1329842467"},"map_files_photo_id_array":[{"photo_id":"1329842449","filename":"file2"},{"photo_id":"1329842445","filename":"file1"},{"photo_id":"1329842440","filename":"file0"},{"photo_id":"1329842467","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329842445":["hashtag1","hashtag2"]},{"1329842467":["hashtag1","hashtag2"]},{"1329842449":["hashtag1","hashtag2"]},{"1329842440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329842445, 1329842467, 1329842449, 1329842440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02384352684021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:11:22.808038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/10/image_18012025_20_10_02_698835_0003.jpg', '/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0000.jpg', '/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0001.jpg', '/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/10/image_18012025_20_10_02_698835_0003.jpg
/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0000.jpg
/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0001.jpg
/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.068419218063354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 20:11:42.724407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/10/image_18012025_20_10_02_698835_0003.jpg', '/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0000.jpg', '/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0001.jpg', '/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/10/image_18012025_20_10_02_698835_0003.jpg
/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0000.jpg
/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0001.jpg
/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329842515","1329842530","1329842524","1329842518"],"photo_ids_order":["1329842515","1329842518","1329842524","1329842530"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/034ea1ba583255f5c38275e180b914ce.jpg","text":"TemporaryFile(/tmp/multipartBody6991112575510218455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227574151,"filename":"image_18012025_20_10_02_698835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0573d4fcf875b0db300824e9c29cdf5d.jpg","text":"TemporaryFile(/tmp/multipartBody515798929326328583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227574151,"filename":"image_18012025_20_11_02_837530_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4f0c486f7faea945cf97abe994e1ead.jpg","text":"TemporaryFile(/tmp/multipartBody7974113484006512221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227574151,"filename":"image_18012025_20_11_02_837530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/255390dc08c8263d44e447bcfdb30d4e.jpg","text":"TemporaryFile(/tmp/multipartBody360833517694511059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227574151,"filename":"image_18012025_20_11_02_837530_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329842524","file1":"1329842518","file0":"1329842515","file3":"1329842530"},"map_files_photo_id_array":[{"photo_id":"1329842524","filename":"file2"},{"photo_id":"1329842518","filename":"file1"},{"photo_id":"1329842515","filename":"file0"},{"photo_id":"1329842530","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329842515":["hashtag1","hashtag2"]},{"1329842530":["hashtag1","hashtag2"]},{"1329842524":["hashtag1","hashtag2"]},{"1329842518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329842515, 1329842530, 1329842524, 1329842518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.72520351409912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:12:31.832929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0003.jpg', '/home/pi/Desktop/images/18012025/20/12/image_18012025_20_12_03_075363_0000.jpg', '/home/pi/Desktop/images/18012025/20/12/image_18012025_20_12_03_075363_0001.jpg', '/home/pi/Desktop/images/18012025/20/12/image_18012025_20_12_03_075363_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/11/image_18012025_20_11_02_837530_0003.jpg
/home/pi/Desktop/images/18012025/20/12/image_18012025_20_12_03_075363_0000.jpg
/home/pi/Desktop/images/18012025/20/12/image_18012025_20_12_03_075363_0001.jpg
/home/pi/Desktop/images/18012025/20/12/image_18012025_20_12_03_075363_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329842556","1329842559","1329842549","1329842552"],"photo_ids_order":["1329842549","1329842552","1329842556","1329842559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a45de859d67da9a379be58e3568c3ea.jpg","text":"TemporaryFile(/tmp/multipartBody7318309743548375499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227622691,"filename":"image_18012025_20_12_03_075363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/df2f3a93fd324201e387890c6f05b87a.jpg","text":"TemporaryFile(/tmp/multipartBody6513568174958524647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227622691,"filename":"image_18012025_20_12_03_075363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8379490e12d1acc7976959bb98e5ee0c.jpg","text":"TemporaryFile(/tmp/multipartBody3948798346467191736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227622691,"filename":"image_18012025_20_11_02_837530_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3d075e28f3f9679456477ea0d7a2236.jpg","text":"TemporaryFile(/tmp/multipartBody1679829954662399762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227622691,"filename":"image_18012025_20_12_03_075363_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329842556","file1":"1329842552","file0":"1329842549","file3":"1329842559"},"map_files_photo_id_array":[{"photo_id":"1329842556","filename":"file2"},{"photo_id":"1329842552","filename":"file1"},{"photo_id":"1329842549","filename":"file0"},{"photo_id":"1329842559","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329842556":["hashtag1","hashtag2"]},{"1329842559":["hashtag1","hashtag2"]},{"1329842549":["hashtag1","hashtag2"]},{"1329842552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329842556, 1329842559, 1329842549, 1329842552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.582579612731934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:13:22.023131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/12/image_18012025_20_12_03_075363_0003.jpg', '/home/pi/Desktop/images/18012025/20/13/image_18012025_20_13_02_220001_0000.jpg', '/home/pi/Desktop/images/18012025/20/13/image_18012025_20_13_02_220001_0001.jpg', '/home/pi/Desktop/images/18012025/20/13/image_18012025_20_13_02_220001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/12/image_18012025_20_12_03_075363_0003.jpg
/home/pi/Desktop/images/18012025/20/13/image_18012025_20_13_02_220001_0000.jpg
/home/pi/Desktop/images/18012025/20/13/image_18012025_20_13_02_220001_0001.jpg
/home/pi/Desktop/images/18012025/20/13/image_18012025_20_13_02_220001_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329842732","1329842729","1329842702","1329842632"],"photo_ids_order":["1329842632","1329842702","1329842729","1329842732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5742d9925ce9d35cf9b77434cbdfd542.jpg","text":"TemporaryFile(/tmp/multipartBody8711236628919887625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227672807,"filename":"image_18012025_20_13_02_220001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/02146258a964b7918eaff0b1ffd62a11.jpg","text":"TemporaryFile(/tmp/multipartBody1568447893459724205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227672807,"filename":"image_18012025_20_13_02_220001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e07689eeb6463b3a0afe32e8821bd2c3.jpg","text":"TemporaryFile(/tmp/multipartBody3474045206332746994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227672807,"filename":"image_18012025_20_13_02_220001_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0b5cbd444c886858a8d12d6af4c32a1.jpg","text":"TemporaryFile(/tmp/multipartBody8473273187959909986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227672807,"filename":"image_18012025_20_12_03_075363_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329842729","file1":"1329842702","file0":"1329842632","file3":"1329842732"},"map_files_photo_id_array":[{"photo_id":"1329842729","filename":"file2"},{"photo_id":"1329842702","filename":"file1"},{"photo_id":"1329842632","filename":"file0"},{"photo_id":"1329842732","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329842732":["hashtag1","hashtag2"]},{"1329842729":["hashtag1","hashtag2"]},{"1329842702":["hashtag1","hashtag2"]},{"1329842632":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329842732, 1329842729, 1329842702, 1329842632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.24380350112915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:14:22.209823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/13/image_18012025_20_13_02_220001_0003.jpg', '/home/pi/Desktop/images/18012025/20/14/image_18012025_20_14_02_380634_0000.jpg', '/home/pi/Desktop/images/18012025/20/14/image_18012025_20_14_02_380634_0001.jpg', '/home/pi/Desktop/images/18012025/20/14/image_18012025_20_14_02_380634_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/13/image_18012025_20_13_02_220001_0003.jpg
/home/pi/Desktop/images/18012025/20/14/image_18012025_20_14_02_380634_0000.jpg
/home/pi/Desktop/images/18012025/20/14/image_18012025_20_14_02_380634_0001.jpg
/home/pi/Desktop/images/18012025/20/14/image_18012025_20_14_02_380634_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329842838","1329842808","1329842834","1329842741"],"photo_ids_order":["1329842741","1329842808","1329842834","1329842838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/29764da414a5fef8b31a546eee091236.jpg","text":"TemporaryFile(/tmp/multipartBody7482522673585191767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227733448,"filename":"image_18012025_20_14_02_380634_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50370a5569198726699474df5ca5a661.jpg","text":"TemporaryFile(/tmp/multipartBody9210670341521445872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227733448,"filename":"image_18012025_20_14_02_380634_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/812a200a79a80317e2815a6424370f1e.jpg","text":"TemporaryFile(/tmp/multipartBody5679595272077870378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227733448,"filename":"image_18012025_20_14_02_380634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/419ad2451b756f2119bd816788a60040.jpg","text":"TemporaryFile(/tmp/multipartBody909856208914253410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227733448,"filename":"image_18012025_20_13_02_220001_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329842834","file1":"1329842808","file0":"1329842741","file3":"1329842838"},"map_files_photo_id_array":[{"photo_id":"1329842834","filename":"file2"},{"photo_id":"1329842808","filename":"file1"},{"photo_id":"1329842741","filename":"file0"},{"photo_id":"1329842838","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329842838":["hashtag1","hashtag2"]},{"1329842808":["hashtag1","hashtag2"]},{"1329842834":["hashtag1","hashtag2"]},{"1329842741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329842838, 1329842808, 1329842834, 1329842741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 91.85451745986938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 20:16:02.978039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/14/image_18012025_20_14_02_380634_0003.jpg', '/home/pi/Desktop/images/18012025/20/15/image_18012025_20_15_02_537891_0000.jpg', '/home/pi/Desktop/images/18012025/20/15/image_18012025_20_15_02_537891_0001.jpg', '/home/pi/Desktop/images/18012025/20/15/image_18012025_20_15_02_537891_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/14/image_18012025_20_14_02_380634_0003.jpg
/home/pi/Desktop/images/18012025/20/15/image_18012025_20_15_02_537891_0000.jpg
/home/pi/Desktop/images/18012025/20/15/image_18012025_20_15_02_537891_0001.jpg
/home/pi/Desktop/images/18012025/20/15/image_18012025_20_15_02_537891_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329842935","1329842920","1329842940","1329842938"],"photo_ids_order":["1329842920","1329842935","1329842938","1329842940"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c77947be6306ac190005c160bafce75.jpg","text":"TemporaryFile(/tmp/multipartBody7665993323670856713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227834099,"filename":"image_18012025_20_15_02_537891_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/90ca13760ab784884aeb82843769d8e5.jpg","text":"TemporaryFile(/tmp/multipartBody6315464212796208516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227834099,"filename":"image_18012025_20_14_02_380634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d505e4d5a194c0aa110e74b951c1c483.jpg","text":"TemporaryFile(/tmp/multipartBody3350866477079717431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227834099,"filename":"image_18012025_20_15_02_537891_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7f63798f9aae3c2399030c32521612ca.jpg","text":"TemporaryFile(/tmp/multipartBody6856366223384403096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227834099,"filename":"image_18012025_20_15_02_537891_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329842938","file1":"1329842935","file0":"1329842920","file3":"1329842940"},"map_files_photo_id_array":[{"photo_id":"1329842938","filename":"file2"},{"photo_id":"1329842935","filename":"file1"},{"photo_id":"1329842920","filename":"file0"},{"photo_id":"1329842940","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329842935":["hashtag1","hashtag2"]},{"1329842920":["hashtag1","hashtag2"]},{"1329842940":["hashtag1","hashtag2"]},{"1329842938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329842935, 1329842920, 1329842940, 1329842938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.990578413009644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:16:52.561264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/15/image_18012025_20_15_02_537891_0003.jpg', '/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0000.jpg', '/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0001.jpg', '/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/15/image_18012025_20_15_02_537891_0003.jpg
/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0000.jpg
/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0001.jpg
/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.94719409942627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:17:22.752760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/15/image_18012025_20_15_02_537891_0003.jpg', '/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0000.jpg', '/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0001.jpg', '/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0002.jpg', '/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0003.jpg', '/home/pi/Desktop/images/18012025/20/17/image_18012025_20_17_02_889930_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/15/image_18012025_20_15_02_537891_0003.jpg
/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0000.jpg
/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0001.jpg
/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0002.jpg
/home/pi/Desktop/images/18012025/20/16/image_18012025_20_16_02_712771_0003.jpg
/home/pi/Desktop/images/18012025/20/17/image_18012025_20_17_02_889930_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329843432","1329843429","1329843401","1329843475","1329843397","1329843427"],"photo_ids_order":["1329843397","1329843401","1329843427","1329843429","1329843432","1329843475"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e903847f4b1758998fd445a85cec169.jpg","text":"TemporaryFile(/tmp/multipartBody7217322875018606892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227919435,"filename":"image_18012025_20_16_02_712771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c58924e60e76a2bcac3fcdd5e43c0d54.jpg","text":"TemporaryFile(/tmp/multipartBody5893356164424907823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227919435,"filename":"image_18012025_20_16_02_712771_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/db58ce3c049aabec3c5daa8eb9a0a35d.jpg","text":"TemporaryFile(/tmp/multipartBody6814844539426555943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227919435,"filename":"image_18012025_20_16_02_712771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/62e9eb631989cad5aaf508d1a57cef76.jpg","text":"TemporaryFile(/tmp/multipartBody8758825132128329926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227919435,"filename":"image_18012025_20_17_02_889930_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/973e288f7659b93651bdfd01852c4cde.jpg","text":"TemporaryFile(/tmp/multipartBody6270894986133129512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227919435,"filename":"image_18012025_20_15_02_537891_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f6d4b3b4fbe63759b653a140b14f3241.jpg","text":"TemporaryFile(/tmp/multipartBody5007115771206670174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227919435,"filename":"image_18012025_20_16_02_712771_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329843427","file1":"1329843401","file0":"1329843397","file4":"1329843432","file5":"1329843475","file3":"1329843429"},"map_files_photo_id_array":[{"photo_id":"1329843475","filename":"file5"},{"photo_id":"1329843427","filename":"file2"},{"photo_id":"1329843432","filename":"file4"},{"photo_id":"1329843401","filename":"file1"},{"photo_id":"1329843397","filename":"file0"},{"photo_id":"1329843429","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329843432":["hashtag1","hashtag2"]},{"1329843429":["hashtag1","hashtag2"]},{"1329843401":["hashtag1","hashtag2"]},{"1329843475":["hashtag1","hashtag2"]},{"1329843397":["hashtag1","hashtag2"]},{"1329843427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329843432, 1329843429, 1329843401, 1329843475, 1329843397, 1329843427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.57818627357483 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-18 20:18:31.969565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/17/image_18012025_20_17_02_889930_0001.jpg', '/home/pi/Desktop/images/18012025/20/17/image_18012025_20_17_02_889930_0002.jpg', '/home/pi/Desktop/images/18012025/20/17/image_18012025_20_17_02_889930_0003.jpg', '/home/pi/Desktop/images/18012025/20/18/image_18012025_20_18_03_099281_0000.jpg', '/home/pi/Desktop/images/18012025/20/18/image_18012025_20_18_03_099281_0001.jpg', '/home/pi/Desktop/images/18012025/20/18/image_18012025_20_18_03_099281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/17/image_18012025_20_17_02_889930_0001.jpg
/home/pi/Desktop/images/18012025/20/17/image_18012025_20_17_02_889930_0002.jpg
/home/pi/Desktop/images/18012025/20/17/image_18012025_20_17_02_889930_0003.jpg
/home/pi/Desktop/images/18012025/20/18/image_18012025_20_18_03_099281_0000.jpg
/home/pi/Desktop/images/18012025/20/18/image_18012025_20_18_03_099281_0001.jpg
/home/pi/Desktop/images/18012025/20/18/image_18012025_20_18_03_099281_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329843528","1329843497","1329843491","1329843494","1329843538","1329843529"],"photo_ids_order":["1329843491","1329843494","1329843497","1329843528","1329843529","1329843538"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1157a5e6875f47134728b9557c0d55b1.jpg","text":"TemporaryFile(/tmp/multipartBody3502641528523908486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227988825,"filename":"image_18012025_20_18_03_099281_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/86cbf21eb8bd322dfd750d990d1bdf91.jpg","text":"TemporaryFile(/tmp/multipartBody4276259861421414423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227988825,"filename":"image_18012025_20_17_02_889930_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3ec84961a9315ddea0af0e1f42d1d5a9.jpg","text":"TemporaryFile(/tmp/multipartBody6484283212275280582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227988825,"filename":"image_18012025_20_17_02_889930_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2dac1cd46ce096ee728fe667c36967d5.jpg","text":"TemporaryFile(/tmp/multipartBody4134464231491682534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227988825,"filename":"image_18012025_20_17_02_889930_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/690a6023bd794431bd0bbedb26565fab.jpg","text":"TemporaryFile(/tmp/multipartBody282384720320196855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227988825,"filename":"image_18012025_20_18_03_099281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/842d03bad27ee21d9197a1527b8d8d77.jpg","text":"TemporaryFile(/tmp/multipartBody8010307188562322478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737227988825,"filename":"image_18012025_20_18_03_099281_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329843497","file1":"1329843494","file0":"1329843491","file4":"1329843529","file5":"1329843538","file3":"1329843528"},"map_files_photo_id_array":[{"photo_id":"1329843538","filename":"file5"},{"photo_id":"1329843497","filename":"file2"},{"photo_id":"1329843529","filename":"file4"},{"photo_id":"1329843494","filename":"file1"},{"photo_id":"1329843491","filename":"file0"},{"photo_id":"1329843528","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329843528":["hashtag1","hashtag2"]},{"1329843497":["hashtag1","hashtag2"]},{"1329843491":["hashtag1","hashtag2"]},{"1329843494":["hashtag1","hashtag2"]},{"1329843538":["hashtag1","hashtag2"]},{"1329843529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329843528, 1329843497, 1329843491, 1329843494, 1329843538, 1329843529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.65350317955017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:19:32.169295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/18/image_18012025_20_18_03_099281_0003.jpg', '/home/pi/Desktop/images/18012025/20/19/image_18012025_20_19_02_313196_0000.jpg', '/home/pi/Desktop/images/18012025/20/19/image_18012025_20_19_02_313196_0001.jpg', '/home/pi/Desktop/images/18012025/20/19/image_18012025_20_19_02_313196_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/18/image_18012025_20_18_03_099281_0003.jpg
/home/pi/Desktop/images/18012025/20/19/image_18012025_20_19_02_313196_0000.jpg
/home/pi/Desktop/images/18012025/20/19/image_18012025_20_19_02_313196_0001.jpg
/home/pi/Desktop/images/18012025/20/19/image_18012025_20_19_02_313196_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329843567","1329843560","1329843554","1329843557"],"photo_ids_order":["1329843554","1329843557","1329843560","1329843567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17ffd230f2313e9966b7b53157cefe97.jpg","text":"TemporaryFile(/tmp/multipartBody4521389965647875111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228043514,"filename":"image_18012025_20_19_02_313196_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/094212d74020fdbe06d08cc10d874d72.jpg","text":"TemporaryFile(/tmp/multipartBody5958745117142074993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228043514,"filename":"image_18012025_20_19_02_313196_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5380cf9d34ba305c86a763b48b71850d.jpg","text":"TemporaryFile(/tmp/multipartBody8226081910358034284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228043514,"filename":"image_18012025_20_18_03_099281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e5f72fce81d00b3a782c6e941855d33.jpg","text":"TemporaryFile(/tmp/multipartBody3020501056581650588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228043514,"filename":"image_18012025_20_19_02_313196_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329843560","file1":"1329843557","file0":"1329843554","file3":"1329843567"},"map_files_photo_id_array":[{"photo_id":"1329843560","filename":"file2"},{"photo_id":"1329843557","filename":"file1"},{"photo_id":"1329843554","filename":"file0"},{"photo_id":"1329843567","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329843567":["hashtag1","hashtag2"]},{"1329843560":["hashtag1","hashtag2"]},{"1329843554":["hashtag1","hashtag2"]},{"1329843557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329843567, 1329843560, 1329843554, 1329843557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.349419593811035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:20:22.387213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/19/image_18012025_20_19_02_313196_0003.jpg', '/home/pi/Desktop/images/18012025/20/20/image_18012025_20_20_02_562603_0000.jpg', '/home/pi/Desktop/images/18012025/20/20/image_18012025_20_20_02_562603_0001.jpg', '/home/pi/Desktop/images/18012025/20/20/image_18012025_20_20_02_562603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/19/image_18012025_20_19_02_313196_0003.jpg
/home/pi/Desktop/images/18012025/20/20/image_18012025_20_20_02_562603_0000.jpg
/home/pi/Desktop/images/18012025/20/20/image_18012025_20_20_02_562603_0001.jpg
/home/pi/Desktop/images/18012025/20/20/image_18012025_20_20_02_562603_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329843618","1329843614","1329843610","1329843597"],"photo_ids_order":["1329843597","1329843610","1329843614","1329843618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15052e42042d0c960d4ddb6806c837d3.jpg","text":"TemporaryFile(/tmp/multipartBody6451340294588286721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228093326,"filename":"image_18012025_20_20_02_562603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3ff2b4eecd6e771e1d373662bec36161.jpg","text":"TemporaryFile(/tmp/multipartBody2118661518349311739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228093326,"filename":"image_18012025_20_20_02_562603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e76a0130fd0dfe1006773a359549ca25.jpg","text":"TemporaryFile(/tmp/multipartBody5965412665088659803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228093326,"filename":"image_18012025_20_20_02_562603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49572f736c80d6c44f02a4815d83d65f.jpg","text":"TemporaryFile(/tmp/multipartBody3838839442383140718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228093326,"filename":"image_18012025_20_19_02_313196_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329843614","file1":"1329843610","file0":"1329843597","file3":"1329843618"},"map_files_photo_id_array":[{"photo_id":"1329843614","filename":"file2"},{"photo_id":"1329843610","filename":"file1"},{"photo_id":"1329843597","filename":"file0"},{"photo_id":"1329843618","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329843618":["hashtag1","hashtag2"]},{"1329843614":["hashtag1","hashtag2"]},{"1329843610":["hashtag1","hashtag2"]},{"1329843597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329843618, 1329843614, 1329843610, 1329843597)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.78225231170654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:21:22.704961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/20/image_18012025_20_20_02_562603_0003.jpg', '/home/pi/Desktop/images/18012025/20/21/image_18012025_20_21_02_703781_0000.jpg', '/home/pi/Desktop/images/18012025/20/21/image_18012025_20_21_02_703781_0001.jpg', '/home/pi/Desktop/images/18012025/20/21/image_18012025_20_21_02_703781_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/20/image_18012025_20_20_02_562603_0003.jpg
/home/pi/Desktop/images/18012025/20/21/image_18012025_20_21_02_703781_0000.jpg
/home/pi/Desktop/images/18012025/20/21/image_18012025_20_21_02_703781_0001.jpg
/home/pi/Desktop/images/18012025/20/21/image_18012025_20_21_02_703781_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329843633","1329843642","1329843637","1329843640"],"photo_ids_order":["1329843633","1329843637","1329843640","1329843642"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d551b06a2d5bde45ebf2e7d7fcdc393a.jpg","text":"TemporaryFile(/tmp/multipartBody6691706069839031615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228153958,"filename":"image_18012025_20_20_02_562603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dcd5d8967a706193ebc4b97b3ef87765.jpg","text":"TemporaryFile(/tmp/multipartBody7528568653974219038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228153958,"filename":"image_18012025_20_21_02_703781_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/acc324c2f271db49d485847e85a8459a.jpg","text":"TemporaryFile(/tmp/multipartBody6235374483044944014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228153958,"filename":"image_18012025_20_21_02_703781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c4c42ba3c85d1e11c57d7e634c0ae0d.jpg","text":"TemporaryFile(/tmp/multipartBody8784767718785361745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228153958,"filename":"image_18012025_20_21_02_703781_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329843640","file1":"1329843637","file0":"1329843633","file3":"1329843642"},"map_files_photo_id_array":[{"photo_id":"1329843640","filename":"file2"},{"photo_id":"1329843637","filename":"file1"},{"photo_id":"1329843633","filename":"file0"},{"photo_id":"1329843642","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329843633":["hashtag1","hashtag2"]},{"1329843642":["hashtag1","hashtag2"]},{"1329843637":["hashtag1","hashtag2"]},{"1329843640":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329843633, 1329843642, 1329843637, 1329843640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.95408797264099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:22:21.866397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/21/image_18012025_20_21_02_703781_0003.jpg', '/home/pi/Desktop/images/18012025/20/22/image_18012025_20_22_02_994326_0000.jpg', '/home/pi/Desktop/images/18012025/20/22/image_18012025_20_22_02_994326_0001.jpg', '/home/pi/Desktop/images/18012025/20/22/image_18012025_20_22_02_994326_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/21/image_18012025_20_21_02_703781_0003.jpg
/home/pi/Desktop/images/18012025/20/22/image_18012025_20_22_02_994326_0000.jpg
/home/pi/Desktop/images/18012025/20/22/image_18012025_20_22_02_994326_0001.jpg
/home/pi/Desktop/images/18012025/20/22/image_18012025_20_22_02_994326_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329843723","1329843671","1329843719","1329843696"],"photo_ids_order":["1329843671","1329843696","1329843719","1329843723"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a51430cdb48a0e52080e4638374ffaee.jpg","text":"TemporaryFile(/tmp/multipartBody32535317670062159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228212978,"filename":"image_18012025_20_22_02_994326_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3853959694128a311592d1a214cc7c38.jpg","text":"TemporaryFile(/tmp/multipartBody615875607524578311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228212978,"filename":"image_18012025_20_21_02_703781_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/453270369cd050dabb92a20b38d66637.jpg","text":"TemporaryFile(/tmp/multipartBody151187111907185919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228212978,"filename":"image_18012025_20_22_02_994326_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e19c1eae48ce7e0b893bbf2b96007f7c.jpg","text":"TemporaryFile(/tmp/multipartBody492336570881292994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228212978,"filename":"image_18012025_20_22_02_994326_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329843719","file1":"1329843696","file0":"1329843671","file3":"1329843723"},"map_files_photo_id_array":[{"photo_id":"1329843719","filename":"file2"},{"photo_id":"1329843696","filename":"file1"},{"photo_id":"1329843671","filename":"file0"},{"photo_id":"1329843723","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329843723":["hashtag1","hashtag2"]},{"1329843671":["hashtag1","hashtag2"]},{"1329843719":["hashtag1","hashtag2"]},{"1329843696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329843723, 1329843671, 1329843719, 1329843696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51974368095398 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-18 20:23:22.054084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/22/image_18012025_20_22_02_994326_0003.jpg', '/home/pi/Desktop/images/18012025/20/23/image_18012025_20_23_02_185918_0000.jpg', '/home/pi/Desktop/images/18012025/20/23/image_18012025_20_23_02_185918_0001.jpg', '/home/pi/Desktop/images/18012025/20/23/image_18012025_20_23_02_185918_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/22/image_18012025_20_22_02_994326_0003.jpg
/home/pi/Desktop/images/18012025/20/23/image_18012025_20_23_02_185918_0000.jpg
/home/pi/Desktop/images/18012025/20/23/image_18012025_20_23_02_185918_0001.jpg
/home/pi/Desktop/images/18012025/20/23/image_18012025_20_23_02_185918_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329843740","1329843748","1329843745","1329843733"],"photo_ids_order":["1329843733","1329843740","1329843745","1329843748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a1532b843a14f6569b6128ef93354fdc.jpg","text":"TemporaryFile(/tmp/multipartBody7970187022950721888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228273025,"filename":"image_18012025_20_23_02_185918_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d4e89e6046e29c1cda717aecd43738f9.jpg","text":"TemporaryFile(/tmp/multipartBody6884108854342608847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228273025,"filename":"image_18012025_20_23_02_185918_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2b4c39c5869dadd15a8962b91fa3a61.jpg","text":"TemporaryFile(/tmp/multipartBody2175697118150972801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228273025,"filename":"image_18012025_20_23_02_185918_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/37299940bd14a5f1117da044877cb551.jpg","text":"TemporaryFile(/tmp/multipartBody1020137288370133907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228273025,"filename":"image_18012025_20_22_02_994326_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329843745","file1":"1329843740","file0":"1329843733","file3":"1329843748"},"map_files_photo_id_array":[{"photo_id":"1329843745","filename":"file2"},{"photo_id":"1329843740","filename":"file1"},{"photo_id":"1329843733","filename":"file0"},{"photo_id":"1329843748","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329843740":["hashtag1","hashtag2"]},{"1329843748":["hashtag1","hashtag2"]},{"1329843745":["hashtag1","hashtag2"]},{"1329843733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329843740, 1329843748, 1329843745, 1329843733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.37908720970154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:24:22.291443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/23/image_18012025_20_23_02_185918_0003.jpg', '/home/pi/Desktop/images/18012025/20/24/image_18012025_20_24_02_380626_0000.jpg', '/home/pi/Desktop/images/18012025/20/24/image_18012025_20_24_02_380626_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/23/image_18012025_20_23_02_185918_0003.jpg
/home/pi/Desktop/images/18012025/20/24/image_18012025_20_24_02_380626_0000.jpg
/home/pi/Desktop/images/18012025/20/24/image_18012025_20_24_02_380626_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329843762","1329843758","1329843755"],"photo_ids_order":["1329843755","1329843758","1329843762"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2aa93f8f21693f57b57af1167194496a.jpg","text":"TemporaryFile(/tmp/multipartBody1158615925589314308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228330108,"filename":"image_18012025_20_24_02_380626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a2e60701508d4ea719992f24d3098a8.jpg","text":"TemporaryFile(/tmp/multipartBody3665958580673060215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228330108,"filename":"image_18012025_20_24_02_380626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e86dfb110a87005a82554382624a0f40.jpg","text":"TemporaryFile(/tmp/multipartBody1140418011813717617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228330108,"filename":"image_18012025_20_23_02_185918_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329843762","file1":"1329843758","file0":"1329843755"},"map_files_photo_id_array":[{"photo_id":"1329843762","filename":"file2"},{"photo_id":"1329843758","filename":"file1"},{"photo_id":"1329843755","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329843762":["hashtag1","hashtag2"]},{"1329843758":["hashtag1","hashtag2"]},{"1329843755":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329843762, 1329843758, 1329843755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.32301902770996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 20:25:03.057250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/13/image_16012025_23_13_02_727214_0002.jpg', '/home/pi/Desktop/images/16012025/23/13/image_16012025_23_13_02_727214_0003.jpg', '/home/pi/Desktop/images/16012025/23/14/image_16012025_23_14_02_977703_0000.jpg', '/home/pi/Desktop/images/16012025/23/14/image_16012025_23_14_02_977703_0001.jpg', '/home/pi/Desktop/images/16012025/23/14/image_16012025_23_14_02_977703_0002.jpg', '/home/pi/Desktop/images/16012025/23/14/image_16012025_23_14_02_977703_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/13/image_16012025_23_13_02_727214_0002.jpg
/home/pi/Desktop/images/16012025/23/13/image_16012025_23_13_02_727214_0003.jpg
/home/pi/Desktop/images/16012025/23/14/image_16012025_23_14_02_977703_0000.jpg
/home/pi/Desktop/images/16012025/23/14/image_16012025_23_14_02_977703_0001.jpg
/home/pi/Desktop/images/16012025/23/14/image_16012025_23_14_02_977703_0002.jpg
/home/pi/Desktop/images/16012025/23/14/image_16012025_23_14_02_977703_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":["1329843792","1329843789","1329843806","1329843809","1329843802","1329843795"],"photo_ids_order":["1329843789","1329843792","1329843795","1329843802","1329843806","1329843809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e31858013071b84226898fd134b94552.jpg","text":"TemporaryFile(/tmp/multipartBody2871711021816431022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228380829,"filename":"image_16012025_23_13_02_727214_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/33fa2fbab69f313cb38a06d377ab5480.jpg","text":"TemporaryFile(/tmp/multipartBody5770595996437860175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228380829,"filename":"image_16012025_23_13_02_727214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a4e00314f8ce7f11ffdfd4b795361cb.jpg","text":"TemporaryFile(/tmp/multipartBody6976433530181937322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228380829,"filename":"image_16012025_23_14_02_977703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e79dd147d9a75b226eb7154841dc95a6.jpg","text":"TemporaryFile(/tmp/multipartBody8631715295842383391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228380829,"filename":"image_16012025_23_14_02_977703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b7691b97b7198ec75c343a997f3abda.jpg","text":"TemporaryFile(/tmp/multipartBody1131324892940399942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228380829,"filename":"image_16012025_23_14_02_977703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/572ab931b299cbec0013c2b19045fe23.jpg","text":"TemporaryFile(/tmp/multipartBody8048888018951944262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228380829,"filename":"image_16012025_23_14_02_977703_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329843795","file1":"1329843792","file0":"1329843789","file4":"1329843806","file5":"1329843809","file3":"1329843802"},"map_files_photo_id_array":[{"photo_id":"1329843809","filename":"file5"},{"photo_id":"1329843795","filename":"file2"},{"photo_id":"1329843806","filename":"file4"},{"photo_id":"1329843792","filename":"file1"},{"photo_id":"1329843789","filename":"file0"},{"photo_id":"1329843802","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329843792":["hashtag1","hashtag2"]},{"1329843789":["hashtag1","hashtag2"]},{"1329843806":["hashtag1","hashtag2"]},{"1329843809":["hashtag1","hashtag2"]},{"1329843802":["hashtag1","hashtag2"]},{"1329843795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329843792, 1329843789, 1329843806, 1329843809, 1329843802, 1329843795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.757901430130005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 20:26:03.036202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/24/image_18012025_20_24_02_380626_0003.jpg', '/home/pi/Desktop/images/18012025/20/25/image_18012025_20_25_02_538355_0000.jpg', '/home/pi/Desktop/images/18012025/20/25/image_18012025_20_25_02_538355_0001.jpg', '/home/pi/Desktop/images/18012025/20/25/image_18012025_20_25_02_538355_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/24/image_18012025_20_24_02_380626_0003.jpg
/home/pi/Desktop/images/18012025/20/25/image_18012025_20_25_02_538355_0000.jpg
/home/pi/Desktop/images/18012025/20/25/image_18012025_20_25_02_538355_0001.jpg
/home/pi/Desktop/images/18012025/20/25/image_18012025_20_25_02_538355_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329843818","1329843815","1329843820","1329843823"],"photo_ids_order":["1329843815","1329843818","1329843820","1329843823"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6cf77707ed75c9b94562671090f9425e.jpg","text":"TemporaryFile(/tmp/multipartBody1195870149715644498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228434556,"filename":"image_18012025_20_25_02_538355_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0a75f2d0a664a7c26fd473897884e17.jpg","text":"TemporaryFile(/tmp/multipartBody2019311154959764689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228434556,"filename":"image_18012025_20_24_02_380626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad370a2b88aae94eef0e86eeb6509462.jpg","text":"TemporaryFile(/tmp/multipartBody7874894372924770857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228434556,"filename":"image_18012025_20_25_02_538355_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee8eef48dd4262157649d94a85c8805e.jpg","text":"TemporaryFile(/tmp/multipartBody6908344466760260339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228434556,"filename":"image_18012025_20_25_02_538355_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329843820","file1":"1329843818","file0":"1329843815","file3":"1329843823"},"map_files_photo_id_array":[{"photo_id":"1329843820","filename":"file2"},{"photo_id":"1329843818","filename":"file1"},{"photo_id":"1329843815","filename":"file0"},{"photo_id":"1329843823","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329843818":["hashtag1","hashtag2"]},{"1329843815":["hashtag1","hashtag2"]},{"1329843820":["hashtag1","hashtag2"]},{"1329843823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329843818, 1329843815, 1329843820, 1329843823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.78896164894104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:26:52.554541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/25/image_18012025_20_25_02_538355_0003.jpg', '/home/pi/Desktop/images/18012025/20/26/image_18012025_20_26_02_765113_0000.jpg', '/home/pi/Desktop/images/18012025/20/26/image_18012025_20_26_02_765113_0001.jpg', '/home/pi/Desktop/images/18012025/20/26/image_18012025_20_26_02_765113_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/25/image_18012025_20_25_02_538355_0003.jpg
/home/pi/Desktop/images/18012025/20/26/image_18012025_20_26_02_765113_0000.jpg
/home/pi/Desktop/images/18012025/20/26/image_18012025_20_26_02_765113_0001.jpg
/home/pi/Desktop/images/18012025/20/26/image_18012025_20_26_02_765113_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329843858","1329843880","1329843882","1329843876"],"photo_ids_order":["1329843858","1329843876","1329843880","1329843882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd4859e5641af02440e228c0de203183.jpg","text":"TemporaryFile(/tmp/multipartBody8902970658348434347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228483627,"filename":"image_18012025_20_25_02_538355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/edcbd6a4ebba702835993a7450fd05bc.jpg","text":"TemporaryFile(/tmp/multipartBody7862766449857669856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228483627,"filename":"image_18012025_20_26_02_765113_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8df6ec6472b179de8f1c9e3c43b8b0c3.jpg","text":"TemporaryFile(/tmp/multipartBody64044062602812921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228483627,"filename":"image_18012025_20_26_02_765113_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/abc174167d5d127a2fff86cf52d9d470.jpg","text":"TemporaryFile(/tmp/multipartBody4844791029629582851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228483627,"filename":"image_18012025_20_26_02_765113_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329843880","file1":"1329843876","file0":"1329843858","file3":"1329843882"},"map_files_photo_id_array":[{"photo_id":"1329843880","filename":"file2"},{"photo_id":"1329843876","filename":"file1"},{"photo_id":"1329843858","filename":"file0"},{"photo_id":"1329843882","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329843858":["hashtag1","hashtag2"]},{"1329843880":["hashtag1","hashtag2"]},{"1329843882":["hashtag1","hashtag2"]},{"1329843876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329843858, 1329843880, 1329843882, 1329843876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.71641945838928 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 20:27:42.726849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/26/image_18012025_20_26_02_765113_0003.jpg', '/home/pi/Desktop/images/18012025/20/27/image_18012025_20_27_02_935490_0000.jpg', '/home/pi/Desktop/images/18012025/20/27/image_18012025_20_27_02_935490_0001.jpg', '/home/pi/Desktop/images/18012025/20/27/image_18012025_20_27_02_935490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/26/image_18012025_20_26_02_765113_0003.jpg
/home/pi/Desktop/images/18012025/20/27/image_18012025_20_27_02_935490_0000.jpg
/home/pi/Desktop/images/18012025/20/27/image_18012025_20_27_02_935490_0001.jpg
/home/pi/Desktop/images/18012025/20/27/image_18012025_20_27_02_935490_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329843912","1329843908","1329843916","1329843894"],"photo_ids_order":["1329843894","1329843908","1329843912","1329843916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/abc6d8ce39540318c4a6a82d8156a8fa.jpg","text":"TemporaryFile(/tmp/multipartBody6891868670853037528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228533694,"filename":"image_18012025_20_27_02_935490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/862cb27dab1eec2110fe6b88bf73f697.jpg","text":"TemporaryFile(/tmp/multipartBody8046953848328554496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228533694,"filename":"image_18012025_20_27_02_935490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e68cc520f03401d42e56f43100153e5c.jpg","text":"TemporaryFile(/tmp/multipartBody7547269964797648418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228533694,"filename":"image_18012025_20_27_02_935490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/88c245275aacd4b15c2dadaeb3c96546.jpg","text":"TemporaryFile(/tmp/multipartBody8664556824143997633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228533694,"filename":"image_18012025_20_26_02_765113_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329843912","file1":"1329843908","file0":"1329843894","file3":"1329843916"},"map_files_photo_id_array":[{"photo_id":"1329843912","filename":"file2"},{"photo_id":"1329843908","filename":"file1"},{"photo_id":"1329843894","filename":"file0"},{"photo_id":"1329843916","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329843912":["hashtag1","hashtag2"]},{"1329843908":["hashtag1","hashtag2"]},{"1329843916":["hashtag1","hashtag2"]},{"1329843894":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329843912, 1329843908, 1329843916, 1329843894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 49.32520771026611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 20:28:41.940119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/27/image_18012025_20_27_02_935490_0003.jpg', '/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0000.jpg', '/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0001.jpg', '/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/27/image_18012025_20_27_02_935490_0003.jpg
/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0000.jpg
/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0001.jpg
/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.069521427154541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 20:29:02.666415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/27/image_18012025_20_27_02_935490_0003.jpg', '/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0000.jpg', '/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0001.jpg', '/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/27/image_18012025_20_27_02_935490_0003.jpg
/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0000.jpg
/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0001.jpg
/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329843948","1329843974","1329843970","1329843961"],"photo_ids_order":["1329843948","1329843961","1329843970","1329843974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a5711ebf5137c899a4f776f5c21fefb2.jpg","text":"TemporaryFile(/tmp/multipartBody4727392927620679171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228614219,"filename":"image_18012025_20_27_02_935490_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/749d32163735d142b2527b6a197ba170.jpg","text":"TemporaryFile(/tmp/multipartBody8714463675705617075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228614219,"filename":"image_18012025_20_28_03_087786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ec977b535e36cbd36537fa6854d138d.jpg","text":"TemporaryFile(/tmp/multipartBody2005906068116031887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228614219,"filename":"image_18012025_20_28_03_087786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a88bd0f648ee6f4835fe47d0135353e.jpg","text":"TemporaryFile(/tmp/multipartBody7390158111583907910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228614219,"filename":"image_18012025_20_28_03_087786_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329843970","file1":"1329843961","file0":"1329843948","file3":"1329843974"},"map_files_photo_id_array":[{"photo_id":"1329843970","filename":"file2"},{"photo_id":"1329843961","filename":"file1"},{"photo_id":"1329843948","filename":"file0"},{"photo_id":"1329843974","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329843948":["hashtag1","hashtag2"]},{"1329843974":["hashtag1","hashtag2"]},{"1329843970":["hashtag1","hashtag2"]},{"1329843961":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329843948, 1329843974, 1329843970, 1329843961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.23202681541443 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:29:52.073516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0003.jpg', '/home/pi/Desktop/images/18012025/20/29/image_18012025_20_29_02_282017_0000.jpg', '/home/pi/Desktop/images/18012025/20/29/image_18012025_20_29_02_282017_0001.jpg', '/home/pi/Desktop/images/18012025/20/29/image_18012025_20_29_02_282017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/28/image_18012025_20_28_03_087786_0003.jpg
/home/pi/Desktop/images/18012025/20/29/image_18012025_20_29_02_282017_0000.jpg
/home/pi/Desktop/images/18012025/20/29/image_18012025_20_29_02_282017_0001.jpg
/home/pi/Desktop/images/18012025/20/29/image_18012025_20_29_02_282017_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329844011","1329844014","1329844009","1329844012"],"photo_ids_order":["1329844009","1329844011","1329844012","1329844014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c15d06cd992fa68ac4ca45332e090cc.jpg","text":"TemporaryFile(/tmp/multipartBody2564865798851877953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228663216,"filename":"image_18012025_20_29_02_282017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ccbd0fff591a4f689e78c3b70280d6ba.jpg","text":"TemporaryFile(/tmp/multipartBody4479191160210205971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228663216,"filename":"image_18012025_20_29_02_282017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c1d6ce3167ec92d64f899625b8c11a5.jpg","text":"TemporaryFile(/tmp/multipartBody1093523714101431609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228663216,"filename":"image_18012025_20_28_03_087786_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/206804afd4a66d3fdded279e9320646f.jpg","text":"TemporaryFile(/tmp/multipartBody8043310845756776425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228663216,"filename":"image_18012025_20_29_02_282017_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329844012","file1":"1329844011","file0":"1329844009","file3":"1329844014"},"map_files_photo_id_array":[{"photo_id":"1329844012","filename":"file2"},{"photo_id":"1329844011","filename":"file1"},{"photo_id":"1329844009","filename":"file0"},{"photo_id":"1329844014","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329844011":["hashtag1","hashtag2"]},{"1329844014":["hashtag1","hashtag2"]},{"1329844009":["hashtag1","hashtag2"]},{"1329844012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329844011, 1329844014, 1329844009, 1329844012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.178343772888184 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 20:30:42.318709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/29/image_18012025_20_29_02_282017_0003.jpg', '/home/pi/Desktop/images/18012025/20/30/image_18012025_20_30_02_552783_0000.jpg', '/home/pi/Desktop/images/18012025/20/30/image_18012025_20_30_02_552783_0001.jpg', '/home/pi/Desktop/images/18012025/20/30/image_18012025_20_30_02_552783_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/29/image_18012025_20_29_02_282017_0003.jpg
/home/pi/Desktop/images/18012025/20/30/image_18012025_20_30_02_552783_0000.jpg
/home/pi/Desktop/images/18012025/20/30/image_18012025_20_30_02_552783_0001.jpg
/home/pi/Desktop/images/18012025/20/30/image_18012025_20_30_02_552783_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329844032","1329844045","1329844042","1329844036"],"photo_ids_order":["1329844032","1329844036","1329844042","1329844045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca62f483e67331239651c49653de2584.jpg","text":"TemporaryFile(/tmp/multipartBody5331627497979574695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228713085,"filename":"image_18012025_20_29_02_282017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7aa72b81c8bafd88810eb531c6de54ec.jpg","text":"TemporaryFile(/tmp/multipartBody8390154136391991762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228713085,"filename":"image_18012025_20_30_02_552783_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01056fc2bd75e65006b050ccb5ee118f.jpg","text":"TemporaryFile(/tmp/multipartBody4990107888352691878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228713085,"filename":"image_18012025_20_30_02_552783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cba0d3ed06949bf2a521f3b3575e1c49.jpg","text":"TemporaryFile(/tmp/multipartBody3303628685019033493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228713085,"filename":"image_18012025_20_30_02_552783_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329844042","file1":"1329844036","file0":"1329844032","file3":"1329844045"},"map_files_photo_id_array":[{"photo_id":"1329844042","filename":"file2"},{"photo_id":"1329844036","filename":"file1"},{"photo_id":"1329844032","filename":"file0"},{"photo_id":"1329844045","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329844032":["hashtag1","hashtag2"]},{"1329844045":["hashtag1","hashtag2"]},{"1329844042":["hashtag1","hashtag2"]},{"1329844036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329844032, 1329844045, 1329844042, 1329844036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.50317335128784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:31:32.493488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/30/image_18012025_20_30_02_552783_0003.jpg', '/home/pi/Desktop/images/18012025/20/31/image_18012025_20_31_02_671834_0000.jpg', '/home/pi/Desktop/images/18012025/20/31/image_18012025_20_31_02_671834_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/30/image_18012025_20_30_02_552783_0003.jpg
/home/pi/Desktop/images/18012025/20/31/image_18012025_20_31_02_671834_0000.jpg
/home/pi/Desktop/images/18012025/20/31/image_18012025_20_31_02_671834_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":["1329844085","1329844081","1329844089"],"photo_ids_order":["1329844081","1329844085","1329844089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee4510367f9711abc978f5e9e6078494.jpg","text":"TemporaryFile(/tmp/multipartBody4404800430353098839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228760223,"filename":"image_18012025_20_31_02_671834_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7fdc807eec6074440e022271cdb0ab05.jpg","text":"TemporaryFile(/tmp/multipartBody7963705435599807391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228760223,"filename":"image_18012025_20_30_02_552783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/484bff3b19c0f8248b79eb485c8e9e3a.jpg","text":"TemporaryFile(/tmp/multipartBody3592062225429119974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228760223,"filename":"image_18012025_20_31_02_671834_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329844089","file1":"1329844085","file0":"1329844081"},"map_files_photo_id_array":[{"photo_id":"1329844089","filename":"file2"},{"photo_id":"1329844085","filename":"file1"},{"photo_id":"1329844081","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329844085":["hashtag1","hashtag2"]},{"1329844081":["hashtag1","hashtag2"]},{"1329844089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329844085, 1329844081, 1329844089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 40.109336137771606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:32:22.835602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/32/image_18012025_20_32_02_844722_0000.jpg', '/home/pi/Desktop/images/18012025/20/32/image_18012025_20_32_02_844722_0001.jpg', '/home/pi/Desktop/images/18012025/20/32/image_18012025_20_32_02_844722_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/32/image_18012025_20_32_02_844722_0000.jpg
/home/pi/Desktop/images/18012025/20/32/image_18012025_20_32_02_844722_0001.jpg
/home/pi/Desktop/images/18012025/20/32/image_18012025_20_32_02_844722_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329844107","1329844097","1329844102"],"photo_ids_order":["1329844097","1329844102","1329844107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ab075d59ae042a817051950b06ff51a9.jpg","text":"TemporaryFile(/tmp/multipartBody2841002643325094023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228810758,"filename":"image_18012025_20_32_02_844722_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/000a83f2d5284e709741f0da56b28804.jpg","text":"TemporaryFile(/tmp/multipartBody3114801452170151188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228810758,"filename":"image_18012025_20_32_02_844722_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e866c851eba31b994a29d2a5b508a34f.jpg","text":"TemporaryFile(/tmp/multipartBody3832301642630588419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228810758,"filename":"image_18012025_20_32_02_844722_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329844107","file1":"1329844102","file0":"1329844097"},"map_files_photo_id_array":[{"photo_id":"1329844107","filename":"file2"},{"photo_id":"1329844102","filename":"file1"},{"photo_id":"1329844097","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329844107":["hashtag1","hashtag2"]},{"1329844097":["hashtag1","hashtag2"]},{"1329844102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329844107, 1329844097, 1329844102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.25594663619995 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 20:33:02.447759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/15/image_16012025_23_15_02_192417_0000.jpg', '/home/pi/Desktop/images/16012025/23/15/image_16012025_23_15_02_192417_0001.jpg', '/home/pi/Desktop/images/16012025/23/15/image_16012025_23_15_02_192417_0002.jpg', '/home/pi/Desktop/images/16012025/23/15/image_16012025_23_15_02_192417_0003.jpg', '/home/pi/Desktop/images/16012025/23/16/image_16012025_23_16_02_486793_0000.jpg', '/home/pi/Desktop/images/16012025/23/16/image_16012025_23_16_02_486793_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/15/image_16012025_23_15_02_192417_0000.jpg
/home/pi/Desktop/images/16012025/23/15/image_16012025_23_15_02_192417_0001.jpg
/home/pi/Desktop/images/16012025/23/15/image_16012025_23_15_02_192417_0002.jpg
/home/pi/Desktop/images/16012025/23/15/image_16012025_23_15_02_192417_0003.jpg
/home/pi/Desktop/images/16012025/23/16/image_16012025_23_16_02_486793_0000.jpg
/home/pi/Desktop/images/16012025/23/16/image_16012025_23_16_02_486793_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":["1329844151","1329844133","1329844124","1329844147","1329844126","1329844155"],"photo_ids_order":["1329844124","1329844126","1329844133","1329844147","1329844151","1329844155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b3bf5e283a07218d020644ab9303c7ab.jpg","text":"TemporaryFile(/tmp/multipartBody3296558450579282327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228860278,"filename":"image_16012025_23_16_02_486793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1afdd893198f13bcd54e660b64eaa869.jpg","text":"TemporaryFile(/tmp/multipartBody4229825599000160018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228860278,"filename":"image_16012025_23_15_02_192417_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17f4b428607cd9189de0254754e213f9.jpg","text":"TemporaryFile(/tmp/multipartBody953200541754784137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228860278,"filename":"image_16012025_23_15_02_192417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67884b07544a53bcb234e085f6fcf817.jpg","text":"TemporaryFile(/tmp/multipartBody8358865701417416464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228860278,"filename":"image_16012025_23_15_02_192417_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/df2d6e9fc083a3006b84a84d6767af40.jpg","text":"TemporaryFile(/tmp/multipartBody4055595215876508512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228860278,"filename":"image_16012025_23_15_02_192417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cb264254d68a90d958b7b50b2d75095a.jpg","text":"TemporaryFile(/tmp/multipartBody2118197958691001339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228860278,"filename":"image_16012025_23_16_02_486793_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329844133","file1":"1329844126","file0":"1329844124","file4":"1329844151","file5":"1329844155","file3":"1329844147"},"map_files_photo_id_array":[{"photo_id":"1329844155","filename":"file5"},{"photo_id":"1329844133","filename":"file2"},{"photo_id":"1329844151","filename":"file4"},{"photo_id":"1329844126","filename":"file1"},{"photo_id":"1329844124","filename":"file0"},{"photo_id":"1329844147","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329844151":["hashtag1","hashtag2"]},{"1329844133":["hashtag1","hashtag2"]},{"1329844124":["hashtag1","hashtag2"]},{"1329844147":["hashtag1","hashtag2"]},{"1329844126":["hashtag1","hashtag2"]},{"1329844155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329844151, 1329844133, 1329844124, 1329844147, 1329844126, 1329844155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.98370432853699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 20:34:02.581069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/33/image_18012025_20_33_03_143609_0000.jpg', '/home/pi/Desktop/images/18012025/20/33/image_18012025_20_33_03_143609_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/33/image_18012025_20_33_03_143609_0000.jpg
/home/pi/Desktop/images/18012025/20/33/image_18012025_20_33_03_143609_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.130995750427246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:34:22.079709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/33/image_18012025_20_33_03_143609_0000.jpg', '/home/pi/Desktop/images/18012025/20/33/image_18012025_20_33_03_143609_0002.jpg', '/home/pi/Desktop/images/18012025/20/33/image_18012025_20_33_03_143609_0003.jpg', '/home/pi/Desktop/images/18012025/20/34/image_18012025_20_34_02_236603_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/33/image_18012025_20_33_03_143609_0000.jpg
/home/pi/Desktop/images/18012025/20/33/image_18012025_20_33_03_143609_0002.jpg
/home/pi/Desktop/images/18012025/20/33/image_18012025_20_33_03_143609_0003.jpg
/home/pi/Desktop/images/18012025/20/34/image_18012025_20_34_02_236603_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":["1329844199","1329844195","1329844191","1329844188"],"photo_ids_order":["1329844188","1329844191","1329844195","1329844199"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee203d43409bab7422af95025bbe1b64.jpg","text":"TemporaryFile(/tmp/multipartBody2932646500288833448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228932645,"filename":"image_18012025_20_34_02_236603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/357f3c7173ac661ed6e2ebbab71cca35.jpg","text":"TemporaryFile(/tmp/multipartBody5522245899165449962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228932645,"filename":"image_18012025_20_33_03_143609_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d54716e576801fe2f607eee6e62c74a8.jpg","text":"TemporaryFile(/tmp/multipartBody1463426055286710174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228932645,"filename":"image_18012025_20_33_03_143609_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a06bc1569e9f1be7923cf991ab91b40.jpg","text":"TemporaryFile(/tmp/multipartBody7647770983763317181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228932645,"filename":"image_18012025_20_33_03_143609_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329844195","file1":"1329844191","file0":"1329844188","file3":"1329844199"},"map_files_photo_id_array":[{"photo_id":"1329844195","filename":"file2"},{"photo_id":"1329844191","filename":"file1"},{"photo_id":"1329844188","filename":"file0"},{"photo_id":"1329844199","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329844199":["hashtag1","hashtag2"]},{"1329844195":["hashtag1","hashtag2"]},{"1329844191":["hashtag1","hashtag2"]},{"1329844188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329844199, 1329844195, 1329844191, 1329844188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.334715843200684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:35:22.240188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/34/image_18012025_20_34_02_236603_0002.jpg', '/home/pi/Desktop/images/18012025/20/35/image_18012025_20_35_02_422607_0000.jpg', '/home/pi/Desktop/images/18012025/20/35/image_18012025_20_35_02_422607_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/34/image_18012025_20_34_02_236603_0002.jpg
/home/pi/Desktop/images/18012025/20/35/image_18012025_20_35_02_422607_0000.jpg
/home/pi/Desktop/images/18012025/20/35/image_18012025_20_35_02_422607_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329844224","1329844220","1329844221"],"photo_ids_order":["1329844220","1329844221","1329844224"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/284c4855f5e512eb79d2bc5e5de4f37c.jpg","text":"TemporaryFile(/tmp/multipartBody7684335008850796663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228990457,"filename":"image_18012025_20_35_02_422607_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/56038ad708e21a58d6b95b6cf3462333.jpg","text":"TemporaryFile(/tmp/multipartBody1111988980237213502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228990457,"filename":"image_18012025_20_34_02_236603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/453f4939612a3035ccc7209fcfaf97e4.jpg","text":"TemporaryFile(/tmp/multipartBody3769033339742392093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737228990457,"filename":"image_18012025_20_35_02_422607_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329844224","file1":"1329844221","file0":"1329844220"},"map_files_photo_id_array":[{"photo_id":"1329844224","filename":"file2"},{"photo_id":"1329844221","filename":"file1"},{"photo_id":"1329844220","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329844224":["hashtag1","hashtag2"]},{"1329844220":["hashtag1","hashtag2"]},{"1329844221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329844224, 1329844220, 1329844221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.946452140808105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 20:36:02.823926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/16/image_16012025_23_16_02_486793_0002.jpg', '/home/pi/Desktop/images/16012025/23/16/image_16012025_23_16_02_486793_0003.jpg', '/home/pi/Desktop/images/16012025/23/17/image_16012025_23_17_02_645465_0000.jpg', '/home/pi/Desktop/images/16012025/23/17/image_16012025_23_17_02_645465_0001.jpg', '/home/pi/Desktop/images/16012025/23/17/image_16012025_23_17_02_645465_0002.jpg', '/home/pi/Desktop/images/16012025/23/17/image_16012025_23_17_02_645465_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/16/image_16012025_23_16_02_486793_0002.jpg
/home/pi/Desktop/images/16012025/23/16/image_16012025_23_16_02_486793_0003.jpg
/home/pi/Desktop/images/16012025/23/17/image_16012025_23_17_02_645465_0000.jpg
/home/pi/Desktop/images/16012025/23/17/image_16012025_23_17_02_645465_0001.jpg
/home/pi/Desktop/images/16012025/23/17/image_16012025_23_17_02_645465_0002.jpg
/home/pi/Desktop/images/16012025/23/17/image_16012025_23_17_02_645465_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329844271","1329844247","1329844306","1329844309","1329844293","1329844266"],"photo_ids_order":["1329844247","1329844266","1329844271","1329844293","1329844306","1329844309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4755ad48329b0443e90587bfd5ebaa1a.jpg","text":"TemporaryFile(/tmp/multipartBody5458897012968478380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229040557,"filename":"image_16012025_23_17_02_645465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a5bc80c8e8ac463a531e757eb212d1e.jpg","text":"TemporaryFile(/tmp/multipartBody1238688596130566207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229040557,"filename":"image_16012025_23_16_02_486793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2c5f7ac307594a0c28e02a13245ab93.jpg","text":"TemporaryFile(/tmp/multipartBody7988726405898805068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229040557,"filename":"image_16012025_23_17_02_645465_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf3e818bf35ee23a446e983c35d3062d.jpg","text":"TemporaryFile(/tmp/multipartBody728162396780681630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229040557,"filename":"image_16012025_23_17_02_645465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2703ad7c0f0f838b578ed143a2281b7.jpg","text":"TemporaryFile(/tmp/multipartBody7508092879557934569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229040557,"filename":"image_16012025_23_17_02_645465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a9acd3ee0a67f4641f81c4d79da9674f.jpg","text":"TemporaryFile(/tmp/multipartBody1637531120198849637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229040557,"filename":"image_16012025_23_16_02_486793_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329844271","file1":"1329844266","file0":"1329844247","file4":"1329844306","file5":"1329844309","file3":"1329844293"},"map_files_photo_id_array":[{"photo_id":"1329844309","filename":"file5"},{"photo_id":"1329844271","filename":"file2"},{"photo_id":"1329844306","filename":"file4"},{"photo_id":"1329844266","filename":"file1"},{"photo_id":"1329844247","filename":"file0"},{"photo_id":"1329844293","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329844271":["hashtag1","hashtag2"]},{"1329844247":["hashtag1","hashtag2"]},{"1329844306":["hashtag1","hashtag2"]},{"1329844309":["hashtag1","hashtag2"]},{"1329844293":["hashtag1","hashtag2"]},{"1329844266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329844271, 1329844247, 1329844306, 1329844309, 1329844293, 1329844266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.75323343276978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:37:22.670330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/35/image_18012025_20_35_02_422607_0003.jpg', '/home/pi/Desktop/images/18012025/20/36/image_18012025_20_36_02_614796_0000.jpg', '/home/pi/Desktop/images/18012025/20/36/image_18012025_20_36_02_614796_0001.jpg', '/home/pi/Desktop/images/18012025/20/36/image_18012025_20_36_02_614796_0002.jpg', '/home/pi/Desktop/images/18012025/20/36/image_18012025_20_36_02_614796_0003.jpg', '/home/pi/Desktop/images/18012025/20/37/image_18012025_20_37_02_842300_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/35/image_18012025_20_35_02_422607_0003.jpg
/home/pi/Desktop/images/18012025/20/36/image_18012025_20_36_02_614796_0000.jpg
/home/pi/Desktop/images/18012025/20/36/image_18012025_20_36_02_614796_0001.jpg
/home/pi/Desktop/images/18012025/20/36/image_18012025_20_36_02_614796_0002.jpg
/home/pi/Desktop/images/18012025/20/36/image_18012025_20_36_02_614796_0003.jpg
/home/pi/Desktop/images/18012025/20/37/image_18012025_20_37_02_842300_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329844458","1329844325","1329844327","1329844353","1329844329","1329844320"],"photo_ids_order":["1329844320","1329844325","1329844327","1329844329","1329844353","1329844458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89cd422ba904761dfa4357d0915e845c.jpg","text":"TemporaryFile(/tmp/multipartBody4632016439255710833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229118444,"filename":"image_18012025_20_37_02_842300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d9b4815c56d426bb328778a7a2db63f.jpg","text":"TemporaryFile(/tmp/multipartBody8212688792371690224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229118444,"filename":"image_18012025_20_36_02_614796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4a4469cfad8238f9d3f21fded4fcbfb6.jpg","text":"TemporaryFile(/tmp/multipartBody6454819229461865293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229118444,"filename":"image_18012025_20_36_02_614796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d4133c57d41e3c0b6712aa7eaa0f8a27.jpg","text":"TemporaryFile(/tmp/multipartBody3941630242044460459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229118444,"filename":"image_18012025_20_36_02_614796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/80bf264d65d2d7847d55670ebbc69c05.jpg","text":"TemporaryFile(/tmp/multipartBody2863620885580493319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229118444,"filename":"image_18012025_20_36_02_614796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a5347bba4e59c62dddf7fa94d41df19b.jpg","text":"TemporaryFile(/tmp/multipartBody2965624649538786629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229118444,"filename":"image_18012025_20_35_02_422607_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329844327","file1":"1329844325","file0":"1329844320","file4":"1329844353","file5":"1329844458","file3":"1329844329"},"map_files_photo_id_array":[{"photo_id":"1329844458","filename":"file5"},{"photo_id":"1329844327","filename":"file2"},{"photo_id":"1329844353","filename":"file4"},{"photo_id":"1329844325","filename":"file1"},{"photo_id":"1329844320","filename":"file0"},{"photo_id":"1329844329","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329844458":["hashtag1","hashtag2"]},{"1329844325":["hashtag1","hashtag2"]},{"1329844327":["hashtag1","hashtag2"]},{"1329844353":["hashtag1","hashtag2"]},{"1329844329":["hashtag1","hashtag2"]},{"1329844320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329844458, 1329844325, 1329844327, 1329844353, 1329844329, 1329844320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.003570556640625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:38:31.835059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/37/image_18012025_20_37_02_842300_0002.jpg', '/home/pi/Desktop/images/18012025/20/37/image_18012025_20_37_02_842300_0003.jpg', '/home/pi/Desktop/images/18012025/20/38/image_18012025_20_38_03_003549_0000.jpg', '/home/pi/Desktop/images/18012025/20/38/image_18012025_20_38_03_003549_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/37/image_18012025_20_37_02_842300_0002.jpg
/home/pi/Desktop/images/18012025/20/37/image_18012025_20_37_02_842300_0003.jpg
/home/pi/Desktop/images/18012025/20/38/image_18012025_20_38_03_003549_0000.jpg
/home/pi/Desktop/images/18012025/20/38/image_18012025_20_38_03_003549_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: 10.37511944770813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:38:51.806332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/37/image_18012025_20_37_02_842300_0002.jpg', '/home/pi/Desktop/images/18012025/20/37/image_18012025_20_37_02_842300_0003.jpg', '/home/pi/Desktop/images/18012025/20/38/image_18012025_20_38_03_003549_0000.jpg', '/home/pi/Desktop/images/18012025/20/38/image_18012025_20_38_03_003549_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/37/image_18012025_20_37_02_842300_0002.jpg
/home/pi/Desktop/images/18012025/20/37/image_18012025_20_37_02_842300_0003.jpg
/home/pi/Desktop/images/18012025/20/38/image_18012025_20_38_03_003549_0000.jpg
/home/pi/Desktop/images/18012025/20/38/image_18012025_20_38_03_003549_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":["1329844524","1329844520","1329844523","1329844522"],"photo_ids_order":["1329844520","1329844522","1329844523","1329844524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5fa4d14293f64f15bfe3688e1c38d82d.jpg","text":"TemporaryFile(/tmp/multipartBody3670451579476955997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229202610,"filename":"image_18012025_20_38_03_003549_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a47d9debcd9e5129716b8575d779850.jpg","text":"TemporaryFile(/tmp/multipartBody2260015417761759945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229202610,"filename":"image_18012025_20_37_02_842300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3550367f23193c8570f67a15fd5bb866.jpg","text":"TemporaryFile(/tmp/multipartBody4776410763758550359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229202610,"filename":"image_18012025_20_38_03_003549_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54c5cd52f74be74b673ed003f2dc1cd9.jpg","text":"TemporaryFile(/tmp/multipartBody2849103238728210990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229202610,"filename":"image_18012025_20_37_02_842300_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329844523","file1":"1329844522","file0":"1329844520","file3":"1329844524"},"map_files_photo_id_array":[{"photo_id":"1329844523","filename":"file2"},{"photo_id":"1329844522","filename":"file1"},{"photo_id":"1329844520","filename":"file0"},{"photo_id":"1329844524","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329844524":["hashtag1","hashtag2"]},{"1329844520":["hashtag1","hashtag2"]},{"1329844523":["hashtag1","hashtag2"]},{"1329844522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329844524, 1329844520, 1329844523, 1329844522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.65478181838989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:39:31.995443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/38/image_18012025_20_38_03_003549_0003.jpg', '/home/pi/Desktop/images/18012025/20/39/image_18012025_20_39_02_182362_0000.jpg', '/home/pi/Desktop/images/18012025/20/39/image_18012025_20_39_02_182362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/38/image_18012025_20_38_03_003549_0003.jpg
/home/pi/Desktop/images/18012025/20/39/image_18012025_20_39_02_182362_0000.jpg
/home/pi/Desktop/images/18012025/20/39/image_18012025_20_39_02_182362_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329844530","1329844573","1329844822"],"photo_ids_order":["1329844530","1329844573","1329844822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf96977d7546b1f053b410955c4c8a62.jpg","text":"TemporaryFile(/tmp/multipartBody5111134047093872136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229240256,"filename":"image_18012025_20_38_03_003549_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be998655bad43f70a7cdd22e73723874.jpg","text":"TemporaryFile(/tmp/multipartBody3280036835009604893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229240256,"filename":"image_18012025_20_39_02_182362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/efae772adc128ee3464053d548165042.jpg","text":"TemporaryFile(/tmp/multipartBody1175528359830074804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229240256,"filename":"image_18012025_20_39_02_182362_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329844822","file1":"1329844573","file0":"1329844530"},"map_files_photo_id_array":[{"photo_id":"1329844822","filename":"file2"},{"photo_id":"1329844573","filename":"file1"},{"photo_id":"1329844530","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329844530":["hashtag1","hashtag2"]},{"1329844573":["hashtag1","hashtag2"]},{"1329844822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329844530, 1329844573, 1329844822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.28128695487976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:40:22.244179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/39/image_18012025_20_39_02_182362_0003.jpg', '/home/pi/Desktop/images/18012025/20/40/image_18012025_20_40_02_397604_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/39/image_18012025_20_39_02_182362_0003.jpg
/home/pi/Desktop/images/18012025/20/40/image_18012025_20_40_02_397604_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":["1329845899","1329845901"],"photo_ids_order":["1329845899","1329845901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d80369bd85efbb7e70e4828621df7a69.jpg","text":"TemporaryFile(/tmp/multipartBody1837618794883615792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229287943,"filename":"image_18012025_20_39_02_182362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97bba4ee0df9c3a1813291ef63cbbb74.jpg","text":"TemporaryFile(/tmp/multipartBody8249110817315840758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229287943,"filename":"image_18012025_20_40_02_397604_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329845901","file0":"1329845899"},"map_files_photo_id_array":[{"photo_id":"1329845901","filename":"file1"},{"photo_id":"1329845899","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329845899":["hashtag1","hashtag2"]},{"1329845901":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329845899, 1329845901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.89324378967285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:40:52.184184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0000.jpg', '/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0001.jpg', '/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0002.jpg', '/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0003.jpg', '/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0000.jpg', '/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0000.jpg
/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0001.jpg
/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0002.jpg
/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0003.jpg
/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0000.jpg
/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.604905128479004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:41:22.387682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/40/image_18012025_20_40_02_397604_0003.jpg', '/home/pi/Desktop/images/18012025/20/41/image_18012025_20_41_02_567869_0000.jpg', '/home/pi/Desktop/images/18012025/20/41/image_18012025_20_41_02_567869_0001.jpg', '/home/pi/Desktop/images/18012025/20/41/image_18012025_20_41_02_567869_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/40/image_18012025_20_40_02_397604_0003.jpg
/home/pi/Desktop/images/18012025/20/41/image_18012025_20_41_02_567869_0000.jpg
/home/pi/Desktop/images/18012025/20/41/image_18012025_20_41_02_567869_0001.jpg
/home/pi/Desktop/images/18012025/20/41/image_18012025_20_41_02_567869_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329846323","1329846319","1329846267","1329846321"],"photo_ids_order":["1329846267","1329846319","1329846321","1329846323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5692056520823b13bb38a21717f1b79a.jpg","text":"TemporaryFile(/tmp/multipartBody8750834371286818451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229353117,"filename":"image_18012025_20_41_02_567869_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b80f91f2e29b4b0ecd0738869620197.jpg","text":"TemporaryFile(/tmp/multipartBody6048501610095504157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229353117,"filename":"image_18012025_20_41_02_567869_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/80fcc08a6ceafc8d966a2e6539efe174.jpg","text":"TemporaryFile(/tmp/multipartBody2638957906687122525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229353117,"filename":"image_18012025_20_40_02_397604_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc813a17e04eb0acc8570907cd2f79a0.jpg","text":"TemporaryFile(/tmp/multipartBody5761916836015759906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229353117,"filename":"image_18012025_20_41_02_567869_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329846321","file1":"1329846319","file0":"1329846267","file3":"1329846323"},"map_files_photo_id_array":[{"photo_id":"1329846321","filename":"file2"},{"photo_id":"1329846319","filename":"file1"},{"photo_id":"1329846267","filename":"file0"},{"photo_id":"1329846323","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329846323":["hashtag1","hashtag2"]},{"1329846319":["hashtag1","hashtag2"]},{"1329846267":["hashtag1","hashtag2"]},{"1329846321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329846323, 1329846319, 1329846267, 1329846321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.09113049507141 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 20:42:03.039689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0000.jpg', '/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0001.jpg', '/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0002.jpg', '/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0003.jpg', '/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0000.jpg', '/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0000.jpg
/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0001.jpg
/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0002.jpg
/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0003.jpg
/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0000.jpg
/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.462796926498413 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:42:22.522012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/41/image_18012025_20_41_02_567869_0003.jpg', '/home/pi/Desktop/images/18012025/20/42/image_18012025_20_42_02_746337_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/41/image_18012025_20_41_02_567869_0003.jpg
/home/pi/Desktop/images/18012025/20/42/image_18012025_20_42_02_746337_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":["1329846805","1329846927"],"photo_ids_order":["1329846805","1329846927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4e6a82f82f618dbd3d842f0b85baefe0.jpg","text":"TemporaryFile(/tmp/multipartBody8907194378417658956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229408236,"filename":"image_18012025_20_41_02_567869_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a8a438c9d0113c959f961bfe1385c1ca.jpg","text":"TemporaryFile(/tmp/multipartBody8136955496647998500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229408236,"filename":"image_18012025_20_42_02_746337_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329846927","file0":"1329846805"},"map_files_photo_id_array":[{"photo_id":"1329846927","filename":"file1"},{"photo_id":"1329846805","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329846805":["hashtag1","hashtag2"]},{"1329846927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329846805, 1329846927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.918582677841187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:42:52.520284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0000.jpg', '/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0001.jpg', '/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0002.jpg', '/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0003.jpg', '/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0000.jpg', '/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0000.jpg
/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0001.jpg
/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0002.jpg
/home/pi/Desktop/images/16012025/23/18/image_16012025_23_18_02_768081_0003.jpg
/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0000.jpg
/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_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":["1329847228","1329847113","1329847232","1329847235","1329847229","1329847238"],"photo_ids_order":["1329847113","1329847228","1329847229","1329847232","1329847235","1329847238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fc5eb44dfa2ea6b6c9ad86dd8059cae1.jpg","text":"TemporaryFile(/tmp/multipartBody1395589205386652681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229450361,"filename":"image_16012025_23_18_02_768081_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73cdf0b6cd467948e61b3c615914472a.jpg","text":"TemporaryFile(/tmp/multipartBody1050891076372321444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229450361,"filename":"image_16012025_23_18_02_768081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cf7a5e7fcc1db3b38c3da85a8c20e030.jpg","text":"TemporaryFile(/tmp/multipartBody9165775775456303643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229450361,"filename":"image_16012025_23_18_02_768081_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d7fe537b962f43840b5c2eefc7f4cabe.jpg","text":"TemporaryFile(/tmp/multipartBody1345788156308129188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229450361,"filename":"image_16012025_23_19_03_014514_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9ecd79ee4f8f8429ebe052c7d7dcbc1.jpg","text":"TemporaryFile(/tmp/multipartBody6839986619639988080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229450361,"filename":"image_16012025_23_18_02_768081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6921a0384b30e97e56a35a31513f4604.jpg","text":"TemporaryFile(/tmp/multipartBody3488852653077934759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229450361,"filename":"image_16012025_23_19_03_014514_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329847229","file1":"1329847228","file0":"1329847113","file4":"1329847235","file5":"1329847238","file3":"1329847232"},"map_files_photo_id_array":[{"photo_id":"1329847238","filename":"file5"},{"photo_id":"1329847229","filename":"file2"},{"photo_id":"1329847235","filename":"file4"},{"photo_id":"1329847228","filename":"file1"},{"photo_id":"1329847113","filename":"file0"},{"photo_id":"1329847232","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329847228":["hashtag1","hashtag2"]},{"1329847113":["hashtag1","hashtag2"]},{"1329847232":["hashtag1","hashtag2"]},{"1329847235":["hashtag1","hashtag2"]},{"1329847229":["hashtag1","hashtag2"]},{"1329847238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329847228, 1329847113, 1329847232, 1329847235, 1329847229, 1329847238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.16884255409241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:43:52.682273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/42/image_18012025_20_42_02_746337_0002.jpg', '/home/pi/Desktop/images/18012025/20/43/image_18012025_20_43_02_877122_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/42/image_18012025_20_42_02_746337_0002.jpg
/home/pi/Desktop/images/18012025/20/43/image_18012025_20_43_02_877122_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329847245","1329847400"],"photo_ids_order":["1329847245","1329847400"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a15a96f7ea16522b7e9784acac4a75ed.jpg","text":"TemporaryFile(/tmp/multipartBody7115596979566960523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229498380,"filename":"image_18012025_20_42_02_746337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4672c256a6959eb68001f0bf96e46f03.jpg","text":"TemporaryFile(/tmp/multipartBody2759914050391231405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229498380,"filename":"image_18012025_20_43_02_877122_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329847400","file0":"1329847245"},"map_files_photo_id_array":[{"photo_id":"1329847400","filename":"file1"},{"photo_id":"1329847245","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329847245":["hashtag1","hashtag2"]},{"1329847400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329847245, 1329847400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.458357095718384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:44:21.955358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/43/image_18012025_20_43_02_877122_0002.jpg', '/home/pi/Desktop/images/18012025/20/44/image_18012025_20_44_03_141496_0001.jpg', '/home/pi/Desktop/images/18012025/20/44/image_18012025_20_44_03_141496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/43/image_18012025_20_43_02_877122_0002.jpg
/home/pi/Desktop/images/18012025/20/44/image_18012025_20_44_03_141496_0001.jpg
/home/pi/Desktop/images/18012025/20/44/image_18012025_20_44_03_141496_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329847541","1329847538","1329847535"],"photo_ids_order":["1329847535","1329847538","1329847541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b8844cee184c377cdb3610d5101b285.jpg","text":"TemporaryFile(/tmp/multipartBody7193448521148316516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229530193,"filename":"image_18012025_20_44_03_141496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/918b099b721d3ba6778dc9b60623731c.jpg","text":"TemporaryFile(/tmp/multipartBody1709573802062495445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229530193,"filename":"image_18012025_20_44_03_141496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/81fca357fb303010d295bf6eed7b28d9.jpg","text":"TemporaryFile(/tmp/multipartBody5559688221593958572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229530193,"filename":"image_18012025_20_43_02_877122_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329847541","file1":"1329847538","file0":"1329847535"},"map_files_photo_id_array":[{"photo_id":"1329847541","filename":"file2"},{"photo_id":"1329847538","filename":"file1"},{"photo_id":"1329847535","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329847541":["hashtag1","hashtag2"]},{"1329847538":["hashtag1","hashtag2"]},{"1329847535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329847541, 1329847538, 1329847535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.682941436767578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 20:45:02.781237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0002.jpg', '/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0003.jpg', '/home/pi/Desktop/images/16012025/23/20/image_16012025_23_20_02_203846_0000.jpg', '/home/pi/Desktop/images/16012025/23/20/image_16012025_23_20_02_203846_0001.jpg', '/home/pi/Desktop/images/16012025/23/20/image_16012025_23_20_02_203846_0002.jpg', '/home/pi/Desktop/images/16012025/23/20/image_16012025_23_20_02_203846_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0002.jpg
/home/pi/Desktop/images/16012025/23/19/image_16012025_23_19_03_014514_0003.jpg
/home/pi/Desktop/images/16012025/23/20/image_16012025_23_20_02_203846_0000.jpg
/home/pi/Desktop/images/16012025/23/20/image_16012025_23_20_02_203846_0001.jpg
/home/pi/Desktop/images/16012025/23/20/image_16012025_23_20_02_203846_0002.jpg
/home/pi/Desktop/images/16012025/23/20/image_16012025_23_20_02_203846_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":["1329847552","1329847561","1329847558","1329847548","1329847556","1329847550"],"photo_ids_order":["1329847548","1329847550","1329847552","1329847556","1329847558","1329847561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/008e906f24e5136871d3a67ca6f06c84.jpg","text":"TemporaryFile(/tmp/multipartBody8329899386302746527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229580760,"filename":"image_16012025_23_20_02_203846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e108aa570f69a642d31e31a4eecdb308.jpg","text":"TemporaryFile(/tmp/multipartBody1989605895807277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229580760,"filename":"image_16012025_23_20_02_203846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6137fe95e5cdff01fc1d5277b4356858.jpg","text":"TemporaryFile(/tmp/multipartBody4721309855446145994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229580760,"filename":"image_16012025_23_20_02_203846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc4416a2fc819300c1c583dbcdabf77a.jpg","text":"TemporaryFile(/tmp/multipartBody524570513202864048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229580760,"filename":"image_16012025_23_19_03_014514_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ca36f3595088f76603d647c12f84367.jpg","text":"TemporaryFile(/tmp/multipartBody5820182534389689488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229580760,"filename":"image_16012025_23_20_02_203846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/870571a3cb43aa1406a5f52dc8dff56f.jpg","text":"TemporaryFile(/tmp/multipartBody5239625902427021335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229580760,"filename":"image_16012025_23_19_03_014514_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329847552","file1":"1329847550","file0":"1329847548","file4":"1329847558","file5":"1329847561","file3":"1329847556"},"map_files_photo_id_array":[{"photo_id":"1329847561","filename":"file5"},{"photo_id":"1329847552","filename":"file2"},{"photo_id":"1329847558","filename":"file4"},{"photo_id":"1329847550","filename":"file1"},{"photo_id":"1329847548","filename":"file0"},{"photo_id":"1329847556","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329847552":["hashtag1","hashtag2"]},{"1329847561":["hashtag1","hashtag2"]},{"1329847558":["hashtag1","hashtag2"]},{"1329847548":["hashtag1","hashtag2"]},{"1329847556":["hashtag1","hashtag2"]},{"1329847550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329847552, 1329847561, 1329847558, 1329847548, 1329847556, 1329847550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.94932556152344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 20:46:02.694531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/44/image_18012025_20_44_03_141496_0003.jpg', '/home/pi/Desktop/images/18012025/20/45/image_18012025_20_45_02_281946_0001.jpg', '/home/pi/Desktop/images/18012025/20/45/image_18012025_20_45_02_281946_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/44/image_18012025_20_44_03_141496_0003.jpg
/home/pi/Desktop/images/18012025/20/45/image_18012025_20_45_02_281946_0001.jpg
/home/pi/Desktop/images/18012025/20/45/image_18012025_20_45_02_281946_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329847573","1329847571","1329847570"],"photo_ids_order":["1329847570","1329847571","1329847573"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d926997e65e9caeb2f069752fce2408d.jpg","text":"TemporaryFile(/tmp/multipartBody7951609894258189454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229630946,"filename":"image_18012025_20_45_02_281946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de65fb0a3e0d52d5ca28ef9ccd9ee9d7.jpg","text":"TemporaryFile(/tmp/multipartBody7519055256319254296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229630946,"filename":"image_18012025_20_45_02_281946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e66c40457ecffeceded276fdc617fca7.jpg","text":"TemporaryFile(/tmp/multipartBody894804950563908538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229630946,"filename":"image_18012025_20_44_03_141496_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329847573","file1":"1329847571","file0":"1329847570"},"map_files_photo_id_array":[{"photo_id":"1329847573","filename":"file2"},{"photo_id":"1329847571","filename":"file1"},{"photo_id":"1329847570","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329847573":["hashtag1","hashtag2"]},{"1329847571":["hashtag1","hashtag2"]},{"1329847570":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329847573, 1329847571, 1329847570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.121891498565674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 20:46:42.317683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/45/image_18012025_20_45_02_281946_0003.jpg', '/home/pi/Desktop/images/18012025/20/46/image_18012025_20_46_02_440749_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/45/image_18012025_20_45_02_281946_0003.jpg
/home/pi/Desktop/images/18012025/20/46/image_18012025_20_46_02_440749_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":["1329847581","1329847583"],"photo_ids_order":["1329847581","1329847583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea0364a8757fbde70fc5dbeaf0093111.jpg","text":"TemporaryFile(/tmp/multipartBody5809383312284409060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229668026,"filename":"image_18012025_20_45_02_281946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f821330ece07e5b4e83eb01192ec7487.jpg","text":"TemporaryFile(/tmp/multipartBody5874058039331538009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229668026,"filename":"image_18012025_20_46_02_440749_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329847583","file0":"1329847581"},"map_files_photo_id_array":[{"photo_id":"1329847583","filename":"file1"},{"photo_id":"1329847581","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329847581":["hashtag1","hashtag2"]},{"1329847583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329847581, 1329847583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.408061742782593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:47:22.539116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/46/image_18012025_20_46_02_440749_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/46/image_18012025_20_46_02_440749_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329847586"],"photo_id":"1329847586","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/953b2bf6f141d61d64b71eafd0b67cf8.jpg","text":"TemporaryFile(/tmp/multipartBody7286654476909176406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229705746,"filename":"image_18012025_20_46_02_440749_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1329847586"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329847586"}],"hashtags":[],"portfolio_id":"19724253","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.990979194641113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 20:47:42.456079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/21/image_16012025_23_21_02_363983_0000.jpg', '/home/pi/Desktop/images/16012025/23/21/image_16012025_23_21_02_363983_0001.jpg', '/home/pi/Desktop/images/16012025/23/21/image_16012025_23_21_02_363983_0002.jpg', '/home/pi/Desktop/images/16012025/23/21/image_16012025_23_21_02_363983_0003.jpg', '/home/pi/Desktop/images/16012025/23/22/image_16012025_23_22_02_642497_0000.jpg', '/home/pi/Desktop/images/16012025/23/22/image_16012025_23_22_02_642497_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/21/image_16012025_23_21_02_363983_0000.jpg
/home/pi/Desktop/images/16012025/23/21/image_16012025_23_21_02_363983_0001.jpg
/home/pi/Desktop/images/16012025/23/21/image_16012025_23_21_02_363983_0002.jpg
/home/pi/Desktop/images/16012025/23/21/image_16012025_23_21_02_363983_0003.jpg
/home/pi/Desktop/images/16012025/23/22/image_16012025_23_22_02_642497_0000.jpg
/home/pi/Desktop/images/16012025/23/22/image_16012025_23_22_02_642497_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":["1329847639","1329847644","1329847641","1329847614","1329847640","1329847616"],"photo_ids_order":["1329847614","1329847616","1329847639","1329847640","1329847641","1329847644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2acf6da993e369cfbe477a60ef7d6352.jpg","text":"TemporaryFile(/tmp/multipartBody8488000103466081312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229739645,"filename":"image_16012025_23_21_02_363983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9eb99d2087c92d1985e683f6a1e4827.jpg","text":"TemporaryFile(/tmp/multipartBody1400316225471275895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229739645,"filename":"image_16012025_23_22_02_642497_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96e09e605bed22eeba806379f3322251.jpg","text":"TemporaryFile(/tmp/multipartBody8192615954180271436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229739645,"filename":"image_16012025_23_22_02_642497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fa7030542d078d90e78fc18224c24256.jpg","text":"TemporaryFile(/tmp/multipartBody8120556530646787909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229739645,"filename":"image_16012025_23_21_02_363983_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3744046cf8df8f58bb1fc8899456b44.jpg","text":"TemporaryFile(/tmp/multipartBody6781452771880663333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229739645,"filename":"image_16012025_23_21_02_363983_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3181bf9dbae38dd019e042cc3dbfb27.jpg","text":"TemporaryFile(/tmp/multipartBody5064636700598046349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229739645,"filename":"image_16012025_23_21_02_363983_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329847639","file1":"1329847616","file0":"1329847614","file4":"1329847641","file5":"1329847644","file3":"1329847640"},"map_files_photo_id_array":[{"photo_id":"1329847644","filename":"file5"},{"photo_id":"1329847639","filename":"file2"},{"photo_id":"1329847641","filename":"file4"},{"photo_id":"1329847616","filename":"file1"},{"photo_id":"1329847614","filename":"file0"},{"photo_id":"1329847640","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329847639":["hashtag1","hashtag2"]},{"1329847644":["hashtag1","hashtag2"]},{"1329847641":["hashtag1","hashtag2"]},{"1329847614":["hashtag1","hashtag2"]},{"1329847640":["hashtag1","hashtag2"]},{"1329847616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329847639, 1329847644, 1329847641, 1329847614, 1329847640, 1329847616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.531485080718994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 20:48:42.616261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/47/image_18012025_20_47_02_630375_0000.jpg', '/home/pi/Desktop/images/18012025/20/48/image_18012025_20_48_02_896360_0000.jpg', '/home/pi/Desktop/images/18012025/20/48/image_18012025_20_48_02_896360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/47/image_18012025_20_47_02_630375_0000.jpg
/home/pi/Desktop/images/18012025/20/48/image_18012025_20_48_02_896360_0000.jpg
/home/pi/Desktop/images/18012025/20/48/image_18012025_20_48_02_896360_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329847650","1329847679","1329847652"],"photo_ids_order":["1329847650","1329847652","1329847679"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de0e846120bd0a3cbde73e07f1367b5b.jpg","text":"TemporaryFile(/tmp/multipartBody8420354301287539170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229790869,"filename":"image_18012025_20_47_02_630375_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60e4bc7d311de86b81ab61bade69e150.jpg","text":"TemporaryFile(/tmp/multipartBody4428470929671330563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229790869,"filename":"image_18012025_20_48_02_896360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01e98131a16983e15e5f6bc7e8f0247a.jpg","text":"TemporaryFile(/tmp/multipartBody656176133380966786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229790869,"filename":"image_18012025_20_48_02_896360_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329847679","file1":"1329847652","file0":"1329847650"},"map_files_photo_id_array":[{"photo_id":"1329847679","filename":"file2"},{"photo_id":"1329847652","filename":"file1"},{"photo_id":"1329847650","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329847650":["hashtag1","hashtag2"]},{"1329847679":["hashtag1","hashtag2"]},{"1329847652":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329847650, 1329847679, 1329847652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.8255774974823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:49:21.750445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/48/image_18012025_20_48_02_896360_0003.jpg', '/home/pi/Desktop/images/18012025/20/49/image_18012025_20_49_02_992300_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/48/image_18012025_20_48_02_896360_0003.jpg
/home/pi/Desktop/images/18012025/20/49/image_18012025_20_49_02_992300_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":["1329847778","1329847769"],"photo_ids_order":["1329847769","1329847778"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad3fed5c97dd6eabb1a47a4d05ac499d.jpg","text":"TemporaryFile(/tmp/multipartBody6360451933840422958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229827475,"filename":"image_18012025_20_49_02_992300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f03a9e75a9900e595b52785aff73f3d7.jpg","text":"TemporaryFile(/tmp/multipartBody2761415043721804326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229827475,"filename":"image_18012025_20_48_02_896360_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329847778","file0":"1329847769"},"map_files_photo_id_array":[{"photo_id":"1329847778","filename":"file1"},{"photo_id":"1329847769","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329847778":["hashtag1","hashtag2"]},{"1329847769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329847778, 1329847769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.245489358901978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:49:51.775692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/22/image_16012025_23_22_02_642497_0002.jpg', '/home/pi/Desktop/images/16012025/23/22/image_16012025_23_22_02_642497_0003.jpg', '/home/pi/Desktop/images/16012025/23/23/image_16012025_23_23_02_733753_0000.jpg', '/home/pi/Desktop/images/16012025/23/23/image_16012025_23_23_02_733753_0001.jpg', '/home/pi/Desktop/images/16012025/23/23/image_16012025_23_23_02_733753_0002.jpg', '/home/pi/Desktop/images/16012025/23/23/image_16012025_23_23_02_733753_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/22/image_16012025_23_22_02_642497_0002.jpg
/home/pi/Desktop/images/16012025/23/22/image_16012025_23_22_02_642497_0003.jpg
/home/pi/Desktop/images/16012025/23/23/image_16012025_23_23_02_733753_0000.jpg
/home/pi/Desktop/images/16012025/23/23/image_16012025_23_23_02_733753_0001.jpg
/home/pi/Desktop/images/16012025/23/23/image_16012025_23_23_02_733753_0002.jpg
/home/pi/Desktop/images/16012025/23/23/image_16012025_23_23_02_733753_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":["1329848583","1329848585","1329848588","1329848183","1329848423","1329848581"],"photo_ids_order":["1329848183","1329848423","1329848581","1329848583","1329848585","1329848588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8025ccde64210b18eff797fd6462854a.jpg","text":"TemporaryFile(/tmp/multipartBody2597230360931559435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229869094,"filename":"image_16012025_23_23_02_733753_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e3400abe9aa85715b7b34082214a585.jpg","text":"TemporaryFile(/tmp/multipartBody4838277457800914335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229869094,"filename":"image_16012025_23_23_02_733753_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70650a2b6cf842e19a51f656984214b3.jpg","text":"TemporaryFile(/tmp/multipartBody8601297424601848048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229869094,"filename":"image_16012025_23_23_02_733753_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4759d763d108c8a11ab7f1e0acf0e4be.jpg","text":"TemporaryFile(/tmp/multipartBody6133614750490596106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229869094,"filename":"image_16012025_23_22_02_642497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/839af11ab76284a6ac3d9b8d46f9abcf.jpg","text":"TemporaryFile(/tmp/multipartBody7608414001373580450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229869094,"filename":"image_16012025_23_22_02_642497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e591c9c7ec59d7a7054ac030ef4981e4.jpg","text":"TemporaryFile(/tmp/multipartBody3483092820247553089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229869094,"filename":"image_16012025_23_23_02_733753_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329848581","file1":"1329848423","file0":"1329848183","file4":"1329848585","file5":"1329848588","file3":"1329848583"},"map_files_photo_id_array":[{"photo_id":"1329848588","filename":"file5"},{"photo_id":"1329848581","filename":"file2"},{"photo_id":"1329848585","filename":"file4"},{"photo_id":"1329848423","filename":"file1"},{"photo_id":"1329848183","filename":"file0"},{"photo_id":"1329848583","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329848583":["hashtag1","hashtag2"]},{"1329848585":["hashtag1","hashtag2"]},{"1329848588":["hashtag1","hashtag2"]},{"1329848183":["hashtag1","hashtag2"]},{"1329848423":["hashtag1","hashtag2"]},{"1329848581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329848583, 1329848585, 1329848588, 1329848183, 1329848423, 1329848581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.914496660232544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:50:51.927989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/49/image_18012025_20_49_02_992300_0001.jpg', '/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0000.jpg', '/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0001.jpg', '/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/49/image_18012025_20_49_02_992300_0001.jpg
/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0000.jpg
/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0001.jpg
/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.383741855621338 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:51:22.066703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/49/image_18012025_20_49_02_992300_0001.jpg', '/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0000.jpg', '/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0001.jpg', '/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0002.jpg', '/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0003.jpg', '/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/49/image_18012025_20_49_02_992300_0001.jpg
/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0000.jpg
/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0001.jpg
/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0002.jpg
/home/pi/Desktop/images/18012025/20/50/image_18012025_20_50_02_156306_0003.jpg
/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329849063","1329848940","1329848943","1329848945","1329848971","1329848947"],"photo_ids_order":["1329848940","1329848943","1329848945","1329848947","1329848971","1329849063"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/974040679484da2c5163ec377bae56be.jpg","text":"TemporaryFile(/tmp/multipartBody5340147704582009209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229957897,"filename":"image_18012025_20_51_02_412030_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2ef0e336f46f014ac135e9124a828eb0.jpg","text":"TemporaryFile(/tmp/multipartBody3453910551226289254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229957897,"filename":"image_18012025_20_49_02_992300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3dbe73e507a391e4566adea99c37c21c.jpg","text":"TemporaryFile(/tmp/multipartBody4820890767258510088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229957897,"filename":"image_18012025_20_50_02_156306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ad1469b795906b213da4dd7e400bb09.jpg","text":"TemporaryFile(/tmp/multipartBody8947338048598228856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229957897,"filename":"image_18012025_20_50_02_156306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c3ca8fb727fed952af414bd6a629f9d.jpg","text":"TemporaryFile(/tmp/multipartBody5105009425231981001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229957897,"filename":"image_18012025_20_50_02_156306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3740dd7ae7c090dde046a25fddd65295.jpg","text":"TemporaryFile(/tmp/multipartBody1705700258197642519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737229957897,"filename":"image_18012025_20_50_02_156306_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329848945","file1":"1329848943","file0":"1329848940","file4":"1329848971","file5":"1329849063","file3":"1329848947"},"map_files_photo_id_array":[{"photo_id":"1329849063","filename":"file5"},{"photo_id":"1329848945","filename":"file2"},{"photo_id":"1329848971","filename":"file4"},{"photo_id":"1329848943","filename":"file1"},{"photo_id":"1329848940","filename":"file0"},{"photo_id":"1329848947","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329849063":["hashtag1","hashtag2"]},{"1329848940":["hashtag1","hashtag2"]},{"1329848943":["hashtag1","hashtag2"]},{"1329848945":["hashtag1","hashtag2"]},{"1329848971":["hashtag1","hashtag2"]},{"1329848947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329849063, 1329848940, 1329848943, 1329848945, 1329848971, 1329848947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.28309512138367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:52:22.263489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0001.jpg', '/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0002.jpg', '/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0003.jpg', '/home/pi/Desktop/images/18012025/20/52/image_18012025_20_52_02_442172_0000.jpg', '/home/pi/Desktop/images/18012025/20/52/image_18012025_20_52_02_442172_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0001.jpg
/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0002.jpg
/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0003.jpg
/home/pi/Desktop/images/18012025/20/52/image_18012025_20_52_02_442172_0000.jpg
/home/pi/Desktop/images/18012025/20/52/image_18012025_20_52_02_442172_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: 12.90188479423523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 20:52:42.290692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0001.jpg', '/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0002.jpg', '/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0003.jpg', '/home/pi/Desktop/images/18012025/20/52/image_18012025_20_52_02_442172_0000.jpg', '/home/pi/Desktop/images/18012025/20/52/image_18012025_20_52_02_442172_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0001.jpg
/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0002.jpg
/home/pi/Desktop/images/18012025/20/51/image_18012025_20_51_02_412030_0003.jpg
/home/pi/Desktop/images/18012025/20/52/image_18012025_20_52_02_442172_0000.jpg
/home/pi/Desktop/images/18012025/20/52/image_18012025_20_52_02_442172_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":["1329849225","1329849228","1329849197","1329849226","1329849220"],"photo_ids_order":["1329849197","1329849220","1329849225","1329849226","1329849228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e61603c86e8b50ed407baa54d773a82b.jpg","text":"TemporaryFile(/tmp/multipartBody3653376554092679073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230035611,"filename":"image_18012025_20_51_02_412030_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b523ed3db7ad3cd1608850bbd4fa06ce.jpg","text":"TemporaryFile(/tmp/multipartBody2777370215463495828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230035611,"filename":"image_18012025_20_52_02_442172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/35560d7c2f8d2841917928637b29f69d.jpg","text":"TemporaryFile(/tmp/multipartBody141067412499182985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230035611,"filename":"image_18012025_20_51_02_412030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ff9edee3dd318165421b4b52aae9294.jpg","text":"TemporaryFile(/tmp/multipartBody6949051683735605681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230035611,"filename":"image_18012025_20_52_02_442172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5771048f04c0cac77ab1ad6891dc0d7a.jpg","text":"TemporaryFile(/tmp/multipartBody7805828644005309499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230035611,"filename":"image_18012025_20_51_02_412030_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329849225","file1":"1329849220","file0":"1329849197","file4":"1329849228","file3":"1329849226"},"map_files_photo_id_array":[{"photo_id":"1329849225","filename":"file2"},{"photo_id":"1329849228","filename":"file4"},{"photo_id":"1329849220","filename":"file1"},{"photo_id":"1329849197","filename":"file0"},{"photo_id":"1329849226","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329849225":["hashtag1","hashtag2"]},{"1329849228":["hashtag1","hashtag2"]},{"1329849197":["hashtag1","hashtag2"]},{"1329849226":["hashtag1","hashtag2"]},{"1329849220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329849225, 1329849228, 1329849197, 1329849226, 1329849220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 53.22493600845337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 20:53:42.410415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/52/image_18012025_20_52_02_442172_0003.jpg', '/home/pi/Desktop/images/18012025/20/53/image_18012025_20_53_02_661865_0000.jpg', '/home/pi/Desktop/images/18012025/20/53/image_18012025_20_53_02_661865_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/52/image_18012025_20_52_02_442172_0003.jpg
/home/pi/Desktop/images/18012025/20/53/image_18012025_20_53_02_661865_0000.jpg
/home/pi/Desktop/images/18012025/20/53/image_18012025_20_53_02_661865_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.844479560852051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:53:52.419083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/52/image_18012025_20_52_02_442172_0003.jpg', '/home/pi/Desktop/images/18012025/20/53/image_18012025_20_53_02_661865_0000.jpg', '/home/pi/Desktop/images/18012025/20/53/image_18012025_20_53_02_661865_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/52/image_18012025_20_52_02_442172_0003.jpg
/home/pi/Desktop/images/18012025/20/53/image_18012025_20_53_02_661865_0000.jpg
/home/pi/Desktop/images/18012025/20/53/image_18012025_20_53_02_661865_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":["1329849255","1329849258","1329849257"],"photo_ids_order":["1329849255","1329849257","1329849258"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d03b9a03cffc617d4075d8cde6ef4dfb.jpg","text":"TemporaryFile(/tmp/multipartBody3329503669362727394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230100673,"filename":"image_18012025_20_52_02_442172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4e285009b24fe9721e4b4fa7827ce104.jpg","text":"TemporaryFile(/tmp/multipartBody5101955152496941941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230100673,"filename":"image_18012025_20_53_02_661865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53ce98b32d3e0a6b53f0c2b6b416ccf5.jpg","text":"TemporaryFile(/tmp/multipartBody9220320751890782604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230100673,"filename":"image_18012025_20_53_02_661865_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329849258","file1":"1329849257","file0":"1329849255"},"map_files_photo_id_array":[{"photo_id":"1329849258","filename":"file2"},{"photo_id":"1329849257","filename":"file1"},{"photo_id":"1329849255","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329849255":["hashtag1","hashtag2"]},{"1329849258":["hashtag1","hashtag2"]},{"1329849257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329849255, 1329849258, 1329849257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 36.86697459220886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 20:54:32.620742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/53/image_18012025_20_53_02_661865_0002.jpg', '/home/pi/Desktop/images/18012025/20/54/image_18012025_20_54_02_821479_0000.jpg', '/home/pi/Desktop/images/18012025/20/54/image_18012025_20_54_02_821479_0001.jpg', '/home/pi/Desktop/images/18012025/20/54/image_18012025_20_54_02_821479_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/53/image_18012025_20_53_02_661865_0002.jpg
/home/pi/Desktop/images/18012025/20/54/image_18012025_20_54_02_821479_0000.jpg
/home/pi/Desktop/images/18012025/20/54/image_18012025_20_54_02_821479_0001.jpg
/home/pi/Desktop/images/18012025/20/54/image_18012025_20_54_02_821479_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329849528","1329849512","1329849509","1329849524"],"photo_ids_order":["1329849509","1329849512","1329849524","1329849528"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc91608f3e9e6ac59c24096374ae91d0.jpg","text":"TemporaryFile(/tmp/multipartBody3127307045883525104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230143381,"filename":"image_18012025_20_54_02_821479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1eacab85cbdcc862c8a16a5453912190.jpg","text":"TemporaryFile(/tmp/multipartBody7391774888279163937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230143381,"filename":"image_18012025_20_54_02_821479_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/85b187055809b2f54bcdb1bfcb0facfb.jpg","text":"TemporaryFile(/tmp/multipartBody4753873894267325281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230143381,"filename":"image_18012025_20_53_02_661865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/537f0225e08672422b1e02c00e148eff.jpg","text":"TemporaryFile(/tmp/multipartBody7732970972161970893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230143381,"filename":"image_18012025_20_54_02_821479_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329849524","file1":"1329849512","file0":"1329849509","file3":"1329849528"},"map_files_photo_id_array":[{"photo_id":"1329849524","filename":"file2"},{"photo_id":"1329849512","filename":"file1"},{"photo_id":"1329849509","filename":"file0"},{"photo_id":"1329849528","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329849528":["hashtag1","hashtag2"]},{"1329849512":["hashtag1","hashtag2"]},{"1329849509":["hashtag1","hashtag2"]},{"1329849524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329849528, 1329849512, 1329849509, 1329849524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.9678750038147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:55:22.762946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/54/image_18012025_20_54_02_821479_0003.jpg', '/home/pi/Desktop/images/18012025/20/55/image_18012025_20_55_02_919822_0001.jpg', '/home/pi/Desktop/images/18012025/20/55/image_18012025_20_55_02_919822_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/54/image_18012025_20_54_02_821479_0003.jpg
/home/pi/Desktop/images/18012025/20/55/image_18012025_20_55_02_919822_0001.jpg
/home/pi/Desktop/images/18012025/20/55/image_18012025_20_55_02_919822_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329849576","1329849587","1329849584"],"photo_ids_order":["1329849576","1329849584","1329849587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04dfb356cd6d29c2b610018bb97cf978.jpg","text":"TemporaryFile(/tmp/multipartBody3895177823128204148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230190988,"filename":"image_18012025_20_54_02_821479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b3b67c35991aea6af099708148a681d.jpg","text":"TemporaryFile(/tmp/multipartBody1977307351863949982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230190988,"filename":"image_18012025_20_55_02_919822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18207a7474c20274b40d9cf9cf4a7fee.jpg","text":"TemporaryFile(/tmp/multipartBody5618821271943285075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230190988,"filename":"image_18012025_20_55_02_919822_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329849587","file1":"1329849584","file0":"1329849576"},"map_files_photo_id_array":[{"photo_id":"1329849587","filename":"file2"},{"photo_id":"1329849584","filename":"file1"},{"photo_id":"1329849576","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329849576":["hashtag1","hashtag2"]},{"1329849587":["hashtag1","hashtag2"]},{"1329849584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329849576, 1329849587, 1329849584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.0302300453186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 20:56:02.423211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/24/image_16012025_23_24_02_957499_0000.jpg', '/home/pi/Desktop/images/16012025/23/24/image_16012025_23_24_02_957499_0001.jpg', '/home/pi/Desktop/images/16012025/23/24/image_16012025_23_24_02_957499_0002.jpg', '/home/pi/Desktop/images/16012025/23/24/image_16012025_23_24_02_957499_0003.jpg', '/home/pi/Desktop/images/16012025/23/25/image_16012025_23_25_03_077035_0000.jpg', '/home/pi/Desktop/images/16012025/23/25/image_16012025_23_25_03_077035_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/24/image_16012025_23_24_02_957499_0000.jpg
/home/pi/Desktop/images/16012025/23/24/image_16012025_23_24_02_957499_0001.jpg
/home/pi/Desktop/images/16012025/23/24/image_16012025_23_24_02_957499_0002.jpg
/home/pi/Desktop/images/16012025/23/24/image_16012025_23_24_02_957499_0003.jpg
/home/pi/Desktop/images/16012025/23/25/image_16012025_23_25_03_077035_0000.jpg
/home/pi/Desktop/images/16012025/23/25/image_16012025_23_25_03_077035_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329849738","1329849732","1329849624","1329849606","1329849743","1329849626"],"photo_ids_order":["1329849606","1329849624","1329849626","1329849732","1329849738","1329849743"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a964567ec6df4f18b8eed2ff56f6747e.jpg","text":"TemporaryFile(/tmp/multipartBody513397830007500059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230240123,"filename":"image_16012025_23_25_03_077035_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e694bb0d53a6c6bae199f805199de905.jpg","text":"TemporaryFile(/tmp/multipartBody2039450463840122697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230240123,"filename":"image_16012025_23_24_02_957499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8bc181d6a36ef1621379e1c476dd9cfc.jpg","text":"TemporaryFile(/tmp/multipartBody6568269175449179749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230240123,"filename":"image_16012025_23_24_02_957499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3cbaef3cf423b5ec36760df818f95f2e.jpg","text":"TemporaryFile(/tmp/multipartBody4008970634224569569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230240123,"filename":"image_16012025_23_24_02_957499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/98ed7375c3b5e6996dbff2a771a54096.jpg","text":"TemporaryFile(/tmp/multipartBody2969356497638086617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230240123,"filename":"image_16012025_23_25_03_077035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f239045a6dd1b6843debf82ce949cc2.jpg","text":"TemporaryFile(/tmp/multipartBody5312186765379027171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230240123,"filename":"image_16012025_23_24_02_957499_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329849626","file1":"1329849624","file0":"1329849606","file4":"1329849738","file5":"1329849743","file3":"1329849732"},"map_files_photo_id_array":[{"photo_id":"1329849743","filename":"file5"},{"photo_id":"1329849626","filename":"file2"},{"photo_id":"1329849738","filename":"file4"},{"photo_id":"1329849624","filename":"file1"},{"photo_id":"1329849606","filename":"file0"},{"photo_id":"1329849732","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329849738":["hashtag1","hashtag2"]},{"1329849732":["hashtag1","hashtag2"]},{"1329849624":["hashtag1","hashtag2"]},{"1329849606":["hashtag1","hashtag2"]},{"1329849743":["hashtag1","hashtag2"]},{"1329849626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329849738, 1329849732, 1329849624, 1329849606, 1329849743, 1329849626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.48096442222595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 20:57:22.136005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/55/image_18012025_20_55_02_919822_0003.jpg', '/home/pi/Desktop/images/18012025/20/56/image_18012025_20_56_03_149484_0000.jpg', '/home/pi/Desktop/images/18012025/20/56/image_18012025_20_56_03_149484_0001.jpg', '/home/pi/Desktop/images/18012025/20/56/image_18012025_20_56_03_149484_0003.jpg', '/home/pi/Desktop/images/18012025/20/57/image_18012025_20_57_02_310896_0000.jpg', '/home/pi/Desktop/images/18012025/20/57/image_18012025_20_57_02_310896_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/55/image_18012025_20_55_02_919822_0003.jpg
/home/pi/Desktop/images/18012025/20/56/image_18012025_20_56_03_149484_0000.jpg
/home/pi/Desktop/images/18012025/20/56/image_18012025_20_56_03_149484_0001.jpg
/home/pi/Desktop/images/18012025/20/56/image_18012025_20_56_03_149484_0003.jpg
/home/pi/Desktop/images/18012025/20/57/image_18012025_20_57_02_310896_0000.jpg
/home/pi/Desktop/images/18012025/20/57/image_18012025_20_57_02_310896_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 20:59:03.176058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/55/image_18012025_20_55_02_919822_0003.jpg', '/home/pi/Desktop/images/18012025/20/56/image_18012025_20_56_03_149484_0000.jpg', '/home/pi/Desktop/images/18012025/20/56/image_18012025_20_56_03_149484_0001.jpg', '/home/pi/Desktop/images/18012025/20/56/image_18012025_20_56_03_149484_0003.jpg', '/home/pi/Desktop/images/18012025/20/57/image_18012025_20_57_02_310896_0000.jpg', '/home/pi/Desktop/images/18012025/20/57/image_18012025_20_57_02_310896_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/55/image_18012025_20_55_02_919822_0003.jpg
/home/pi/Desktop/images/18012025/20/56/image_18012025_20_56_03_149484_0000.jpg
/home/pi/Desktop/images/18012025/20/56/image_18012025_20_56_03_149484_0001.jpg
/home/pi/Desktop/images/18012025/20/56/image_18012025_20_56_03_149484_0003.jpg
/home/pi/Desktop/images/18012025/20/57/image_18012025_20_57_02_310896_0000.jpg
/home/pi/Desktop/images/18012025/20/57/image_18012025_20_57_02_310896_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329850321","1329850179","1329850316","1329850319","1329850100","1329850063"],"photo_ids_order":["1329850063","1329850100","1329850179","1329850316","1329850319","1329850321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd60d3399f42f504b1aa4b36d3b1461e.jpg","text":"TemporaryFile(/tmp/multipartBody5993811638269228610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230419037,"filename":"image_18012025_20_57_02_310896_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70d1901b03046559f8a03c48dd7094e4.jpg","text":"TemporaryFile(/tmp/multipartBody1482750199239836001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230419037,"filename":"image_18012025_20_56_03_149484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/10566fea8a98bc3f7e66c4885a7ebd16.jpg","text":"TemporaryFile(/tmp/multipartBody5442580144952400573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230419037,"filename":"image_18012025_20_56_03_149484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/372c7027e41fd46f111a392d1666cb15.jpg","text":"TemporaryFile(/tmp/multipartBody9071704158174698671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230419037,"filename":"image_18012025_20_57_02_310896_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f1adbd8fdab3ff17a9df73469ed505d6.jpg","text":"TemporaryFile(/tmp/multipartBody8180236909859927195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230419037,"filename":"image_18012025_20_56_03_149484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9166dfef3415f0f8dd6bddebb0279e96.jpg","text":"TemporaryFile(/tmp/multipartBody8402943849468594391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230419037,"filename":"image_18012025_20_55_02_919822_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329850179","file1":"1329850100","file0":"1329850063","file4":"1329850319","file5":"1329850321","file3":"1329850316"},"map_files_photo_id_array":[{"photo_id":"1329850321","filename":"file5"},{"photo_id":"1329850179","filename":"file2"},{"photo_id":"1329850319","filename":"file4"},{"photo_id":"1329850100","filename":"file1"},{"photo_id":"1329850063","filename":"file0"},{"photo_id":"1329850316","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329850321":["hashtag1","hashtag2"]},{"1329850179":["hashtag1","hashtag2"]},{"1329850316":["hashtag1","hashtag2"]},{"1329850319":["hashtag1","hashtag2"]},{"1329850100":["hashtag1","hashtag2"]},{"1329850063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329850321, 1329850179, 1329850316, 1329850319, 1329850100, 1329850063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.94579076766968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:00:22.756743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/57/image_18012025_20_57_02_310896_0002.jpg', '/home/pi/Desktop/images/18012025/20/57/image_18012025_20_57_02_310896_0003.jpg', '/home/pi/Desktop/images/18012025/20/58/image_18012025_20_58_02_543190_0000.jpg', '/home/pi/Desktop/images/18012025/20/58/image_18012025_20_58_02_543190_0001.jpg', '/home/pi/Desktop/images/18012025/20/58/image_18012025_20_58_02_543190_0002.jpg', '/home/pi/Desktop/images/18012025/20/58/image_18012025_20_58_02_543190_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/57/image_18012025_20_57_02_310896_0002.jpg
/home/pi/Desktop/images/18012025/20/57/image_18012025_20_57_02_310896_0003.jpg
/home/pi/Desktop/images/18012025/20/58/image_18012025_20_58_02_543190_0000.jpg
/home/pi/Desktop/images/18012025/20/58/image_18012025_20_58_02_543190_0001.jpg
/home/pi/Desktop/images/18012025/20/58/image_18012025_20_58_02_543190_0002.jpg
/home/pi/Desktop/images/18012025/20/58/image_18012025_20_58_02_543190_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":["1329850595","1329850598","1329850604","1329850607","1329850601","1329850567"],"photo_ids_order":["1329850567","1329850595","1329850598","1329850601","1329850604","1329850607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f3d52be18975cb8c624948973b5972b.jpg","text":"TemporaryFile(/tmp/multipartBody3584655415685904213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230498589,"filename":"image_18012025_20_57_02_310896_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7f2ef69517a4e05a068c61eb52171125.jpg","text":"TemporaryFile(/tmp/multipartBody8852304346439903202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230498589,"filename":"image_18012025_20_58_02_543190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28cbea422cd752be9f142682b1b3fcc4.jpg","text":"TemporaryFile(/tmp/multipartBody7591499703549641483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230498589,"filename":"image_18012025_20_58_02_543190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49a6b65fc269eae9cff11e7f29926842.jpg","text":"TemporaryFile(/tmp/multipartBody7136159669627263458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230498589,"filename":"image_18012025_20_58_02_543190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a0cebd42b82f2e324371a9fa24820b9.jpg","text":"TemporaryFile(/tmp/multipartBody9044042006133778839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230498589,"filename":"image_18012025_20_58_02_543190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9f45224664d27901cfd2056ca9f9ca8a.jpg","text":"TemporaryFile(/tmp/multipartBody2321562814188454078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230498589,"filename":"image_18012025_20_57_02_310896_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329850598","file1":"1329850595","file0":"1329850567","file4":"1329850604","file5":"1329850607","file3":"1329850601"},"map_files_photo_id_array":[{"photo_id":"1329850607","filename":"file5"},{"photo_id":"1329850598","filename":"file2"},{"photo_id":"1329850604","filename":"file4"},{"photo_id":"1329850595","filename":"file1"},{"photo_id":"1329850567","filename":"file0"},{"photo_id":"1329850601","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329850595":["hashtag1","hashtag2"]},{"1329850598":["hashtag1","hashtag2"]},{"1329850604":["hashtag1","hashtag2"]},{"1329850607":["hashtag1","hashtag2"]},{"1329850601":["hashtag1","hashtag2"]},{"1329850567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329850595, 1329850598, 1329850604, 1329850607, 1329850601, 1329850567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.856759548187256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:01:21.928924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/20/59/image_18012025_20_59_02_686234_0000.jpg', '/home/pi/Desktop/images/18012025/20/59/image_18012025_20_59_02_686234_0003.jpg', '/home/pi/Desktop/images/18012025/21/00/image_18012025_21_00_02_878937_0000.jpg', '/home/pi/Desktop/images/18012025/21/00/image_18012025_21_00_02_878937_0001.jpg', '/home/pi/Desktop/images/18012025/21/00/image_18012025_21_00_02_878937_0002.jpg', '/home/pi/Desktop/images/18012025/21/00/image_18012025_21_00_02_878937_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/20/59/image_18012025_20_59_02_686234_0000.jpg
/home/pi/Desktop/images/18012025/20/59/image_18012025_20_59_02_686234_0003.jpg
/home/pi/Desktop/images/18012025/21/00/image_18012025_21_00_02_878937_0000.jpg
/home/pi/Desktop/images/18012025/21/00/image_18012025_21_00_02_878937_0001.jpg
/home/pi/Desktop/images/18012025/21/00/image_18012025_21_00_02_878937_0002.jpg
/home/pi/Desktop/images/18012025/21/00/image_18012025_21_00_02_878937_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":["1329850656","1329850623","1329850634","1329850613","1329850636","1329850615"],"photo_ids_order":["1329850613","1329850615","1329850623","1329850634","1329850636","1329850656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d480920f63a1103291e51e04a8759d5.jpg","text":"TemporaryFile(/tmp/multipartBody5652318653193654550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230557764,"filename":"image_18012025_21_00_02_878937_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f5b0573132164774183ce7624afc6594.jpg","text":"TemporaryFile(/tmp/multipartBody4847599639886438607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230557764,"filename":"image_18012025_21_00_02_878937_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/87468600189f4e3cbad61b69167d6cf3.jpg","text":"TemporaryFile(/tmp/multipartBody1484330113314892652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230557764,"filename":"image_18012025_21_00_02_878937_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08ce1d7e02967185e649dde85b431311.jpg","text":"TemporaryFile(/tmp/multipartBody6225230261756309966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230557764,"filename":"image_18012025_20_59_02_686234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed44d0a7e323ced5d97785a62f8e9cf2.jpg","text":"TemporaryFile(/tmp/multipartBody3788690660964199027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230557764,"filename":"image_18012025_21_00_02_878937_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aedbef7628232303324a3957cc88ac5c.jpg","text":"TemporaryFile(/tmp/multipartBody2984522286664641435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230557764,"filename":"image_18012025_20_59_02_686234_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329850623","file1":"1329850615","file0":"1329850613","file4":"1329850636","file5":"1329850656","file3":"1329850634"},"map_files_photo_id_array":[{"photo_id":"1329850656","filename":"file5"},{"photo_id":"1329850623","filename":"file2"},{"photo_id":"1329850636","filename":"file4"},{"photo_id":"1329850615","filename":"file1"},{"photo_id":"1329850613","filename":"file0"},{"photo_id":"1329850634","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329850656":["hashtag1","hashtag2"]},{"1329850623":["hashtag1","hashtag2"]},{"1329850634":["hashtag1","hashtag2"]},{"1329850613":["hashtag1","hashtag2"]},{"1329850636":["hashtag1","hashtag2"]},{"1329850615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329850656, 1329850623, 1329850634, 1329850613, 1329850636, 1329850615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.09502577781677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:02:22.103490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/01/image_18012025_21_01_03_061975_0000.jpg', '/home/pi/Desktop/images/18012025/21/01/image_18012025_21_01_03_061975_0001.jpg', '/home/pi/Desktop/images/18012025/21/01/image_18012025_21_01_03_061975_0002.jpg', '/home/pi/Desktop/images/18012025/21/01/image_18012025_21_01_03_061975_0003.jpg', '/home/pi/Desktop/images/18012025/21/02/image_18012025_21_02_02_327488_0000.jpg', '/home/pi/Desktop/images/18012025/21/02/image_18012025_21_02_02_327488_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/01/image_18012025_21_01_03_061975_0000.jpg
/home/pi/Desktop/images/18012025/21/01/image_18012025_21_01_03_061975_0001.jpg
/home/pi/Desktop/images/18012025/21/01/image_18012025_21_01_03_061975_0002.jpg
/home/pi/Desktop/images/18012025/21/01/image_18012025_21_01_03_061975_0003.jpg
/home/pi/Desktop/images/18012025/21/02/image_18012025_21_02_02_327488_0000.jpg
/home/pi/Desktop/images/18012025/21/02/image_18012025_21_02_02_327488_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329850677","1329850679","1329850745","1329850681","1329850684","1329850675"],"photo_ids_order":["1329850675","1329850677","1329850679","1329850681","1329850684","1329850745"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/df3bbacd0047bb846c5cf0eb00be379d.jpg","text":"TemporaryFile(/tmp/multipartBody4827153900486976553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230617961,"filename":"image_18012025_21_01_03_061975_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3d9a87bb196208d4bfe80c132230505.jpg","text":"TemporaryFile(/tmp/multipartBody1087182228596385185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230617961,"filename":"image_18012025_21_01_03_061975_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf75e56f41b61b5f9877eb61c6eea537.jpg","text":"TemporaryFile(/tmp/multipartBody7214008817169790807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230617961,"filename":"image_18012025_21_02_02_327488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b5ed8b9df99921a9803cf5532ed20e9.jpg","text":"TemporaryFile(/tmp/multipartBody825662767612855256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230617961,"filename":"image_18012025_21_01_03_061975_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b40cafd503a83847122c90b6eaa60e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2215750792239512272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230617961,"filename":"image_18012025_21_02_02_327488_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4b6afa06bf0b04cc6994b2a6578d95b4.jpg","text":"TemporaryFile(/tmp/multipartBody3305268198848650253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230617961,"filename":"image_18012025_21_01_03_061975_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329850679","file1":"1329850677","file0":"1329850675","file4":"1329850684","file5":"1329850745","file3":"1329850681"},"map_files_photo_id_array":[{"photo_id":"1329850745","filename":"file5"},{"photo_id":"1329850679","filename":"file2"},{"photo_id":"1329850684","filename":"file4"},{"photo_id":"1329850677","filename":"file1"},{"photo_id":"1329850675","filename":"file0"},{"photo_id":"1329850681","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329850677":["hashtag1","hashtag2"]},{"1329850679":["hashtag1","hashtag2"]},{"1329850745":["hashtag1","hashtag2"]},{"1329850681":["hashtag1","hashtag2"]},{"1329850684":["hashtag1","hashtag2"]},{"1329850675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329850677, 1329850679, 1329850745, 1329850681, 1329850684, 1329850675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.089582443237305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:03:32.238646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/02/image_18012025_21_02_02_327488_0002.jpg', '/home/pi/Desktop/images/18012025/21/02/image_18012025_21_02_02_327488_0003.jpg', '/home/pi/Desktop/images/18012025/21/03/image_18012025_21_03_02_405539_0000.jpg', '/home/pi/Desktop/images/18012025/21/03/image_18012025_21_03_02_405539_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/02/image_18012025_21_02_02_327488_0002.jpg
/home/pi/Desktop/images/18012025/21/02/image_18012025_21_02_02_327488_0003.jpg
/home/pi/Desktop/images/18012025/21/03/image_18012025_21_03_02_405539_0000.jpg
/home/pi/Desktop/images/18012025/21/03/image_18012025_21_03_02_405539_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329850842","1329850835","1329850838","1329850840"],"photo_ids_order":["1329850835","1329850838","1329850840","1329850842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8a83c7cc2321c5ab5218287076b7491.jpg","text":"TemporaryFile(/tmp/multipartBody2387186665072940328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230683010,"filename":"image_18012025_21_03_02_405539_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/362692fa0b50bac866882b44195f5822.jpg","text":"TemporaryFile(/tmp/multipartBody6161578097917009145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230683010,"filename":"image_18012025_21_02_02_327488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8536df219b2634cd4bf6a900c9008978.jpg","text":"TemporaryFile(/tmp/multipartBody4354779198133605613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230683010,"filename":"image_18012025_21_02_02_327488_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4a0507ab23f4efa526d9d4cbd6e1f6d5.jpg","text":"TemporaryFile(/tmp/multipartBody8643922938323395782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230683010,"filename":"image_18012025_21_03_02_405539_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329850840","file1":"1329850838","file0":"1329850835","file3":"1329850842"},"map_files_photo_id_array":[{"photo_id":"1329850840","filename":"file2"},{"photo_id":"1329850838","filename":"file1"},{"photo_id":"1329850835","filename":"file0"},{"photo_id":"1329850842","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329850842":["hashtag1","hashtag2"]},{"1329850835":["hashtag1","hashtag2"]},{"1329850838":["hashtag1","hashtag2"]},{"1329850840":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329850842, 1329850835, 1329850838, 1329850840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18759822845459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:04:22.419278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/03/image_18012025_21_03_02_405539_0003.jpg', '/home/pi/Desktop/images/18012025/21/04/image_18012025_21_04_02_669151_0000.jpg', '/home/pi/Desktop/images/18012025/21/04/image_18012025_21_04_02_669151_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/03/image_18012025_21_03_02_405539_0003.jpg
/home/pi/Desktop/images/18012025/21/04/image_18012025_21_04_02_669151_0000.jpg
/home/pi/Desktop/images/18012025/21/04/image_18012025_21_04_02_669151_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":["1329851706","1329851726","1329851713"],"photo_ids_order":["1329851706","1329851713","1329851726"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cfb9ee7b0111e714b6f9f2397cfc6fcd.jpg","text":"TemporaryFile(/tmp/multipartBody112748788883914876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230730665,"filename":"image_18012025_21_03_02_405539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc2999e2e17d458d98a77d403f630484.jpg","text":"TemporaryFile(/tmp/multipartBody1956141197329423637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230730665,"filename":"image_18012025_21_04_02_669151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e54ca8f216a07a3ca9758af9e0bf5da.jpg","text":"TemporaryFile(/tmp/multipartBody1946255128631407764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230730665,"filename":"image_18012025_21_04_02_669151_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329851726","file1":"1329851713","file0":"1329851706"},"map_files_photo_id_array":[{"photo_id":"1329851726","filename":"file2"},{"photo_id":"1329851713","filename":"file1"},{"photo_id":"1329851706","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329851706":["hashtag1","hashtag2"]},{"1329851726":["hashtag1","hashtag2"]},{"1329851713":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329851706, 1329851726, 1329851713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.497902154922485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:05:03.121730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/25/image_16012025_23_25_03_077035_0002.jpg', '/home/pi/Desktop/images/16012025/23/25/image_16012025_23_25_03_077035_0003.jpg', '/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0000.jpg', '/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0001.jpg', '/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0002.jpg', '/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/25/image_16012025_23_25_03_077035_0002.jpg
/home/pi/Desktop/images/16012025/23/25/image_16012025_23_25_03_077035_0003.jpg
/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0000.jpg
/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0001.jpg
/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0002.jpg
/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 18.066298961639404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:05:22.561677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/04/image_18012025_21_04_02_669151_0002.jpg', '/home/pi/Desktop/images/18012025/21/05/image_18012025_21_05_02_804295_0000.jpg', '/home/pi/Desktop/images/18012025/21/05/image_18012025_21_05_02_804295_0001.jpg', '/home/pi/Desktop/images/18012025/21/05/image_18012025_21_05_02_804295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/04/image_18012025_21_04_02_669151_0002.jpg
/home/pi/Desktop/images/18012025/21/05/image_18012025_21_05_02_804295_0000.jpg
/home/pi/Desktop/images/18012025/21/05/image_18012025_21_05_02_804295_0001.jpg
/home/pi/Desktop/images/18012025/21/05/image_18012025_21_05_02_804295_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329852056","1329852059","1329852028","1329852103"],"photo_ids_order":["1329852028","1329852056","1329852059","1329852103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec682bdf19c5b0da52245f102d30063b.jpg","text":"TemporaryFile(/tmp/multipartBody5039052898579400640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230793330,"filename":"image_18012025_21_05_02_804295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cdc5b5caa02e0933be07733fcec9fb3d.jpg","text":"TemporaryFile(/tmp/multipartBody6843997508379119063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230793330,"filename":"image_18012025_21_05_02_804295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5ea388b3b67edc533bf4ace472dd5cff.jpg","text":"TemporaryFile(/tmp/multipartBody1874633117109256822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230793330,"filename":"image_18012025_21_04_02_669151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c110403f9522434bd780737ca0ba74e.jpg","text":"TemporaryFile(/tmp/multipartBody4879697297811656251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230793330,"filename":"image_18012025_21_05_02_804295_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852059","file1":"1329852056","file0":"1329852028","file3":"1329852103"},"map_files_photo_id_array":[{"photo_id":"1329852059","filename":"file2"},{"photo_id":"1329852056","filename":"file1"},{"photo_id":"1329852028","filename":"file0"},{"photo_id":"1329852103","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329852056":["hashtag1","hashtag2"]},{"1329852059":["hashtag1","hashtag2"]},{"1329852028":["hashtag1","hashtag2"]},{"1329852103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329852056, 1329852059, 1329852028, 1329852103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.860875368118286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:06:21.776022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/05/image_18012025_21_05_02_804295_0003.jpg', '/home/pi/Desktop/images/18012025/21/06/image_18012025_21_06_03_059187_0000.jpg', '/home/pi/Desktop/images/18012025/21/06/image_18012025_21_06_03_059187_0001.jpg', '/home/pi/Desktop/images/18012025/21/06/image_18012025_21_06_03_059187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/05/image_18012025_21_05_02_804295_0003.jpg
/home/pi/Desktop/images/18012025/21/06/image_18012025_21_06_03_059187_0000.jpg
/home/pi/Desktop/images/18012025/21/06/image_18012025_21_06_03_059187_0001.jpg
/home/pi/Desktop/images/18012025/21/06/image_18012025_21_06_03_059187_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329852117","1329852110","1329852113","1329852121"],"photo_ids_order":["1329852110","1329852113","1329852117","1329852121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/52cd300e0851dcab1c8acc93d9b96b6f.jpg","text":"TemporaryFile(/tmp/multipartBody62077693494150463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230852580,"filename":"image_18012025_21_06_03_059187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9c6f46594cd8609f3e19282e3a27d7b6.jpg","text":"TemporaryFile(/tmp/multipartBody3887486725611128606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230852580,"filename":"image_18012025_21_05_02_804295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb561bf4f6f5e8fc8534d2c65940e017.jpg","text":"TemporaryFile(/tmp/multipartBody946453706266472128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230852580,"filename":"image_18012025_21_06_03_059187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d6e517cbfe7611d53e9dc23b61e4c25.jpg","text":"TemporaryFile(/tmp/multipartBody7016602706225620505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230852580,"filename":"image_18012025_21_06_03_059187_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852117","file1":"1329852113","file0":"1329852110","file3":"1329852121"},"map_files_photo_id_array":[{"photo_id":"1329852117","filename":"file2"},{"photo_id":"1329852113","filename":"file1"},{"photo_id":"1329852110","filename":"file0"},{"photo_id":"1329852121","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329852117":["hashtag1","hashtag2"]},{"1329852110":["hashtag1","hashtag2"]},{"1329852113":["hashtag1","hashtag2"]},{"1329852121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329852117, 1329852110, 1329852113, 1329852121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.223660945892334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:07:02.517505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/25/image_16012025_23_25_03_077035_0002.jpg', '/home/pi/Desktop/images/16012025/23/25/image_16012025_23_25_03_077035_0003.jpg', '/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0000.jpg', '/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0001.jpg', '/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0002.jpg', '/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/25/image_16012025_23_25_03_077035_0002.jpg
/home/pi/Desktop/images/16012025/23/25/image_16012025_23_25_03_077035_0003.jpg
/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0000.jpg
/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0001.jpg
/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_0002.jpg
/home/pi/Desktop/images/16012025/23/26/image_16012025_23_26_02_333940_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":["1329852141","1329852182","1329852131","1329852178","1329852180","1329852165"],"photo_ids_order":["1329852131","1329852141","1329852165","1329852178","1329852180","1329852182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/68a347974053e6e3f903e178ceaac0fa.jpg","text":"TemporaryFile(/tmp/multipartBody7931508378210784278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230900820,"filename":"image_16012025_23_25_03_077035_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/59b0d8ddd95532f805729d75fd6e8d0b.jpg","text":"TemporaryFile(/tmp/multipartBody7417972865958010900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230900820,"filename":"image_16012025_23_26_02_333940_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/269802641504423a56bfa4218d25eb81.jpg","text":"TemporaryFile(/tmp/multipartBody9201785477626446196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230900820,"filename":"image_16012025_23_25_03_077035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/72c198419dd4374abd9c7e09bfc0e394.jpg","text":"TemporaryFile(/tmp/multipartBody6618903153060254161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230900820,"filename":"image_16012025_23_26_02_333940_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/731ec479699af5561f31711f3f8bf25e.jpg","text":"TemporaryFile(/tmp/multipartBody5035613026626762799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230900820,"filename":"image_16012025_23_26_02_333940_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ac7187265786140c125a528695a248ba.jpg","text":"TemporaryFile(/tmp/multipartBody5927110890684636704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230900820,"filename":"image_16012025_23_26_02_333940_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852165","file1":"1329852141","file0":"1329852131","file4":"1329852180","file5":"1329852182","file3":"1329852178"},"map_files_photo_id_array":[{"photo_id":"1329852182","filename":"file5"},{"photo_id":"1329852165","filename":"file2"},{"photo_id":"1329852180","filename":"file4"},{"photo_id":"1329852141","filename":"file1"},{"photo_id":"1329852131","filename":"file0"},{"photo_id":"1329852178","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329852141":["hashtag1","hashtag2"]},{"1329852182":["hashtag1","hashtag2"]},{"1329852131":["hashtag1","hashtag2"]},{"1329852178":["hashtag1","hashtag2"]},{"1329852180":["hashtag1","hashtag2"]},{"1329852165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329852141, 1329852182, 1329852131, 1329852178, 1329852180, 1329852165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.376657247543335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:08:02.570905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/06/image_18012025_21_06_03_059187_0003.jpg', '/home/pi/Desktop/images/18012025/21/07/image_18012025_21_07_02_145837_0000.jpg', '/home/pi/Desktop/images/18012025/21/07/image_18012025_21_07_02_145837_0001.jpg', '/home/pi/Desktop/images/18012025/21/07/image_18012025_21_07_02_145837_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/06/image_18012025_21_06_03_059187_0003.jpg
/home/pi/Desktop/images/18012025/21/07/image_18012025_21_07_02_145837_0000.jpg
/home/pi/Desktop/images/18012025/21/07/image_18012025_21_07_02_145837_0001.jpg
/home/pi/Desktop/images/18012025/21/07/image_18012025_21_07_02_145837_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329852191","1329852190","1329852187","1329852186"],"photo_ids_order":["1329852186","1329852187","1329852190","1329852191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65ea8e00cfc14a8797b8b8888fb890a2.jpg","text":"TemporaryFile(/tmp/multipartBody8356215949451312404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230953389,"filename":"image_18012025_21_07_02_145837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93b9fcbbe5264d4ec68567eb4a960f74.jpg","text":"TemporaryFile(/tmp/multipartBody7289629237633069791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230953389,"filename":"image_18012025_21_07_02_145837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2332206d98de49d8898a5fcc01e2dca7.jpg","text":"TemporaryFile(/tmp/multipartBody5594894926784237696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230953389,"filename":"image_18012025_21_07_02_145837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b5be8f6b924bec43c45939b4b6d8a694.jpg","text":"TemporaryFile(/tmp/multipartBody1024234216081662177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230953389,"filename":"image_18012025_21_06_03_059187_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852190","file1":"1329852187","file0":"1329852186","file3":"1329852191"},"map_files_photo_id_array":[{"photo_id":"1329852190","filename":"file2"},{"photo_id":"1329852187","filename":"file1"},{"photo_id":"1329852186","filename":"file0"},{"photo_id":"1329852191","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329852191":["hashtag1","hashtag2"]},{"1329852190":["hashtag1","hashtag2"]},{"1329852187":["hashtag1","hashtag2"]},{"1329852186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329852191, 1329852190, 1329852187, 1329852186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.95569396018982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:08:52.128003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/07/image_18012025_21_07_02_145837_0003.jpg', '/home/pi/Desktop/images/18012025/21/08/image_18012025_21_08_02_300703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/07/image_18012025_21_07_02_145837_0003.jpg
/home/pi/Desktop/images/18012025/21/08/image_18012025_21_08_02_300703_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329852203","1329852196"],"photo_ids_order":["1329852196","1329852203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e75cab54cd6cd67a862422944d35cf44.jpg","text":"TemporaryFile(/tmp/multipartBody7265088653957764083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230997875,"filename":"image_18012025_21_08_02_300703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d2a2b19d0befc30deaa8388f7ce6c70.jpg","text":"TemporaryFile(/tmp/multipartBody6251086622274590834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737230997875,"filename":"image_18012025_21_07_02_145837_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329852203","file0":"1329852196"},"map_files_photo_id_array":[{"photo_id":"1329852203","filename":"file1"},{"photo_id":"1329852196","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329852203":["hashtag1","hashtag2"]},{"1329852196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329852203, 1329852196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.15688967704773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:09:22.337101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/08/image_18012025_21_08_02_300703_0003.jpg', '/home/pi/Desktop/images/18012025/21/09/image_18012025_21_09_02_509846_0000.jpg', '/home/pi/Desktop/images/18012025/21/09/image_18012025_21_09_02_509846_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/08/image_18012025_21_08_02_300703_0003.jpg
/home/pi/Desktop/images/18012025/21/09/image_18012025_21_09_02_509846_0000.jpg
/home/pi/Desktop/images/18012025/21/09/image_18012025_21_09_02_509846_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329852216","1329852218","1329852220"],"photo_ids_order":["1329852216","1329852218","1329852220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b86eb9c102ce7a641095bc2738e82c41.jpg","text":"TemporaryFile(/tmp/multipartBody7966404268165354828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231030576,"filename":"image_18012025_21_08_02_300703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a9b55bd12fc8dec9434d05fc91f00cd.jpg","text":"TemporaryFile(/tmp/multipartBody9219163701704677639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231030576,"filename":"image_18012025_21_09_02_509846_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cea4f5705ff972e80dcc54c48245e471.jpg","text":"TemporaryFile(/tmp/multipartBody6441982056062974878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231030576,"filename":"image_18012025_21_09_02_509846_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852220","file1":"1329852218","file0":"1329852216"},"map_files_photo_id_array":[{"photo_id":"1329852220","filename":"file2"},{"photo_id":"1329852218","filename":"file1"},{"photo_id":"1329852216","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329852216":["hashtag1","hashtag2"]},{"1329852218":["hashtag1","hashtag2"]},{"1329852220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329852216, 1329852218, 1329852220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.95279812812805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:10:02.977969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0000.jpg', '/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0001.jpg', '/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0002.jpg', '/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0003.jpg', '/home/pi/Desktop/images/16012025/23/28/image_16012025_23_28_02_762593_0000.jpg', '/home/pi/Desktop/images/16012025/23/28/image_16012025_23_28_02_762593_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0000.jpg
/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0001.jpg
/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0002.jpg
/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0003.jpg
/home/pi/Desktop/images/16012025/23/28/image_16012025_23_28_02_762593_0000.jpg
/home/pi/Desktop/images/16012025/23/28/image_16012025_23_28_02_762593_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.555156230926514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:10:22.516689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/09/image_18012025_21_09_02_509846_0003.jpg', '/home/pi/Desktop/images/18012025/21/10/image_18012025_21_10_02_658251_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/09/image_18012025_21_09_02_509846_0003.jpg
/home/pi/Desktop/images/18012025/21/10/image_18012025_21_10_02_658251_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":["1329852228","1329852232"],"photo_ids_order":["1329852228","1329852232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/063844c396ec8527526dabaa72e2f332.jpg","text":"TemporaryFile(/tmp/multipartBody1427213608945640878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231088252,"filename":"image_18012025_21_09_02_509846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4e2e28e90589058be7399cd0349aa1d.jpg","text":"TemporaryFile(/tmp/multipartBody3717267421307469796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231088252,"filename":"image_18012025_21_10_02_658251_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1329852232","file0":"1329852228"},"map_files_photo_id_array":[{"photo_id":"1329852232","filename":"file1"},{"photo_id":"1329852228","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329852228":["hashtag1","hashtag2"]},{"1329852232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329852228, 1329852232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.532217979431152 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:10:52.521618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0000.jpg', '/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0001.jpg', '/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0002.jpg', '/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0003.jpg', '/home/pi/Desktop/images/16012025/23/28/image_16012025_23_28_02_762593_0000.jpg', '/home/pi/Desktop/images/16012025/23/28/image_16012025_23_28_02_762593_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0000.jpg
/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0001.jpg
/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0002.jpg
/home/pi/Desktop/images/16012025/23/27/image_16012025_23_27_02_526964_0003.jpg
/home/pi/Desktop/images/16012025/23/28/image_16012025_23_28_02_762593_0000.jpg
/home/pi/Desktop/images/16012025/23/28/image_16012025_23_28_02_762593_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329852251","1329852242","1329852245","1329852247","1329852249","1329852243"],"photo_ids_order":["1329852242","1329852243","1329852245","1329852247","1329852249","1329852251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fc98d3fd5adabd003c2b6be9a66d08cd.jpg","text":"TemporaryFile(/tmp/multipartBody788647538040453905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231130278,"filename":"image_16012025_23_28_02_762593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b8c725c513e0be846898ea6599db02f.jpg","text":"TemporaryFile(/tmp/multipartBody5026270392165029717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231130278,"filename":"image_16012025_23_27_02_526964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1ae8ea7681de6d93307c1444705012ca.jpg","text":"TemporaryFile(/tmp/multipartBody5930941175578818934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231130278,"filename":"image_16012025_23_27_02_526964_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d2d4d3b6e5c045aea0fdba12c2c9823.jpg","text":"TemporaryFile(/tmp/multipartBody1993923973513331636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231130278,"filename":"image_16012025_23_27_02_526964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0c83830dce56391cfba49233707ddc84.jpg","text":"TemporaryFile(/tmp/multipartBody2661248990885448433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231130278,"filename":"image_16012025_23_28_02_762593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8065d943345d709d028bac946a078df9.jpg","text":"TemporaryFile(/tmp/multipartBody3132178647471857585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231130278,"filename":"image_16012025_23_27_02_526964_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852245","file1":"1329852243","file0":"1329852242","file4":"1329852249","file5":"1329852251","file3":"1329852247"},"map_files_photo_id_array":[{"photo_id":"1329852251","filename":"file5"},{"photo_id":"1329852245","filename":"file2"},{"photo_id":"1329852249","filename":"file4"},{"photo_id":"1329852243","filename":"file1"},{"photo_id":"1329852242","filename":"file0"},{"photo_id":"1329852247","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329852251":["hashtag1","hashtag2"]},{"1329852242":["hashtag1","hashtag2"]},{"1329852245":["hashtag1","hashtag2"]},{"1329852247":["hashtag1","hashtag2"]},{"1329852249":["hashtag1","hashtag2"]},{"1329852243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329852251, 1329852242, 1329852245, 1329852247, 1329852249, 1329852243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.75136661529541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:12:02.302502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/10/image_18012025_21_10_02_658251_0002.jpg', '/home/pi/Desktop/images/18012025/21/11/image_18012025_21_11_02_914357_0000.jpg', '/home/pi/Desktop/images/18012025/21/11/image_18012025_21_11_02_914357_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/10/image_18012025_21_10_02_658251_0002.jpg
/home/pi/Desktop/images/18012025/21/11/image_18012025_21_11_02_914357_0000.jpg
/home/pi/Desktop/images/18012025/21/11/image_18012025_21_11_02_914357_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":["1329852283","1329852285","1329852282"],"photo_ids_order":["1329852282","1329852283","1329852285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f416b20458a05d2db6069e043f35f2aa.jpg","text":"TemporaryFile(/tmp/multipartBody12627074462051811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231190595,"filename":"image_18012025_21_11_02_914357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7618168fd9d5f935ff9ff53b086aea7b.jpg","text":"TemporaryFile(/tmp/multipartBody264790523449390844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231190595,"filename":"image_18012025_21_11_02_914357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3f538a5abbadd1941af6229ae0232094.jpg","text":"TemporaryFile(/tmp/multipartBody7965775867155509179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231190595,"filename":"image_18012025_21_10_02_658251_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852285","file1":"1329852283","file0":"1329852282"},"map_files_photo_id_array":[{"photo_id":"1329852285","filename":"file2"},{"photo_id":"1329852283","filename":"file1"},{"photo_id":"1329852282","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329852283":["hashtag1","hashtag2"]},{"1329852285":["hashtag1","hashtag2"]},{"1329852282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329852283, 1329852285, 1329852282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.59397768974304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 21:12:41.909083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/11/image_18012025_21_11_02_914357_0003.jpg', '/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0000.jpg', '/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0001.jpg', '/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/11/image_18012025_21_11_02_914357_0003.jpg
/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0000.jpg
/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0001.jpg
/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.410051107406616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:13:02.684172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/11/image_18012025_21_11_02_914357_0003.jpg', '/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0000.jpg', '/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0001.jpg', '/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/11/image_18012025_21_11_02_914357_0003.jpg
/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0000.jpg
/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0001.jpg
/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329852306","1329852422","1329852305","1329852520"],"photo_ids_order":["1329852305","1329852306","1329852422","1329852520"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b3f93c6785b9fec379ab5d0189cccf8.jpg","text":"TemporaryFile(/tmp/multipartBody2156153689968613873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231253604,"filename":"image_18012025_21_12_03_083689_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3df0dc315beafb10f67026f589a68c0b.jpg","text":"TemporaryFile(/tmp/multipartBody7310497518644858535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231253604,"filename":"image_18012025_21_12_03_083689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be001cc9aab45a9c84a88686fe8dc0e4.jpg","text":"TemporaryFile(/tmp/multipartBody2911350987106022265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231253604,"filename":"image_18012025_21_11_02_914357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a8706c3ae6aab11156ec159c06d4c20f.jpg","text":"TemporaryFile(/tmp/multipartBody3199329143813397604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231253604,"filename":"image_18012025_21_12_03_083689_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852422","file1":"1329852306","file0":"1329852305","file3":"1329852520"},"map_files_photo_id_array":[{"photo_id":"1329852422","filename":"file2"},{"photo_id":"1329852306","filename":"file1"},{"photo_id":"1329852305","filename":"file0"},{"photo_id":"1329852520","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329852306":["hashtag1","hashtag2"]},{"1329852422":["hashtag1","hashtag2"]},{"1329852305":["hashtag1","hashtag2"]},{"1329852520":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329852306, 1329852422, 1329852305, 1329852520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.65458345413208 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:13:52.084017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0003.jpg', '/home/pi/Desktop/images/18012025/21/13/image_18012025_21_13_02_262311_0000.jpg', '/home/pi/Desktop/images/18012025/21/13/image_18012025_21_13_02_262311_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/12/image_18012025_21_12_03_083689_0003.jpg
/home/pi/Desktop/images/18012025/21/13/image_18012025_21_13_02_262311_0000.jpg
/home/pi/Desktop/images/18012025/21/13/image_18012025_21_13_02_262311_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329852557","1329852611","1329852601"],"photo_ids_order":["1329852557","1329852601","1329852611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f298ee428ffc8646bb8158306c4870c8.jpg","text":"TemporaryFile(/tmp/multipartBody1383360737294031776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231300363,"filename":"image_18012025_21_12_03_083689_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65cd962d684fdc3f8ee96f00b3b16fdc.jpg","text":"TemporaryFile(/tmp/multipartBody2486665974132466238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231300363,"filename":"image_18012025_21_13_02_262311_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc92d3f759fdd9b9a5c94756299f36a3.jpg","text":"TemporaryFile(/tmp/multipartBody6434987413572015876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231300363,"filename":"image_18012025_21_13_02_262311_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852611","file1":"1329852601","file0":"1329852557"},"map_files_photo_id_array":[{"photo_id":"1329852611","filename":"file2"},{"photo_id":"1329852601","filename":"file1"},{"photo_id":"1329852557","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329852557":["hashtag1","hashtag2"]},{"1329852611":["hashtag1","hashtag2"]},{"1329852601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329852557, 1329852611, 1329852601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.506860494613647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:14:32.233724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/13/image_18012025_21_13_02_262311_0003.jpg', '/home/pi/Desktop/images/18012025/21/14/image_18012025_21_14_02_507536_0000.jpg', '/home/pi/Desktop/images/18012025/21/14/image_18012025_21_14_02_507536_0001.jpg', '/home/pi/Desktop/images/18012025/21/14/image_18012025_21_14_02_507536_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/13/image_18012025_21_13_02_262311_0003.jpg
/home/pi/Desktop/images/18012025/21/14/image_18012025_21_14_02_507536_0000.jpg
/home/pi/Desktop/images/18012025/21/14/image_18012025_21_14_02_507536_0001.jpg
/home/pi/Desktop/images/18012025/21/14/image_18012025_21_14_02_507536_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329852788","1329852743","1329852739","1329852741"],"photo_ids_order":["1329852739","1329852741","1329852743","1329852788"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e13c885507b808ec498a4c179eaf2f7.jpg","text":"TemporaryFile(/tmp/multipartBody4637643923874952954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231343648,"filename":"image_18012025_21_14_02_507536_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a9a27e6d839a12df674d518165948b0.jpg","text":"TemporaryFile(/tmp/multipartBody4894125737086154142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231343648,"filename":"image_18012025_21_14_02_507536_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e2d11a6a12431cbdc47ad06e7f66626c.jpg","text":"TemporaryFile(/tmp/multipartBody5742711746437507481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231343648,"filename":"image_18012025_21_13_02_262311_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c28ea8808fc5d3c3a2aa8cbf9724af2.jpg","text":"TemporaryFile(/tmp/multipartBody1726454952215990138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231343648,"filename":"image_18012025_21_14_02_507536_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852743","file1":"1329852741","file0":"1329852739","file3":"1329852788"},"map_files_photo_id_array":[{"photo_id":"1329852743","filename":"file2"},{"photo_id":"1329852741","filename":"file1"},{"photo_id":"1329852739","filename":"file0"},{"photo_id":"1329852788","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329852788":["hashtag1","hashtag2"]},{"1329852743":["hashtag1","hashtag2"]},{"1329852739":["hashtag1","hashtag2"]},{"1329852741":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329852788, 1329852743, 1329852739, 1329852741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.24562191963196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:15:22.406765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/14/image_18012025_21_14_02_507536_0003.jpg', '/home/pi/Desktop/images/18012025/21/15/image_18012025_21_15_02_684139_0000.jpg', '/home/pi/Desktop/images/18012025/21/15/image_18012025_21_15_02_684139_0001.jpg', '/home/pi/Desktop/images/18012025/21/15/image_18012025_21_15_02_684139_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/14/image_18012025_21_14_02_507536_0003.jpg
/home/pi/Desktop/images/18012025/21/15/image_18012025_21_15_02_684139_0000.jpg
/home/pi/Desktop/images/18012025/21/15/image_18012025_21_15_02_684139_0001.jpg
/home/pi/Desktop/images/18012025/21/15/image_18012025_21_15_02_684139_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329852915","1329852909","1329852911","1329852913"],"photo_ids_order":["1329852909","1329852911","1329852913","1329852915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de4aa677280f2bef9e3a91fdde9a9603.jpg","text":"TemporaryFile(/tmp/multipartBody9131143714276943664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231393209,"filename":"image_18012025_21_15_02_684139_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d9ecdddf43b9a699e19a9a79e64adc1e.jpg","text":"TemporaryFile(/tmp/multipartBody2872474001088914173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231393209,"filename":"image_18012025_21_14_02_507536_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a449dc1279892d4e2ac52a827c84fd62.jpg","text":"TemporaryFile(/tmp/multipartBody4872210483961132067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231393209,"filename":"image_18012025_21_15_02_684139_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/520aff9f11554d6f589b9536d454f3ca.jpg","text":"TemporaryFile(/tmp/multipartBody1105399390641715135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231393209,"filename":"image_18012025_21_15_02_684139_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852913","file1":"1329852911","file0":"1329852909","file3":"1329852915"},"map_files_photo_id_array":[{"photo_id":"1329852913","filename":"file2"},{"photo_id":"1329852911","filename":"file1"},{"photo_id":"1329852909","filename":"file0"},{"photo_id":"1329852915","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329852915":["hashtag1","hashtag2"]},{"1329852909":["hashtag1","hashtag2"]},{"1329852911":["hashtag1","hashtag2"]},{"1329852913":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329852915, 1329852909, 1329852911, 1329852913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.2660608291626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:16:02.881342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/28/image_16012025_23_28_02_762593_0002.jpg', '/home/pi/Desktop/images/16012025/23/28/image_16012025_23_28_02_762593_0003.jpg', '/home/pi/Desktop/images/16012025/23/29/image_16012025_23_29_02_867861_0000.jpg', '/home/pi/Desktop/images/16012025/23/29/image_16012025_23_29_02_867861_0001.jpg', '/home/pi/Desktop/images/16012025/23/29/image_16012025_23_29_02_867861_0002.jpg', '/home/pi/Desktop/images/16012025/23/29/image_16012025_23_29_02_867861_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/28/image_16012025_23_28_02_762593_0002.jpg
/home/pi/Desktop/images/16012025/23/28/image_16012025_23_28_02_762593_0003.jpg
/home/pi/Desktop/images/16012025/23/29/image_16012025_23_29_02_867861_0000.jpg
/home/pi/Desktop/images/16012025/23/29/image_16012025_23_29_02_867861_0001.jpg
/home/pi/Desktop/images/16012025/23/29/image_16012025_23_29_02_867861_0002.jpg
/home/pi/Desktop/images/16012025/23/29/image_16012025_23_29_02_867861_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":["1329852921","1329852932","1329852919","1329852930","1329852924","1329852927"],"photo_ids_order":["1329852919","1329852921","1329852924","1329852927","1329852930","1329852932"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16b7c3166a143f085bbd387a8afba645.jpg","text":"TemporaryFile(/tmp/multipartBody5731478723749348671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231440604,"filename":"image_16012025_23_28_02_762593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d94d4d580bd480b5be4c5d85c88121f6.jpg","text":"TemporaryFile(/tmp/multipartBody7580286487398166365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231440604,"filename":"image_16012025_23_29_02_867861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d376d29adbfa33ba327a0290c1cd9b95.jpg","text":"TemporaryFile(/tmp/multipartBody2953829460297571446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231440604,"filename":"image_16012025_23_28_02_762593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/000e6363b0210d77ec54b4c0340f9a6a.jpg","text":"TemporaryFile(/tmp/multipartBody2131291088193445113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231440604,"filename":"image_16012025_23_29_02_867861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f8b54b20ef14145763044a6bb2df178.jpg","text":"TemporaryFile(/tmp/multipartBody8536577440844989360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231440604,"filename":"image_16012025_23_29_02_867861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e19dd93b0066e166d14d4814ef784e7.jpg","text":"TemporaryFile(/tmp/multipartBody1560160519937856953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231440604,"filename":"image_16012025_23_29_02_867861_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852924","file1":"1329852921","file0":"1329852919","file4":"1329852930","file5":"1329852932","file3":"1329852927"},"map_files_photo_id_array":[{"photo_id":"1329852932","filename":"file5"},{"photo_id":"1329852924","filename":"file2"},{"photo_id":"1329852930","filename":"file4"},{"photo_id":"1329852921","filename":"file1"},{"photo_id":"1329852919","filename":"file0"},{"photo_id":"1329852927","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329852921":["hashtag1","hashtag2"]},{"1329852932":["hashtag1","hashtag2"]},{"1329852919":["hashtag1","hashtag2"]},{"1329852930":["hashtag1","hashtag2"]},{"1329852924":["hashtag1","hashtag2"]},{"1329852927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329852921, 1329852932, 1329852919, 1329852930, 1329852924, 1329852927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.84669542312622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:17:03.347375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/15/image_18012025_21_15_02_684139_0003.jpg', '/home/pi/Desktop/images/18012025/21/16/image_18012025_21_16_02_767545_0000.jpg', '/home/pi/Desktop/images/18012025/21/16/image_18012025_21_16_02_767545_0001.jpg', '/home/pi/Desktop/images/18012025/21/16/image_18012025_21_16_02_767545_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/15/image_18012025_21_15_02_684139_0003.jpg
/home/pi/Desktop/images/18012025/21/16/image_18012025_21_16_02_767545_0000.jpg
/home/pi/Desktop/images/18012025/21/16/image_18012025_21_16_02_767545_0001.jpg
/home/pi/Desktop/images/18012025/21/16/image_18012025_21_16_02_767545_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329852983","1329852961","1329852954","1329852963"],"photo_ids_order":["1329852954","1329852961","1329852963","1329852983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65e5d14fca8e58eb0e271a48c4a06114.jpg","text":"TemporaryFile(/tmp/multipartBody8586982926812591710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231494201,"filename":"image_18012025_21_16_02_767545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c876c0320e09119226d5036b9e02894.jpg","text":"TemporaryFile(/tmp/multipartBody4566127380422560341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231494201,"filename":"image_18012025_21_16_02_767545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8986f2577d23ae1dfd16b4e705d51c1d.jpg","text":"TemporaryFile(/tmp/multipartBody1559189688269857517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231494201,"filename":"image_18012025_21_15_02_684139_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/252846bc250c6d84a011a8c906b8f39f.jpg","text":"TemporaryFile(/tmp/multipartBody5020539795774228299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231494201,"filename":"image_18012025_21_16_02_767545_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852963","file1":"1329852961","file0":"1329852954","file3":"1329852983"},"map_files_photo_id_array":[{"photo_id":"1329852963","filename":"file2"},{"photo_id":"1329852961","filename":"file1"},{"photo_id":"1329852954","filename":"file0"},{"photo_id":"1329852983","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329852983":["hashtag1","hashtag2"]},{"1329852961":["hashtag1","hashtag2"]},{"1329852954":["hashtag1","hashtag2"]},{"1329852963":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329852983, 1329852961, 1329852954, 1329852963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.41950464248657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:17:52.739991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/16/image_18012025_21_16_02_767545_0003.jpg', '/home/pi/Desktop/images/18012025/21/17/image_18012025_21_17_02_952838_0000.jpg', '/home/pi/Desktop/images/18012025/21/17/image_18012025_21_17_02_952838_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/16/image_18012025_21_16_02_767545_0003.jpg
/home/pi/Desktop/images/18012025/21/17/image_18012025_21_17_02_952838_0000.jpg
/home/pi/Desktop/images/18012025/21/17/image_18012025_21_17_02_952838_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":["1329852992","1329852995","1329852994"],"photo_ids_order":["1329852992","1329852994","1329852995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/68ded8ad8c055a5a2e2c7217249d68b3.jpg","text":"TemporaryFile(/tmp/multipartBody2592496733167833010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231541031,"filename":"image_18012025_21_16_02_767545_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/066b73be2bbfd1a742087d4a95bc523a.jpg","text":"TemporaryFile(/tmp/multipartBody5970738511991309971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231541031,"filename":"image_18012025_21_17_02_952838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54c8a5a67183c7ebbddccd04a4a99630.jpg","text":"TemporaryFile(/tmp/multipartBody2202528995608350994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231541031,"filename":"image_18012025_21_17_02_952838_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329852995","file1":"1329852994","file0":"1329852992"},"map_files_photo_id_array":[{"photo_id":"1329852995","filename":"file2"},{"photo_id":"1329852994","filename":"file1"},{"photo_id":"1329852992","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329852992":["hashtag1","hashtag2"]},{"1329852995":["hashtag1","hashtag2"]},{"1329852994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329852992, 1329852995, 1329852994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.25151300430298 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:18:31.944387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/17/image_18012025_21_17_02_952838_0003.jpg', '/home/pi/Desktop/images/18012025/21/18/image_18012025_21_18_03_123047_0000.jpg', '/home/pi/Desktop/images/18012025/21/18/image_18012025_21_18_03_123047_0001.jpg', '/home/pi/Desktop/images/18012025/21/18/image_18012025_21_18_03_123047_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/17/image_18012025_21_17_02_952838_0003.jpg
/home/pi/Desktop/images/18012025/21/18/image_18012025_21_18_03_123047_0000.jpg
/home/pi/Desktop/images/18012025/21/18/image_18012025_21_18_03_123047_0001.jpg
/home/pi/Desktop/images/18012025/21/18/image_18012025_21_18_03_123047_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.456427335739136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:18:51.930289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/17/image_18012025_21_17_02_952838_0003.jpg', '/home/pi/Desktop/images/18012025/21/18/image_18012025_21_18_03_123047_0000.jpg', '/home/pi/Desktop/images/18012025/21/18/image_18012025_21_18_03_123047_0001.jpg', '/home/pi/Desktop/images/18012025/21/18/image_18012025_21_18_03_123047_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/17/image_18012025_21_17_02_952838_0003.jpg
/home/pi/Desktop/images/18012025/21/18/image_18012025_21_18_03_123047_0000.jpg
/home/pi/Desktop/images/18012025/21/18/image_18012025_21_18_03_123047_0001.jpg
/home/pi/Desktop/images/18012025/21/18/image_18012025_21_18_03_123047_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329853043","1329853010","1329853009","1329853017"],"photo_ids_order":["1329853009","1329853010","1329853017","1329853043"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa57b341029acd4fe65426523bd8a5cc.jpg","text":"TemporaryFile(/tmp/multipartBody105511363154921220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231602791,"filename":"image_18012025_21_18_03_123047_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b9d1621472c99ef7c82bbfb52913dbda.jpg","text":"TemporaryFile(/tmp/multipartBody9205572185676941283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231602791,"filename":"image_18012025_21_18_03_123047_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/34f0a43a7c43a6521d90cf15ba6606e8.jpg","text":"TemporaryFile(/tmp/multipartBody7213597973631823469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231602791,"filename":"image_18012025_21_17_02_952838_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e4f89c74a918f9ff90665c39a1a5c275.jpg","text":"TemporaryFile(/tmp/multipartBody3300554877893396821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231602791,"filename":"image_18012025_21_18_03_123047_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329853017","file1":"1329853010","file0":"1329853009","file3":"1329853043"},"map_files_photo_id_array":[{"photo_id":"1329853017","filename":"file2"},{"photo_id":"1329853010","filename":"file1"},{"photo_id":"1329853009","filename":"file0"},{"photo_id":"1329853043","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329853043":["hashtag1","hashtag2"]},{"1329853010":["hashtag1","hashtag2"]},{"1329853009":["hashtag1","hashtag2"]},{"1329853017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329853043, 1329853010, 1329853009, 1329853017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.37113308906555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 21:19:42.168215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0000.jpg', '/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0001.jpg', '/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0000.jpg
/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0001.jpg
/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 8.108795642852783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:19:52.104401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0000.jpg', '/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0001.jpg', '/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0000.jpg
/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0001.jpg
/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329853076","1329853074","1329853077"],"photo_ids_order":["1329853074","1329853076","1329853077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4fe3a6b712ad0ac03d2b413338ae545.jpg","text":"TemporaryFile(/tmp/multipartBody883676360027770863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231660634,"filename":"image_18012025_21_19_02_266335_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b9159a00b436bbc0db0752fb405e8ce.jpg","text":"TemporaryFile(/tmp/multipartBody4985199528151601010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231660634,"filename":"image_18012025_21_19_02_266335_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7fd7f9dd23e019e15a90342a7a2aa65b.jpg","text":"TemporaryFile(/tmp/multipartBody60580624755819096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231660634,"filename":"image_18012025_21_19_02_266335_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329853077","file1":"1329853076","file0":"1329853074"},"map_files_photo_id_array":[{"photo_id":"1329853077","filename":"file2"},{"photo_id":"1329853076","filename":"file1"},{"photo_id":"1329853074","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329853076":["hashtag1","hashtag2"]},{"1329853074":["hashtag1","hashtag2"]},{"1329853077":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329853076, 1329853074, 1329853077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.91579031944275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:20:32.283512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0003.jpg', '/home/pi/Desktop/images/18012025/21/20/image_18012025_21_20_02_539216_0000.jpg', '/home/pi/Desktop/images/18012025/21/20/image_18012025_21_20_02_539216_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/19/image_18012025_21_19_02_266335_0003.jpg
/home/pi/Desktop/images/18012025/21/20/image_18012025_21_20_02_539216_0000.jpg
/home/pi/Desktop/images/18012025/21/20/image_18012025_21_20_02_539216_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":["1329854129","1329853780","1329853524"],"photo_ids_order":["1329853524","1329853780","1329854129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6558fc9645b9445f8eeff507042e91b.jpg","text":"TemporaryFile(/tmp/multipartBody853466370548051270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231700492,"filename":"image_18012025_21_20_02_539216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4096b9f8ec5c40905a5409b85044349e.jpg","text":"TemporaryFile(/tmp/multipartBody5418975665153753834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231700492,"filename":"image_18012025_21_20_02_539216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70fdf0f9f8b5035a0fa4a7a0f2567209.jpg","text":"TemporaryFile(/tmp/multipartBody4789370884787644553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231700492,"filename":"image_18012025_21_19_02_266335_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329854129","file1":"1329853780","file0":"1329853524"},"map_files_photo_id_array":[{"photo_id":"1329854129","filename":"file2"},{"photo_id":"1329853780","filename":"file1"},{"photo_id":"1329853524","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329854129":["hashtag1","hashtag2"]},{"1329853780":["hashtag1","hashtag2"]},{"1329853524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329854129, 1329853780, 1329853524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.08789563179016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:21:22.509879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/20/image_18012025_21_20_02_539216_0003.jpg', '/home/pi/Desktop/images/18012025/21/21/image_18012025_21_21_02_675312_0000.jpg', '/home/pi/Desktop/images/18012025/21/21/image_18012025_21_21_02_675312_0001.jpg', '/home/pi/Desktop/images/18012025/21/21/image_18012025_21_21_02_675312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/20/image_18012025_21_20_02_539216_0003.jpg
/home/pi/Desktop/images/18012025/21/21/image_18012025_21_21_02_675312_0000.jpg
/home/pi/Desktop/images/18012025/21/21/image_18012025_21_21_02_675312_0001.jpg
/home/pi/Desktop/images/18012025/21/21/image_18012025_21_21_02_675312_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329854359","1329854362","1329854364","1329854366"],"photo_ids_order":["1329854359","1329854362","1329854364","1329854366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af0292b393707a6db3de48ec83af1915.jpg","text":"TemporaryFile(/tmp/multipartBody3409079906191122961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231753196,"filename":"image_18012025_21_20_02_539216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0394e4c5200a1cfa0d13593771d651c4.jpg","text":"TemporaryFile(/tmp/multipartBody3900243610828336526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231753196,"filename":"image_18012025_21_21_02_675312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2e96e03de75408917a2397cbd5ed6f27.jpg","text":"TemporaryFile(/tmp/multipartBody2946687736469638578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231753196,"filename":"image_18012025_21_21_02_675312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de590e91bd07713a24681d756df27491.jpg","text":"TemporaryFile(/tmp/multipartBody3846640941626568493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231753196,"filename":"image_18012025_21_21_02_675312_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329854364","file1":"1329854362","file0":"1329854359","file3":"1329854366"},"map_files_photo_id_array":[{"photo_id":"1329854364","filename":"file2"},{"photo_id":"1329854362","filename":"file1"},{"photo_id":"1329854359","filename":"file0"},{"photo_id":"1329854366","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329854359":["hashtag1","hashtag2"]},{"1329854362":["hashtag1","hashtag2"]},{"1329854364":["hashtag1","hashtag2"]},{"1329854366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329854359, 1329854362, 1329854364, 1329854366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.448203325271606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:22:03.148584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0000.jpg', '/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0001.jpg', '/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0002.jpg', '/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0003.jpg', '/home/pi/Desktop/images/16012025/23/31/image_16012025_23_31_02_210168_0000.jpg', '/home/pi/Desktop/images/16012025/23/31/image_16012025_23_31_02_210168_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0000.jpg
/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0001.jpg
/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0002.jpg
/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0003.jpg
/home/pi/Desktop/images/16012025/23/31/image_16012025_23_31_02_210168_0000.jpg
/home/pi/Desktop/images/16012025/23/31/image_16012025_23_31_02_210168_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.41374969482422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:22:22.617992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/21/image_18012025_21_21_02_675312_0003.jpg', '/home/pi/Desktop/images/18012025/21/22/image_18012025_21_22_02_913223_0000.jpg', '/home/pi/Desktop/images/18012025/21/22/image_18012025_21_22_02_913223_0001.jpg', '/home/pi/Desktop/images/18012025/21/22/image_18012025_21_22_02_913223_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/21/image_18012025_21_21_02_675312_0003.jpg
/home/pi/Desktop/images/18012025/21/22/image_18012025_21_22_02_913223_0000.jpg
/home/pi/Desktop/images/18012025/21/22/image_18012025_21_22_02_913223_0001.jpg
/home/pi/Desktop/images/18012025/21/22/image_18012025_21_22_02_913223_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329854842","1329854839","1329854833","1329854815"],"photo_ids_order":["1329854815","1329854833","1329854839","1329854842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c0d7954b22b93fde01401861518f74f.jpg","text":"TemporaryFile(/tmp/multipartBody6657030366864715419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231813162,"filename":"image_18012025_21_22_02_913223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba58429ad09ec4af529a99a2ba29ac7f.jpg","text":"TemporaryFile(/tmp/multipartBody6455771589834674469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231813162,"filename":"image_18012025_21_22_02_913223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c975e22fac3cd662a3849279c73ed7ed.jpg","text":"TemporaryFile(/tmp/multipartBody8879262226907529672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231813162,"filename":"image_18012025_21_22_02_913223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fbef0c527d9696b2f89f582f66cc67cb.jpg","text":"TemporaryFile(/tmp/multipartBody2640310875404639366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231813162,"filename":"image_18012025_21_21_02_675312_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329854839","file1":"1329854833","file0":"1329854815","file3":"1329854842"},"map_files_photo_id_array":[{"photo_id":"1329854839","filename":"file2"},{"photo_id":"1329854833","filename":"file1"},{"photo_id":"1329854815","filename":"file0"},{"photo_id":"1329854842","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329854842":["hashtag1","hashtag2"]},{"1329854839":["hashtag1","hashtag2"]},{"1329854833":["hashtag1","hashtag2"]},{"1329854815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329854842, 1329854839, 1329854833, 1329854815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.9615421295166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:23:02.152282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0000.jpg', '/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0001.jpg', '/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0002.jpg', '/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0003.jpg', '/home/pi/Desktop/images/16012025/23/31/image_16012025_23_31_02_210168_0000.jpg', '/home/pi/Desktop/images/16012025/23/31/image_16012025_23_31_02_210168_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0000.jpg
/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0001.jpg
/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0002.jpg
/home/pi/Desktop/images/16012025/23/30/image_16012025_23_30_03_113786_0003.jpg
/home/pi/Desktop/images/16012025/23/31/image_16012025_23_31_02_210168_0000.jpg
/home/pi/Desktop/images/16012025/23/31/image_16012025_23_31_02_210168_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329854856","1329854855","1329854858","1329854852","1329854846","1329854849"],"photo_ids_order":["1329854846","1329854849","1329854852","1329854855","1329854856","1329854858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a2003a2ea036cc80830007ed181e3ca.jpg","text":"TemporaryFile(/tmp/multipartBody1765161490647272280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231859959,"filename":"image_16012025_23_31_02_210168_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49ff7cd8fc2eb8873b960cd4041baa7d.jpg","text":"TemporaryFile(/tmp/multipartBody2762026661338101754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231859959,"filename":"image_16012025_23_30_03_113786_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/75c11073d98f09646326d82af25ffd59.jpg","text":"TemporaryFile(/tmp/multipartBody1282482115033265739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231859959,"filename":"image_16012025_23_31_02_210168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f02de80c16d3154b8e733bb35f787877.jpg","text":"TemporaryFile(/tmp/multipartBody6292779619795952575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231859959,"filename":"image_16012025_23_30_03_113786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f4796a8c56e87aab8fa25c26e4fbbc95.jpg","text":"TemporaryFile(/tmp/multipartBody2691093376937118268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231859959,"filename":"image_16012025_23_30_03_113786_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0d189351871afea2534d8eb5da3a8fe3.jpg","text":"TemporaryFile(/tmp/multipartBody3977785868629725180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231859959,"filename":"image_16012025_23_30_03_113786_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329854852","file1":"1329854849","file0":"1329854846","file4":"1329854856","file5":"1329854858","file3":"1329854855"},"map_files_photo_id_array":[{"photo_id":"1329854858","filename":"file5"},{"photo_id":"1329854852","filename":"file2"},{"photo_id":"1329854856","filename":"file4"},{"photo_id":"1329854849","filename":"file1"},{"photo_id":"1329854846","filename":"file0"},{"photo_id":"1329854855","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329854856":["hashtag1","hashtag2"]},{"1329854855":["hashtag1","hashtag2"]},{"1329854858":["hashtag1","hashtag2"]},{"1329854852":["hashtag1","hashtag2"]},{"1329854846":["hashtag1","hashtag2"]},{"1329854849":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329854856, 1329854855, 1329854858, 1329854852, 1329854846, 1329854849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.36423969268799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:24:22.035160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/22/image_18012025_21_22_02_913223_0003.jpg', '/home/pi/Desktop/images/18012025/21/23/image_18012025_21_23_02_982376_0000.jpg', '/home/pi/Desktop/images/18012025/21/23/image_18012025_21_23_02_982376_0001.jpg', '/home/pi/Desktop/images/18012025/21/23/image_18012025_21_23_02_982376_0002.jpg', '/home/pi/Desktop/images/18012025/21/23/image_18012025_21_23_02_982376_0003.jpg', '/home/pi/Desktop/images/18012025/21/24/image_18012025_21_24_02_072337_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/22/image_18012025_21_22_02_913223_0003.jpg
/home/pi/Desktop/images/18012025/21/23/image_18012025_21_23_02_982376_0000.jpg
/home/pi/Desktop/images/18012025/21/23/image_18012025_21_23_02_982376_0001.jpg
/home/pi/Desktop/images/18012025/21/23/image_18012025_21_23_02_982376_0002.jpg
/home/pi/Desktop/images/18012025/21/23/image_18012025_21_23_02_982376_0003.jpg
/home/pi/Desktop/images/18012025/21/24/image_18012025_21_24_02_072337_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329854869","1329854883","1329854865","1329854904","1329854888","1329854873"],"photo_ids_order":["1329854865","1329854869","1329854873","1329854883","1329854888","1329854904"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ddada382efb6c239c59d9e14c2cea046.jpg","text":"TemporaryFile(/tmp/multipartBody7185234568960602187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231938013,"filename":"image_18012025_21_23_02_982376_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/33faf686c7867bf514953d6a8e9e2027.jpg","text":"TemporaryFile(/tmp/multipartBody9153932716980154103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231938013,"filename":"image_18012025_21_23_02_982376_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1935b3c29e12e2268b625bd27769d801.jpg","text":"TemporaryFile(/tmp/multipartBody6092685530448367818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231938013,"filename":"image_18012025_21_22_02_913223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0d475dd850d5c262480f4f0485cb3013.jpg","text":"TemporaryFile(/tmp/multipartBody1042290408936530036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231938013,"filename":"image_18012025_21_24_02_072337_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f364cd3b802e61e70e4358721f3f6ac4.jpg","text":"TemporaryFile(/tmp/multipartBody2715914208859361145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231938013,"filename":"image_18012025_21_23_02_982376_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/967ce8731fc7a1dd9e9f1f5ad3a01f91.jpg","text":"TemporaryFile(/tmp/multipartBody6323326990197057834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231938013,"filename":"image_18012025_21_23_02_982376_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329854873","file1":"1329854869","file0":"1329854865","file4":"1329854888","file5":"1329854904","file3":"1329854883"},"map_files_photo_id_array":[{"photo_id":"1329854904","filename":"file5"},{"photo_id":"1329854873","filename":"file2"},{"photo_id":"1329854888","filename":"file4"},{"photo_id":"1329854869","filename":"file1"},{"photo_id":"1329854865","filename":"file0"},{"photo_id":"1329854883","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329854869":["hashtag1","hashtag2"]},{"1329854883":["hashtag1","hashtag2"]},{"1329854865":["hashtag1","hashtag2"]},{"1329854904":["hashtag1","hashtag2"]},{"1329854888":["hashtag1","hashtag2"]},{"1329854873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329854869, 1329854883, 1329854865, 1329854904, 1329854888, 1329854873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.12076425552368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:25:22.058224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/24/image_18012025_21_24_02_072337_0001.jpg', '/home/pi/Desktop/images/18012025/21/24/image_18012025_21_24_02_072337_0002.jpg', '/home/pi/Desktop/images/18012025/21/24/image_18012025_21_24_02_072337_0003.jpg', '/home/pi/Desktop/images/18012025/21/25/image_18012025_21_25_02_304927_0000.jpg', '/home/pi/Desktop/images/18012025/21/25/image_18012025_21_25_02_304927_0001.jpg', '/home/pi/Desktop/images/18012025/21/25/image_18012025_21_25_02_304927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/24/image_18012025_21_24_02_072337_0001.jpg
/home/pi/Desktop/images/18012025/21/24/image_18012025_21_24_02_072337_0002.jpg
/home/pi/Desktop/images/18012025/21/24/image_18012025_21_24_02_072337_0003.jpg
/home/pi/Desktop/images/18012025/21/25/image_18012025_21_25_02_304927_0000.jpg
/home/pi/Desktop/images/18012025/21/25/image_18012025_21_25_02_304927_0001.jpg
/home/pi/Desktop/images/18012025/21/25/image_18012025_21_25_02_304927_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329854929","1329854923","1329854931","1329854925","1329854919","1329854927"],"photo_ids_order":["1329854919","1329854923","1329854925","1329854927","1329854929","1329854931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/35ca3a7fd9c7adae9e29387dea25eac1.jpg","text":"TemporaryFile(/tmp/multipartBody6620314145377026695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231998100,"filename":"image_18012025_21_25_02_304927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49f63a21b5af7c48afa4058ab0b5c86f.jpg","text":"TemporaryFile(/tmp/multipartBody6396771665183484048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231998100,"filename":"image_18012025_21_24_02_072337_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e01856dad19158cb95b71ee3fc0c293c.jpg","text":"TemporaryFile(/tmp/multipartBody6367890493513213091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231998100,"filename":"image_18012025_21_25_02_304927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ed3453b0cc82eb4dfd32df7ee2eb4a67.jpg","text":"TemporaryFile(/tmp/multipartBody1354911230035240745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231998100,"filename":"image_18012025_21_24_02_072337_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a04e6c46ad8c27bcd4776ae139bdff56.jpg","text":"TemporaryFile(/tmp/multipartBody615177274787897102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231998100,"filename":"image_18012025_21_24_02_072337_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/89d41a06eaf28cf84c14e65f7f7778dd.jpg","text":"TemporaryFile(/tmp/multipartBody3470204490890190058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737231998100,"filename":"image_18012025_21_25_02_304927_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329854925","file1":"1329854923","file0":"1329854919","file4":"1329854929","file5":"1329854931","file3":"1329854927"},"map_files_photo_id_array":[{"photo_id":"1329854931","filename":"file5"},{"photo_id":"1329854925","filename":"file2"},{"photo_id":"1329854929","filename":"file4"},{"photo_id":"1329854923","filename":"file1"},{"photo_id":"1329854919","filename":"file0"},{"photo_id":"1329854927","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329854929":["hashtag1","hashtag2"]},{"1329854923":["hashtag1","hashtag2"]},{"1329854931":["hashtag1","hashtag2"]},{"1329854925":["hashtag1","hashtag2"]},{"1329854919":["hashtag1","hashtag2"]},{"1329854927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329854929, 1329854923, 1329854931, 1329854925, 1329854919, 1329854927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.0943558216095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:26:22.335593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/25/image_18012025_21_25_02_304927_0003.jpg', '/home/pi/Desktop/images/18012025/21/26/image_18012025_21_26_02_480546_0000.jpg', '/home/pi/Desktop/images/18012025/21/26/image_18012025_21_26_02_480546_0001.jpg', '/home/pi/Desktop/images/18012025/21/26/image_18012025_21_26_02_480546_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/25/image_18012025_21_25_02_304927_0003.jpg
/home/pi/Desktop/images/18012025/21/26/image_18012025_21_26_02_480546_0000.jpg
/home/pi/Desktop/images/18012025/21/26/image_18012025_21_26_02_480546_0001.jpg
/home/pi/Desktop/images/18012025/21/26/image_18012025_21_26_02_480546_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329855318","1329855204","1329855295","1329855128"],"photo_ids_order":["1329855128","1329855204","1329855295","1329855318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65312fb9a20e7d5057554bdab4cdf9ec.jpg","text":"TemporaryFile(/tmp/multipartBody6693879437783243689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232052820,"filename":"image_18012025_21_26_02_480546_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7eab23228da9255a32e9dcbdff425022.jpg","text":"TemporaryFile(/tmp/multipartBody2321058241038231922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232052820,"filename":"image_18012025_21_26_02_480546_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eee9cc0ec38ff60f3dc6ede56cae632d.jpg","text":"TemporaryFile(/tmp/multipartBody2652121821621569108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232052820,"filename":"image_18012025_21_26_02_480546_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd66cf92e215e8078dd2d6c1f6a5a2be.jpg","text":"TemporaryFile(/tmp/multipartBody2323400801794096960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232052820,"filename":"image_18012025_21_25_02_304927_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329855295","file1":"1329855204","file0":"1329855128","file3":"1329855318"},"map_files_photo_id_array":[{"photo_id":"1329855295","filename":"file2"},{"photo_id":"1329855204","filename":"file1"},{"photo_id":"1329855128","filename":"file0"},{"photo_id":"1329855318","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329855318":["hashtag1","hashtag2"]},{"1329855204":["hashtag1","hashtag2"]},{"1329855295":["hashtag1","hashtag2"]},{"1329855128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329855318, 1329855204, 1329855295, 1329855128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.491400957107544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:27:22.467739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/26/image_18012025_21_26_02_480546_0003.jpg', '/home/pi/Desktop/images/18012025/21/27/image_18012025_21_27_02_696430_0000.jpg', '/home/pi/Desktop/images/18012025/21/27/image_18012025_21_27_02_696430_0001.jpg', '/home/pi/Desktop/images/18012025/21/27/image_18012025_21_27_02_696430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/26/image_18012025_21_26_02_480546_0003.jpg
/home/pi/Desktop/images/18012025/21/27/image_18012025_21_27_02_696430_0000.jpg
/home/pi/Desktop/images/18012025/21/27/image_18012025_21_27_02_696430_0001.jpg
/home/pi/Desktop/images/18012025/21/27/image_18012025_21_27_02_696430_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329855396","1329855402","1329855404","1329855388"],"photo_ids_order":["1329855388","1329855396","1329855402","1329855404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f679224afe55c4ba9043a20910bd47c2.jpg","text":"TemporaryFile(/tmp/multipartBody5936786213472817167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232112950,"filename":"image_18012025_21_27_02_696430_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08ad6e4a1e2d418a55e0823acd1fb523.jpg","text":"TemporaryFile(/tmp/multipartBody5830555410776670590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232112950,"filename":"image_18012025_21_27_02_696430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/279d4ef83b90dd16a8ca3093301ec988.jpg","text":"TemporaryFile(/tmp/multipartBody5800032436301950478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232112950,"filename":"image_18012025_21_27_02_696430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a0fc589ae1cfe771eefb936b8f954fec.jpg","text":"TemporaryFile(/tmp/multipartBody305742887286814133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232112950,"filename":"image_18012025_21_26_02_480546_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329855402","file1":"1329855396","file0":"1329855388","file3":"1329855404"},"map_files_photo_id_array":[{"photo_id":"1329855402","filename":"file2"},{"photo_id":"1329855396","filename":"file1"},{"photo_id":"1329855388","filename":"file0"},{"photo_id":"1329855404","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329855396":["hashtag1","hashtag2"]},{"1329855402":["hashtag1","hashtag2"]},{"1329855404":["hashtag1","hashtag2"]},{"1329855388":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329855396, 1329855402, 1329855404, 1329855388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.93453550338745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:28:03.094557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/31/image_16012025_23_31_02_210168_0002.jpg', '/home/pi/Desktop/images/16012025/23/31/image_16012025_23_31_02_210168_0003.jpg', '/home/pi/Desktop/images/16012025/23/32/image_16012025_23_32_02_376446_0000.jpg', '/home/pi/Desktop/images/16012025/23/32/image_16012025_23_32_02_376446_0001.jpg', '/home/pi/Desktop/images/16012025/23/32/image_16012025_23_32_02_376446_0002.jpg', '/home/pi/Desktop/images/16012025/23/32/image_16012025_23_32_02_376446_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/31/image_16012025_23_31_02_210168_0002.jpg
/home/pi/Desktop/images/16012025/23/31/image_16012025_23_31_02_210168_0003.jpg
/home/pi/Desktop/images/16012025/23/32/image_16012025_23_32_02_376446_0000.jpg
/home/pi/Desktop/images/16012025/23/32/image_16012025_23_32_02_376446_0001.jpg
/home/pi/Desktop/images/16012025/23/32/image_16012025_23_32_02_376446_0002.jpg
/home/pi/Desktop/images/16012025/23/32/image_16012025_23_32_02_376446_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329855442","1329855445","1329855461","1329855408","1329855464","1329855419"],"photo_ids_order":["1329855408","1329855419","1329855442","1329855445","1329855461","1329855464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/793d95c4b65ec1104961f9eba470a658.jpg","text":"TemporaryFile(/tmp/multipartBody2110021091095721755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232160953,"filename":"image_16012025_23_32_02_376446_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b0281b6980a1861b941a2e2c5ae548ad.jpg","text":"TemporaryFile(/tmp/multipartBody4933475427879714660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232160953,"filename":"image_16012025_23_32_02_376446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/64f5d9bd96bd43fd7b02084091b4034c.jpg","text":"TemporaryFile(/tmp/multipartBody3189279716010019721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232160953,"filename":"image_16012025_23_32_02_376446_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a90f7889adafe491679fcb5d8bc73e1d.jpg","text":"TemporaryFile(/tmp/multipartBody8260601358276577100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232160953,"filename":"image_16012025_23_31_02_210168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e63e9f50c53c39c703466fddc2c132a.jpg","text":"TemporaryFile(/tmp/multipartBody2141940050090165859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232160953,"filename":"image_16012025_23_32_02_376446_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b4c084c04afaafa52798c06577ea3b7.jpg","text":"TemporaryFile(/tmp/multipartBody3333956413371099506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232160953,"filename":"image_16012025_23_31_02_210168_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329855442","file1":"1329855419","file0":"1329855408","file4":"1329855461","file5":"1329855464","file3":"1329855445"},"map_files_photo_id_array":[{"photo_id":"1329855464","filename":"file5"},{"photo_id":"1329855442","filename":"file2"},{"photo_id":"1329855461","filename":"file4"},{"photo_id":"1329855419","filename":"file1"},{"photo_id":"1329855408","filename":"file0"},{"photo_id":"1329855445","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329855442":["hashtag1","hashtag2"]},{"1329855445":["hashtag1","hashtag2"]},{"1329855461":["hashtag1","hashtag2"]},{"1329855408":["hashtag1","hashtag2"]},{"1329855464":["hashtag1","hashtag2"]},{"1329855419":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329855442, 1329855445, 1329855461, 1329855408, 1329855464, 1329855419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.55672311782837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:29:21.900894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/27/image_18012025_21_27_02_696430_0003.jpg', '/home/pi/Desktop/images/18012025/21/28/image_18012025_21_28_02_874626_0000.jpg', '/home/pi/Desktop/images/18012025/21/28/image_18012025_21_28_02_874626_0001.jpg', '/home/pi/Desktop/images/18012025/21/28/image_18012025_21_28_02_874626_0002.jpg', '/home/pi/Desktop/images/18012025/21/28/image_18012025_21_28_02_874626_0003.jpg', '/home/pi/Desktop/images/18012025/21/29/image_18012025_21_29_03_112183_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/27/image_18012025_21_27_02_696430_0003.jpg
/home/pi/Desktop/images/18012025/21/28/image_18012025_21_28_02_874626_0000.jpg
/home/pi/Desktop/images/18012025/21/28/image_18012025_21_28_02_874626_0001.jpg
/home/pi/Desktop/images/18012025/21/28/image_18012025_21_28_02_874626_0002.jpg
/home/pi/Desktop/images/18012025/21/28/image_18012025_21_28_02_874626_0003.jpg
/home/pi/Desktop/images/18012025/21/29/image_18012025_21_29_03_112183_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329855484","1329855486","1329855480","1329855488","1329855482","1329855490"],"photo_ids_order":["1329855480","1329855482","1329855484","1329855486","1329855488","1329855490"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b1217947156a00c9e959bc277c08afd.jpg","text":"TemporaryFile(/tmp/multipartBody8965113453585340207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232238041,"filename":"image_18012025_21_28_02_874626_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd1495f98ed71af502530ad2ac8ffb56.jpg","text":"TemporaryFile(/tmp/multipartBody5998375287885868111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232238041,"filename":"image_18012025_21_28_02_874626_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c666ff906cbe4df813c3297f71058879.jpg","text":"TemporaryFile(/tmp/multipartBody4123286307203520130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232238041,"filename":"image_18012025_21_27_02_696430_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84f593a8926a532c126967ae3b462a71.jpg","text":"TemporaryFile(/tmp/multipartBody1120033889684627886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232238041,"filename":"image_18012025_21_28_02_874626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f12cc698a11bbd4bc02aeafa1c7403d.jpg","text":"TemporaryFile(/tmp/multipartBody1252398521885852047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232238041,"filename":"image_18012025_21_28_02_874626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/23fc176b00dc73ced046796249a38984.jpg","text":"TemporaryFile(/tmp/multipartBody8680548353996358056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232238041,"filename":"image_18012025_21_29_03_112183_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329855484","file1":"1329855482","file0":"1329855480","file4":"1329855488","file5":"1329855490","file3":"1329855486"},"map_files_photo_id_array":[{"photo_id":"1329855490","filename":"file5"},{"photo_id":"1329855484","filename":"file2"},{"photo_id":"1329855488","filename":"file4"},{"photo_id":"1329855482","filename":"file1"},{"photo_id":"1329855480","filename":"file0"},{"photo_id":"1329855486","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329855484":["hashtag1","hashtag2"]},{"1329855486":["hashtag1","hashtag2"]},{"1329855480":["hashtag1","hashtag2"]},{"1329855488":["hashtag1","hashtag2"]},{"1329855482":["hashtag1","hashtag2"]},{"1329855490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329855484, 1329855486, 1329855480, 1329855488, 1329855482, 1329855490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.18355703353882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:30:22.193055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/29/image_18012025_21_29_03_112183_0001.jpg', '/home/pi/Desktop/images/18012025/21/29/image_18012025_21_29_03_112183_0002.jpg', '/home/pi/Desktop/images/18012025/21/29/image_18012025_21_29_03_112183_0003.jpg', '/home/pi/Desktop/images/18012025/21/30/image_18012025_21_30_02_318408_0000.jpg', '/home/pi/Desktop/images/18012025/21/30/image_18012025_21_30_02_318408_0001.jpg', '/home/pi/Desktop/images/18012025/21/30/image_18012025_21_30_02_318408_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/29/image_18012025_21_29_03_112183_0001.jpg
/home/pi/Desktop/images/18012025/21/29/image_18012025_21_29_03_112183_0002.jpg
/home/pi/Desktop/images/18012025/21/29/image_18012025_21_29_03_112183_0003.jpg
/home/pi/Desktop/images/18012025/21/30/image_18012025_21_30_02_318408_0000.jpg
/home/pi/Desktop/images/18012025/21/30/image_18012025_21_30_02_318408_0001.jpg
/home/pi/Desktop/images/18012025/21/30/image_18012025_21_30_02_318408_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329855520","1329855522","1329855516","1329855525","1329855536","1329855518"],"photo_ids_order":["1329855516","1329855518","1329855520","1329855522","1329855525","1329855536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d835be8c6f6bae84303141acdfd71615.jpg","text":"TemporaryFile(/tmp/multipartBody211228123558428857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232298238,"filename":"image_18012025_21_29_03_112183_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a6bc372d176e8e9f33e0ab0714f0c83.jpg","text":"TemporaryFile(/tmp/multipartBody5916344415084815008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232298238,"filename":"image_18012025_21_30_02_318408_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ca90fb58a8ddc7d658b489cc34896e1.jpg","text":"TemporaryFile(/tmp/multipartBody8844004737771459438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232298238,"filename":"image_18012025_21_29_03_112183_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9f00c34aa406ba58bd1930fab889bf68.jpg","text":"TemporaryFile(/tmp/multipartBody4929716991678152424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232298238,"filename":"image_18012025_21_30_02_318408_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08be8e70880ae62af3976335eecbda62.jpg","text":"TemporaryFile(/tmp/multipartBody7760230498536191183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232298238,"filename":"image_18012025_21_30_02_318408_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5fd0f446dbd99923a4a29db50f9f0102.jpg","text":"TemporaryFile(/tmp/multipartBody4282687087166898004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232298238,"filename":"image_18012025_21_29_03_112183_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329855520","file1":"1329855518","file0":"1329855516","file4":"1329855525","file5":"1329855536","file3":"1329855522"},"map_files_photo_id_array":[{"photo_id":"1329855536","filename":"file5"},{"photo_id":"1329855520","filename":"file2"},{"photo_id":"1329855525","filename":"file4"},{"photo_id":"1329855518","filename":"file1"},{"photo_id":"1329855516","filename":"file0"},{"photo_id":"1329855522","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329855520":["hashtag1","hashtag2"]},{"1329855522":["hashtag1","hashtag2"]},{"1329855516":["hashtag1","hashtag2"]},{"1329855525":["hashtag1","hashtag2"]},{"1329855536":["hashtag1","hashtag2"]},{"1329855518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329855520, 1329855522, 1329855516, 1329855525, 1329855536, 1329855518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.9983172416687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:31:32.300293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/30/image_18012025_21_30_02_318408_0003.jpg', '/home/pi/Desktop/images/18012025/21/31/image_18012025_21_31_02_558114_0000.jpg', '/home/pi/Desktop/images/18012025/21/31/image_18012025_21_31_02_558114_0001.jpg', '/home/pi/Desktop/images/18012025/21/31/image_18012025_21_31_02_558114_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/30/image_18012025_21_30_02_318408_0003.jpg
/home/pi/Desktop/images/18012025/21/31/image_18012025_21_31_02_558114_0000.jpg
/home/pi/Desktop/images/18012025/21/31/image_18012025_21_31_02_558114_0001.jpg
/home/pi/Desktop/images/18012025/21/31/image_18012025_21_31_02_558114_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329855544","1329855564","1329855546","1329855548"],"photo_ids_order":["1329855544","1329855546","1329855548","1329855564"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c0fe43b40f48078f52d5ae7c4be6e0e.jpg","text":"TemporaryFile(/tmp/multipartBody24636333823048085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232363211,"filename":"image_18012025_21_30_02_318408_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b8db49955a826385758727cdf62685ac.jpg","text":"TemporaryFile(/tmp/multipartBody6870798209808411595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232363211,"filename":"image_18012025_21_31_02_558114_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c7bc35391e3fa7901f23b35be31feb6f.jpg","text":"TemporaryFile(/tmp/multipartBody7426754705204534612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232363211,"filename":"image_18012025_21_31_02_558114_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ff785e8c7ac04933ef30fe30eaec1d19.jpg","text":"TemporaryFile(/tmp/multipartBody2945881594596089810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232363211,"filename":"image_18012025_21_31_02_558114_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329855548","file1":"1329855546","file0":"1329855544","file3":"1329855564"},"map_files_photo_id_array":[{"photo_id":"1329855548","filename":"file2"},{"photo_id":"1329855546","filename":"file1"},{"photo_id":"1329855544","filename":"file0"},{"photo_id":"1329855564","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329855544":["hashtag1","hashtag2"]},{"1329855564":["hashtag1","hashtag2"]},{"1329855546":["hashtag1","hashtag2"]},{"1329855548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329855544, 1329855564, 1329855546, 1329855548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.17571806907654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:32:22.556609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/31/image_18012025_21_31_02_558114_0003.jpg', '/home/pi/Desktop/images/18012025/21/32/image_18012025_21_32_02_672391_0000.jpg', '/home/pi/Desktop/images/18012025/21/32/image_18012025_21_32_02_672391_0001.jpg', '/home/pi/Desktop/images/18012025/21/32/image_18012025_21_32_02_672391_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/31/image_18012025_21_31_02_558114_0003.jpg
/home/pi/Desktop/images/18012025/21/32/image_18012025_21_32_02_672391_0000.jpg
/home/pi/Desktop/images/18012025/21/32/image_18012025_21_32_02_672391_0001.jpg
/home/pi/Desktop/images/18012025/21/32/image_18012025_21_32_02_672391_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329855760","1329855690","1329855726","1329855719"],"photo_ids_order":["1329855690","1329855719","1329855726","1329855760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d564f2a582a99eabefe669c9ff9fc913.jpg","text":"TemporaryFile(/tmp/multipartBody1407692447792117486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232413531,"filename":"image_18012025_21_32_02_672391_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ab58e9a5ebbe305089488177207aa5f.jpg","text":"TemporaryFile(/tmp/multipartBody6825731536893955139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232413531,"filename":"image_18012025_21_31_02_558114_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb1c3917218c5b2265362c9043cb36c0.jpg","text":"TemporaryFile(/tmp/multipartBody8939918093452468696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232413531,"filename":"image_18012025_21_32_02_672391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f3e2efed8225e2f93db4cae491a23fb0.jpg","text":"TemporaryFile(/tmp/multipartBody5535139250527160189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232413531,"filename":"image_18012025_21_32_02_672391_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329855726","file1":"1329855719","file0":"1329855690","file3":"1329855760"},"map_files_photo_id_array":[{"photo_id":"1329855726","filename":"file2"},{"photo_id":"1329855719","filename":"file1"},{"photo_id":"1329855690","filename":"file0"},{"photo_id":"1329855760","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329855760":["hashtag1","hashtag2"]},{"1329855690":["hashtag1","hashtag2"]},{"1329855726":["hashtag1","hashtag2"]},{"1329855719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329855760, 1329855690, 1329855726, 1329855719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.05852961540222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:33:22.777709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/32/image_18012025_21_32_02_672391_0003.jpg', '/home/pi/Desktop/images/18012025/21/33/image_18012025_21_33_02_885508_0000.jpg', '/home/pi/Desktop/images/18012025/21/33/image_18012025_21_33_02_885508_0001.jpg', '/home/pi/Desktop/images/18012025/21/33/image_18012025_21_33_02_885508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/32/image_18012025_21_32_02_672391_0003.jpg
/home/pi/Desktop/images/18012025/21/33/image_18012025_21_33_02_885508_0000.jpg
/home/pi/Desktop/images/18012025/21/33/image_18012025_21_33_02_885508_0001.jpg
/home/pi/Desktop/images/18012025/21/33/image_18012025_21_33_02_885508_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329855780","1329855837","1329855834","1329855839"],"photo_ids_order":["1329855780","1329855834","1329855837","1329855839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48f76aac1b3000d12cf0ef83d076b8d2.jpg","text":"TemporaryFile(/tmp/multipartBody2095516626839973263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232474140,"filename":"image_18012025_21_32_02_672391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/750591ec318b034919d91924e4ee5eb8.jpg","text":"TemporaryFile(/tmp/multipartBody2170336902432392707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232474140,"filename":"image_18012025_21_33_02_885508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/72d8f8c0cc29fc79c18b73a24a2cf381.jpg","text":"TemporaryFile(/tmp/multipartBody326830419863518515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232474140,"filename":"image_18012025_21_33_02_885508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f5ebeb7dc890b19fb55fc8f4cbfe0437.jpg","text":"TemporaryFile(/tmp/multipartBody6362469541871250343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232474140,"filename":"image_18012025_21_33_02_885508_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329855837","file1":"1329855834","file0":"1329855780","file3":"1329855839"},"map_files_photo_id_array":[{"photo_id":"1329855837","filename":"file2"},{"photo_id":"1329855834","filename":"file1"},{"photo_id":"1329855780","filename":"file0"},{"photo_id":"1329855839","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329855780":["hashtag1","hashtag2"]},{"1329855837":["hashtag1","hashtag2"]},{"1329855834":["hashtag1","hashtag2"]},{"1329855839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329855780, 1329855837, 1329855834, 1329855839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.03238081932068 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:34:21.931671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/33/image_18012025_21_33_02_885508_0003.jpg', '/home/pi/Desktop/images/18012025/21/34/image_18012025_21_34_03_042862_0000.jpg', '/home/pi/Desktop/images/18012025/21/34/image_18012025_21_34_03_042862_0001.jpg', '/home/pi/Desktop/images/18012025/21/34/image_18012025_21_34_03_042862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/33/image_18012025_21_33_02_885508_0003.jpg
/home/pi/Desktop/images/18012025/21/34/image_18012025_21_34_03_042862_0000.jpg
/home/pi/Desktop/images/18012025/21/34/image_18012025_21_34_03_042862_0001.jpg
/home/pi/Desktop/images/18012025/21/34/image_18012025_21_34_03_042862_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329855940","1329855957","1329855924","1329855854"],"photo_ids_order":["1329855854","1329855924","1329855940","1329855957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b8b8d6c0cb6e5ea766f3fddf7fa3514.jpg","text":"TemporaryFile(/tmp/multipartBody159254196686483478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232533064,"filename":"image_18012025_21_34_03_042862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96dfe45f4bf9a1a0037f2b5aaff08852.jpg","text":"TemporaryFile(/tmp/multipartBody4201640221607273881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232533064,"filename":"image_18012025_21_34_03_042862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6473ca627660d25d7ff437c737223f3c.jpg","text":"TemporaryFile(/tmp/multipartBody8633705127939465953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232533064,"filename":"image_18012025_21_34_03_042862_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2577a7a31c60e1b30099767ff52a5ab2.jpg","text":"TemporaryFile(/tmp/multipartBody5787694691514708474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232533064,"filename":"image_18012025_21_33_02_885508_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329855940","file1":"1329855924","file0":"1329855854","file3":"1329855957"},"map_files_photo_id_array":[{"photo_id":"1329855940","filename":"file2"},{"photo_id":"1329855924","filename":"file1"},{"photo_id":"1329855854","filename":"file0"},{"photo_id":"1329855957","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329855940":["hashtag1","hashtag2"]},{"1329855957":["hashtag1","hashtag2"]},{"1329855924":["hashtag1","hashtag2"]},{"1329855854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329855940, 1329855957, 1329855924, 1329855854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.23024129867554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:35:22.075987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/34/image_18012025_21_34_03_042862_0003.jpg', '/home/pi/Desktop/images/18012025/21/35/image_18012025_21_35_02_229172_0000.jpg', '/home/pi/Desktop/images/18012025/21/35/image_18012025_21_35_02_229172_0001.jpg', '/home/pi/Desktop/images/18012025/21/35/image_18012025_21_35_02_229172_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/34/image_18012025_21_34_03_042862_0003.jpg
/home/pi/Desktop/images/18012025/21/35/image_18012025_21_35_02_229172_0000.jpg
/home/pi/Desktop/images/18012025/21/35/image_18012025_21_35_02_229172_0001.jpg
/home/pi/Desktop/images/18012025/21/35/image_18012025_21_35_02_229172_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329855966","1329855969","1329855963","1329855971"],"photo_ids_order":["1329855963","1329855966","1329855969","1329855971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f41441ff77b887904465b9e8bd0f1dbd.jpg","text":"TemporaryFile(/tmp/multipartBody7507570901568635640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232593127,"filename":"image_18012025_21_35_02_229172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/31ed1ec1e6063ffbfadebdcb43b51131.jpg","text":"TemporaryFile(/tmp/multipartBody7424072633838429499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232593127,"filename":"image_18012025_21_35_02_229172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3e4e6afe025ead9474c67e5a0b9bccde.jpg","text":"TemporaryFile(/tmp/multipartBody1074856639068670960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232593127,"filename":"image_18012025_21_34_03_042862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/42c42ef415e746cde7dd1db65dfa9ed7.jpg","text":"TemporaryFile(/tmp/multipartBody5970212922185676926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232593127,"filename":"image_18012025_21_35_02_229172_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329855969","file1":"1329855966","file0":"1329855963","file3":"1329855971"},"map_files_photo_id_array":[{"photo_id":"1329855969","filename":"file2"},{"photo_id":"1329855966","filename":"file1"},{"photo_id":"1329855963","filename":"file0"},{"photo_id":"1329855971","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329855966":["hashtag1","hashtag2"]},{"1329855969":["hashtag1","hashtag2"]},{"1329855963":["hashtag1","hashtag2"]},{"1329855971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329855966, 1329855969, 1329855963, 1329855971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12336564064026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:36:02.695365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/33/image_16012025_23_33_02_553143_0000.jpg', '/home/pi/Desktop/images/16012025/23/33/image_16012025_23_33_02_553143_0001.jpg', '/home/pi/Desktop/images/16012025/23/33/image_16012025_23_33_02_553143_0002.jpg', '/home/pi/Desktop/images/16012025/23/33/image_16012025_23_33_02_553143_0003.jpg', '/home/pi/Desktop/images/16012025/23/34/image_16012025_23_34_02_709933_0000.jpg', '/home/pi/Desktop/images/16012025/23/34/image_16012025_23_34_02_709933_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/33/image_16012025_23_33_02_553143_0000.jpg
/home/pi/Desktop/images/16012025/23/33/image_16012025_23_33_02_553143_0001.jpg
/home/pi/Desktop/images/16012025/23/33/image_16012025_23_33_02_553143_0002.jpg
/home/pi/Desktop/images/16012025/23/33/image_16012025_23_33_02_553143_0003.jpg
/home/pi/Desktop/images/16012025/23/34/image_16012025_23_34_02_709933_0000.jpg
/home/pi/Desktop/images/16012025/23/34/image_16012025_23_34_02_709933_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":["1329856065","1329856003","1329855993","1329855996","1329856008","1329856045"],"photo_ids_order":["1329855993","1329855996","1329856003","1329856008","1329856045","1329856065"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6fd37331ffa97f67d6e5385d23085a9b.jpg","text":"TemporaryFile(/tmp/multipartBody6669462367242804204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232640552,"filename":"image_16012025_23_34_02_709933_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54436cb6c7caedc60f78b2a978b5a8a3.jpg","text":"TemporaryFile(/tmp/multipartBody5158727356452478146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232640552,"filename":"image_16012025_23_33_02_553143_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08a6b3c5f8006251e14dade414687e6e.jpg","text":"TemporaryFile(/tmp/multipartBody6398783069512194537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232640552,"filename":"image_16012025_23_33_02_553143_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d580d3933037a8d94e2a57b41b7b9c87.jpg","text":"TemporaryFile(/tmp/multipartBody3033257293424103437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232640552,"filename":"image_16012025_23_33_02_553143_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/939d7c6136651f58765a0b1fcd3fdcfa.jpg","text":"TemporaryFile(/tmp/multipartBody1054577321990994951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232640552,"filename":"image_16012025_23_33_02_553143_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b871b85ea8b058619810dda9a6a2bce2.jpg","text":"TemporaryFile(/tmp/multipartBody4805725972208458349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232640552,"filename":"image_16012025_23_34_02_709933_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329856003","file1":"1329855996","file0":"1329855993","file4":"1329856045","file5":"1329856065","file3":"1329856008"},"map_files_photo_id_array":[{"photo_id":"1329856065","filename":"file5"},{"photo_id":"1329856003","filename":"file2"},{"photo_id":"1329856045","filename":"file4"},{"photo_id":"1329855996","filename":"file1"},{"photo_id":"1329855993","filename":"file0"},{"photo_id":"1329856008","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329856065":["hashtag1","hashtag2"]},{"1329856003":["hashtag1","hashtag2"]},{"1329855993":["hashtag1","hashtag2"]},{"1329855996":["hashtag1","hashtag2"]},{"1329856008":["hashtag1","hashtag2"]},{"1329856045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329856065, 1329856003, 1329855993, 1329855996, 1329856008, 1329856045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.035035371780396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:37:03.141076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/35/image_18012025_21_35_02_229172_0003.jpg', '/home/pi/Desktop/images/18012025/21/36/image_18012025_21_36_02_414356_0000.jpg', '/home/pi/Desktop/images/18012025/21/36/image_18012025_21_36_02_414356_0001.jpg', '/home/pi/Desktop/images/18012025/21/36/image_18012025_21_36_02_414356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/35/image_18012025_21_35_02_229172_0003.jpg
/home/pi/Desktop/images/18012025/21/36/image_18012025_21_36_02_414356_0000.jpg
/home/pi/Desktop/images/18012025/21/36/image_18012025_21_36_02_414356_0001.jpg
/home/pi/Desktop/images/18012025/21/36/image_18012025_21_36_02_414356_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329856120","1329856114","1329856101","1329856220"],"photo_ids_order":["1329856101","1329856114","1329856120","1329856220"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74d131e73a48b56266973284237d79cb.jpg","text":"TemporaryFile(/tmp/multipartBody1205198802302362596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232694502,"filename":"image_18012025_21_36_02_414356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ac583638abb4111d7bef5c6eec96eb4.jpg","text":"TemporaryFile(/tmp/multipartBody2974136071617111041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232694502,"filename":"image_18012025_21_36_02_414356_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ecd4e6619d75dd7deb8f1b76a39a9b57.jpg","text":"TemporaryFile(/tmp/multipartBody1397297963109115073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232694502,"filename":"image_18012025_21_35_02_229172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/47b6fa5d8854b8b6308c2357642d63b5.jpg","text":"TemporaryFile(/tmp/multipartBody4307192515038174487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232694502,"filename":"image_18012025_21_36_02_414356_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329856120","file1":"1329856114","file0":"1329856101","file3":"1329856220"},"map_files_photo_id_array":[{"photo_id":"1329856120","filename":"file2"},{"photo_id":"1329856114","filename":"file1"},{"photo_id":"1329856101","filename":"file0"},{"photo_id":"1329856220","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329856120":["hashtag1","hashtag2"]},{"1329856114":["hashtag1","hashtag2"]},{"1329856101":["hashtag1","hashtag2"]},{"1329856220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329856120, 1329856114, 1329856101, 1329856220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81755018234253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:37:52.543821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/36/image_18012025_21_36_02_414356_0003.jpg', '/home/pi/Desktop/images/18012025/21/37/image_18012025_21_37_02_597771_0000.jpg', '/home/pi/Desktop/images/18012025/21/37/image_18012025_21_37_02_597771_0001.jpg', '/home/pi/Desktop/images/18012025/21/37/image_18012025_21_37_02_597771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/36/image_18012025_21_36_02_414356_0003.jpg
/home/pi/Desktop/images/18012025/21/37/image_18012025_21_37_02_597771_0000.jpg
/home/pi/Desktop/images/18012025/21/37/image_18012025_21_37_02_597771_0001.jpg
/home/pi/Desktop/images/18012025/21/37/image_18012025_21_37_02_597771_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329857721","1329857061","1329857420","1329857722"],"photo_ids_order":["1329857061","1329857420","1329857721","1329857722"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f9b24cd0ba04abcc60ecb3d379a2a846.jpg","text":"TemporaryFile(/tmp/multipartBody4766477652121159028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232743527,"filename":"image_18012025_21_37_02_597771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/df4271e3a71f86ee3b24cb7c3a37e5cd.jpg","text":"TemporaryFile(/tmp/multipartBody2460042983869387718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232743527,"filename":"image_18012025_21_36_02_414356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/708aad3b84fda85357087eee7fb6af69.jpg","text":"TemporaryFile(/tmp/multipartBody3558112218925680349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232743527,"filename":"image_18012025_21_37_02_597771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48ffbecb7e16b126c11eac4dc4e03df0.jpg","text":"TemporaryFile(/tmp/multipartBody4491251391355025495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232743527,"filename":"image_18012025_21_37_02_597771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329857721","file1":"1329857420","file0":"1329857061","file3":"1329857722"},"map_files_photo_id_array":[{"photo_id":"1329857721","filename":"file2"},{"photo_id":"1329857420","filename":"file1"},{"photo_id":"1329857061","filename":"file0"},{"photo_id":"1329857722","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329857721":["hashtag1","hashtag2"]},{"1329857061":["hashtag1","hashtag2"]},{"1329857420":["hashtag1","hashtag2"]},{"1329857722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329857721, 1329857061, 1329857420, 1329857722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.45487856864929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:38:32.733135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/37/image_18012025_21_37_02_597771_0003.jpg', '/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0000.jpg', '/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0001.jpg', '/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/37/image_18012025_21_37_02_597771_0003.jpg
/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0000.jpg
/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0001.jpg
/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_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.850475311279297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:38:52.725670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/37/image_18012025_21_37_02_597771_0003.jpg', '/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0000.jpg', '/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0001.jpg', '/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/37/image_18012025_21_37_02_597771_0003.jpg
/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0000.jpg
/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0001.jpg
/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329857814","1329857810","1329857813","1329857812"],"photo_ids_order":["1329857810","1329857812","1329857813","1329857814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce08ccf04e4a96270f4a526196669434.jpg","text":"TemporaryFile(/tmp/multipartBody2669197265211110373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232802988,"filename":"image_18012025_21_38_02_861904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3789f9ff1eca74507becbda93633fcb6.jpg","text":"TemporaryFile(/tmp/multipartBody7846582941579081493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232802988,"filename":"image_18012025_21_37_02_597771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da2b6238519c9d4c1d4e92650171b283.jpg","text":"TemporaryFile(/tmp/multipartBody2451466565480809495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232802988,"filename":"image_18012025_21_38_02_861904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/30a9c9ed8c1dc91ea8cd9a68c326ad64.jpg","text":"TemporaryFile(/tmp/multipartBody5987152392901356711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232802988,"filename":"image_18012025_21_38_02_861904_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329857813","file1":"1329857812","file0":"1329857810","file3":"1329857814"},"map_files_photo_id_array":[{"photo_id":"1329857813","filename":"file2"},{"photo_id":"1329857812","filename":"file1"},{"photo_id":"1329857810","filename":"file0"},{"photo_id":"1329857814","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329857814":["hashtag1","hashtag2"]},{"1329857810":["hashtag1","hashtag2"]},{"1329857813":["hashtag1","hashtag2"]},{"1329857812":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329857814, 1329857810, 1329857813, 1329857812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49335861206055 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-18 21:39:42.041024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0003.jpg', '/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0000.jpg', '/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0001.jpg', '/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0003.jpg
/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0000.jpg
/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0001.jpg
/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.371276378631592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:40:02.633800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0003.jpg', '/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0000.jpg', '/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0001.jpg', '/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/38/image_18012025_21_38_02_861904_0003.jpg
/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0000.jpg
/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0001.jpg
/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329857990","1329858440","1329858503","1329858384"],"photo_ids_order":["1329857990","1329858384","1329858440","1329858503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f5e4edd81539eb1689dd5077cc5dbc6.jpg","text":"TemporaryFile(/tmp/multipartBody995486750705145316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232873426,"filename":"image_18012025_21_38_02_861904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/295dfaca175576fecd205722591e3e87.jpg","text":"TemporaryFile(/tmp/multipartBody4967245711644612076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232873426,"filename":"image_18012025_21_39_03_105167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/94591d697200b1c92674f2ee061581d8.jpg","text":"TemporaryFile(/tmp/multipartBody802316315275813533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232873426,"filename":"image_18012025_21_39_03_105167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a54efc2a4639e5d12ef3fabcea3120b8.jpg","text":"TemporaryFile(/tmp/multipartBody1870331990510121155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232873426,"filename":"image_18012025_21_39_03_105167_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329858440","file1":"1329858384","file0":"1329857990","file3":"1329858503"},"map_files_photo_id_array":[{"photo_id":"1329858440","filename":"file2"},{"photo_id":"1329858384","filename":"file1"},{"photo_id":"1329857990","filename":"file0"},{"photo_id":"1329858503","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329857990":["hashtag1","hashtag2"]},{"1329858440":["hashtag1","hashtag2"]},{"1329858503":["hashtag1","hashtag2"]},{"1329858384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329857990, 1329858440, 1329858503, 1329858384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.07195734977722 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 21:40:42.081970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0003.jpg', '/home/pi/Desktop/images/18012025/21/40/image_18012025_21_40_02_296582_0000.jpg', '/home/pi/Desktop/images/18012025/21/40/image_18012025_21_40_02_296582_0001.jpg', '/home/pi/Desktop/images/18012025/21/40/image_18012025_21_40_02_296582_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/39/image_18012025_21_39_03_105167_0003.jpg
/home/pi/Desktop/images/18012025/21/40/image_18012025_21_40_02_296582_0000.jpg
/home/pi/Desktop/images/18012025/21/40/image_18012025_21_40_02_296582_0001.jpg
/home/pi/Desktop/images/18012025/21/40/image_18012025_21_40_02_296582_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329858575","1329858655","1329858612","1329858543"],"photo_ids_order":["1329858543","1329858575","1329858612","1329858655"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/abc4c9616ce1623f8c9f5709debb9d5f.jpg","text":"TemporaryFile(/tmp/multipartBody8892890853115143134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232913129,"filename":"image_18012025_21_40_02_296582_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eadb95062a887b2baec46077dc993540.jpg","text":"TemporaryFile(/tmp/multipartBody5607904604961240641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232913129,"filename":"image_18012025_21_40_02_296582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b4998c52c18e903615c071f253b05d5.jpg","text":"TemporaryFile(/tmp/multipartBody4622309877910469446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232913129,"filename":"image_18012025_21_40_02_296582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bfed12cee45d4a75e4c9f2fb7d10da8a.jpg","text":"TemporaryFile(/tmp/multipartBody8897364854030580382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232913129,"filename":"image_18012025_21_39_03_105167_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329858612","file1":"1329858575","file0":"1329858543","file3":"1329858655"},"map_files_photo_id_array":[{"photo_id":"1329858612","filename":"file2"},{"photo_id":"1329858575","filename":"file1"},{"photo_id":"1329858543","filename":"file0"},{"photo_id":"1329858655","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329858575":["hashtag1","hashtag2"]},{"1329858655":["hashtag1","hashtag2"]},{"1329858612":["hashtag1","hashtag2"]},{"1329858543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329858575, 1329858655, 1329858612, 1329858543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.66363763809204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 21:41:32.259611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/40/image_18012025_21_40_02_296582_0003.jpg', '/home/pi/Desktop/images/18012025/21/41/image_18012025_21_41_02_424406_0000.jpg', '/home/pi/Desktop/images/18012025/21/41/image_18012025_21_41_02_424406_0001.jpg', '/home/pi/Desktop/images/18012025/21/41/image_18012025_21_41_02_424406_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/40/image_18012025_21_40_02_296582_0003.jpg
/home/pi/Desktop/images/18012025/21/41/image_18012025_21_41_02_424406_0000.jpg
/home/pi/Desktop/images/18012025/21/41/image_18012025_21_41_02_424406_0001.jpg
/home/pi/Desktop/images/18012025/21/41/image_18012025_21_41_02_424406_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329858725","1329858727","1329858723","1329858720"],"photo_ids_order":["1329858720","1329858723","1329858725","1329858727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/913a19c1f5529935e58e4bad9f25f427.jpg","text":"TemporaryFile(/tmp/multipartBody8903877231847741461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232962755,"filename":"image_18012025_21_41_02_424406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48820e906d2053b93fd2ac4a32df41cd.jpg","text":"TemporaryFile(/tmp/multipartBody5242997448681748173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232962755,"filename":"image_18012025_21_41_02_424406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8964a4ddfd28cfd6cf409d7337738d55.jpg","text":"TemporaryFile(/tmp/multipartBody7397112026848472939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232962755,"filename":"image_18012025_21_41_02_424406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7c2315f7524c1a6132ef9cc935152fdd.jpg","text":"TemporaryFile(/tmp/multipartBody6484928151746233462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737232962755,"filename":"image_18012025_21_40_02_296582_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329858725","file1":"1329858723","file0":"1329858720","file3":"1329858727"},"map_files_photo_id_array":[{"photo_id":"1329858725","filename":"file2"},{"photo_id":"1329858723","filename":"file1"},{"photo_id":"1329858720","filename":"file0"},{"photo_id":"1329858727","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329858725":["hashtag1","hashtag2"]},{"1329858727":["hashtag1","hashtag2"]},{"1329858723":["hashtag1","hashtag2"]},{"1329858720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329858725, 1329858727, 1329858723, 1329858720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.75337505340576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:42:22.583323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/41/image_18012025_21_41_02_424406_0003.jpg', '/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_0000.jpg', '/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_0001.jpg', '/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/41/image_18012025_21_41_02_424406_0003.jpg
/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_0000.jpg
/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_0001.jpg
/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_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.950773477554321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 21:42:42.481217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/41/image_18012025_21_41_02_424406_0003.jpg', '/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_0000.jpg', '/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_0001.jpg', '/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/41/image_18012025_21_41_02_424406_0003.jpg
/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_0000.jpg
/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_0001.jpg
/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329859006","1329859000","1329859003","1329859008"],"photo_ids_order":["1329859000","1329859003","1329859006","1329859008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/16bc9a7ab296faf521ccb225d7488c69.jpg","text":"TemporaryFile(/tmp/multipartBody8075564905466641723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233032831,"filename":"image_18012025_21_42_02_610125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7904ea0b0822c35009ef28b0134e6439.jpg","text":"TemporaryFile(/tmp/multipartBody8016784227662975774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233032831,"filename":"image_18012025_21_41_02_424406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0bb16b372d83769ee1f19f47b92dd971.jpg","text":"TemporaryFile(/tmp/multipartBody3897026080014525297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233032831,"filename":"image_18012025_21_42_02_610125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c04a98cf03f88f623d5eb1fa7ec4b06b.jpg","text":"TemporaryFile(/tmp/multipartBody1664216419559742932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233032831,"filename":"image_18012025_21_42_02_610125_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329859006","file1":"1329859003","file0":"1329859000","file3":"1329859008"},"map_files_photo_id_array":[{"photo_id":"1329859006","filename":"file2"},{"photo_id":"1329859003","filename":"file1"},{"photo_id":"1329859000","filename":"file0"},{"photo_id":"1329859008","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329859006":["hashtag1","hashtag2"]},{"1329859000":["hashtag1","hashtag2"]},{"1329859003":["hashtag1","hashtag2"]},{"1329859008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329859006, 1329859000, 1329859003, 1329859008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.233237504959106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:43:22.633886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_0003.jpg', '/home/pi/Desktop/images/18012025/21/43/image_18012025_21_43_02_862395_0000.jpg', '/home/pi/Desktop/images/18012025/21/43/image_18012025_21_43_02_862395_0001.jpg', '/home/pi/Desktop/images/18012025/21/43/image_18012025_21_43_02_862395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/42/image_18012025_21_42_02_610125_0003.jpg
/home/pi/Desktop/images/18012025/21/43/image_18012025_21_43_02_862395_0000.jpg
/home/pi/Desktop/images/18012025/21/43/image_18012025_21_43_02_862395_0001.jpg
/home/pi/Desktop/images/18012025/21/43/image_18012025_21_43_02_862395_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329859057","1329859062","1329859059","1329859023"],"photo_ids_order":["1329859023","1329859057","1329859059","1329859062"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0eb9b35caebfd61ca37abd757556f9f.jpg","text":"TemporaryFile(/tmp/multipartBody1479244229297109330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233072784,"filename":"image_18012025_21_43_02_862395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0de7c9414c87577fc8fb0003660c3325.jpg","text":"TemporaryFile(/tmp/multipartBody5056416236718938889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233072784,"filename":"image_18012025_21_43_02_862395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fefd0bcb508fd2de0be46555c222828e.jpg","text":"TemporaryFile(/tmp/multipartBody3011172914366386815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233072784,"filename":"image_18012025_21_43_02_862395_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c31a8b5ff5558862033cea4af162dc9.jpg","text":"TemporaryFile(/tmp/multipartBody5472207225502557498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233072784,"filename":"image_18012025_21_42_02_610125_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329859059","file1":"1329859057","file0":"1329859023","file3":"1329859062"},"map_files_photo_id_array":[{"photo_id":"1329859059","filename":"file2"},{"photo_id":"1329859057","filename":"file1"},{"photo_id":"1329859023","filename":"file0"},{"photo_id":"1329859062","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329859057":["hashtag1","hashtag2"]},{"1329859062":["hashtag1","hashtag2"]},{"1329859059":["hashtag1","hashtag2"]},{"1329859023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329859057, 1329859062, 1329859059, 1329859023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.17879128456116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:44:02.177844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/34/image_16012025_23_34_02_709933_0002.jpg', '/home/pi/Desktop/images/16012025/23/34/image_16012025_23_34_02_709933_0003.jpg', '/home/pi/Desktop/images/16012025/23/35/image_16012025_23_35_02_865300_0000.jpg', '/home/pi/Desktop/images/16012025/23/35/image_16012025_23_35_02_865300_0001.jpg', '/home/pi/Desktop/images/16012025/23/35/image_16012025_23_35_02_865300_0002.jpg', '/home/pi/Desktop/images/16012025/23/35/image_16012025_23_35_02_865300_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/34/image_16012025_23_34_02_709933_0002.jpg
/home/pi/Desktop/images/16012025/23/34/image_16012025_23_34_02_709933_0003.jpg
/home/pi/Desktop/images/16012025/23/35/image_16012025_23_35_02_865300_0000.jpg
/home/pi/Desktop/images/16012025/23/35/image_16012025_23_35_02_865300_0001.jpg
/home/pi/Desktop/images/16012025/23/35/image_16012025_23_35_02_865300_0002.jpg
/home/pi/Desktop/images/16012025/23/35/image_16012025_23_35_02_865300_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329859083","1329859071","1329859080","1329859074","1329859077","1329859085"],"photo_ids_order":["1329859071","1329859074","1329859077","1329859080","1329859083","1329859085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/66eb86e7ed60c2cde865c1573097c34d.jpg","text":"TemporaryFile(/tmp/multipartBody7421779382925728764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233120476,"filename":"image_16012025_23_35_02_865300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/acc6b14ac72a055630849931a38e7515.jpg","text":"TemporaryFile(/tmp/multipartBody6882604364305841902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233120476,"filename":"image_16012025_23_34_02_709933_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d5e8e5a72af2cc2ace01a64ffdb58674.jpg","text":"TemporaryFile(/tmp/multipartBody7605184596768986193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233120476,"filename":"image_16012025_23_35_02_865300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/881c7bf34193a7f6d79625c58b3d40bd.jpg","text":"TemporaryFile(/tmp/multipartBody431290879198292037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233120476,"filename":"image_16012025_23_34_02_709933_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/67f32bd649236f9796cbc45750ec17c4.jpg","text":"TemporaryFile(/tmp/multipartBody3582883611433039374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233120476,"filename":"image_16012025_23_35_02_865300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d92ccfa16fe2999b9f91d95ec4bb66f6.jpg","text":"TemporaryFile(/tmp/multipartBody6325209290900504894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233120476,"filename":"image_16012025_23_35_02_865300_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329859077","file1":"1329859074","file0":"1329859071","file4":"1329859083","file5":"1329859085","file3":"1329859080"},"map_files_photo_id_array":[{"photo_id":"1329859085","filename":"file5"},{"photo_id":"1329859077","filename":"file2"},{"photo_id":"1329859083","filename":"file4"},{"photo_id":"1329859074","filename":"file1"},{"photo_id":"1329859071","filename":"file0"},{"photo_id":"1329859080","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329859083":["hashtag1","hashtag2"]},{"1329859071":["hashtag1","hashtag2"]},{"1329859080":["hashtag1","hashtag2"]},{"1329859074":["hashtag1","hashtag2"]},{"1329859077":["hashtag1","hashtag2"]},{"1329859085":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329859083, 1329859071, 1329859080, 1329859074, 1329859077, 1329859085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.74573588371277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:45:22.055278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/43/image_18012025_21_43_02_862395_0003.jpg', '/home/pi/Desktop/images/18012025/21/44/image_18012025_21_44_02_969261_0000.jpg', '/home/pi/Desktop/images/18012025/21/44/image_18012025_21_44_02_969261_0001.jpg', '/home/pi/Desktop/images/18012025/21/44/image_18012025_21_44_02_969261_0002.jpg', '/home/pi/Desktop/images/18012025/21/44/image_18012025_21_44_02_969261_0003.jpg', '/home/pi/Desktop/images/18012025/21/45/image_18012025_21_45_02_159333_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/43/image_18012025_21_43_02_862395_0003.jpg
/home/pi/Desktop/images/18012025/21/44/image_18012025_21_44_02_969261_0000.jpg
/home/pi/Desktop/images/18012025/21/44/image_18012025_21_44_02_969261_0001.jpg
/home/pi/Desktop/images/18012025/21/44/image_18012025_21_44_02_969261_0002.jpg
/home/pi/Desktop/images/18012025/21/44/image_18012025_21_44_02_969261_0003.jpg
/home/pi/Desktop/images/18012025/21/45/image_18012025_21_45_02_159333_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329859106","1329859100","1329859098","1329859102","1329859095","1329859104"],"photo_ids_order":["1329859095","1329859098","1329859100","1329859102","1329859104","1329859106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/481f7cfa1745c0c3488cd3f3efab2b8a.jpg","text":"TemporaryFile(/tmp/multipartBody7050347188498332461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233197519,"filename":"image_18012025_21_45_02_159333_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/57724c007b3d0e8c813a9f39c834f234.jpg","text":"TemporaryFile(/tmp/multipartBody4326479735183546218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233197519,"filename":"image_18012025_21_44_02_969261_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e92265734c0a7347f64c4314a10b6ef.jpg","text":"TemporaryFile(/tmp/multipartBody2127681803289816700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233197519,"filename":"image_18012025_21_44_02_969261_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f6ca544f1d7275a6b1739838cea8d51a.jpg","text":"TemporaryFile(/tmp/multipartBody7595744996550775722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233197519,"filename":"image_18012025_21_44_02_969261_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/93ecb35e7c35354426ab9aff61230a9c.jpg","text":"TemporaryFile(/tmp/multipartBody8672823130474901447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233197519,"filename":"image_18012025_21_43_02_862395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8c666b6a3b9de123b0160279d0a67fd1.jpg","text":"TemporaryFile(/tmp/multipartBody3327413580562685258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233197519,"filename":"image_18012025_21_44_02_969261_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329859100","file1":"1329859098","file0":"1329859095","file4":"1329859104","file5":"1329859106","file3":"1329859102"},"map_files_photo_id_array":[{"photo_id":"1329859106","filename":"file5"},{"photo_id":"1329859100","filename":"file2"},{"photo_id":"1329859104","filename":"file4"},{"photo_id":"1329859098","filename":"file1"},{"photo_id":"1329859095","filename":"file0"},{"photo_id":"1329859102","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329859106":["hashtag1","hashtag2"]},{"1329859100":["hashtag1","hashtag2"]},{"1329859098":["hashtag1","hashtag2"]},{"1329859102":["hashtag1","hashtag2"]},{"1329859095":["hashtag1","hashtag2"]},{"1329859104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329859106, 1329859100, 1329859098, 1329859102, 1329859095, 1329859104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.13471245765686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:46:22.142013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/45/image_18012025_21_45_02_159333_0001.jpg', '/home/pi/Desktop/images/18012025/21/45/image_18012025_21_45_02_159333_0002.jpg', '/home/pi/Desktop/images/18012025/21/45/image_18012025_21_45_02_159333_0003.jpg', '/home/pi/Desktop/images/18012025/21/46/image_18012025_21_46_02_404894_0000.jpg', '/home/pi/Desktop/images/18012025/21/46/image_18012025_21_46_02_404894_0001.jpg', '/home/pi/Desktop/images/18012025/21/46/image_18012025_21_46_02_404894_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/45/image_18012025_21_45_02_159333_0001.jpg
/home/pi/Desktop/images/18012025/21/45/image_18012025_21_45_02_159333_0002.jpg
/home/pi/Desktop/images/18012025/21/45/image_18012025_21_45_02_159333_0003.jpg
/home/pi/Desktop/images/18012025/21/46/image_18012025_21_46_02_404894_0000.jpg
/home/pi/Desktop/images/18012025/21/46/image_18012025_21_46_02_404894_0001.jpg
/home/pi/Desktop/images/18012025/21/46/image_18012025_21_46_02_404894_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329859145","1329859156","1329859141","1329859138","1329859152","1329859149"],"photo_ids_order":["1329859138","1329859141","1329859145","1329859149","1329859152","1329859156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5b6a7d8790e59e02d2007517f711e303.jpg","text":"TemporaryFile(/tmp/multipartBody9052270477091678834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233257907,"filename":"image_18012025_21_45_02_159333_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/edfe59e149ea6844d326d4b0dd2f26e8.jpg","text":"TemporaryFile(/tmp/multipartBody6839557940980253845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233257907,"filename":"image_18012025_21_46_02_404894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/afec285468316012321c0bb5a7e3446e.jpg","text":"TemporaryFile(/tmp/multipartBody4128526969825299921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233257907,"filename":"image_18012025_21_45_02_159333_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6b2ad8c5db50c7c49c56f7187292d080.jpg","text":"TemporaryFile(/tmp/multipartBody1117701401416501073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233257907,"filename":"image_18012025_21_45_02_159333_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f585d48e17359ace2cfde9a66092a49.jpg","text":"TemporaryFile(/tmp/multipartBody7565852768782172851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233257907,"filename":"image_18012025_21_46_02_404894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b96ab53dac0ecccb9eade14d31d6f878.jpg","text":"TemporaryFile(/tmp/multipartBody821846382545416950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233257907,"filename":"image_18012025_21_46_02_404894_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329859145","file1":"1329859141","file0":"1329859138","file4":"1329859152","file5":"1329859156","file3":"1329859149"},"map_files_photo_id_array":[{"photo_id":"1329859156","filename":"file5"},{"photo_id":"1329859145","filename":"file2"},{"photo_id":"1329859152","filename":"file4"},{"photo_id":"1329859141","filename":"file1"},{"photo_id":"1329859138","filename":"file0"},{"photo_id":"1329859149","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329859145":["hashtag1","hashtag2"]},{"1329859156":["hashtag1","hashtag2"]},{"1329859141":["hashtag1","hashtag2"]},{"1329859138":["hashtag1","hashtag2"]},{"1329859152":["hashtag1","hashtag2"]},{"1329859149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329859145, 1329859156, 1329859141, 1329859138, 1329859152, 1329859149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.54258322715759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:47:22.318082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/46/image_18012025_21_46_02_404894_0003.jpg', '/home/pi/Desktop/images/18012025/21/47/image_18012025_21_47_02_584812_0000.jpg', '/home/pi/Desktop/images/18012025/21/47/image_18012025_21_47_02_584812_0001.jpg', '/home/pi/Desktop/images/18012025/21/47/image_18012025_21_47_02_584812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/46/image_18012025_21_46_02_404894_0003.jpg
/home/pi/Desktop/images/18012025/21/47/image_18012025_21_47_02_584812_0000.jpg
/home/pi/Desktop/images/18012025/21/47/image_18012025_21_47_02_584812_0001.jpg
/home/pi/Desktop/images/18012025/21/47/image_18012025_21_47_02_584812_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329859166","1329859168","1329859164","1329859161"],"photo_ids_order":["1329859161","1329859164","1329859166","1329859168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8b2358167e56b08d2ca643f0236da64.jpg","text":"TemporaryFile(/tmp/multipartBody6691737747000937611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233313514,"filename":"image_18012025_21_47_02_584812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/23877ba21571e86cc73bee7851e0ee19.jpg","text":"TemporaryFile(/tmp/multipartBody2343576125396804781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233313514,"filename":"image_18012025_21_47_02_584812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/72120a9f7fb080d284f45fb4a69251d8.jpg","text":"TemporaryFile(/tmp/multipartBody3356949886739403476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233313514,"filename":"image_18012025_21_47_02_584812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7d0b9e8e65ad157bb6237186f59fd597.jpg","text":"TemporaryFile(/tmp/multipartBody455666408859087000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233313514,"filename":"image_18012025_21_46_02_404894_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329859166","file1":"1329859164","file0":"1329859161","file3":"1329859168"},"map_files_photo_id_array":[{"photo_id":"1329859166","filename":"file2"},{"photo_id":"1329859164","filename":"file1"},{"photo_id":"1329859161","filename":"file0"},{"photo_id":"1329859168","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329859166":["hashtag1","hashtag2"]},{"1329859168":["hashtag1","hashtag2"]},{"1329859164":["hashtag1","hashtag2"]},{"1329859161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329859166, 1329859168, 1329859164, 1329859161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.047407150268555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:48:22.542381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/47/image_18012025_21_47_02_584812_0003.jpg', '/home/pi/Desktop/images/18012025/21/48/image_18012025_21_48_02_706526_0000.jpg', '/home/pi/Desktop/images/18012025/21/48/image_18012025_21_48_02_706526_0001.jpg', '/home/pi/Desktop/images/18012025/21/48/image_18012025_21_48_02_706526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/47/image_18012025_21_47_02_584812_0003.jpg
/home/pi/Desktop/images/18012025/21/48/image_18012025_21_48_02_706526_0000.jpg
/home/pi/Desktop/images/18012025/21/48/image_18012025_21_48_02_706526_0001.jpg
/home/pi/Desktop/images/18012025/21/48/image_18012025_21_48_02_706526_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329859186","1329859207","1329859188","1329859190"],"photo_ids_order":["1329859186","1329859188","1329859190","1329859207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/31de6d24e8ca50ef9af64de6c9ed0ada.jpg","text":"TemporaryFile(/tmp/multipartBody4386955694342778897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233373961,"filename":"image_18012025_21_47_02_584812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f262d95fc9c3e816edbff32441c1910.jpg","text":"TemporaryFile(/tmp/multipartBody8184801548355340958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233373961,"filename":"image_18012025_21_48_02_706526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/13d08095bda7670769bc7833db978830.jpg","text":"TemporaryFile(/tmp/multipartBody3746440774496529102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233373961,"filename":"image_18012025_21_48_02_706526_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca55698d063d8ee7c7cd55f5c2d2baf8.jpg","text":"TemporaryFile(/tmp/multipartBody7652440227010807043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233373961,"filename":"image_18012025_21_48_02_706526_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329859190","file1":"1329859188","file0":"1329859186","file3":"1329859207"},"map_files_photo_id_array":[{"photo_id":"1329859190","filename":"file2"},{"photo_id":"1329859188","filename":"file1"},{"photo_id":"1329859186","filename":"file0"},{"photo_id":"1329859207","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329859186":["hashtag1","hashtag2"]},{"1329859207":["hashtag1","hashtag2"]},{"1329859188":["hashtag1","hashtag2"]},{"1329859190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329859186, 1329859207, 1329859188, 1329859190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.772762298583984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:49:22.681729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/48/image_18012025_21_48_02_706526_0003.jpg', '/home/pi/Desktop/images/18012025/21/49/image_18012025_21_49_02_936518_0000.jpg', '/home/pi/Desktop/images/18012025/21/49/image_18012025_21_49_02_936518_0001.jpg', '/home/pi/Desktop/images/18012025/21/49/image_18012025_21_49_02_936518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/48/image_18012025_21_48_02_706526_0003.jpg
/home/pi/Desktop/images/18012025/21/49/image_18012025_21_49_02_936518_0000.jpg
/home/pi/Desktop/images/18012025/21/49/image_18012025_21_49_02_936518_0001.jpg
/home/pi/Desktop/images/18012025/21/49/image_18012025_21_49_02_936518_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329859240","1329859243","1329859245","1329859236"],"photo_ids_order":["1329859236","1329859240","1329859243","1329859245"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e57bc798f00c644b37ae0024e0e49e32.jpg","text":"TemporaryFile(/tmp/multipartBody6657964304305085172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233434293,"filename":"image_18012025_21_49_02_936518_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/544eef49389ca22318dbb0c238037979.jpg","text":"TemporaryFile(/tmp/multipartBody7101098867677825002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233434293,"filename":"image_18012025_21_49_02_936518_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0607139f471dc89d9e51fa704d6223e1.jpg","text":"TemporaryFile(/tmp/multipartBody8191031727179939973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233434293,"filename":"image_18012025_21_49_02_936518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b483e2d8dcd681bd7344d523e06e0640.jpg","text":"TemporaryFile(/tmp/multipartBody5226666360496287871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233434293,"filename":"image_18012025_21_48_02_706526_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329859243","file1":"1329859240","file0":"1329859236","file3":"1329859245"},"map_files_photo_id_array":[{"photo_id":"1329859243","filename":"file2"},{"photo_id":"1329859240","filename":"file1"},{"photo_id":"1329859236","filename":"file0"},{"photo_id":"1329859245","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329859240":["hashtag1","hashtag2"]},{"1329859243":["hashtag1","hashtag2"]},{"1329859245":["hashtag1","hashtag2"]},{"1329859236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329859240, 1329859243, 1329859245, 1329859236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.027711391448975 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:50:21.836096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/49/image_18012025_21_49_02_936518_0003.jpg', '/home/pi/Desktop/images/18012025/21/50/image_18012025_21_50_03_049952_0000.jpg', '/home/pi/Desktop/images/18012025/21/50/image_18012025_21_50_03_049952_0001.jpg', '/home/pi/Desktop/images/18012025/21/50/image_18012025_21_50_03_049952_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/49/image_18012025_21_49_02_936518_0003.jpg
/home/pi/Desktop/images/18012025/21/50/image_18012025_21_50_03_049952_0000.jpg
/home/pi/Desktop/images/18012025/21/50/image_18012025_21_50_03_049952_0001.jpg
/home/pi/Desktop/images/18012025/21/50/image_18012025_21_50_03_049952_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329859261","1329859258","1329859251","1329859254"],"photo_ids_order":["1329859251","1329859254","1329859258","1329859261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ad43c2dcff22dd3edcb4a62aa210dabe.jpg","text":"TemporaryFile(/tmp/multipartBody1848714072071025407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233493539,"filename":"image_18012025_21_50_03_049952_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/972e78cf1213453f285eeb55697f493c.jpg","text":"TemporaryFile(/tmp/multipartBody1305722928301877141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233493539,"filename":"image_18012025_21_50_03_049952_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7364ee7b5aa58b96ead6a61b0f7a77ba.jpg","text":"TemporaryFile(/tmp/multipartBody2675710975390881485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233493539,"filename":"image_18012025_21_49_02_936518_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0b65c4e1981ec02c674c4ece53b94c83.jpg","text":"TemporaryFile(/tmp/multipartBody6468572074396173165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233493539,"filename":"image_18012025_21_50_03_049952_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329859258","file1":"1329859254","file0":"1329859251","file3":"1329859261"},"map_files_photo_id_array":[{"photo_id":"1329859258","filename":"file2"},{"photo_id":"1329859254","filename":"file1"},{"photo_id":"1329859251","filename":"file0"},{"photo_id":"1329859261","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329859261":["hashtag1","hashtag2"]},{"1329859258":["hashtag1","hashtag2"]},{"1329859251":["hashtag1","hashtag2"]},{"1329859254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329859261, 1329859258, 1329859251, 1329859254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.58114767074585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:51:21.986078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/50/image_18012025_21_50_03_049952_0003.jpg', '/home/pi/Desktop/images/18012025/21/51/image_18012025_21_51_02_285171_0000.jpg', '/home/pi/Desktop/images/18012025/21/51/image_18012025_21_51_02_285171_0001.jpg', '/home/pi/Desktop/images/18012025/21/51/image_18012025_21_51_02_285171_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/50/image_18012025_21_50_03_049952_0003.jpg
/home/pi/Desktop/images/18012025/21/51/image_18012025_21_51_02_285171_0000.jpg
/home/pi/Desktop/images/18012025/21/51/image_18012025_21_51_02_285171_0001.jpg
/home/pi/Desktop/images/18012025/21/51/image_18012025_21_51_02_285171_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329859271","1329859279","1329859274","1329859277"],"photo_ids_order":["1329859271","1329859274","1329859277","1329859279"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/38a0a3bf76b590da4cf96fec219b0310.jpg","text":"TemporaryFile(/tmp/multipartBody689665245750069141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233553574,"filename":"image_18012025_21_50_03_049952_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5faa22d426775a7a32d5b943ff91010.jpg","text":"TemporaryFile(/tmp/multipartBody5676325714464559760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233553574,"filename":"image_18012025_21_51_02_285171_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e6455125a9f9a87b1a2ae13974dbd92.jpg","text":"TemporaryFile(/tmp/multipartBody4065812429720366658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233553574,"filename":"image_18012025_21_51_02_285171_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9565897a0cfd02a509af5e2ae1dfd128.jpg","text":"TemporaryFile(/tmp/multipartBody4227551273885142507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233553574,"filename":"image_18012025_21_51_02_285171_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329859277","file1":"1329859274","file0":"1329859271","file3":"1329859279"},"map_files_photo_id_array":[{"photo_id":"1329859277","filename":"file2"},{"photo_id":"1329859274","filename":"file1"},{"photo_id":"1329859271","filename":"file0"},{"photo_id":"1329859279","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329859271":["hashtag1","hashtag2"]},{"1329859279":["hashtag1","hashtag2"]},{"1329859274":["hashtag1","hashtag2"]},{"1329859277":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329859271, 1329859279, 1329859274, 1329859277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.456456422805786 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:52:02.576962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0000.jpg', '/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0001.jpg', '/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0002.jpg', '/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0003.jpg', '/home/pi/Desktop/images/16012025/23/37/image_16012025_23_37_02_266613_0000.jpg', '/home/pi/Desktop/images/16012025/23/37/image_16012025_23_37_02_266613_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0000.jpg
/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0001.jpg
/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0002.jpg
/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0003.jpg
/home/pi/Desktop/images/16012025/23/37/image_16012025_23_37_02_266613_0000.jpg
/home/pi/Desktop/images/16012025/23/37/image_16012025_23_37_02_266613_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.84030795097351 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:52:22.141331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/51/image_18012025_21_51_02_285171_0003.jpg', '/home/pi/Desktop/images/18012025/21/52/image_18012025_21_52_02_377248_0000.jpg', '/home/pi/Desktop/images/18012025/21/52/image_18012025_21_52_02_377248_0001.jpg', '/home/pi/Desktop/images/18012025/21/52/image_18012025_21_52_02_377248_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/51/image_18012025_21_51_02_285171_0003.jpg
/home/pi/Desktop/images/18012025/21/52/image_18012025_21_52_02_377248_0000.jpg
/home/pi/Desktop/images/18012025/21/52/image_18012025_21_52_02_377248_0001.jpg
/home/pi/Desktop/images/18012025/21/52/image_18012025_21_52_02_377248_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329859999","1329860719","1329860793","1329860325"],"photo_ids_order":["1329859999","1329860325","1329860719","1329860793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c033446623874aeb1484d00a1f14568b.jpg","text":"TemporaryFile(/tmp/multipartBody5663950405619615078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233613325,"filename":"image_18012025_21_51_02_285171_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ead9ab48d5ceed76243abe8b6ee2128e.jpg","text":"TemporaryFile(/tmp/multipartBody1145793534847865141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233613325,"filename":"image_18012025_21_52_02_377248_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b8cd867c37f8f4885f7de081e45fbb0d.jpg","text":"TemporaryFile(/tmp/multipartBody7653557664272201954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233613325,"filename":"image_18012025_21_52_02_377248_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6aacf2092a2a9ce103cbb31efaba12a4.jpg","text":"TemporaryFile(/tmp/multipartBody6157444803696531692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233613325,"filename":"image_18012025_21_52_02_377248_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329860719","file1":"1329860325","file0":"1329859999","file3":"1329860793"},"map_files_photo_id_array":[{"photo_id":"1329860719","filename":"file2"},{"photo_id":"1329860325","filename":"file1"},{"photo_id":"1329859999","filename":"file0"},{"photo_id":"1329860793","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329859999":["hashtag1","hashtag2"]},{"1329860719":["hashtag1","hashtag2"]},{"1329860793":["hashtag1","hashtag2"]},{"1329860325":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329859999, 1329860719, 1329860793, 1329860325)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.7621328830719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:53:22.437850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/52/image_18012025_21_52_02_377248_0003.jpg', '/home/pi/Desktop/images/18012025/21/53/image_18012025_21_53_02_551508_0000.jpg', '/home/pi/Desktop/images/18012025/21/53/image_18012025_21_53_02_551508_0001.jpg', '/home/pi/Desktop/images/18012025/21/53/image_18012025_21_53_02_551508_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/52/image_18012025_21_52_02_377248_0003.jpg
/home/pi/Desktop/images/18012025/21/53/image_18012025_21_53_02_551508_0000.jpg
/home/pi/Desktop/images/18012025/21/53/image_18012025_21_53_02_551508_0001.jpg
/home/pi/Desktop/images/18012025/21/53/image_18012025_21_53_02_551508_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329860805","1329860807","1329860801","1329860809"],"photo_ids_order":["1329860801","1329860805","1329860807","1329860809"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4a01cf1c0a7b8d82ed78fc1e0301b26.jpg","text":"TemporaryFile(/tmp/multipartBody4629671334083605328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233673595,"filename":"image_18012025_21_53_02_551508_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01cd28a5c35b756d37d8e25b2adee7e4.jpg","text":"TemporaryFile(/tmp/multipartBody1380223183740535260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233673595,"filename":"image_18012025_21_53_02_551508_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4906b8f907f716c3d4614a75b97fbd40.jpg","text":"TemporaryFile(/tmp/multipartBody1074364771484763074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233673595,"filename":"image_18012025_21_52_02_377248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8731da42e675c61b7f261118c2cf731a.jpg","text":"TemporaryFile(/tmp/multipartBody3891600577304016386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233673595,"filename":"image_18012025_21_53_02_551508_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329860807","file1":"1329860805","file0":"1329860801","file3":"1329860809"},"map_files_photo_id_array":[{"photo_id":"1329860807","filename":"file2"},{"photo_id":"1329860805","filename":"file1"},{"photo_id":"1329860801","filename":"file0"},{"photo_id":"1329860809","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329860805":["hashtag1","hashtag2"]},{"1329860807":["hashtag1","hashtag2"]},{"1329860801":["hashtag1","hashtag2"]},{"1329860809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329860805, 1329860807, 1329860801, 1329860809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.72578167915344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:54:22.579391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/53/image_18012025_21_53_02_551508_0003.jpg', '/home/pi/Desktop/images/18012025/21/54/image_18012025_21_54_02_775738_0000.jpg', '/home/pi/Desktop/images/18012025/21/54/image_18012025_21_54_02_775738_0001.jpg', '/home/pi/Desktop/images/18012025/21/54/image_18012025_21_54_02_775738_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/53/image_18012025_21_53_02_551508_0003.jpg
/home/pi/Desktop/images/18012025/21/54/image_18012025_21_54_02_775738_0000.jpg
/home/pi/Desktop/images/18012025/21/54/image_18012025_21_54_02_775738_0001.jpg
/home/pi/Desktop/images/18012025/21/54/image_18012025_21_54_02_775738_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329861353","1329861424","1329860980","1329861411"],"photo_ids_order":["1329860980","1329861353","1329861411","1329861424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/191d46b1c1ae8661a1f665794852b4f9.jpg","text":"TemporaryFile(/tmp/multipartBody1786890345076030539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233733905,"filename":"image_18012025_21_54_02_775738_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39d0a78f388929d648544e7610edb637.jpg","text":"TemporaryFile(/tmp/multipartBody5991235435522477130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233733905,"filename":"image_18012025_21_54_02_775738_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9bca3c768145c52d294751562f7b6231.jpg","text":"TemporaryFile(/tmp/multipartBody2763048285401701402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233733905,"filename":"image_18012025_21_53_02_551508_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9b5a0f6ca273190846b7dcd0b4745b0e.jpg","text":"TemporaryFile(/tmp/multipartBody6208995498680753236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233733905,"filename":"image_18012025_21_54_02_775738_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329861411","file1":"1329861353","file0":"1329860980","file3":"1329861424"},"map_files_photo_id_array":[{"photo_id":"1329861411","filename":"file2"},{"photo_id":"1329861353","filename":"file1"},{"photo_id":"1329860980","filename":"file0"},{"photo_id":"1329861424","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329861353":["hashtag1","hashtag2"]},{"1329861424":["hashtag1","hashtag2"]},{"1329860980":["hashtag1","hashtag2"]},{"1329861411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329861353, 1329861424, 1329860980, 1329861411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.488576889038086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:55:03.395594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0000.jpg', '/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0001.jpg', '/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0002.jpg', '/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0003.jpg', '/home/pi/Desktop/images/16012025/23/37/image_16012025_23_37_02_266613_0000.jpg', '/home/pi/Desktop/images/16012025/23/37/image_16012025_23_37_02_266613_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0000.jpg
/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0001.jpg
/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0002.jpg
/home/pi/Desktop/images/16012025/23/36/image_16012025_23_36_03_073858_0003.jpg
/home/pi/Desktop/images/16012025/23/37/image_16012025_23_37_02_266613_0000.jpg
/home/pi/Desktop/images/16012025/23/37/image_16012025_23_37_02_266613_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329861664","1329861661","1329861666","1329861456","1329861603","1329861668"],"photo_ids_order":["1329861456","1329861603","1329861661","1329861664","1329861666","1329861668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9a3be20f50e22a4390f2bbd426ada0b6.jpg","text":"TemporaryFile(/tmp/multipartBody41462555930584027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233781522,"filename":"image_16012025_23_36_03_073858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5198bd06a9482b0a8c83f0f9806c4ff.jpg","text":"TemporaryFile(/tmp/multipartBody5417324991764722921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233781522,"filename":"image_16012025_23_36_03_073858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d2690468dd5a0ec855902d819953c8ed.jpg","text":"TemporaryFile(/tmp/multipartBody676604127051611786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233781522,"filename":"image_16012025_23_37_02_266613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f5fc96ad9c0d6cc0708062c3a890d85e.jpg","text":"TemporaryFile(/tmp/multipartBody7232089256733787092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233781522,"filename":"image_16012025_23_36_03_073858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/73464bbafb916cc057a1a53bd8b7491c.jpg","text":"TemporaryFile(/tmp/multipartBody6460533971932183436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233781522,"filename":"image_16012025_23_36_03_073858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a1722b704aa5d47e77424b6a05157a21.jpg","text":"TemporaryFile(/tmp/multipartBody300734444210575171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233781522,"filename":"image_16012025_23_37_02_266613_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329861661","file1":"1329861603","file0":"1329861456","file4":"1329861666","file5":"1329861668","file3":"1329861664"},"map_files_photo_id_array":[{"photo_id":"1329861668","filename":"file5"},{"photo_id":"1329861661","filename":"file2"},{"photo_id":"1329861666","filename":"file4"},{"photo_id":"1329861603","filename":"file1"},{"photo_id":"1329861456","filename":"file0"},{"photo_id":"1329861664","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329861664":["hashtag1","hashtag2"]},{"1329861661":["hashtag1","hashtag2"]},{"1329861666":["hashtag1","hashtag2"]},{"1329861456":["hashtag1","hashtag2"]},{"1329861603":["hashtag1","hashtag2"]},{"1329861668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329861664, 1329861661, 1329861666, 1329861456, 1329861603, 1329861668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.66349053382874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 21:56:21.901514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/54/image_18012025_21_54_02_775738_0003.jpg', '/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0000.jpg', '/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0001.jpg', '/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0002.jpg', '/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0003.jpg', '/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/54/image_18012025_21_54_02_775738_0003.jpg
/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0000.jpg
/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0001.jpg
/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0002.jpg
/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0003.jpg
/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.482208967208862 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 21:56:42.021483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/54/image_18012025_21_54_02_775738_0003.jpg', '/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0000.jpg', '/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0001.jpg', '/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0002.jpg', '/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0003.jpg', '/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/54/image_18012025_21_54_02_775738_0003.jpg
/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0000.jpg
/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0001.jpg
/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0002.jpg
/home/pi/Desktop/images/18012025/21/55/image_18012025_21_55_02_948502_0003.jpg
/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329862183","1329862222","1329862197","1329862201","1329862161","1329862200"],"photo_ids_order":["1329862161","1329862183","1329862197","1329862200","1329862201","1329862222"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/02d310f770d63304cdc836ec28834d7a.jpg","text":"TemporaryFile(/tmp/multipartBody5128974004238771565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233878900,"filename":"image_18012025_21_55_02_948502_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2fe09111cd5ce91f5fd050a30fb1ff6a.jpg","text":"TemporaryFile(/tmp/multipartBody2490331893355902370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233878900,"filename":"image_18012025_21_56_03_115447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5dfbc2e7a41b58464ded26f2517968df.jpg","text":"TemporaryFile(/tmp/multipartBody8974042348241551769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233878900,"filename":"image_18012025_21_55_02_948502_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aac15cbcde6e2ef3baccf7ba355ac84d.jpg","text":"TemporaryFile(/tmp/multipartBody6629115014557476192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233878900,"filename":"image_18012025_21_55_02_948502_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca521ee095ed41895a90336628408a7c.jpg","text":"TemporaryFile(/tmp/multipartBody1589087881895188813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233878900,"filename":"image_18012025_21_54_02_775738_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c13c4fb45022d80f121901d734ff44a2.jpg","text":"TemporaryFile(/tmp/multipartBody7052484654172677471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737233878900,"filename":"image_18012025_21_55_02_948502_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329862197","file1":"1329862183","file0":"1329862161","file4":"1329862201","file5":"1329862222","file3":"1329862200"},"map_files_photo_id_array":[{"photo_id":"1329862222","filename":"file5"},{"photo_id":"1329862197","filename":"file2"},{"photo_id":"1329862201","filename":"file4"},{"photo_id":"1329862183","filename":"file1"},{"photo_id":"1329862161","filename":"file0"},{"photo_id":"1329862200","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329862183":["hashtag1","hashtag2"]},{"1329862222":["hashtag1","hashtag2"]},{"1329862197":["hashtag1","hashtag2"]},{"1329862201":["hashtag1","hashtag2"]},{"1329862161":["hashtag1","hashtag2"]},{"1329862200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329862183, 1329862222, 1329862197, 1329862201, 1329862161, 1329862200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.335203886032104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 21:57:42.071516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0001.jpg', '/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0002.jpg', '/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0003.jpg', '/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0000.jpg', '/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0001.jpg', '/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0001.jpg
/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0002.jpg
/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0003.jpg
/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0000.jpg
/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0001.jpg
/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.443114042282104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 21:59:03.276104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0001.jpg', '/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0002.jpg', '/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0003.jpg', '/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0000.jpg', '/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0001.jpg', '/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0001.jpg
/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0002.jpg
/home/pi/Desktop/images/18012025/21/56/image_18012025_21_56_03_115447_0003.jpg
/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0000.jpg
/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0001.jpg
/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329862954","1329862951","1329862947","1329862956","1329863141","1329862955"],"photo_ids_order":["1329862947","1329862951","1329862954","1329862955","1329862956","1329863141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01dab38925a61cb8dc25cc15a8794c8e.jpg","text":"TemporaryFile(/tmp/multipartBody5745711449437909372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234020408,"filename":"image_18012025_21_56_03_115447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/83b4c114a00400296f965b8a79a85666.jpg","text":"TemporaryFile(/tmp/multipartBody441189081177670040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234020408,"filename":"image_18012025_21_56_03_115447_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a02f0166e96fee27fac39479fb8a377.jpg","text":"TemporaryFile(/tmp/multipartBody3509161870660802241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234020408,"filename":"image_18012025_21_56_03_115447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21b3fead37b2a1716b325c3934181170.jpg","text":"TemporaryFile(/tmp/multipartBody2181419450034323554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234020408,"filename":"image_18012025_21_57_02_258448_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/648132d04f5059b07d60bbe4c18e3e59.jpg","text":"TemporaryFile(/tmp/multipartBody764264466054790569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234020408,"filename":"image_18012025_21_57_02_258448_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd23b8ab758d1a362a5938510c53ae97.jpg","text":"TemporaryFile(/tmp/multipartBody5424162963720103180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234020408,"filename":"image_18012025_21_57_02_258448_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329862954","file1":"1329862951","file0":"1329862947","file4":"1329862956","file5":"1329863141","file3":"1329862955"},"map_files_photo_id_array":[{"photo_id":"1329863141","filename":"file5"},{"photo_id":"1329862954","filename":"file2"},{"photo_id":"1329862956","filename":"file4"},{"photo_id":"1329862951","filename":"file1"},{"photo_id":"1329862947","filename":"file0"},{"photo_id":"1329862955","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329862954":["hashtag1","hashtag2"]},{"1329862951":["hashtag1","hashtag2"]},{"1329862947":["hashtag1","hashtag2"]},{"1329862956":["hashtag1","hashtag2"]},{"1329863141":["hashtag1","hashtag2"]},{"1329862955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329862954, 1329862951, 1329862947, 1329862956, 1329863141, 1329862955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.69974136352539 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 22:00:02.305867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0003.jpg', '/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0000.jpg', '/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0001.jpg', '/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0002.jpg', '/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0003.jpg', '/home/pi/Desktop/images/18012025/21/59/image_18012025_21_59_02_652721_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0003.jpg
/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0000.jpg
/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0001.jpg
/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0002.jpg
/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0003.jpg
/home/pi/Desktop/images/18012025/21/59/image_18012025_21_59_02_652721_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.525248527526855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:00:21.869448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0003.jpg', '/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0000.jpg', '/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0001.jpg', '/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0002.jpg', '/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0003.jpg', '/home/pi/Desktop/images/18012025/21/59/image_18012025_21_59_02_652721_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/57/image_18012025_21_57_02_258448_0003.jpg
/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0000.jpg
/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0001.jpg
/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0002.jpg
/home/pi/Desktop/images/18012025/21/58/image_18012025_21_58_02_465476_0003.jpg
/home/pi/Desktop/images/18012025/21/59/image_18012025_21_59_02_652721_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329863259","1329863253","1329863261","1329863255","1329863257","1329863251"],"photo_ids_order":["1329863251","1329863253","1329863255","1329863257","1329863259","1329863261"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a5864343da1d0535afce661c782b8ee1.jpg","text":"TemporaryFile(/tmp/multipartBody3633739830720911095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234098746,"filename":"image_18012025_21_58_02_465476_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f31fbc1698481ccdb20ac995bbec7d8.jpg","text":"TemporaryFile(/tmp/multipartBody4455800639975133729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234098746,"filename":"image_18012025_21_58_02_465476_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ee8f8e34bf4c269290cbe641180ec04.jpg","text":"TemporaryFile(/tmp/multipartBody8899000966206288340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234098746,"filename":"image_18012025_21_59_02_652721_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3336e0c9e901adbd2e288bf2458f0ac3.jpg","text":"TemporaryFile(/tmp/multipartBody6258624428019327786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234098746,"filename":"image_18012025_21_58_02_465476_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3037f8e90089e1a7d3b8993b3896819b.jpg","text":"TemporaryFile(/tmp/multipartBody8066824412210081246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234098746,"filename":"image_18012025_21_58_02_465476_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aea8b000e7f9a2f1c5df85928518a136.jpg","text":"TemporaryFile(/tmp/multipartBody940214132982353911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234098746,"filename":"image_18012025_21_57_02_258448_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329863255","file1":"1329863253","file0":"1329863251","file4":"1329863259","file5":"1329863261","file3":"1329863257"},"map_files_photo_id_array":[{"photo_id":"1329863261","filename":"file5"},{"photo_id":"1329863255","filename":"file2"},{"photo_id":"1329863259","filename":"file4"},{"photo_id":"1329863253","filename":"file1"},{"photo_id":"1329863251","filename":"file0"},{"photo_id":"1329863257","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329863259":["hashtag1","hashtag2"]},{"1329863253":["hashtag1","hashtag2"]},{"1329863261":["hashtag1","hashtag2"]},{"1329863255":["hashtag1","hashtag2"]},{"1329863257":["hashtag1","hashtag2"]},{"1329863251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329863259, 1329863253, 1329863261, 1329863255, 1329863257, 1329863251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.05168271064758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:01:22.143376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/21/59/image_18012025_21_59_02_652721_0001.jpg', '/home/pi/Desktop/images/18012025/21/59/image_18012025_21_59_02_652721_0002.jpg', '/home/pi/Desktop/images/18012025/21/59/image_18012025_21_59_02_652721_0003.jpg', '/home/pi/Desktop/images/18012025/22/00/image_18012025_22_00_02_992488_0000.jpg', '/home/pi/Desktop/images/18012025/22/00/image_18012025_22_00_02_992488_0001.jpg', '/home/pi/Desktop/images/18012025/22/00/image_18012025_22_00_02_992488_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/21/59/image_18012025_21_59_02_652721_0001.jpg
/home/pi/Desktop/images/18012025/21/59/image_18012025_21_59_02_652721_0002.jpg
/home/pi/Desktop/images/18012025/21/59/image_18012025_21_59_02_652721_0003.jpg
/home/pi/Desktop/images/18012025/22/00/image_18012025_22_00_02_992488_0000.jpg
/home/pi/Desktop/images/18012025/22/00/image_18012025_22_00_02_992488_0001.jpg
/home/pi/Desktop/images/18012025/22/00/image_18012025_22_00_02_992488_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329863326","1329863320","1329863317","1329863322","1329863328","1329863324"],"photo_ids_order":["1329863317","1329863320","1329863322","1329863324","1329863326","1329863328"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9711dc4118564b56de504350083cdbbd.jpg","text":"TemporaryFile(/tmp/multipartBody3248784228213634916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234158861,"filename":"image_18012025_22_00_02_992488_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9116b1960c65e2b99edf73364ca64dc3.jpg","text":"TemporaryFile(/tmp/multipartBody1175044686601149480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234158861,"filename":"image_18012025_21_59_02_652721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c2b94f0dea06d209e9497ef16165fc53.jpg","text":"TemporaryFile(/tmp/multipartBody3804021710105979555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234158861,"filename":"image_18012025_21_59_02_652721_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65f999c49e7cabf3a61a7b08862ded0e.jpg","text":"TemporaryFile(/tmp/multipartBody5196140865912205830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234158861,"filename":"image_18012025_21_59_02_652721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/58ed134ae77d744994cb1c3fc9a79b8b.jpg","text":"TemporaryFile(/tmp/multipartBody6312381216579778891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234158861,"filename":"image_18012025_22_00_02_992488_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bb5bb57a92228643a6df3d1a013e0892.jpg","text":"TemporaryFile(/tmp/multipartBody8740867926046717292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234158861,"filename":"image_18012025_22_00_02_992488_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329863322","file1":"1329863320","file0":"1329863317","file4":"1329863326","file5":"1329863328","file3":"1329863324"},"map_files_photo_id_array":[{"photo_id":"1329863328","filename":"file5"},{"photo_id":"1329863322","filename":"file2"},{"photo_id":"1329863326","filename":"file4"},{"photo_id":"1329863320","filename":"file1"},{"photo_id":"1329863317","filename":"file0"},{"photo_id":"1329863324","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329863326":["hashtag1","hashtag2"]},{"1329863320":["hashtag1","hashtag2"]},{"1329863317":["hashtag1","hashtag2"]},{"1329863322":["hashtag1","hashtag2"]},{"1329863328":["hashtag1","hashtag2"]},{"1329863324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329863326, 1329863320, 1329863317, 1329863322, 1329863328, 1329863324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.466548204422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:02:22.349976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/00/image_18012025_22_00_02_992488_0003.jpg', '/home/pi/Desktop/images/18012025/22/01/image_18012025_22_01_02_305295_0000.jpg', '/home/pi/Desktop/images/18012025/22/01/image_18012025_22_01_02_305295_0001.jpg', '/home/pi/Desktop/images/18012025/22/01/image_18012025_22_01_02_305295_0002.jpg', '/home/pi/Desktop/images/18012025/22/01/image_18012025_22_01_02_305295_0003.jpg', '/home/pi/Desktop/images/18012025/22/02/image_18012025_22_02_02_493407_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/00/image_18012025_22_00_02_992488_0003.jpg
/home/pi/Desktop/images/18012025/22/01/image_18012025_22_01_02_305295_0000.jpg
/home/pi/Desktop/images/18012025/22/01/image_18012025_22_01_02_305295_0001.jpg
/home/pi/Desktop/images/18012025/22/01/image_18012025_22_01_02_305295_0002.jpg
/home/pi/Desktop/images/18012025/22/01/image_18012025_22_01_02_305295_0003.jpg
/home/pi/Desktop/images/18012025/22/02/image_18012025_22_02_02_493407_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329863353","1329863347","1329863341","1329863351","1329863345","1329863339"],"photo_ids_order":["1329863339","1329863341","1329863345","1329863347","1329863351","1329863353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4359423f7434e7dd1d0206a12915e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2645193433027586966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234219152,"filename":"image_18012025_22_02_02_493407_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9083d2c82f7d9c6666d4469b9d855d22.jpg","text":"TemporaryFile(/tmp/multipartBody1931942346526295477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234219152,"filename":"image_18012025_22_01_02_305295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6863c6e751182095f139d5d9c1e8f926.jpg","text":"TemporaryFile(/tmp/multipartBody6333590078239539508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234219152,"filename":"image_18012025_22_01_02_305295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b5c94d3f3c5f7222fb4923086ade0f0.jpg","text":"TemporaryFile(/tmp/multipartBody3231276680868321371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234219152,"filename":"image_18012025_22_01_02_305295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d3d799c076b84d82cd9608e696395ee2.jpg","text":"TemporaryFile(/tmp/multipartBody416747374681618977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234219152,"filename":"image_18012025_22_01_02_305295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7240ed36b09b4838e8d9e539398e6503.jpg","text":"TemporaryFile(/tmp/multipartBody5561240313576435258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234219152,"filename":"image_18012025_22_00_02_992488_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329863345","file1":"1329863341","file0":"1329863339","file4":"1329863351","file5":"1329863353","file3":"1329863347"},"map_files_photo_id_array":[{"photo_id":"1329863353","filename":"file5"},{"photo_id":"1329863345","filename":"file2"},{"photo_id":"1329863351","filename":"file4"},{"photo_id":"1329863341","filename":"file1"},{"photo_id":"1329863339","filename":"file0"},{"photo_id":"1329863347","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329863353":["hashtag1","hashtag2"]},{"1329863347":["hashtag1","hashtag2"]},{"1329863341":["hashtag1","hashtag2"]},{"1329863351":["hashtag1","hashtag2"]},{"1329863345":["hashtag1","hashtag2"]},{"1329863339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329863353, 1329863347, 1329863341, 1329863351, 1329863345, 1329863339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.28520703315735 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:03:22.551382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/02/image_18012025_22_02_02_493407_0001.jpg', '/home/pi/Desktop/images/18012025/22/02/image_18012025_22_02_02_493407_0002.jpg', '/home/pi/Desktop/images/18012025/22/02/image_18012025_22_02_02_493407_0003.jpg', '/home/pi/Desktop/images/18012025/22/03/image_18012025_22_03_02_682868_0000.jpg', '/home/pi/Desktop/images/18012025/22/03/image_18012025_22_03_02_682868_0001.jpg', '/home/pi/Desktop/images/18012025/22/03/image_18012025_22_03_02_682868_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/02/image_18012025_22_02_02_493407_0001.jpg
/home/pi/Desktop/images/18012025/22/02/image_18012025_22_02_02_493407_0002.jpg
/home/pi/Desktop/images/18012025/22/02/image_18012025_22_02_02_493407_0003.jpg
/home/pi/Desktop/images/18012025/22/03/image_18012025_22_03_02_682868_0000.jpg
/home/pi/Desktop/images/18012025/22/03/image_18012025_22_03_02_682868_0001.jpg
/home/pi/Desktop/images/18012025/22/03/image_18012025_22_03_02_682868_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329863419","1329863404","1329863382","1329863421","1329863379","1329863417"],"photo_ids_order":["1329863379","1329863382","1329863404","1329863417","1329863419","1329863421"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c4289cafd46d03b1bbf127503bf43d3.jpg","text":"TemporaryFile(/tmp/multipartBody6466798748548320138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234279342,"filename":"image_18012025_22_03_02_682868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ee30d195a73dbe0e1538831b659498b.jpg","text":"TemporaryFile(/tmp/multipartBody6086553656461405412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234279342,"filename":"image_18012025_22_02_02_493407_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7046371d5921d57f62b49cacbd9b98e4.jpg","text":"TemporaryFile(/tmp/multipartBody2911238474337429189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234279342,"filename":"image_18012025_22_02_02_493407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15d6d4b29f4bc83b66c1b50ea773d4fd.jpg","text":"TemporaryFile(/tmp/multipartBody8200061153434866841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234279342,"filename":"image_18012025_22_03_02_682868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e8942728cbaf30c5df55995eba35c68.jpg","text":"TemporaryFile(/tmp/multipartBody4661099901054505847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234279342,"filename":"image_18012025_22_02_02_493407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/efcd85f464a57b3d0e8fc467d4c265cd.jpg","text":"TemporaryFile(/tmp/multipartBody5907533763282635312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234279342,"filename":"image_18012025_22_03_02_682868_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329863404","file1":"1329863382","file0":"1329863379","file4":"1329863419","file5":"1329863421","file3":"1329863417"},"map_files_photo_id_array":[{"photo_id":"1329863421","filename":"file5"},{"photo_id":"1329863404","filename":"file2"},{"photo_id":"1329863419","filename":"file4"},{"photo_id":"1329863382","filename":"file1"},{"photo_id":"1329863379","filename":"file0"},{"photo_id":"1329863417","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329863419":["hashtag1","hashtag2"]},{"1329863404":["hashtag1","hashtag2"]},{"1329863382":["hashtag1","hashtag2"]},{"1329863421":["hashtag1","hashtag2"]},{"1329863379":["hashtag1","hashtag2"]},{"1329863417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329863419, 1329863404, 1329863382, 1329863421, 1329863379, 1329863417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.10201644897461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:04:22.673185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/03/image_18012025_22_03_02_682868_0003.jpg', '/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0000.jpg', '/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0001.jpg', '/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/03/image_18012025_22_03_02_682868_0003.jpg
/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0000.jpg
/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0001.jpg
/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.124442338943481 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 22:04:42.678883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/03/image_18012025_22_03_02_682868_0003.jpg', '/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0000.jpg', '/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0001.jpg', '/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/03/image_18012025_22_03_02_682868_0003.jpg
/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0000.jpg
/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0001.jpg
/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329863602","1329863742","1329863604","1329863656"],"photo_ids_order":["1329863602","1329863604","1329863656","1329863742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/008cc13cc07762ed53b49fdc4a7906af.jpg","text":"TemporaryFile(/tmp/multipartBody5581559476081622712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234354204,"filename":"image_18012025_22_03_02_682868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d11ecb70950891112902410a3b3193e2.jpg","text":"TemporaryFile(/tmp/multipartBody1634766411777456951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234354204,"filename":"image_18012025_22_04_02_811956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/600c3e6168d192929cef71f88ea55110.jpg","text":"TemporaryFile(/tmp/multipartBody4776630159442523064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234354204,"filename":"image_18012025_22_04_02_811956_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ffb2e73dd0c757e42fcf5e06be81c1e3.jpg","text":"TemporaryFile(/tmp/multipartBody6872612087112870951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234354204,"filename":"image_18012025_22_04_02_811956_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329863656","file1":"1329863604","file0":"1329863602","file3":"1329863742"},"map_files_photo_id_array":[{"photo_id":"1329863656","filename":"file2"},{"photo_id":"1329863604","filename":"file1"},{"photo_id":"1329863602","filename":"file0"},{"photo_id":"1329863742","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329863602":["hashtag1","hashtag2"]},{"1329863742":["hashtag1","hashtag2"]},{"1329863604":["hashtag1","hashtag2"]},{"1329863656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329863602, 1329863742, 1329863604, 1329863656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.43159341812134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 22:05:31.822337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0003.jpg', '/home/pi/Desktop/images/18012025/22/05/image_18012025_22_05_03_017965_0000.jpg', '/home/pi/Desktop/images/18012025/22/05/image_18012025_22_05_03_017965_0001.jpg', '/home/pi/Desktop/images/18012025/22/05/image_18012025_22_05_03_017965_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/04/image_18012025_22_04_02_811956_0003.jpg
/home/pi/Desktop/images/18012025/22/05/image_18012025_22_05_03_017965_0000.jpg
/home/pi/Desktop/images/18012025/22/05/image_18012025_22_05_03_017965_0001.jpg
/home/pi/Desktop/images/18012025/22/05/image_18012025_22_05_03_017965_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329864723","1329864726","1329864728","1329864769"],"photo_ids_order":["1329864723","1329864726","1329864728","1329864769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15922dad684953b45e0ced135c6ee336.jpg","text":"TemporaryFile(/tmp/multipartBody2281279983565983222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234403295,"filename":"image_18012025_22_04_02_811956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b9f5d12652776b132f4a85df089f0f3.jpg","text":"TemporaryFile(/tmp/multipartBody1494139221479958728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234403295,"filename":"image_18012025_22_05_03_017965_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f76237d68b807638f0fc270b847af2f.jpg","text":"TemporaryFile(/tmp/multipartBody5139689534882501457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234403295,"filename":"image_18012025_22_05_03_017965_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e51a1a1d0d6f6ad384af650ca628c7c6.jpg","text":"TemporaryFile(/tmp/multipartBody2087896387495990560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234403295,"filename":"image_18012025_22_05_03_017965_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329864728","file1":"1329864726","file0":"1329864723","file3":"1329864769"},"map_files_photo_id_array":[{"photo_id":"1329864728","filename":"file2"},{"photo_id":"1329864726","filename":"file1"},{"photo_id":"1329864723","filename":"file0"},{"photo_id":"1329864769","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329864723":["hashtag1","hashtag2"]},{"1329864726":["hashtag1","hashtag2"]},{"1329864728":["hashtag1","hashtag2"]},{"1329864769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329864723, 1329864726, 1329864728, 1329864769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.248849391937256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:06:22.131325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/05/image_18012025_22_05_03_017965_0003.jpg', '/home/pi/Desktop/images/18012025/22/06/image_18012025_22_06_02_193861_0000.jpg', '/home/pi/Desktop/images/18012025/22/06/image_18012025_22_06_02_193861_0001.jpg', '/home/pi/Desktop/images/18012025/22/06/image_18012025_22_06_02_193861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/05/image_18012025_22_05_03_017965_0003.jpg
/home/pi/Desktop/images/18012025/22/06/image_18012025_22_06_02_193861_0000.jpg
/home/pi/Desktop/images/18012025/22/06/image_18012025_22_06_02_193861_0001.jpg
/home/pi/Desktop/images/18012025/22/06/image_18012025_22_06_02_193861_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329864902","1329864911","1329864905","1329864979"],"photo_ids_order":["1329864902","1329864905","1329864911","1329864979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3a724ed5aa0a2214728bb30007049882.jpg","text":"TemporaryFile(/tmp/multipartBody8944431483740193741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234453268,"filename":"image_18012025_22_05_03_017965_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/59b841d500f19a2628ccb8b6c5c70044.jpg","text":"TemporaryFile(/tmp/multipartBody4333826293117025716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234453268,"filename":"image_18012025_22_06_02_193861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/af2915afa0cb0da26e69608d6d846e83.jpg","text":"TemporaryFile(/tmp/multipartBody4507144296287343431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234453268,"filename":"image_18012025_22_06_02_193861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c7a1b27ef1e34ea371c04b6a07bf1d45.jpg","text":"TemporaryFile(/tmp/multipartBody4305553307313065906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234453268,"filename":"image_18012025_22_06_02_193861_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329864911","file1":"1329864905","file0":"1329864902","file3":"1329864979"},"map_files_photo_id_array":[{"photo_id":"1329864911","filename":"file2"},{"photo_id":"1329864905","filename":"file1"},{"photo_id":"1329864902","filename":"file0"},{"photo_id":"1329864979","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329864902":["hashtag1","hashtag2"]},{"1329864911":["hashtag1","hashtag2"]},{"1329864905":["hashtag1","hashtag2"]},{"1329864979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329864902, 1329864911, 1329864905, 1329864979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49913811683655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 22:07:02.835701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/37/image_16012025_23_37_02_266613_0002.jpg', '/home/pi/Desktop/images/16012025/23/37/image_16012025_23_37_02_266613_0003.jpg', '/home/pi/Desktop/images/16012025/23/38/image_16012025_23_38_02_477976_0000.jpg', '/home/pi/Desktop/images/16012025/23/38/image_16012025_23_38_02_477976_0001.jpg', '/home/pi/Desktop/images/16012025/23/38/image_16012025_23_38_02_477976_0002.jpg', '/home/pi/Desktop/images/16012025/23/38/image_16012025_23_38_02_477976_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/37/image_16012025_23_37_02_266613_0002.jpg
/home/pi/Desktop/images/16012025/23/37/image_16012025_23_37_02_266613_0003.jpg
/home/pi/Desktop/images/16012025/23/38/image_16012025_23_38_02_477976_0000.jpg
/home/pi/Desktop/images/16012025/23/38/image_16012025_23_38_02_477976_0001.jpg
/home/pi/Desktop/images/16012025/23/38/image_16012025_23_38_02_477976_0002.jpg
/home/pi/Desktop/images/16012025/23/38/image_16012025_23_38_02_477976_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329865416","1329865421","1329865418","1329865465","1329865468","1329865470"],"photo_ids_order":["1329865416","1329865418","1329865421","1329865465","1329865468","1329865470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92eb1b460c5486beaf80b9eae0c8942f.jpg","text":"TemporaryFile(/tmp/multipartBody251259542938301156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234500659,"filename":"image_16012025_23_37_02_266613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7a4eda2b887721f0a2c14242e216930.jpg","text":"TemporaryFile(/tmp/multipartBody6951123564396249923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234500659,"filename":"image_16012025_23_38_02_477976_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc8c92b83f9721109e90120258b76890.jpg","text":"TemporaryFile(/tmp/multipartBody1397488387051172081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234500659,"filename":"image_16012025_23_37_02_266613_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/801b6db44d47019bf901afa8553fd818.jpg","text":"TemporaryFile(/tmp/multipartBody4495218997014241202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234500659,"filename":"image_16012025_23_38_02_477976_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e43e00152ffb883c57976dca022ffa2c.jpg","text":"TemporaryFile(/tmp/multipartBody2281373460000389899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234500659,"filename":"image_16012025_23_38_02_477976_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/61ad115164f6b5545063084b1ceb2e41.jpg","text":"TemporaryFile(/tmp/multipartBody6888415987907695042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234500659,"filename":"image_16012025_23_38_02_477976_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329865421","file1":"1329865418","file0":"1329865416","file4":"1329865468","file5":"1329865470","file3":"1329865465"},"map_files_photo_id_array":[{"photo_id":"1329865470","filename":"file5"},{"photo_id":"1329865421","filename":"file2"},{"photo_id":"1329865468","filename":"file4"},{"photo_id":"1329865418","filename":"file1"},{"photo_id":"1329865416","filename":"file0"},{"photo_id":"1329865465","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329865416":["hashtag1","hashtag2"]},{"1329865421":["hashtag1","hashtag2"]},{"1329865418":["hashtag1","hashtag2"]},{"1329865465":["hashtag1","hashtag2"]},{"1329865468":["hashtag1","hashtag2"]},{"1329865470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329865416, 1329865421, 1329865418, 1329865465, 1329865468, 1329865470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.41489768028259 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:08:22.388406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/06/image_18012025_22_06_02_193861_0003.jpg', '/home/pi/Desktop/images/18012025/22/07/image_18012025_22_07_02_428212_0000.jpg', '/home/pi/Desktop/images/18012025/22/07/image_18012025_22_07_02_428212_0001.jpg', '/home/pi/Desktop/images/18012025/22/07/image_18012025_22_07_02_428212_0002.jpg', '/home/pi/Desktop/images/18012025/22/07/image_18012025_22_07_02_428212_0003.jpg', '/home/pi/Desktop/images/18012025/22/08/image_18012025_22_08_02_577172_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/06/image_18012025_22_06_02_193861_0003.jpg
/home/pi/Desktop/images/18012025/22/07/image_18012025_22_07_02_428212_0000.jpg
/home/pi/Desktop/images/18012025/22/07/image_18012025_22_07_02_428212_0001.jpg
/home/pi/Desktop/images/18012025/22/07/image_18012025_22_07_02_428212_0002.jpg
/home/pi/Desktop/images/18012025/22/07/image_18012025_22_07_02_428212_0003.jpg
/home/pi/Desktop/images/18012025/22/08/image_18012025_22_08_02_577172_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329865478","1329865481","1329865489","1329865483","1329865485","1329865488"],"photo_ids_order":["1329865478","1329865481","1329865483","1329865485","1329865488","1329865489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9648be9f2f7638dc76c62ba56234d598.jpg","text":"TemporaryFile(/tmp/multipartBody2248847349756879717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234579191,"filename":"image_18012025_22_06_02_193861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5423bda1fb47585bcd0c4db6d3c2b2e1.jpg","text":"TemporaryFile(/tmp/multipartBody492743103679839130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234579191,"filename":"image_18012025_22_07_02_428212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d417580ae84947afc03638674620cb98.jpg","text":"TemporaryFile(/tmp/multipartBody243236107913798060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234579191,"filename":"image_18012025_22_08_02_577172_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e2f44717bfe4a84d6bd3efb8e9e901f0.jpg","text":"TemporaryFile(/tmp/multipartBody1324193738855825110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234579191,"filename":"image_18012025_22_07_02_428212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4697d7cb6cc3c9bd895e3d94399f3f10.jpg","text":"TemporaryFile(/tmp/multipartBody813591483553636114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234579191,"filename":"image_18012025_22_07_02_428212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/316f1e57229d55e96c6bdfd77c1bae77.jpg","text":"TemporaryFile(/tmp/multipartBody1130505243605680925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234579191,"filename":"image_18012025_22_07_02_428212_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329865483","file1":"1329865481","file0":"1329865478","file4":"1329865488","file5":"1329865489","file3":"1329865485"},"map_files_photo_id_array":[{"photo_id":"1329865489","filename":"file5"},{"photo_id":"1329865483","filename":"file2"},{"photo_id":"1329865488","filename":"file4"},{"photo_id":"1329865481","filename":"file1"},{"photo_id":"1329865478","filename":"file0"},{"photo_id":"1329865485","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329865478":["hashtag1","hashtag2"]},{"1329865481":["hashtag1","hashtag2"]},{"1329865489":["hashtag1","hashtag2"]},{"1329865483":["hashtag1","hashtag2"]},{"1329865485":["hashtag1","hashtag2"]},{"1329865488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329865478, 1329865481, 1329865489, 1329865483, 1329865485, 1329865488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.801496505737305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:09:22.484805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/08/image_18012025_22_08_02_577172_0001.jpg', '/home/pi/Desktop/images/18012025/22/08/image_18012025_22_08_02_577172_0002.jpg', '/home/pi/Desktop/images/18012025/22/08/image_18012025_22_08_02_577172_0003.jpg', '/home/pi/Desktop/images/18012025/22/09/image_18012025_22_09_02_726430_0000.jpg', '/home/pi/Desktop/images/18012025/22/09/image_18012025_22_09_02_726430_0001.jpg', '/home/pi/Desktop/images/18012025/22/09/image_18012025_22_09_02_726430_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/08/image_18012025_22_08_02_577172_0001.jpg
/home/pi/Desktop/images/18012025/22/08/image_18012025_22_08_02_577172_0002.jpg
/home/pi/Desktop/images/18012025/22/08/image_18012025_22_08_02_577172_0003.jpg
/home/pi/Desktop/images/18012025/22/09/image_18012025_22_09_02_726430_0000.jpg
/home/pi/Desktop/images/18012025/22/09/image_18012025_22_09_02_726430_0001.jpg
/home/pi/Desktop/images/18012025/22/09/image_18012025_22_09_02_726430_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329865527","1329865496","1329865500","1329865502","1329865513","1329865504"],"photo_ids_order":["1329865496","1329865500","1329865502","1329865504","1329865513","1329865527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b051e46737046b2cd75dc93ef7a092bb.jpg","text":"TemporaryFile(/tmp/multipartBody4139136869780351185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234639318,"filename":"image_18012025_22_09_02_726430_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da79cd24a0b585772a2cbe3039065fe5.jpg","text":"TemporaryFile(/tmp/multipartBody5054098995832016980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234639318,"filename":"image_18012025_22_08_02_577172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5364405f6d2520a7ca1a37dd5751ff8b.jpg","text":"TemporaryFile(/tmp/multipartBody7809730342107875488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234639318,"filename":"image_18012025_22_08_02_577172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/adbf9de9e2e94acd24e4f00ce3fb4f0b.jpg","text":"TemporaryFile(/tmp/multipartBody1398306417437673711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234639318,"filename":"image_18012025_22_08_02_577172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/40175ab612f8f02f0574734c6366ba66.jpg","text":"TemporaryFile(/tmp/multipartBody5070037098672736349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234639318,"filename":"image_18012025_22_09_02_726430_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eaaa61305fe4de08521adb27a4e9967b.jpg","text":"TemporaryFile(/tmp/multipartBody4559598467877451956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234639318,"filename":"image_18012025_22_09_02_726430_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329865502","file1":"1329865500","file0":"1329865496","file4":"1329865513","file5":"1329865527","file3":"1329865504"},"map_files_photo_id_array":[{"photo_id":"1329865527","filename":"file5"},{"photo_id":"1329865502","filename":"file2"},{"photo_id":"1329865513","filename":"file4"},{"photo_id":"1329865500","filename":"file1"},{"photo_id":"1329865496","filename":"file0"},{"photo_id":"1329865504","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329865527":["hashtag1","hashtag2"]},{"1329865496":["hashtag1","hashtag2"]},{"1329865500":["hashtag1","hashtag2"]},{"1329865502":["hashtag1","hashtag2"]},{"1329865513":["hashtag1","hashtag2"]},{"1329865504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329865527, 1329865496, 1329865500, 1329865502, 1329865513, 1329865504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.26571297645569 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 22:10:32.719676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/09/image_18012025_22_09_02_726430_0003.jpg', '/home/pi/Desktop/images/18012025/22/10/image_18012025_22_10_02_871675_0000.jpg', '/home/pi/Desktop/images/18012025/22/10/image_18012025_22_10_02_871675_0001.jpg', '/home/pi/Desktop/images/18012025/22/10/image_18012025_22_10_02_871675_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/09/image_18012025_22_09_02_726430_0003.jpg
/home/pi/Desktop/images/18012025/22/10/image_18012025_22_10_02_871675_0000.jpg
/home/pi/Desktop/images/18012025/22/10/image_18012025_22_10_02_871675_0001.jpg
/home/pi/Desktop/images/18012025/22/10/image_18012025_22_10_02_871675_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329865565","1329865559","1329865569","1329865554"],"photo_ids_order":["1329865554","1329865559","1329865565","1329865569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/50a11d7bcac3d552549e73bea0156db1.jpg","text":"TemporaryFile(/tmp/multipartBody6538872475320691158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234704144,"filename":"image_18012025_22_10_02_871675_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a9f55881caff50da8b317fa849b67918.jpg","text":"TemporaryFile(/tmp/multipartBody6021188773877248610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234704144,"filename":"image_18012025_22_10_02_871675_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/32bc7900c97037a9e74e6c99db35e2de.jpg","text":"TemporaryFile(/tmp/multipartBody7321611185761495346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234704144,"filename":"image_18012025_22_10_02_871675_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cb35258d8c02f4bf1cde5122363f0cff.jpg","text":"TemporaryFile(/tmp/multipartBody890402474951653216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234704144,"filename":"image_18012025_22_09_02_726430_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329865565","file1":"1329865559","file0":"1329865554","file3":"1329865569"},"map_files_photo_id_array":[{"photo_id":"1329865565","filename":"file2"},{"photo_id":"1329865559","filename":"file1"},{"photo_id":"1329865554","filename":"file0"},{"photo_id":"1329865569","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329865565":["hashtag1","hashtag2"]},{"1329865559":["hashtag1","hashtag2"]},{"1329865569":["hashtag1","hashtag2"]},{"1329865554":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329865565, 1329865559, 1329865569, 1329865554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.63060545921326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:11:21.861203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/10/image_18012025_22_10_02_871675_0003.jpg', '/home/pi/Desktop/images/18012025/22/11/image_18012025_22_11_03_069951_0000.jpg', '/home/pi/Desktop/images/18012025/22/11/image_18012025_22_11_03_069951_0001.jpg', '/home/pi/Desktop/images/18012025/22/11/image_18012025_22_11_03_069951_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/10/image_18012025_22_10_02_871675_0003.jpg
/home/pi/Desktop/images/18012025/22/11/image_18012025_22_11_03_069951_0000.jpg
/home/pi/Desktop/images/18012025/22/11/image_18012025_22_11_03_069951_0001.jpg
/home/pi/Desktop/images/18012025/22/11/image_18012025_22_11_03_069951_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329865583","1329865576","1329865579","1329865581"],"photo_ids_order":["1329865576","1329865579","1329865581","1329865583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92265f96eeaa6506efbe71fabdcb6171.jpg","text":"TemporaryFile(/tmp/multipartBody9076690683345011184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234753405,"filename":"image_18012025_22_11_03_069951_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf66abcc36b62a0fd074b754e5f9f281.jpg","text":"TemporaryFile(/tmp/multipartBody5991976675355755716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234753405,"filename":"image_18012025_22_10_02_871675_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5a4c45ff4b6731c0967f5680b607035.jpg","text":"TemporaryFile(/tmp/multipartBody7847005918871373104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234753405,"filename":"image_18012025_22_11_03_069951_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a96e8c40f07ab5cc7780c1e7de6c79fe.jpg","text":"TemporaryFile(/tmp/multipartBody7025896919303856012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234753405,"filename":"image_18012025_22_11_03_069951_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329865581","file1":"1329865579","file0":"1329865576","file3":"1329865583"},"map_files_photo_id_array":[{"photo_id":"1329865581","filename":"file2"},{"photo_id":"1329865579","filename":"file1"},{"photo_id":"1329865576","filename":"file0"},{"photo_id":"1329865583","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329865583":["hashtag1","hashtag2"]},{"1329865576":["hashtag1","hashtag2"]},{"1329865579":["hashtag1","hashtag2"]},{"1329865581":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329865583, 1329865576, 1329865579, 1329865581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.24163317680359 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:12:22.466140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/11/image_18012025_22_11_03_069951_0003.jpg', '/home/pi/Desktop/images/18012025/22/12/image_18012025_22_12_02_326047_0000.jpg', '/home/pi/Desktop/images/18012025/22/12/image_18012025_22_12_02_326047_0001.jpg', '/home/pi/Desktop/images/18012025/22/12/image_18012025_22_12_02_326047_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/11/image_18012025_22_11_03_069951_0003.jpg
/home/pi/Desktop/images/18012025/22/12/image_18012025_22_12_02_326047_0000.jpg
/home/pi/Desktop/images/18012025/22/12/image_18012025_22_12_02_326047_0001.jpg
/home/pi/Desktop/images/18012025/22/12/image_18012025_22_12_02_326047_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329865594","1329865588","1329865590","1329865593"],"photo_ids_order":["1329865588","1329865590","1329865593","1329865594"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e95fd1c52d9e6db00e19a7d6602cb00f.jpg","text":"TemporaryFile(/tmp/multipartBody3102490882393254856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234814049,"filename":"image_18012025_22_12_02_326047_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/69d69fe50162ab34fb0da85390c1c389.jpg","text":"TemporaryFile(/tmp/multipartBody3250501431796028051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234814049,"filename":"image_18012025_22_11_03_069951_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7250c20c1ddbb4ed0950d979119027ed.jpg","text":"TemporaryFile(/tmp/multipartBody1557374844735980398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234814049,"filename":"image_18012025_22_12_02_326047_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd868c1af4d72ade2e64b910544888bf.jpg","text":"TemporaryFile(/tmp/multipartBody252031793865838942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234814049,"filename":"image_18012025_22_12_02_326047_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329865593","file1":"1329865590","file0":"1329865588","file3":"1329865594"},"map_files_photo_id_array":[{"photo_id":"1329865593","filename":"file2"},{"photo_id":"1329865590","filename":"file1"},{"photo_id":"1329865588","filename":"file0"},{"photo_id":"1329865594","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329865594":["hashtag1","hashtag2"]},{"1329865588":["hashtag1","hashtag2"]},{"1329865590":["hashtag1","hashtag2"]},{"1329865593":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329865594, 1329865588, 1329865590, 1329865593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.66302466392517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:13:22.401112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/12/image_18012025_22_12_02_326047_0003.jpg', '/home/pi/Desktop/images/18012025/22/13/image_18012025_22_13_02_531897_0000.jpg', '/home/pi/Desktop/images/18012025/22/13/image_18012025_22_13_02_531897_0001.jpg', '/home/pi/Desktop/images/18012025/22/13/image_18012025_22_13_02_531897_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/12/image_18012025_22_12_02_326047_0003.jpg
/home/pi/Desktop/images/18012025/22/13/image_18012025_22_13_02_531897_0000.jpg
/home/pi/Desktop/images/18012025/22/13/image_18012025_22_13_02_531897_0001.jpg
/home/pi/Desktop/images/18012025/22/13/image_18012025_22_13_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329865644","1329865646","1329865648","1329865641"],"photo_ids_order":["1329865641","1329865644","1329865646","1329865648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/feb21d9391f90863aab5ffff7de140c5.jpg","text":"TemporaryFile(/tmp/multipartBody3710644274366670009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234873993,"filename":"image_18012025_22_13_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/18/3d9cb9af58c5aed91ff87bb246e90334.jpg","text":"TemporaryFile(/tmp/multipartBody8346717309795394637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234873993,"filename":"image_18012025_22_13_02_531897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e04364bb211ffd9c03a66a3ad74bfa54.jpg","text":"TemporaryFile(/tmp/multipartBody3680250802506886814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234873993,"filename":"image_18012025_22_13_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/18/dd681591343c4233822123490f2ea7c6.jpg","text":"TemporaryFile(/tmp/multipartBody1209384629074127536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234873993,"filename":"image_18012025_22_12_02_326047_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329865646","file1":"1329865644","file0":"1329865641","file3":"1329865648"},"map_files_photo_id_array":[{"photo_id":"1329865646","filename":"file2"},{"photo_id":"1329865644","filename":"file1"},{"photo_id":"1329865641","filename":"file0"},{"photo_id":"1329865648","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329865644":["hashtag1","hashtag2"]},{"1329865646":["hashtag1","hashtag2"]},{"1329865648":["hashtag1","hashtag2"]},{"1329865641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329865644, 1329865646, 1329865648, 1329865641)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.706257581710815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:14:22.485309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/13/image_18012025_22_13_02_531897_0003.jpg', '/home/pi/Desktop/images/18012025/22/14/image_18012025_22_14_02_698431_0000.jpg', '/home/pi/Desktop/images/18012025/22/14/image_18012025_22_14_02_698431_0001.jpg', '/home/pi/Desktop/images/18012025/22/14/image_18012025_22_14_02_698431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/13/image_18012025_22_13_02_531897_0003.jpg
/home/pi/Desktop/images/18012025/22/14/image_18012025_22_14_02_698431_0000.jpg
/home/pi/Desktop/images/18012025/22/14/image_18012025_22_14_02_698431_0001.jpg
/home/pi/Desktop/images/18012025/22/14/image_18012025_22_14_02_698431_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329865658","1329865655","1329865660","1329865662"],"photo_ids_order":["1329865655","1329865658","1329865660","1329865662"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c466a6f5a93659b455755f21735f7011.jpg","text":"TemporaryFile(/tmp/multipartBody7848019064096929694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234934120,"filename":"image_18012025_22_14_02_698431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53046b8d39b0be98465b57c6452e2579.jpg","text":"TemporaryFile(/tmp/multipartBody4462835699644903204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234934120,"filename":"image_18012025_22_13_02_531897_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b8a79cb150df1367fbab5582fbbb056.jpg","text":"TemporaryFile(/tmp/multipartBody3095472305991050653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234934120,"filename":"image_18012025_22_14_02_698431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/46bf557929ad6325db72440aee6e8527.jpg","text":"TemporaryFile(/tmp/multipartBody5638368713513431047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234934120,"filename":"image_18012025_22_14_02_698431_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329865660","file1":"1329865658","file0":"1329865655","file3":"1329865662"},"map_files_photo_id_array":[{"photo_id":"1329865660","filename":"file2"},{"photo_id":"1329865658","filename":"file1"},{"photo_id":"1329865655","filename":"file0"},{"photo_id":"1329865662","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329865658":["hashtag1","hashtag2"]},{"1329865655":["hashtag1","hashtag2"]},{"1329865660":["hashtag1","hashtag2"]},{"1329865662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329865658, 1329865655, 1329865660, 1329865662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.275516510009766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:15:22.721421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/14/image_18012025_22_14_02_698431_0003.jpg', '/home/pi/Desktop/images/18012025/22/15/image_18012025_22_15_02_929384_0000.jpg', '/home/pi/Desktop/images/18012025/22/15/image_18012025_22_15_02_929384_0001.jpg', '/home/pi/Desktop/images/18012025/22/15/image_18012025_22_15_02_929384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/14/image_18012025_22_14_02_698431_0003.jpg
/home/pi/Desktop/images/18012025/22/15/image_18012025_22_15_02_929384_0000.jpg
/home/pi/Desktop/images/18012025/22/15/image_18012025_22_15_02_929384_0001.jpg
/home/pi/Desktop/images/18012025/22/15/image_18012025_22_15_02_929384_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329865670","1329865673","1329865667","1329865665"],"photo_ids_order":["1329865665","1329865667","1329865670","1329865673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee911bb78409c054809aa29b71d85446.jpg","text":"TemporaryFile(/tmp/multipartBody7572874108312499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234994394,"filename":"image_18012025_22_15_02_929384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee7f1aaf20588299b9cb1db083d46374.jpg","text":"TemporaryFile(/tmp/multipartBody2563797380341987578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234994394,"filename":"image_18012025_22_15_02_929384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc90f93f782852ee4d54dad8f683687c.jpg","text":"TemporaryFile(/tmp/multipartBody2789594376723507818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234994394,"filename":"image_18012025_22_15_02_929384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fa80defeb4889d97cddedce43c67480d.jpg","text":"TemporaryFile(/tmp/multipartBody735135977403944089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737234994394,"filename":"image_18012025_22_14_02_698431_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329865670","file1":"1329865667","file0":"1329865665","file3":"1329865673"},"map_files_photo_id_array":[{"photo_id":"1329865670","filename":"file2"},{"photo_id":"1329865667","filename":"file1"},{"photo_id":"1329865665","filename":"file0"},{"photo_id":"1329865673","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329865670":["hashtag1","hashtag2"]},{"1329865673":["hashtag1","hashtag2"]},{"1329865667":["hashtag1","hashtag2"]},{"1329865665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329865670, 1329865673, 1329865667, 1329865665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.15756416320801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:16:21.919710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/15/image_18012025_22_15_02_929384_0003.jpg', '/home/pi/Desktop/images/18012025/22/16/image_18012025_22_16_03_099876_0000.jpg', '/home/pi/Desktop/images/18012025/22/16/image_18012025_22_16_03_099876_0001.jpg', '/home/pi/Desktop/images/18012025/22/16/image_18012025_22_16_03_099876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/15/image_18012025_22_15_02_929384_0003.jpg
/home/pi/Desktop/images/18012025/22/16/image_18012025_22_16_03_099876_0000.jpg
/home/pi/Desktop/images/18012025/22/16/image_18012025_22_16_03_099876_0001.jpg
/home/pi/Desktop/images/18012025/22/16/image_18012025_22_16_03_099876_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329865766","1329865792","1329865764","1329865788"],"photo_ids_order":["1329865764","1329865766","1329865788","1329865792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e94b181c42b7218cd70ff5039bb379bb.jpg","text":"TemporaryFile(/tmp/multipartBody1918133766122400072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235053547,"filename":"image_18012025_22_16_03_099876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c3851c65d98437311480f80051c8fee.jpg","text":"TemporaryFile(/tmp/multipartBody3519033352348806574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235053547,"filename":"image_18012025_22_16_03_099876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd9e01d6f2de8e5d04e9eeabf747aaf3.jpg","text":"TemporaryFile(/tmp/multipartBody1265861720882030280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235053547,"filename":"image_18012025_22_15_02_929384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cc525fdeed9c69406280cb874cf669b3.jpg","text":"TemporaryFile(/tmp/multipartBody5421465254517170741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235053547,"filename":"image_18012025_22_16_03_099876_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329865788","file1":"1329865766","file0":"1329865764","file3":"1329865792"},"map_files_photo_id_array":[{"photo_id":"1329865788","filename":"file2"},{"photo_id":"1329865766","filename":"file1"},{"photo_id":"1329865764","filename":"file0"},{"photo_id":"1329865792","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329865766":["hashtag1","hashtag2"]},{"1329865792":["hashtag1","hashtag2"]},{"1329865764":["hashtag1","hashtag2"]},{"1329865788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329865766, 1329865792, 1329865764, 1329865788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.186583042144775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:17:22.106616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/16/image_18012025_22_16_03_099876_0003.jpg', '/home/pi/Desktop/images/18012025/22/17/image_18012025_22_17_02_271762_0000.jpg', '/home/pi/Desktop/images/18012025/22/17/image_18012025_22_17_02_271762_0001.jpg', '/home/pi/Desktop/images/18012025/22/17/image_18012025_22_17_02_271762_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/16/image_18012025_22_16_03_099876_0003.jpg
/home/pi/Desktop/images/18012025/22/17/image_18012025_22_17_02_271762_0000.jpg
/home/pi/Desktop/images/18012025/22/17/image_18012025_22_17_02_271762_0001.jpg
/home/pi/Desktop/images/18012025/22/17/image_18012025_22_17_02_271762_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329865836","1329865812","1329865832","1329865834"],"photo_ids_order":["1329865812","1329865832","1329865834","1329865836"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/76e717a257322e123b560236b4924719.jpg","text":"TemporaryFile(/tmp/multipartBody2291587640308924613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235113283,"filename":"image_18012025_22_17_02_271762_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7adac6fa550f3845a4721614db8c941b.jpg","text":"TemporaryFile(/tmp/multipartBody549959623548406904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235113283,"filename":"image_18012025_22_16_03_099876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b702954dc61548b771aeaa27fa2d30b6.jpg","text":"TemporaryFile(/tmp/multipartBody1188883070395887657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235113283,"filename":"image_18012025_22_17_02_271762_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c51b0ea1ae62c56f2c21485c43b0bde5.jpg","text":"TemporaryFile(/tmp/multipartBody6598768122162808215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235113283,"filename":"image_18012025_22_17_02_271762_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329865834","file1":"1329865832","file0":"1329865812","file3":"1329865836"},"map_files_photo_id_array":[{"photo_id":"1329865834","filename":"file2"},{"photo_id":"1329865832","filename":"file1"},{"photo_id":"1329865812","filename":"file0"},{"photo_id":"1329865836","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329865836":["hashtag1","hashtag2"]},{"1329865812":["hashtag1","hashtag2"]},{"1329865832":["hashtag1","hashtag2"]},{"1329865834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329865836, 1329865812, 1329865832, 1329865834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.146119117736816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 22:18:02.693097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/39/image_16012025_23_39_02_632021_0000.jpg', '/home/pi/Desktop/images/16012025/23/39/image_16012025_23_39_02_632021_0001.jpg', '/home/pi/Desktop/images/16012025/23/39/image_16012025_23_39_02_632021_0002.jpg', '/home/pi/Desktop/images/16012025/23/39/image_16012025_23_39_02_632021_0003.jpg', '/home/pi/Desktop/images/16012025/23/40/image_16012025_23_40_02_873521_0000.jpg', '/home/pi/Desktop/images/16012025/23/40/image_16012025_23_40_02_873521_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/39/image_16012025_23_39_02_632021_0000.jpg
/home/pi/Desktop/images/16012025/23/39/image_16012025_23_39_02_632021_0001.jpg
/home/pi/Desktop/images/16012025/23/39/image_16012025_23_39_02_632021_0002.jpg
/home/pi/Desktop/images/16012025/23/39/image_16012025_23_39_02_632021_0003.jpg
/home/pi/Desktop/images/16012025/23/40/image_16012025_23_40_02_873521_0000.jpg
/home/pi/Desktop/images/16012025/23/40/image_16012025_23_40_02_873521_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":["1329866546","1329866501","1329866563","1329866518","1329866209","1329866439"],"photo_ids_order":["1329866209","1329866439","1329866501","1329866518","1329866546","1329866563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/df99b963db84fc74cd6e40812cb80a90.jpg","text":"TemporaryFile(/tmp/multipartBody5199939982940914557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235160182,"filename":"image_16012025_23_40_02_873521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d7af64f80f77962d996f0261b913a897.jpg","text":"TemporaryFile(/tmp/multipartBody5940292761311041572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235160182,"filename":"image_16012025_23_39_02_632021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/843396d02ad3f1294dfcdfafc6dfb972.jpg","text":"TemporaryFile(/tmp/multipartBody8672572564080572657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235160182,"filename":"image_16012025_23_40_02_873521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/780a822f9c18a10fee26d318128a96bd.jpg","text":"TemporaryFile(/tmp/multipartBody6999535388174066119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235160182,"filename":"image_16012025_23_39_02_632021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2a65cd4d4a1ef3a07b9f6946a5fe1eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2034534938251905642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235160182,"filename":"image_16012025_23_39_02_632021_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ccfcbdfe79f9b50066af0da425b378ab.jpg","text":"TemporaryFile(/tmp/multipartBody2215750567834990497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235160182,"filename":"image_16012025_23_39_02_632021_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329866501","file1":"1329866439","file0":"1329866209","file4":"1329866546","file5":"1329866563","file3":"1329866518"},"map_files_photo_id_array":[{"photo_id":"1329866563","filename":"file5"},{"photo_id":"1329866501","filename":"file2"},{"photo_id":"1329866546","filename":"file4"},{"photo_id":"1329866439","filename":"file1"},{"photo_id":"1329866209","filename":"file0"},{"photo_id":"1329866518","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329866546":["hashtag1","hashtag2"]},{"1329866501":["hashtag1","hashtag2"]},{"1329866563":["hashtag1","hashtag2"]},{"1329866518":["hashtag1","hashtag2"]},{"1329866209":["hashtag1","hashtag2"]},{"1329866439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329866546, 1329866501, 1329866563, 1329866518, 1329866209, 1329866439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.50351643562317 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 22:19:03.122167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/17/image_18012025_22_17_02_271762_0003.jpg', '/home/pi/Desktop/images/18012025/22/18/image_18012025_22_18_02_490388_0000.jpg', '/home/pi/Desktop/images/18012025/22/18/image_18012025_22_18_02_490388_0001.jpg', '/home/pi/Desktop/images/18012025/22/18/image_18012025_22_18_02_490388_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/17/image_18012025_22_17_02_271762_0003.jpg
/home/pi/Desktop/images/18012025/22/18/image_18012025_22_18_02_490388_0000.jpg
/home/pi/Desktop/images/18012025/22/18/image_18012025_22_18_02_490388_0001.jpg
/home/pi/Desktop/images/18012025/22/18/image_18012025_22_18_02_490388_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329866618","1329866761","1329867095","1329867306"],"photo_ids_order":["1329866618","1329866761","1329867095","1329867306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/848f1ad8495eb8b29f0dd8050cd385ad.jpg","text":"TemporaryFile(/tmp/multipartBody88255784822049725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235214848,"filename":"image_18012025_22_17_02_271762_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/342988635fbce1b34c4390a9d410cf14.jpg","text":"TemporaryFile(/tmp/multipartBody240702926691028250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235214848,"filename":"image_18012025_22_18_02_490388_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7512a9c4f172a6e3e547b3e12f3db539.jpg","text":"TemporaryFile(/tmp/multipartBody8470549425506863942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235214848,"filename":"image_18012025_22_18_02_490388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/058a099e5a60980e4aa3b9327656f8a9.jpg","text":"TemporaryFile(/tmp/multipartBody6298782691027044074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235214848,"filename":"image_18012025_22_18_02_490388_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329867095","file1":"1329866761","file0":"1329866618","file3":"1329867306"},"map_files_photo_id_array":[{"photo_id":"1329867095","filename":"file2"},{"photo_id":"1329866761","filename":"file1"},{"photo_id":"1329866618","filename":"file0"},{"photo_id":"1329867306","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329866618":["hashtag1","hashtag2"]},{"1329866761":["hashtag1","hashtag2"]},{"1329867095":["hashtag1","hashtag2"]},{"1329867306":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329866618, 1329866761, 1329867095, 1329867306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.73883843421936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 22:19:52.470907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/18/image_18012025_22_18_02_490388_0003.jpg', '/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0000.jpg', '/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0001.jpg', '/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/18/image_18012025_22_18_02_490388_0003.jpg
/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0000.jpg
/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0001.jpg
/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.072935819625854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:20:22.631318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/18/image_18012025_22_18_02_490388_0003.jpg', '/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0000.jpg', '/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0001.jpg', '/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0002.jpg', '/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0003.jpg', '/home/pi/Desktop/images/18012025/22/20/image_18012025_22_20_02_897973_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/18/image_18012025_22_18_02_490388_0003.jpg
/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0000.jpg
/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0001.jpg
/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0002.jpg
/home/pi/Desktop/images/18012025/22/19/image_18012025_22_19_02_718221_0003.jpg
/home/pi/Desktop/images/18012025/22/20/image_18012025_22_20_02_897973_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329867859","1329867798","1329867861","1329867863","1329867801","1329867833"],"photo_ids_order":["1329867798","1329867801","1329867833","1329867859","1329867861","1329867863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1782f8e04f6190b8e8cd050c88f5a75b.jpg","text":"TemporaryFile(/tmp/multipartBody7927250894809510801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235299687,"filename":"image_18012025_22_19_02_718221_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b37736eb1e97d1961807c0d40414ee1.jpg","text":"TemporaryFile(/tmp/multipartBody7320697666925052476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235299687,"filename":"image_18012025_22_18_02_490388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ef6c48f2f7f6b30279e63d9eb7c0275.jpg","text":"TemporaryFile(/tmp/multipartBody1057148495868922293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235299687,"filename":"image_18012025_22_19_02_718221_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6613d62f7b1cf26c3cb2545ba0d92782.jpg","text":"TemporaryFile(/tmp/multipartBody8495422055331873799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235299687,"filename":"image_18012025_22_20_02_897973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b8cbd12965b6ba6bd5df53bc5e2b178a.jpg","text":"TemporaryFile(/tmp/multipartBody5665066057346852848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235299687,"filename":"image_18012025_22_19_02_718221_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7588ffe297a6f9e664b354220e42962.jpg","text":"TemporaryFile(/tmp/multipartBody7824919272120563478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235299687,"filename":"image_18012025_22_19_02_718221_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329867833","file1":"1329867801","file0":"1329867798","file4":"1329867861","file5":"1329867863","file3":"1329867859"},"map_files_photo_id_array":[{"photo_id":"1329867863","filename":"file5"},{"photo_id":"1329867833","filename":"file2"},{"photo_id":"1329867861","filename":"file4"},{"photo_id":"1329867801","filename":"file1"},{"photo_id":"1329867798","filename":"file0"},{"photo_id":"1329867859","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329867859":["hashtag1","hashtag2"]},{"1329867798":["hashtag1","hashtag2"]},{"1329867861":["hashtag1","hashtag2"]},{"1329867863":["hashtag1","hashtag2"]},{"1329867801":["hashtag1","hashtag2"]},{"1329867833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329867859, 1329867798, 1329867861, 1329867863, 1329867801, 1329867833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.67989158630371 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:21:21.854564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/20/image_18012025_22_20_02_897973_0001.jpg', '/home/pi/Desktop/images/18012025/22/20/image_18012025_22_20_02_897973_0002.jpg', '/home/pi/Desktop/images/18012025/22/20/image_18012025_22_20_02_897973_0003.jpg', '/home/pi/Desktop/images/18012025/22/21/image_18012025_22_21_03_065512_0000.jpg', '/home/pi/Desktop/images/18012025/22/21/image_18012025_22_21_03_065512_0001.jpg', '/home/pi/Desktop/images/18012025/22/21/image_18012025_22_21_03_065512_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/20/image_18012025_22_20_02_897973_0001.jpg
/home/pi/Desktop/images/18012025/22/20/image_18012025_22_20_02_897973_0002.jpg
/home/pi/Desktop/images/18012025/22/20/image_18012025_22_20_02_897973_0003.jpg
/home/pi/Desktop/images/18012025/22/21/image_18012025_22_21_03_065512_0000.jpg
/home/pi/Desktop/images/18012025/22/21/image_18012025_22_21_03_065512_0001.jpg
/home/pi/Desktop/images/18012025/22/21/image_18012025_22_21_03_065512_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329867877","1329867871","1329867879","1329867873","1329867875","1329867869"],"photo_ids_order":["1329867869","1329867871","1329867873","1329867875","1329867877","1329867879"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1292dac295085b720fbcd030815c7d12.jpg","text":"TemporaryFile(/tmp/multipartBody1257069659179949368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235358877,"filename":"image_18012025_22_21_03_065512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f5867c1d1abd3ef0498b2877ca98ce19.jpg","text":"TemporaryFile(/tmp/multipartBody8660974672129323711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235358877,"filename":"image_18012025_22_20_02_897973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/87bf7e572db966e5e99adc25062c0af5.jpg","text":"TemporaryFile(/tmp/multipartBody8338048916068938297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235358877,"filename":"image_18012025_22_21_03_065512_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3dfeb48f2bce87b4cf15dcd12bb31c00.jpg","text":"TemporaryFile(/tmp/multipartBody5245572040094459339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235358877,"filename":"image_18012025_22_20_02_897973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/35fb55858e377419977703a44ec998b8.jpg","text":"TemporaryFile(/tmp/multipartBody149668218624185840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235358877,"filename":"image_18012025_22_21_03_065512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bd5441d03f32f707e29d1dcd3c080da8.jpg","text":"TemporaryFile(/tmp/multipartBody5843796697440222415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235358877,"filename":"image_18012025_22_20_02_897973_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329867873","file1":"1329867871","file0":"1329867869","file4":"1329867877","file5":"1329867879","file3":"1329867875"},"map_files_photo_id_array":[{"photo_id":"1329867879","filename":"file5"},{"photo_id":"1329867873","filename":"file2"},{"photo_id":"1329867877","filename":"file4"},{"photo_id":"1329867871","filename":"file1"},{"photo_id":"1329867869","filename":"file0"},{"photo_id":"1329867875","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329867877":["hashtag1","hashtag2"]},{"1329867871":["hashtag1","hashtag2"]},{"1329867879":["hashtag1","hashtag2"]},{"1329867873":["hashtag1","hashtag2"]},{"1329867875":["hashtag1","hashtag2"]},{"1329867869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329867877, 1329867871, 1329867879, 1329867873, 1329867875, 1329867869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.843204975128174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:22:22.023680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/21/image_18012025_22_21_03_065512_0003.jpg', '/home/pi/Desktop/images/18012025/22/22/image_18012025_22_22_02_175148_0000.jpg', '/home/pi/Desktop/images/18012025/22/22/image_18012025_22_22_02_175148_0001.jpg', '/home/pi/Desktop/images/18012025/22/22/image_18012025_22_22_02_175148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/21/image_18012025_22_21_03_065512_0003.jpg
/home/pi/Desktop/images/18012025/22/22/image_18012025_22_22_02_175148_0000.jpg
/home/pi/Desktop/images/18012025/22/22/image_18012025_22_22_02_175148_0001.jpg
/home/pi/Desktop/images/18012025/22/22/image_18012025_22_22_02_175148_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329868000","1329867963","1329868011","1329867965"],"photo_ids_order":["1329867963","1329867965","1329868000","1329868011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3adcc0786cde61e9e44904a3b8f354a.jpg","text":"TemporaryFile(/tmp/multipartBody1871434445970489635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235413550,"filename":"image_18012025_22_22_02_175148_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/92f65fb59d20f1f26e6a4d6a2a8b7284.jpg","text":"TemporaryFile(/tmp/multipartBody1117344499850411009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235413550,"filename":"image_18012025_22_21_03_065512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8676297c6a82ac68ed6596081c5b6833.jpg","text":"TemporaryFile(/tmp/multipartBody6794707873481992091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235413550,"filename":"image_18012025_22_22_02_175148_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65af466ebba444cb6542c15a3c10a11d.jpg","text":"TemporaryFile(/tmp/multipartBody8271646902078448560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235413550,"filename":"image_18012025_22_22_02_175148_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329868000","file1":"1329867965","file0":"1329867963","file3":"1329868011"},"map_files_photo_id_array":[{"photo_id":"1329868000","filename":"file2"},{"photo_id":"1329867965","filename":"file1"},{"photo_id":"1329867963","filename":"file0"},{"photo_id":"1329868011","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329868000":["hashtag1","hashtag2"]},{"1329867963":["hashtag1","hashtag2"]},{"1329868011":["hashtag1","hashtag2"]},{"1329867965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329868000, 1329867963, 1329868011, 1329867965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.20323085784912 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:23:22.210283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/22/image_18012025_22_22_02_175148_0003.jpg', '/home/pi/Desktop/images/18012025/22/23/image_18012025_22_23_02_368122_0000.jpg', '/home/pi/Desktop/images/18012025/22/23/image_18012025_22_23_02_368122_0001.jpg', '/home/pi/Desktop/images/18012025/22/23/image_18012025_22_23_02_368122_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/22/image_18012025_22_22_02_175148_0003.jpg
/home/pi/Desktop/images/18012025/22/23/image_18012025_22_23_02_368122_0000.jpg
/home/pi/Desktop/images/18012025/22/23/image_18012025_22_23_02_368122_0001.jpg
/home/pi/Desktop/images/18012025/22/23/image_18012025_22_23_02_368122_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329868080","1329868073","1329868082","1329868076"],"photo_ids_order":["1329868073","1329868076","1329868080","1329868082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5076580210d8b35f20a7356f0376d598.jpg","text":"TemporaryFile(/tmp/multipartBody557862501936587596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235473336,"filename":"image_18012025_22_23_02_368122_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/88ad8c4104b189f98f4afafdb07125d0.jpg","text":"TemporaryFile(/tmp/multipartBody7040660254297438462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235473336,"filename":"image_18012025_22_22_02_175148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e4e141402cf2ced584c90c747c120b36.jpg","text":"TemporaryFile(/tmp/multipartBody3255502948422329123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235473336,"filename":"image_18012025_22_23_02_368122_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96f6b582d1ee97cc27207e0accf746d1.jpg","text":"TemporaryFile(/tmp/multipartBody4044749183293470285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235473336,"filename":"image_18012025_22_23_02_368122_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329868080","file1":"1329868076","file0":"1329868073","file3":"1329868082"},"map_files_photo_id_array":[{"photo_id":"1329868080","filename":"file2"},{"photo_id":"1329868076","filename":"file1"},{"photo_id":"1329868073","filename":"file0"},{"photo_id":"1329868082","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329868080":["hashtag1","hashtag2"]},{"1329868073":["hashtag1","hashtag2"]},{"1329868082":["hashtag1","hashtag2"]},{"1329868076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329868080, 1329868073, 1329868082, 1329868076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.817670583724976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:24:22.456834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/23/image_18012025_22_23_02_368122_0003.jpg', '/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0000.jpg', '/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0001.jpg', '/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/23/image_18012025_22_23_02_368122_0003.jpg
/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0000.jpg
/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0001.jpg
/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.245015144348145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 22:24:42.371822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/23/image_18012025_22_23_02_368122_0003.jpg', '/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0000.jpg', '/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0001.jpg', '/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/23/image_18012025_22_23_02_368122_0003.jpg
/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0000.jpg
/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0001.jpg
/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329868132","1329868134","1329868142","1329868136"],"photo_ids_order":["1329868132","1329868134","1329868136","1329868142"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d54a02d6765f792f965defc77148143.jpg","text":"TemporaryFile(/tmp/multipartBody8634217111888775113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235554059,"filename":"image_18012025_22_23_02_368122_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/07fd687b64a0db784e582efa67f4ede7.jpg","text":"TemporaryFile(/tmp/multipartBody1711809158981364355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235554059,"filename":"image_18012025_22_24_02_552397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a903499d0fb187c3336e25711e8d9ff2.jpg","text":"TemporaryFile(/tmp/multipartBody7416889231323321108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235554059,"filename":"image_18012025_22_24_02_552397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5a59e4587bac699f9f5b26c85324f50d.jpg","text":"TemporaryFile(/tmp/multipartBody5112282969765068349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235554059,"filename":"image_18012025_22_24_02_552397_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329868136","file1":"1329868134","file0":"1329868132","file3":"1329868142"},"map_files_photo_id_array":[{"photo_id":"1329868136","filename":"file2"},{"photo_id":"1329868134","filename":"file1"},{"photo_id":"1329868132","filename":"file0"},{"photo_id":"1329868142","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329868132":["hashtag1","hashtag2"]},{"1329868134":["hashtag1","hashtag2"]},{"1329868142":["hashtag1","hashtag2"]},{"1329868136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329868132, 1329868134, 1329868142, 1329868136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.0515832901001 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 22:25:32.595755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0003.jpg', '/home/pi/Desktop/images/18012025/22/25/image_18012025_22_25_02_764685_0000.jpg', '/home/pi/Desktop/images/18012025/22/25/image_18012025_22_25_02_764685_0001.jpg', '/home/pi/Desktop/images/18012025/22/25/image_18012025_22_25_02_764685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/24/image_18012025_22_24_02_552397_0003.jpg
/home/pi/Desktop/images/18012025/22/25/image_18012025_22_25_02_764685_0000.jpg
/home/pi/Desktop/images/18012025/22/25/image_18012025_22_25_02_764685_0001.jpg
/home/pi/Desktop/images/18012025/22/25/image_18012025_22_25_02_764685_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329868188","1329868182","1329868185","1329868179"],"photo_ids_order":["1329868179","1329868182","1329868185","1329868188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f21cbd698c79c6501b1ee49f2be76bb8.jpg","text":"TemporaryFile(/tmp/multipartBody7566361748019976768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235604140,"filename":"image_18012025_22_25_02_764685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8676c91bf839e7a80df1260b5cd1e963.jpg","text":"TemporaryFile(/tmp/multipartBody8465477194473441628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235604140,"filename":"image_18012025_22_25_02_764685_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c3e6358b1180bdc9f6b44df844d79537.jpg","text":"TemporaryFile(/tmp/multipartBody2005967244523723573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235604140,"filename":"image_18012025_22_25_02_764685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d21c47b98b0ed9a3aa141253761626e6.jpg","text":"TemporaryFile(/tmp/multipartBody5745108510161742021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235604140,"filename":"image_18012025_22_24_02_552397_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329868185","file1":"1329868182","file0":"1329868179","file3":"1329868188"},"map_files_photo_id_array":[{"photo_id":"1329868185","filename":"file2"},{"photo_id":"1329868182","filename":"file1"},{"photo_id":"1329868179","filename":"file0"},{"photo_id":"1329868188","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329868188":["hashtag1","hashtag2"]},{"1329868182":["hashtag1","hashtag2"]},{"1329868185":["hashtag1","hashtag2"]},{"1329868179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329868188, 1329868182, 1329868185, 1329868179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.642027378082275 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:26:21.790743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/25/image_18012025_22_25_02_764685_0003.jpg', '/home/pi/Desktop/images/18012025/22/26/image_18012025_22_26_02_944281_0000.jpg', '/home/pi/Desktop/images/18012025/22/26/image_18012025_22_26_02_944281_0001.jpg', '/home/pi/Desktop/images/18012025/22/26/image_18012025_22_26_02_944281_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/25/image_18012025_22_25_02_764685_0003.jpg
/home/pi/Desktop/images/18012025/22/26/image_18012025_22_26_02_944281_0000.jpg
/home/pi/Desktop/images/18012025/22/26/image_18012025_22_26_02_944281_0001.jpg
/home/pi/Desktop/images/18012025/22/26/image_18012025_22_26_02_944281_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329868202","1329868199","1329868193","1329868196"],"photo_ids_order":["1329868193","1329868196","1329868199","1329868202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7f9b3552073571708b3a83a97a4028f6.jpg","text":"TemporaryFile(/tmp/multipartBody5990800438774770615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235653048,"filename":"image_18012025_22_26_02_944281_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a99b4ea2fb05c307e4c19ba8dad5c965.jpg","text":"TemporaryFile(/tmp/multipartBody8621883688605289888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235653048,"filename":"image_18012025_22_26_02_944281_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f64c8ca844e069558780423d51a66390.jpg","text":"TemporaryFile(/tmp/multipartBody2854930542638653807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235653048,"filename":"image_18012025_22_25_02_764685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/29d57bef5f5e957e5104cef2e6ff2f62.jpg","text":"TemporaryFile(/tmp/multipartBody479168693524263920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235653048,"filename":"image_18012025_22_26_02_944281_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329868199","file1":"1329868196","file0":"1329868193","file3":"1329868202"},"map_files_photo_id_array":[{"photo_id":"1329868199","filename":"file2"},{"photo_id":"1329868196","filename":"file1"},{"photo_id":"1329868193","filename":"file0"},{"photo_id":"1329868202","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329868202":["hashtag1","hashtag2"]},{"1329868199":["hashtag1","hashtag2"]},{"1329868193":["hashtag1","hashtag2"]},{"1329868196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329868202, 1329868199, 1329868193, 1329868196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.745100259780884 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-18 22:27:22.008786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/26/image_18012025_22_26_02_944281_0003.jpg', '/home/pi/Desktop/images/18012025/22/27/image_18012025_22_27_02_137682_0000.jpg', '/home/pi/Desktop/images/18012025/22/27/image_18012025_22_27_02_137682_0001.jpg', '/home/pi/Desktop/images/18012025/22/27/image_18012025_22_27_02_137682_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/26/image_18012025_22_26_02_944281_0003.jpg
/home/pi/Desktop/images/18012025/22/27/image_18012025_22_27_02_137682_0000.jpg
/home/pi/Desktop/images/18012025/22/27/image_18012025_22_27_02_137682_0001.jpg
/home/pi/Desktop/images/18012025/22/27/image_18012025_22_27_02_137682_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329868216","1329868218","1329868211","1329868214"],"photo_ids_order":["1329868211","1329868214","1329868216","1329868218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/817bff9775c5532947735580e5051a33.jpg","text":"TemporaryFile(/tmp/multipartBody8413824233606808524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235713371,"filename":"image_18012025_22_27_02_137682_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5deb91b73ac329ce73711564a39f525.jpg","text":"TemporaryFile(/tmp/multipartBody6655949793656365695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235713371,"filename":"image_18012025_22_27_02_137682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a6665679bc2cd255d8950f10caf35ce1.jpg","text":"TemporaryFile(/tmp/multipartBody4696815108587828961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235713371,"filename":"image_18012025_22_26_02_944281_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/02c71060620f91cbafef27b6088f07ab.jpg","text":"TemporaryFile(/tmp/multipartBody7112046105355715061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235713371,"filename":"image_18012025_22_27_02_137682_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329868216","file1":"1329868214","file0":"1329868211","file3":"1329868218"},"map_files_photo_id_array":[{"photo_id":"1329868216","filename":"file2"},{"photo_id":"1329868214","filename":"file1"},{"photo_id":"1329868211","filename":"file0"},{"photo_id":"1329868218","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329868216":["hashtag1","hashtag2"]},{"1329868218":["hashtag1","hashtag2"]},{"1329868211":["hashtag1","hashtag2"]},{"1329868214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329868216, 1329868218, 1329868211, 1329868214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.514780044555664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:28:22.133329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/27/image_18012025_22_27_02_137682_0003.jpg', '/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0000.jpg', '/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0001.jpg', '/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/27/image_18012025_22_27_02_137682_0003.jpg
/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0000.jpg
/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0001.jpg
/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.299071073532104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 22:28:42.184086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/27/image_18012025_22_27_02_137682_0003.jpg', '/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0000.jpg', '/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0001.jpg', '/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/27/image_18012025_22_27_02_137682_0003.jpg
/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0000.jpg
/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0001.jpg
/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329868285","1329868286","1329868280","1329868282"],"photo_ids_order":["1329868280","1329868282","1329868285","1329868286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0d81030cf68542f3bc04744b6291d17c.jpg","text":"TemporaryFile(/tmp/multipartBody1938883957105189568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235793898,"filename":"image_18012025_22_28_02_449864_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e7164cd5ba3a197bc7cad17b411936d8.jpg","text":"TemporaryFile(/tmp/multipartBody6689142999491185315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235793898,"filename":"image_18012025_22_28_02_449864_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ef6109105b9999ed4e42c2a7fbe0ca1.jpg","text":"TemporaryFile(/tmp/multipartBody3873644832560092495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235793898,"filename":"image_18012025_22_27_02_137682_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/de614022c8f6a5db2acfd3e2324bcf39.jpg","text":"TemporaryFile(/tmp/multipartBody316043757360057032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235793898,"filename":"image_18012025_22_28_02_449864_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329868285","file1":"1329868282","file0":"1329868280","file3":"1329868286"},"map_files_photo_id_array":[{"photo_id":"1329868285","filename":"file2"},{"photo_id":"1329868282","filename":"file1"},{"photo_id":"1329868280","filename":"file0"},{"photo_id":"1329868286","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329868285":["hashtag1","hashtag2"]},{"1329868286":["hashtag1","hashtag2"]},{"1329868280":["hashtag1","hashtag2"]},{"1329868282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329868285, 1329868286, 1329868280, 1329868282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.490233421325684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 22:29:32.377037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0003.jpg', '/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0000.jpg', '/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0001.jpg', '/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0003.jpg
/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0000.jpg
/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0001.jpg
/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.178157329559326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 22:29:52.315830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0003.jpg', '/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0000.jpg', '/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0001.jpg', '/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/28/image_18012025_22_28_02_449864_0003.jpg
/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0000.jpg
/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0001.jpg
/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329868303","1329868306","1329868305","1329868304"],"photo_ids_order":["1329868303","1329868304","1329868305","1329868306"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/efc7977a0dd99f0d233474dfa2745855.jpg","text":"TemporaryFile(/tmp/multipartBody1791131308050125087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235863861,"filename":"image_18012025_22_28_02_449864_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da2ee41c9b914960c1028587fee21662.jpg","text":"TemporaryFile(/tmp/multipartBody4878496120433803157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235863861,"filename":"image_18012025_22_29_02_615435_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6a723837f613182649a5e78cf7fe9f38.jpg","text":"TemporaryFile(/tmp/multipartBody5341675420430047794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235863861,"filename":"image_18012025_22_29_02_615435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/117fde83582d98db0755538023134c6c.jpg","text":"TemporaryFile(/tmp/multipartBody4168862071666383568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235863861,"filename":"image_18012025_22_29_02_615435_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329868305","file1":"1329868304","file0":"1329868303","file3":"1329868306"},"map_files_photo_id_array":[{"photo_id":"1329868305","filename":"file2"},{"photo_id":"1329868304","filename":"file1"},{"photo_id":"1329868303","filename":"file0"},{"photo_id":"1329868306","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329868303":["hashtag1","hashtag2"]},{"1329868306":["hashtag1","hashtag2"]},{"1329868305":["hashtag1","hashtag2"]},{"1329868304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329868303, 1329868306, 1329868305, 1329868304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.78841686248779 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 22:30:42.568648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0003.jpg', '/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0000.jpg', '/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0001.jpg', '/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0003.jpg
/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0000.jpg
/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0001.jpg
/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.772546529769897 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 22:31:03.440284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0003.jpg', '/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0000.jpg', '/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0001.jpg', '/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/29/image_18012025_22_29_02_615435_0003.jpg
/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0000.jpg
/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0001.jpg
/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329868321","1329868323","1329868320","1329868331"],"photo_ids_order":["1329868320","1329868321","1329868323","1329868331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d61e59336c0dc5903840591b43e06153.jpg","text":"TemporaryFile(/tmp/multipartBody3904260909539987774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235934639,"filename":"image_18012025_22_30_02_667998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4da6c39adad8515c7717a346960004b1.jpg","text":"TemporaryFile(/tmp/multipartBody1680052034003411125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235934639,"filename":"image_18012025_22_30_02_667998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/725dff221b268e8729df8ba3f32f6980.jpg","text":"TemporaryFile(/tmp/multipartBody2100202128636294929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235934639,"filename":"image_18012025_22_29_02_615435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e33940f0de905064a4c29846a5ce7ce5.jpg","text":"TemporaryFile(/tmp/multipartBody8456915319569076854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235934639,"filename":"image_18012025_22_30_02_667998_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329868323","file1":"1329868321","file0":"1329868320","file3":"1329868331"},"map_files_photo_id_array":[{"photo_id":"1329868323","filename":"file2"},{"photo_id":"1329868321","filename":"file1"},{"photo_id":"1329868320","filename":"file0"},{"photo_id":"1329868331","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329868321":["hashtag1","hashtag2"]},{"1329868323":["hashtag1","hashtag2"]},{"1329868320":["hashtag1","hashtag2"]},{"1329868331":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329868321, 1329868323, 1329868320, 1329868331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.84947395324707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 22:31:52.696998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0003.jpg', '/home/pi/Desktop/images/18012025/22/31/image_18012025_22_31_02_854568_0000.jpg', '/home/pi/Desktop/images/18012025/22/31/image_18012025_22_31_02_854568_0001.jpg', '/home/pi/Desktop/images/18012025/22/31/image_18012025_22_31_02_854568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/30/image_18012025_22_30_02_667998_0003.jpg
/home/pi/Desktop/images/18012025/22/31/image_18012025_22_31_02_854568_0000.jpg
/home/pi/Desktop/images/18012025/22/31/image_18012025_22_31_02_854568_0001.jpg
/home/pi/Desktop/images/18012025/22/31/image_18012025_22_31_02_854568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329868417","1329868365","1329868382","1329868381"],"photo_ids_order":["1329868365","1329868381","1329868382","1329868417"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/29d70c2cf8da593374d3c474a0a72f18.jpg","text":"TemporaryFile(/tmp/multipartBody5578869688014516125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235984053,"filename":"image_18012025_22_31_02_854568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/49fac86e4cc0f3fb0ab0c26ea7acb4b1.jpg","text":"TemporaryFile(/tmp/multipartBody5891434295860078806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235984053,"filename":"image_18012025_22_30_02_667998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ae8b33b9b9c534a2f1701d2369242b96.jpg","text":"TemporaryFile(/tmp/multipartBody8572151776098076249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235984053,"filename":"image_18012025_22_31_02_854568_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b66d3c46e814fac322e9f988775b7a86.jpg","text":"TemporaryFile(/tmp/multipartBody7685942371825157653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737235984053,"filename":"image_18012025_22_31_02_854568_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329868382","file1":"1329868381","file0":"1329868365","file3":"1329868417"},"map_files_photo_id_array":[{"photo_id":"1329868382","filename":"file2"},{"photo_id":"1329868381","filename":"file1"},{"photo_id":"1329868365","filename":"file0"},{"photo_id":"1329868417","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329868417":["hashtag1","hashtag2"]},{"1329868365":["hashtag1","hashtag2"]},{"1329868382":["hashtag1","hashtag2"]},{"1329868381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329868417, 1329868365, 1329868382, 1329868381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.50657081604004 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 22:32:41.943234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/31/image_18012025_22_31_02_854568_0003.jpg', '/home/pi/Desktop/images/18012025/22/32/image_18012025_22_32_03_063600_0000.jpg', '/home/pi/Desktop/images/18012025/22/32/image_18012025_22_32_03_063600_0001.jpg', '/home/pi/Desktop/images/18012025/22/32/image_18012025_22_32_03_063600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/31/image_18012025_22_31_02_854568_0003.jpg
/home/pi/Desktop/images/18012025/22/32/image_18012025_22_32_03_063600_0000.jpg
/home/pi/Desktop/images/18012025/22/32/image_18012025_22_32_03_063600_0001.jpg
/home/pi/Desktop/images/18012025/22/32/image_18012025_22_32_03_063600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329868453","1329868461","1329868518","1329868451"],"photo_ids_order":["1329868451","1329868453","1329868461","1329868518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8a7003c890809c622dd26e93ba7d9b20.jpg","text":"TemporaryFile(/tmp/multipartBody3683226179517804234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236033392,"filename":"image_18012025_22_32_03_063600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2497d683419a248e3c86545f0adb5d10.jpg","text":"TemporaryFile(/tmp/multipartBody6334701902178735950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236033392,"filename":"image_18012025_22_32_03_063600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4f66e9078084591fa422ddbb4ecb21e.jpg","text":"TemporaryFile(/tmp/multipartBody4566155622880093317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236033392,"filename":"image_18012025_22_32_03_063600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c836c8860a04c3cba6076a8e863cc654.jpg","text":"TemporaryFile(/tmp/multipartBody5271607523575206279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236033392,"filename":"image_18012025_22_31_02_854568_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329868461","file1":"1329868453","file0":"1329868451","file3":"1329868518"},"map_files_photo_id_array":[{"photo_id":"1329868461","filename":"file2"},{"photo_id":"1329868453","filename":"file1"},{"photo_id":"1329868451","filename":"file0"},{"photo_id":"1329868518","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329868453":["hashtag1","hashtag2"]},{"1329868461":["hashtag1","hashtag2"]},{"1329868518":["hashtag1","hashtag2"]},{"1329868451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329868453, 1329868461, 1329868518, 1329868451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.480976581573486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 22:33:32.030875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/32/image_18012025_22_32_03_063600_0003.jpg', '/home/pi/Desktop/images/18012025/22/33/image_18012025_22_33_02_361962_0000.jpg', '/home/pi/Desktop/images/18012025/22/33/image_18012025_22_33_02_361962_0001.jpg', '/home/pi/Desktop/images/18012025/22/33/image_18012025_22_33_02_361962_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/32/image_18012025_22_32_03_063600_0003.jpg
/home/pi/Desktop/images/18012025/22/33/image_18012025_22_33_02_361962_0000.jpg
/home/pi/Desktop/images/18012025/22/33/image_18012025_22_33_02_361962_0001.jpg
/home/pi/Desktop/images/18012025/22/33/image_18012025_22_33_02_361962_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329869241","1329868860","1329869117","1329868984"],"photo_ids_order":["1329868860","1329868984","1329869117","1329869241"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb982395d004f64aff9f02b2291995a7.jpg","text":"TemporaryFile(/tmp/multipartBody8422796278083874450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236083329,"filename":"image_18012025_22_33_02_361962_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b2285b828ece20ca39f29e0586fbfdc8.jpg","text":"TemporaryFile(/tmp/multipartBody393243047767253901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236083329,"filename":"image_18012025_22_32_03_063600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3195f5e9e7c710874b07ceb80d4c7213.jpg","text":"TemporaryFile(/tmp/multipartBody8982886981805808053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236083329,"filename":"image_18012025_22_33_02_361962_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4fd258464a2d10650a98b6aabe623914.jpg","text":"TemporaryFile(/tmp/multipartBody9048809371929695088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236083329,"filename":"image_18012025_22_33_02_361962_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329869117","file1":"1329868984","file0":"1329868860","file3":"1329869241"},"map_files_photo_id_array":[{"photo_id":"1329869117","filename":"file2"},{"photo_id":"1329868984","filename":"file1"},{"photo_id":"1329868860","filename":"file0"},{"photo_id":"1329869241","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329869241":["hashtag1","hashtag2"]},{"1329868860":["hashtag1","hashtag2"]},{"1329869117":["hashtag1","hashtag2"]},{"1329868984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329869241, 1329868860, 1329869117, 1329868984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.557695627212524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:34:22.220039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/33/image_18012025_22_33_02_361962_0003.jpg', '/home/pi/Desktop/images/18012025/22/34/image_18012025_22_34_02_450070_0000.jpg', '/home/pi/Desktop/images/18012025/22/34/image_18012025_22_34_02_450070_0001.jpg', '/home/pi/Desktop/images/18012025/22/34/image_18012025_22_34_02_450070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/33/image_18012025_22_33_02_361962_0003.jpg
/home/pi/Desktop/images/18012025/22/34/image_18012025_22_34_02_450070_0000.jpg
/home/pi/Desktop/images/18012025/22/34/image_18012025_22_34_02_450070_0001.jpg
/home/pi/Desktop/images/18012025/22/34/image_18012025_22_34_02_450070_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329869617","1329869611","1329869620","1329869614"],"photo_ids_order":["1329869611","1329869614","1329869617","1329869620"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c54d16de4034483999fbe72a86ed9cd6.jpg","text":"TemporaryFile(/tmp/multipartBody1072851701553282765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236133831,"filename":"image_18012025_22_34_02_450070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d0bd18b1abe965dee768976d0c342acd.jpg","text":"TemporaryFile(/tmp/multipartBody1297313000094067791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236133831,"filename":"image_18012025_22_33_02_361962_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/faa9b3422be1b0d6e44773eefac1ea71.jpg","text":"TemporaryFile(/tmp/multipartBody387441082702973195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236133831,"filename":"image_18012025_22_34_02_450070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/94014681f9f0d2fe66c717043ad906d2.jpg","text":"TemporaryFile(/tmp/multipartBody8649272395304689120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236133831,"filename":"image_18012025_22_34_02_450070_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329869617","file1":"1329869614","file0":"1329869611","file3":"1329869620"},"map_files_photo_id_array":[{"photo_id":"1329869617","filename":"file2"},{"photo_id":"1329869614","filename":"file1"},{"photo_id":"1329869611","filename":"file0"},{"photo_id":"1329869620","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329869617":["hashtag1","hashtag2"]},{"1329869611":["hashtag1","hashtag2"]},{"1329869620":["hashtag1","hashtag2"]},{"1329869614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329869617, 1329869611, 1329869620, 1329869614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09900236129761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 22:35:02.978948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/40/image_16012025_23_40_02_873521_0002.jpg', '/home/pi/Desktop/images/16012025/23/40/image_16012025_23_40_02_873521_0003.jpg', '/home/pi/Desktop/images/16012025/23/41/image_16012025_23_41_02_959982_0000.jpg', '/home/pi/Desktop/images/16012025/23/41/image_16012025_23_41_02_959982_0001.jpg', '/home/pi/Desktop/images/16012025/23/41/image_16012025_23_41_02_959982_0002.jpg', '/home/pi/Desktop/images/16012025/23/41/image_16012025_23_41_02_959982_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/40/image_16012025_23_40_02_873521_0002.jpg
/home/pi/Desktop/images/16012025/23/40/image_16012025_23_40_02_873521_0003.jpg
/home/pi/Desktop/images/16012025/23/41/image_16012025_23_41_02_959982_0000.jpg
/home/pi/Desktop/images/16012025/23/41/image_16012025_23_41_02_959982_0001.jpg
/home/pi/Desktop/images/16012025/23/41/image_16012025_23_41_02_959982_0002.jpg
/home/pi/Desktop/images/16012025/23/41/image_16012025_23_41_02_959982_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329869638","1329869640","1329869628","1329869636","1329869630","1329869633"],"photo_ids_order":["1329869628","1329869630","1329869633","1329869636","1329869638","1329869640"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b718d58ac7b7c48a79ca0cf3523830ef.jpg","text":"TemporaryFile(/tmp/multipartBody6972165004220450119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236180895,"filename":"image_16012025_23_41_02_959982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ac8ce7ed06a014d59b5ee4a62e7670b.jpg","text":"TemporaryFile(/tmp/multipartBody5816894323781229462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236180895,"filename":"image_16012025_23_41_02_959982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce94c063dab260a5894c7566ce8893e1.jpg","text":"TemporaryFile(/tmp/multipartBody5277115246817931786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236180895,"filename":"image_16012025_23_40_02_873521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6da6806d0c610874d0fd2f71507f3a32.jpg","text":"TemporaryFile(/tmp/multipartBody5610919763419249154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236180895,"filename":"image_16012025_23_41_02_959982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c90087a03f213b9b4c62a794785a616.jpg","text":"TemporaryFile(/tmp/multipartBody392028912050512421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236180895,"filename":"image_16012025_23_40_02_873521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aef9e11530950678209785cea8e22bf9.jpg","text":"TemporaryFile(/tmp/multipartBody2512196011326046738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236180895,"filename":"image_16012025_23_41_02_959982_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329869633","file1":"1329869630","file0":"1329869628","file4":"1329869638","file5":"1329869640","file3":"1329869636"},"map_files_photo_id_array":[{"photo_id":"1329869640","filename":"file5"},{"photo_id":"1329869633","filename":"file2"},{"photo_id":"1329869638","filename":"file4"},{"photo_id":"1329869630","filename":"file1"},{"photo_id":"1329869628","filename":"file0"},{"photo_id":"1329869636","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329869638":["hashtag1","hashtag2"]},{"1329869640":["hashtag1","hashtag2"]},{"1329869628":["hashtag1","hashtag2"]},{"1329869636":["hashtag1","hashtag2"]},{"1329869630":["hashtag1","hashtag2"]},{"1329869633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329869638, 1329869640, 1329869628, 1329869636, 1329869630, 1329869633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.78337216377258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:36:22.614894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/34/image_18012025_22_34_02_450070_0003.jpg', '/home/pi/Desktop/images/18012025/22/35/image_18012025_22_35_02_632449_0000.jpg', '/home/pi/Desktop/images/18012025/22/35/image_18012025_22_35_02_632449_0001.jpg', '/home/pi/Desktop/images/18012025/22/35/image_18012025_22_35_02_632449_0002.jpg', '/home/pi/Desktop/images/18012025/22/35/image_18012025_22_35_02_632449_0003.jpg', '/home/pi/Desktop/images/18012025/22/36/image_18012025_22_36_02_746057_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/34/image_18012025_22_34_02_450070_0003.jpg
/home/pi/Desktop/images/18012025/22/35/image_18012025_22_35_02_632449_0000.jpg
/home/pi/Desktop/images/18012025/22/35/image_18012025_22_35_02_632449_0001.jpg
/home/pi/Desktop/images/18012025/22/35/image_18012025_22_35_02_632449_0002.jpg
/home/pi/Desktop/images/18012025/22/35/image_18012025_22_35_02_632449_0003.jpg
/home/pi/Desktop/images/18012025/22/36/image_18012025_22_36_02_746057_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329869981","1329869654","1329869723","1329870944","1329870800","1329870410"],"photo_ids_order":["1329869654","1329869723","1329869981","1329870410","1329870800","1329870944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/835b501b5613ee8b564bc117f96dd9b7.jpg","text":"TemporaryFile(/tmp/multipartBody3633065821664993558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236259204,"filename":"image_18012025_22_35_02_632449_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4fd485f817bd7d1f350d3873a3f3b8d2.jpg","text":"TemporaryFile(/tmp/multipartBody2117333925093772421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236259204,"filename":"image_18012025_22_34_02_450070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8147c0a94f179e1e62d0cd73c846128.jpg","text":"TemporaryFile(/tmp/multipartBody682212985650182939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236259204,"filename":"image_18012025_22_35_02_632449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b32692db4175829cc4e23e84d3245791.jpg","text":"TemporaryFile(/tmp/multipartBody8002330749650923491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236259204,"filename":"image_18012025_22_36_02_746057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d317ced942056a709bd8f6b964cf0748.jpg","text":"TemporaryFile(/tmp/multipartBody8891968331949282059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236259204,"filename":"image_18012025_22_35_02_632449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/736b4b717ffde3916a2a81af083a3daa.jpg","text":"TemporaryFile(/tmp/multipartBody988381961373462010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236259204,"filename":"image_18012025_22_35_02_632449_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329869981","file1":"1329869723","file0":"1329869654","file4":"1329870800","file5":"1329870944","file3":"1329870410"},"map_files_photo_id_array":[{"photo_id":"1329870944","filename":"file5"},{"photo_id":"1329869981","filename":"file2"},{"photo_id":"1329870800","filename":"file4"},{"photo_id":"1329869723","filename":"file1"},{"photo_id":"1329869654","filename":"file0"},{"photo_id":"1329870410","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329869981":["hashtag1","hashtag2"]},{"1329869654":["hashtag1","hashtag2"]},{"1329869723":["hashtag1","hashtag2"]},{"1329870944":["hashtag1","hashtag2"]},{"1329870800":["hashtag1","hashtag2"]},{"1329870410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329869981, 1329869654, 1329869723, 1329870944, 1329870800, 1329870410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.55636954307556 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-18 22:37:31.782051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/36/image_18012025_22_36_02_746057_0001.jpg', '/home/pi/Desktop/images/18012025/22/36/image_18012025_22_36_02_746057_0002.jpg', '/home/pi/Desktop/images/18012025/22/36/image_18012025_22_36_02_746057_0003.jpg', '/home/pi/Desktop/images/18012025/22/37/image_18012025_22_37_02_949829_0000.jpg', '/home/pi/Desktop/images/18012025/22/37/image_18012025_22_37_02_949829_0001.jpg', '/home/pi/Desktop/images/18012025/22/37/image_18012025_22_37_02_949829_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/36/image_18012025_22_36_02_746057_0001.jpg
/home/pi/Desktop/images/18012025/22/36/image_18012025_22_36_02_746057_0002.jpg
/home/pi/Desktop/images/18012025/22/36/image_18012025_22_36_02_746057_0003.jpg
/home/pi/Desktop/images/18012025/22/37/image_18012025_22_37_02_949829_0000.jpg
/home/pi/Desktop/images/18012025/22/37/image_18012025_22_37_02_949829_0001.jpg
/home/pi/Desktop/images/18012025/22/37/image_18012025_22_37_02_949829_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329870997","1329870996","1329870990","1329870992","1329870998","1329870994"],"photo_ids_order":["1329870990","1329870992","1329870994","1329870996","1329870997","1329870998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65c845a3902066fe1442dafbfb6052b0.jpg","text":"TemporaryFile(/tmp/multipartBody3971388314463291074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236328554,"filename":"image_18012025_22_37_02_949829_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6c9053c3b4c2e1a6c31ac27bd66067e.jpg","text":"TemporaryFile(/tmp/multipartBody2145145607499180084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236328554,"filename":"image_18012025_22_37_02_949829_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f328d848ef741fe0babeab508fcbc819.jpg","text":"TemporaryFile(/tmp/multipartBody7202732364904756500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236328554,"filename":"image_18012025_22_36_02_746057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e7ba8a41d2251a94144ebeafc3d189e.jpg","text":"TemporaryFile(/tmp/multipartBody4252738988424417632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236328554,"filename":"image_18012025_22_36_02_746057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dcc18df7167e1880239553e28462f243.jpg","text":"TemporaryFile(/tmp/multipartBody1038858778233482354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236328554,"filename":"image_18012025_22_37_02_949829_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c0efe7feb41098f278419a37ecc8e014.jpg","text":"TemporaryFile(/tmp/multipartBody3402180903877616763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236328554,"filename":"image_18012025_22_36_02_746057_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329870994","file1":"1329870992","file0":"1329870990","file4":"1329870997","file5":"1329870998","file3":"1329870996"},"map_files_photo_id_array":[{"photo_id":"1329870998","filename":"file5"},{"photo_id":"1329870994","filename":"file2"},{"photo_id":"1329870997","filename":"file4"},{"photo_id":"1329870992","filename":"file1"},{"photo_id":"1329870990","filename":"file0"},{"photo_id":"1329870996","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329870997":["hashtag1","hashtag2"]},{"1329870996":["hashtag1","hashtag2"]},{"1329870990":["hashtag1","hashtag2"]},{"1329870992":["hashtag1","hashtag2"]},{"1329870998":["hashtag1","hashtag2"]},{"1329870994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329870997, 1329870996, 1329870990, 1329870992, 1329870998, 1329870994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.98845863342285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 22:38:31.986426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/37/image_18012025_22_37_02_949829_0003.jpg', '/home/pi/Desktop/images/18012025/22/38/image_18012025_22_38_02_129116_0000.jpg', '/home/pi/Desktop/images/18012025/22/38/image_18012025_22_38_02_129116_0001.jpg', '/home/pi/Desktop/images/18012025/22/38/image_18012025_22_38_02_129116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/37/image_18012025_22_37_02_949829_0003.jpg
/home/pi/Desktop/images/18012025/22/38/image_18012025_22_38_02_129116_0000.jpg
/home/pi/Desktop/images/18012025/22/38/image_18012025_22_38_02_129116_0001.jpg
/home/pi/Desktop/images/18012025/22/38/image_18012025_22_38_02_129116_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329871012","1329871006","1329871015","1329871009"],"photo_ids_order":["1329871006","1329871009","1329871012","1329871015"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9862cc923101cb55eb14cf51b31477e9.jpg","text":"TemporaryFile(/tmp/multipartBody6253218449625714619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236382843,"filename":"image_18012025_22_38_02_129116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b277adef434e59db5fab9fdf27b76397.jpg","text":"TemporaryFile(/tmp/multipartBody5009202573758864229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236382843,"filename":"image_18012025_22_37_02_949829_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/817a3e4edefcddbfd7c772d4fc595ed1.jpg","text":"TemporaryFile(/tmp/multipartBody5069704949117268783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236382843,"filename":"image_18012025_22_38_02_129116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3cbf91b7bc39bb383411debbd3181fec.jpg","text":"TemporaryFile(/tmp/multipartBody6513372261130791014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236382843,"filename":"image_18012025_22_38_02_129116_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329871012","file1":"1329871009","file0":"1329871006","file3":"1329871015"},"map_files_photo_id_array":[{"photo_id":"1329871012","filename":"file2"},{"photo_id":"1329871009","filename":"file1"},{"photo_id":"1329871006","filename":"file0"},{"photo_id":"1329871015","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329871012":["hashtag1","hashtag2"]},{"1329871006":["hashtag1","hashtag2"]},{"1329871015":["hashtag1","hashtag2"]},{"1329871009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329871012, 1329871006, 1329871015, 1329871009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.086570262908936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:39:22.207660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/38/image_18012025_22_38_02_129116_0003.jpg', '/home/pi/Desktop/images/18012025/22/39/image_18012025_22_39_02_368600_0000.jpg', '/home/pi/Desktop/images/18012025/22/39/image_18012025_22_39_02_368600_0001.jpg', '/home/pi/Desktop/images/18012025/22/39/image_18012025_22_39_02_368600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/38/image_18012025_22_38_02_129116_0003.jpg
/home/pi/Desktop/images/18012025/22/39/image_18012025_22_39_02_368600_0000.jpg
/home/pi/Desktop/images/18012025/22/39/image_18012025_22_39_02_368600_0001.jpg
/home/pi/Desktop/images/18012025/22/39/image_18012025_22_39_02_368600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329871839","1329871812","1329872018","1329871841"],"photo_ids_order":["1329871812","1329871839","1329871841","1329872018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8674e29de99aece86fb6f21e508f5b39.jpg","text":"TemporaryFile(/tmp/multipartBody2802657877091658930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236433635,"filename":"image_18012025_22_39_02_368600_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f7d1bf48d29c146ba6313f3e03683fea.jpg","text":"TemporaryFile(/tmp/multipartBody4507716699936691698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236433635,"filename":"image_18012025_22_38_02_129116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5bcc058b3abd93e39ac9243ea6bb61a.jpg","text":"TemporaryFile(/tmp/multipartBody4207255033571186911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236433635,"filename":"image_18012025_22_39_02_368600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/902316f91e749c6eb0183b32d7c7ce3d.jpg","text":"TemporaryFile(/tmp/multipartBody6110625089047338367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236433635,"filename":"image_18012025_22_39_02_368600_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329871841","file1":"1329871839","file0":"1329871812","file3":"1329872018"},"map_files_photo_id_array":[{"photo_id":"1329871841","filename":"file2"},{"photo_id":"1329871839","filename":"file1"},{"photo_id":"1329871812","filename":"file0"},{"photo_id":"1329872018","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329871839":["hashtag1","hashtag2"]},{"1329871812":["hashtag1","hashtag2"]},{"1329872018":["hashtag1","hashtag2"]},{"1329871841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329871839, 1329871812, 1329872018, 1329871841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.23631834983826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:40:22.270589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/39/image_18012025_22_39_02_368600_0003.jpg', '/home/pi/Desktop/images/18012025/22/40/image_18012025_22_40_02_541378_0000.jpg', '/home/pi/Desktop/images/18012025/22/40/image_18012025_22_40_02_541378_0001.jpg', '/home/pi/Desktop/images/18012025/22/40/image_18012025_22_40_02_541378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/39/image_18012025_22_39_02_368600_0003.jpg
/home/pi/Desktop/images/18012025/22/40/image_18012025_22_40_02_541378_0000.jpg
/home/pi/Desktop/images/18012025/22/40/image_18012025_22_40_02_541378_0001.jpg
/home/pi/Desktop/images/18012025/22/40/image_18012025_22_40_02_541378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329872082","1329872075","1329872078","1329872243"],"photo_ids_order":["1329872075","1329872078","1329872082","1329872243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b1cc68e6636b17faaa7337812820fd75.jpg","text":"TemporaryFile(/tmp/multipartBody1362282941079335147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236493347,"filename":"image_18012025_22_40_02_541378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e9fd8d22e028787a68dc6a34c0d2c816.jpg","text":"TemporaryFile(/tmp/multipartBody6389425174959387654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236493347,"filename":"image_18012025_22_39_02_368600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/901f6593ab2d95912a99502331f58745.jpg","text":"TemporaryFile(/tmp/multipartBody1178046805713118202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236493347,"filename":"image_18012025_22_40_02_541378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/743252571b23cf13052ce624f0dc5283.jpg","text":"TemporaryFile(/tmp/multipartBody5587652656553215164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236493347,"filename":"image_18012025_22_40_02_541378_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329872082","file1":"1329872078","file0":"1329872075","file3":"1329872243"},"map_files_photo_id_array":[{"photo_id":"1329872082","filename":"file2"},{"photo_id":"1329872078","filename":"file1"},{"photo_id":"1329872075","filename":"file0"},{"photo_id":"1329872243","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329872082":["hashtag1","hashtag2"]},{"1329872075":["hashtag1","hashtag2"]},{"1329872078":["hashtag1","hashtag2"]},{"1329872243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329872082, 1329872075, 1329872078, 1329872243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95785975456238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 22:41:03.022409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/42/image_16012025_23_42_02_219294_0000.jpg', '/home/pi/Desktop/images/16012025/23/42/image_16012025_23_42_02_219294_0001.jpg', '/home/pi/Desktop/images/16012025/23/42/image_16012025_23_42_02_219294_0002.jpg', '/home/pi/Desktop/images/16012025/23/42/image_16012025_23_42_02_219294_0003.jpg', '/home/pi/Desktop/images/16012025/23/43/image_16012025_23_43_02_354559_0000.jpg', '/home/pi/Desktop/images/16012025/23/43/image_16012025_23_43_02_354559_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/42/image_16012025_23_42_02_219294_0000.jpg
/home/pi/Desktop/images/16012025/23/42/image_16012025_23_42_02_219294_0001.jpg
/home/pi/Desktop/images/16012025/23/42/image_16012025_23_42_02_219294_0002.jpg
/home/pi/Desktop/images/16012025/23/42/image_16012025_23_42_02_219294_0003.jpg
/home/pi/Desktop/images/16012025/23/43/image_16012025_23_43_02_354559_0000.jpg
/home/pi/Desktop/images/16012025/23/43/image_16012025_23_43_02_354559_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":["1329872415","1329872430","1329872412","1329872432","1329872434","1329872428"],"photo_ids_order":["1329872412","1329872415","1329872428","1329872430","1329872432","1329872434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9376be1fc4aefa64ab6cf2d713e9d437.jpg","text":"TemporaryFile(/tmp/multipartBody7644327273138128870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236541113,"filename":"image_16012025_23_42_02_219294_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e9e397d10da6b43358808018b177bce1.jpg","text":"TemporaryFile(/tmp/multipartBody6455053341512198119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236541113,"filename":"image_16012025_23_42_02_219294_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e5355ee6a46919ad555e3e8518d812f9.jpg","text":"TemporaryFile(/tmp/multipartBody1078153615636545558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236541113,"filename":"image_16012025_23_42_02_219294_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/36603e8267b92ba385a4aaf867f60c36.jpg","text":"TemporaryFile(/tmp/multipartBody8051326188186411084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236541113,"filename":"image_16012025_23_43_02_354559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/43a98daeb69b35c081586946b900f977.jpg","text":"TemporaryFile(/tmp/multipartBody6615150243658046571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236541113,"filename":"image_16012025_23_43_02_354559_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ce804f83d2a49a241a480e631413cf07.jpg","text":"TemporaryFile(/tmp/multipartBody6375741746965011341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236541113,"filename":"image_16012025_23_42_02_219294_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329872428","file1":"1329872415","file0":"1329872412","file4":"1329872432","file5":"1329872434","file3":"1329872430"},"map_files_photo_id_array":[{"photo_id":"1329872434","filename":"file5"},{"photo_id":"1329872428","filename":"file2"},{"photo_id":"1329872432","filename":"file4"},{"photo_id":"1329872415","filename":"file1"},{"photo_id":"1329872412","filename":"file0"},{"photo_id":"1329872430","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329872415":["hashtag1","hashtag2"]},{"1329872430":["hashtag1","hashtag2"]},{"1329872412":["hashtag1","hashtag2"]},{"1329872432":["hashtag1","hashtag2"]},{"1329872434":["hashtag1","hashtag2"]},{"1329872428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329872415, 1329872430, 1329872412, 1329872432, 1329872434, 1329872428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.858407497406006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 22:42:02.975300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/40/image_18012025_22_40_02_541378_0003.jpg', '/home/pi/Desktop/images/18012025/22/41/image_18012025_22_41_02_686583_0000.jpg', '/home/pi/Desktop/images/18012025/22/41/image_18012025_22_41_02_686583_0001.jpg', '/home/pi/Desktop/images/18012025/22/41/image_18012025_22_41_02_686583_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/40/image_18012025_22_40_02_541378_0003.jpg
/home/pi/Desktop/images/18012025/22/41/image_18012025_22_41_02_686583_0000.jpg
/home/pi/Desktop/images/18012025/22/41/image_18012025_22_41_02_686583_0001.jpg
/home/pi/Desktop/images/18012025/22/41/image_18012025_22_41_02_686583_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329872442","1329872444","1329872438","1329872440"],"photo_ids_order":["1329872438","1329872440","1329872442","1329872444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f398d4e633d90e0ddaf57ac570c3e3ad.jpg","text":"TemporaryFile(/tmp/multipartBody6644106138536449216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236593727,"filename":"image_18012025_22_41_02_686583_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/adaace601d257ade4714753c29e7dba2.jpg","text":"TemporaryFile(/tmp/multipartBody1932703825775274991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236593727,"filename":"image_18012025_22_41_02_686583_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0fd655f7a28ad4d929fdea99af2bd1bf.jpg","text":"TemporaryFile(/tmp/multipartBody8823540314103194292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236593727,"filename":"image_18012025_22_40_02_541378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e39810b88659b172783ee70a2c632a52.jpg","text":"TemporaryFile(/tmp/multipartBody7577665128884528917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236593727,"filename":"image_18012025_22_41_02_686583_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329872442","file1":"1329872440","file0":"1329872438","file3":"1329872444"},"map_files_photo_id_array":[{"photo_id":"1329872442","filename":"file2"},{"photo_id":"1329872440","filename":"file1"},{"photo_id":"1329872438","filename":"file0"},{"photo_id":"1329872444","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329872442":["hashtag1","hashtag2"]},{"1329872444":["hashtag1","hashtag2"]},{"1329872438":["hashtag1","hashtag2"]},{"1329872440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329872442, 1329872444, 1329872438, 1329872440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.6158664226532 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 22:42:52.625022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/41/image_18012025_22_41_02_686583_0003.jpg', '/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0000.jpg', '/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0001.jpg', '/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/41/image_18012025_22_41_02_686583_0003.jpg
/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0000.jpg
/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0001.jpg
/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.652782917022705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:43:21.843228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/41/image_18012025_22_41_02_686583_0003.jpg', '/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0000.jpg', '/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0001.jpg', '/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0002.jpg', '/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0003.jpg', '/home/pi/Desktop/images/18012025/22/43/image_18012025_22_43_03_009108_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/41/image_18012025_22_41_02_686583_0003.jpg
/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0000.jpg
/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0001.jpg
/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0002.jpg
/home/pi/Desktop/images/18012025/22/42/image_18012025_22_42_02_850859_0003.jpg
/home/pi/Desktop/images/18012025/22/43/image_18012025_22_43_03_009108_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329872466","1329872460","1329872462","1329872471","1329872468","1329872464"],"photo_ids_order":["1329872460","1329872462","1329872464","1329872466","1329872468","1329872471"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/931d2f60ee0e58c39a69e8589e4ac7b8.jpg","text":"TemporaryFile(/tmp/multipartBody8487394938988773474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236678344,"filename":"image_18012025_22_42_02_850859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53f0175f8bd51dcbdf8e0b9b308eac08.jpg","text":"TemporaryFile(/tmp/multipartBody261457713313747223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236678344,"filename":"image_18012025_22_41_02_686583_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/88d56d8b48d3d8d1e8a4ec413902cd46.jpg","text":"TemporaryFile(/tmp/multipartBody2867094177373709417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236678344,"filename":"image_18012025_22_42_02_850859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/553bbd93960feb67d73b161a7438ab48.jpg","text":"TemporaryFile(/tmp/multipartBody6999738075089798096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236678344,"filename":"image_18012025_22_43_03_009108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f8a6923559431047e4930e3d53da008b.jpg","text":"TemporaryFile(/tmp/multipartBody7426348584396020391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236678344,"filename":"image_18012025_22_42_02_850859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/298cb402cd01467713efbc72f003d6d5.jpg","text":"TemporaryFile(/tmp/multipartBody9117003700353102412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236678344,"filename":"image_18012025_22_42_02_850859_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329872464","file1":"1329872462","file0":"1329872460","file4":"1329872468","file5":"1329872471","file3":"1329872466"},"map_files_photo_id_array":[{"photo_id":"1329872471","filename":"file5"},{"photo_id":"1329872464","filename":"file2"},{"photo_id":"1329872468","filename":"file4"},{"photo_id":"1329872462","filename":"file1"},{"photo_id":"1329872460","filename":"file0"},{"photo_id":"1329872466","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329872466":["hashtag1","hashtag2"]},{"1329872460":["hashtag1","hashtag2"]},{"1329872462":["hashtag1","hashtag2"]},{"1329872471":["hashtag1","hashtag2"]},{"1329872468":["hashtag1","hashtag2"]},{"1329872464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329872466, 1329872460, 1329872462, 1329872471, 1329872468, 1329872464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.468559980392456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:44:22.084023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/43/image_18012025_22_43_03_009108_0001.jpg', '/home/pi/Desktop/images/18012025/22/43/image_18012025_22_43_03_009108_0002.jpg', '/home/pi/Desktop/images/18012025/22/43/image_18012025_22_43_03_009108_0003.jpg', '/home/pi/Desktop/images/18012025/22/44/image_18012025_22_44_02_215669_0000.jpg', '/home/pi/Desktop/images/18012025/22/44/image_18012025_22_44_02_215669_0001.jpg', '/home/pi/Desktop/images/18012025/22/44/image_18012025_22_44_02_215669_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/43/image_18012025_22_43_03_009108_0001.jpg
/home/pi/Desktop/images/18012025/22/43/image_18012025_22_43_03_009108_0002.jpg
/home/pi/Desktop/images/18012025/22/43/image_18012025_22_43_03_009108_0003.jpg
/home/pi/Desktop/images/18012025/22/44/image_18012025_22_44_02_215669_0000.jpg
/home/pi/Desktop/images/18012025/22/44/image_18012025_22_44_02_215669_0001.jpg
/home/pi/Desktop/images/18012025/22/44/image_18012025_22_44_02_215669_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329872535","1329872538","1329872543","1329872542","1329872539","1329872533"],"photo_ids_order":["1329872533","1329872535","1329872538","1329872539","1329872542","1329872543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03252e49a36cf24e20659e919514c813.jpg","text":"TemporaryFile(/tmp/multipartBody2647241918575815745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236738601,"filename":"image_18012025_22_43_03_009108_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa0c5cd3e44bef49a9d244bce745b279.jpg","text":"TemporaryFile(/tmp/multipartBody1483060773099508638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236738601,"filename":"image_18012025_22_43_03_009108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ec864f049843418b13b14c6e12d2131.jpg","text":"TemporaryFile(/tmp/multipartBody5817183266203836153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236738601,"filename":"image_18012025_22_44_02_215669_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2dcb7cc4b17a6e5e9e9e6bfd2e3e0d96.jpg","text":"TemporaryFile(/tmp/multipartBody1955359957807184866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236738601,"filename":"image_18012025_22_44_02_215669_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f2b8ca84c0ec6fa1fab3d5ff52ae308f.jpg","text":"TemporaryFile(/tmp/multipartBody8982933855929668999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236738601,"filename":"image_18012025_22_44_02_215669_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65b6dd856bf7da1e21b30d54247415c8.jpg","text":"TemporaryFile(/tmp/multipartBody2717968903304036810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236738601,"filename":"image_18012025_22_43_03_009108_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329872538","file1":"1329872535","file0":"1329872533","file4":"1329872542","file5":"1329872543","file3":"1329872539"},"map_files_photo_id_array":[{"photo_id":"1329872543","filename":"file5"},{"photo_id":"1329872538","filename":"file2"},{"photo_id":"1329872542","filename":"file4"},{"photo_id":"1329872535","filename":"file1"},{"photo_id":"1329872533","filename":"file0"},{"photo_id":"1329872539","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329872535":["hashtag1","hashtag2"]},{"1329872538":["hashtag1","hashtag2"]},{"1329872543":["hashtag1","hashtag2"]},{"1329872542":["hashtag1","hashtag2"]},{"1329872539":["hashtag1","hashtag2"]},{"1329872533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329872535, 1329872538, 1329872543, 1329872542, 1329872539, 1329872533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.39481830596924 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-18 22:45:32.144919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/44/image_18012025_22_44_02_215669_0003.jpg', '/home/pi/Desktop/images/18012025/22/45/image_18012025_22_45_02_351956_0000.jpg', '/home/pi/Desktop/images/18012025/22/45/image_18012025_22_45_02_351956_0001.jpg', '/home/pi/Desktop/images/18012025/22/45/image_18012025_22_45_02_351956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/44/image_18012025_22_44_02_215669_0003.jpg
/home/pi/Desktop/images/18012025/22/45/image_18012025_22_45_02_351956_0000.jpg
/home/pi/Desktop/images/18012025/22/45/image_18012025_22_45_02_351956_0001.jpg
/home/pi/Desktop/images/18012025/22/45/image_18012025_22_45_02_351956_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329872565","1329872610","1329872552","1329872584"],"photo_ids_order":["1329872552","1329872565","1329872584","1329872610"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7a374c926aed29f936f1bafbaca24a89.jpg","text":"TemporaryFile(/tmp/multipartBody79732460337302670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236803760,"filename":"image_18012025_22_45_02_351956_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/78d5412b66e03be31326981998cae21b.jpg","text":"TemporaryFile(/tmp/multipartBody1722477507789815102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236803760,"filename":"image_18012025_22_45_02_351956_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/02bbe3603c80b6bdbb54dee774f8e0ad.jpg","text":"TemporaryFile(/tmp/multipartBody2866531303896441002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236803760,"filename":"image_18012025_22_44_02_215669_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8ddebf8f80c8c45c124c1688fd4cbd56.jpg","text":"TemporaryFile(/tmp/multipartBody1084284664234671356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236803760,"filename":"image_18012025_22_45_02_351956_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329872584","file1":"1329872565","file0":"1329872552","file3":"1329872610"},"map_files_photo_id_array":[{"photo_id":"1329872584","filename":"file2"},{"photo_id":"1329872565","filename":"file1"},{"photo_id":"1329872552","filename":"file0"},{"photo_id":"1329872610","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329872565":["hashtag1","hashtag2"]},{"1329872610":["hashtag1","hashtag2"]},{"1329872552":["hashtag1","hashtag2"]},{"1329872584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329872565, 1329872610, 1329872552, 1329872584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.553226709365845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:46:22.343716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/45/image_18012025_22_45_02_351956_0003.jpg', '/home/pi/Desktop/images/18012025/22/46/image_18012025_22_46_02_653788_0000.jpg', '/home/pi/Desktop/images/18012025/22/46/image_18012025_22_46_02_653788_0001.jpg', '/home/pi/Desktop/images/18012025/22/46/image_18012025_22_46_02_653788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/45/image_18012025_22_45_02_351956_0003.jpg
/home/pi/Desktop/images/18012025/22/46/image_18012025_22_46_02_653788_0000.jpg
/home/pi/Desktop/images/18012025/22/46/image_18012025_22_46_02_653788_0001.jpg
/home/pi/Desktop/images/18012025/22/46/image_18012025_22_46_02_653788_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329872634","1329872630","1329872627","1329872638"],"photo_ids_order":["1329872627","1329872630","1329872634","1329872638"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ced003c5488422971ba796dd0347e75b.jpg","text":"TemporaryFile(/tmp/multipartBody7251890467640369922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236853383,"filename":"image_18012025_22_46_02_653788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e564d6e48f8b620d2d1b76b89e0c8279.jpg","text":"TemporaryFile(/tmp/multipartBody5883219331358397711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236853383,"filename":"image_18012025_22_46_02_653788_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e6fbfb171288ed826245f25d232990af.jpg","text":"TemporaryFile(/tmp/multipartBody1829066490313202591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236853383,"filename":"image_18012025_22_45_02_351956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e91f53ed297e14b886c2382c236beac.jpg","text":"TemporaryFile(/tmp/multipartBody7618630865147116930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236853383,"filename":"image_18012025_22_46_02_653788_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329872634","file1":"1329872630","file0":"1329872627","file3":"1329872638"},"map_files_photo_id_array":[{"photo_id":"1329872634","filename":"file2"},{"photo_id":"1329872630","filename":"file1"},{"photo_id":"1329872627","filename":"file0"},{"photo_id":"1329872638","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329872634":["hashtag1","hashtag2"]},{"1329872630":["hashtag1","hashtag2"]},{"1329872627":["hashtag1","hashtag2"]},{"1329872638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329872634, 1329872630, 1329872627, 1329872638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.60496640205383 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-18 22:47:22.658504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/46/image_18012025_22_46_02_653788_0003.jpg', '/home/pi/Desktop/images/18012025/22/47/image_18012025_22_47_02_696398_0000.jpg', '/home/pi/Desktop/images/18012025/22/47/image_18012025_22_47_02_696398_0001.jpg', '/home/pi/Desktop/images/18012025/22/47/image_18012025_22_47_02_696398_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/46/image_18012025_22_46_02_653788_0003.jpg
/home/pi/Desktop/images/18012025/22/47/image_18012025_22_47_02_696398_0000.jpg
/home/pi/Desktop/images/18012025/22/47/image_18012025_22_47_02_696398_0001.jpg
/home/pi/Desktop/images/18012025/22/47/image_18012025_22_47_02_696398_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329872751","1329872754","1329872756","1329872758"],"photo_ids_order":["1329872751","1329872754","1329872756","1329872758"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8ccac0273e52ac8ada80fbeedf120fa.jpg","text":"TemporaryFile(/tmp/multipartBody9156317101631260189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236913366,"filename":"image_18012025_22_46_02_653788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/25f3efc8ec3cdb600b59b8952a97ae76.jpg","text":"TemporaryFile(/tmp/multipartBody230014941169075205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236913366,"filename":"image_18012025_22_47_02_696398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5baa74a07ecbee4a5bb8bbe193202147.jpg","text":"TemporaryFile(/tmp/multipartBody8956264038367566157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236913366,"filename":"image_18012025_22_47_02_696398_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9c354ede9433818cbdb423c0437c0774.jpg","text":"TemporaryFile(/tmp/multipartBody5508517278723656606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236913366,"filename":"image_18012025_22_47_02_696398_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329872756","file1":"1329872754","file0":"1329872751","file3":"1329872758"},"map_files_photo_id_array":[{"photo_id":"1329872756","filename":"file2"},{"photo_id":"1329872754","filename":"file1"},{"photo_id":"1329872751","filename":"file0"},{"photo_id":"1329872758","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329872751":["hashtag1","hashtag2"]},{"1329872754":["hashtag1","hashtag2"]},{"1329872756":["hashtag1","hashtag2"]},{"1329872758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329872751, 1329872754, 1329872756, 1329872758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.963356494903564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 22:48:03.066503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/43/image_16012025_23_43_02_354559_0002.jpg', '/home/pi/Desktop/images/16012025/23/43/image_16012025_23_43_02_354559_0003.jpg', '/home/pi/Desktop/images/16012025/23/44/image_16012025_23_44_02_552405_0000.jpg', '/home/pi/Desktop/images/16012025/23/44/image_16012025_23_44_02_552405_0001.jpg', '/home/pi/Desktop/images/16012025/23/44/image_16012025_23_44_02_552405_0002.jpg', '/home/pi/Desktop/images/16012025/23/44/image_16012025_23_44_02_552405_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/43/image_16012025_23_43_02_354559_0002.jpg
/home/pi/Desktop/images/16012025/23/43/image_16012025_23_43_02_354559_0003.jpg
/home/pi/Desktop/images/16012025/23/44/image_16012025_23_44_02_552405_0000.jpg
/home/pi/Desktop/images/16012025/23/44/image_16012025_23_44_02_552405_0001.jpg
/home/pi/Desktop/images/16012025/23/44/image_16012025_23_44_02_552405_0002.jpg
/home/pi/Desktop/images/16012025/23/44/image_16012025_23_44_02_552405_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329872778","1329872783","1329872780","1329872785","1329872787","1329872781"],"photo_ids_order":["1329872778","1329872780","1329872781","1329872783","1329872785","1329872787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cc6c7c986c4304ecfb27802348f7dd8a.jpg","text":"TemporaryFile(/tmp/multipartBody1761954818495244154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236961060,"filename":"image_16012025_23_43_02_354559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/22e43abd041ce1c12a5630a82735b4b5.jpg","text":"TemporaryFile(/tmp/multipartBody2579286221468452996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236961060,"filename":"image_16012025_23_44_02_552405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f0502bc8d7aedb2f356d734881381a3.jpg","text":"TemporaryFile(/tmp/multipartBody7056741955997131032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236961060,"filename":"image_16012025_23_43_02_354559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/68ed8e8862f17f1c9c3df04ac1fda70a.jpg","text":"TemporaryFile(/tmp/multipartBody6361848784374588785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236961060,"filename":"image_16012025_23_44_02_552405_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/363658c3830747b73c4c3bf1d18e559d.jpg","text":"TemporaryFile(/tmp/multipartBody6335397904797064003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236961060,"filename":"image_16012025_23_44_02_552405_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9be2b5c8aeceec8809f14a1bf91a93de.jpg","text":"TemporaryFile(/tmp/multipartBody8073714539559294297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737236961060,"filename":"image_16012025_23_44_02_552405_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329872781","file1":"1329872780","file0":"1329872778","file4":"1329872785","file5":"1329872787","file3":"1329872783"},"map_files_photo_id_array":[{"photo_id":"1329872787","filename":"file5"},{"photo_id":"1329872781","filename":"file2"},{"photo_id":"1329872785","filename":"file4"},{"photo_id":"1329872780","filename":"file1"},{"photo_id":"1329872778","filename":"file0"},{"photo_id":"1329872783","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329872778":["hashtag1","hashtag2"]},{"1329872783":["hashtag1","hashtag2"]},{"1329872780":["hashtag1","hashtag2"]},{"1329872785":["hashtag1","hashtag2"]},{"1329872787":["hashtag1","hashtag2"]},{"1329872781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329872778, 1329872783, 1329872780, 1329872785, 1329872787, 1329872781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.57363677024841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:49:21.800969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/47/image_18012025_22_47_02_696398_0003.jpg', '/home/pi/Desktop/images/18012025/22/48/image_18012025_22_48_02_881151_0000.jpg', '/home/pi/Desktop/images/18012025/22/48/image_18012025_22_48_02_881151_0001.jpg', '/home/pi/Desktop/images/18012025/22/48/image_18012025_22_48_02_881151_0002.jpg', '/home/pi/Desktop/images/18012025/22/48/image_18012025_22_48_02_881151_0003.jpg', '/home/pi/Desktop/images/18012025/22/49/image_18012025_22_49_03_012497_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/47/image_18012025_22_47_02_696398_0003.jpg
/home/pi/Desktop/images/18012025/22/48/image_18012025_22_48_02_881151_0000.jpg
/home/pi/Desktop/images/18012025/22/48/image_18012025_22_48_02_881151_0001.jpg
/home/pi/Desktop/images/18012025/22/48/image_18012025_22_48_02_881151_0002.jpg
/home/pi/Desktop/images/18012025/22/48/image_18012025_22_48_02_881151_0003.jpg
/home/pi/Desktop/images/18012025/22/49/image_18012025_22_49_03_012497_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329872877","1329872862","1329872859","1329872879","1329872983","1329872872"],"photo_ids_order":["1329872859","1329872862","1329872872","1329872877","1329872879","1329872983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b416cf372b48ba35f62e52448a5471e6.jpg","text":"TemporaryFile(/tmp/multipartBody7717565460559747695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237037915,"filename":"image_18012025_22_48_02_881151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2532b504cbf8d39c9277b66c29973f42.jpg","text":"TemporaryFile(/tmp/multipartBody3735730038721449811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237037915,"filename":"image_18012025_22_48_02_881151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c7afedd32e3261a20dd761853badafdd.jpg","text":"TemporaryFile(/tmp/multipartBody5499310694904451822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237037915,"filename":"image_18012025_22_47_02_696398_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8fab3bd8a1cf6c947a2ca96ba85b0578.jpg","text":"TemporaryFile(/tmp/multipartBody3156506868109959128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237037915,"filename":"image_18012025_22_48_02_881151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cb6fc9f0f74523aa66fcd47f65f79a56.jpg","text":"TemporaryFile(/tmp/multipartBody1391994439551034044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237037915,"filename":"image_18012025_22_49_03_012497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/01f71473df337c4676173b0a0ba4bf0f.jpg","text":"TemporaryFile(/tmp/multipartBody6051531949965667789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237037915,"filename":"image_18012025_22_48_02_881151_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329872872","file1":"1329872862","file0":"1329872859","file4":"1329872879","file5":"1329872983","file3":"1329872877"},"map_files_photo_id_array":[{"photo_id":"1329872983","filename":"file5"},{"photo_id":"1329872872","filename":"file2"},{"photo_id":"1329872879","filename":"file4"},{"photo_id":"1329872862","filename":"file1"},{"photo_id":"1329872859","filename":"file0"},{"photo_id":"1329872877","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329872877":["hashtag1","hashtag2"]},{"1329872862":["hashtag1","hashtag2"]},{"1329872859":["hashtag1","hashtag2"]},{"1329872879":["hashtag1","hashtag2"]},{"1329872983":["hashtag1","hashtag2"]},{"1329872872":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329872877, 1329872862, 1329872859, 1329872879, 1329872983, 1329872872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.479132413864136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 22:50:32.003555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/49/image_18012025_22_49_03_012497_0001.jpg', '/home/pi/Desktop/images/18012025/22/49/image_18012025_22_49_03_012497_0002.jpg', '/home/pi/Desktop/images/18012025/22/49/image_18012025_22_49_03_012497_0003.jpg', '/home/pi/Desktop/images/18012025/22/50/image_18012025_22_50_02_190720_0000.jpg', '/home/pi/Desktop/images/18012025/22/50/image_18012025_22_50_02_190720_0001.jpg', '/home/pi/Desktop/images/18012025/22/50/image_18012025_22_50_02_190720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/49/image_18012025_22_49_03_012497_0001.jpg
/home/pi/Desktop/images/18012025/22/49/image_18012025_22_49_03_012497_0002.jpg
/home/pi/Desktop/images/18012025/22/49/image_18012025_22_49_03_012497_0003.jpg
/home/pi/Desktop/images/18012025/22/50/image_18012025_22_50_02_190720_0000.jpg
/home/pi/Desktop/images/18012025/22/50/image_18012025_22_50_02_190720_0001.jpg
/home/pi/Desktop/images/18012025/22/50/image_18012025_22_50_02_190720_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329873030","1329873018","1329873027","1329873031","1329873025","1329873022"],"photo_ids_order":["1329873018","1329873022","1329873025","1329873027","1329873030","1329873031"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0acdaa5a1f5622596226a3a9e363b763.jpg","text":"TemporaryFile(/tmp/multipartBody2953138815231178580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237108423,"filename":"image_18012025_22_50_02_190720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bf678ae2e984c8c04e3ea018f033c092.jpg","text":"TemporaryFile(/tmp/multipartBody5246538923660718363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237108423,"filename":"image_18012025_22_49_03_012497_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/23a8fb2a5c49fe21b3b34780bbcb7c2e.jpg","text":"TemporaryFile(/tmp/multipartBody446440934440343555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237108423,"filename":"image_18012025_22_50_02_190720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ca58387a1646339afa51161259e3d725.jpg","text":"TemporaryFile(/tmp/multipartBody8196990578298192300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237108423,"filename":"image_18012025_22_50_02_190720_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc18aaa3847a07fcbd850841c4f02210.jpg","text":"TemporaryFile(/tmp/multipartBody1700532345326365188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237108423,"filename":"image_18012025_22_49_03_012497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6c5ed50ce561b5324f65bd55b4a91ce3.jpg","text":"TemporaryFile(/tmp/multipartBody924997751973086706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237108423,"filename":"image_18012025_22_49_03_012497_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329873025","file1":"1329873022","file0":"1329873018","file4":"1329873030","file5":"1329873031","file3":"1329873027"},"map_files_photo_id_array":[{"photo_id":"1329873031","filename":"file5"},{"photo_id":"1329873025","filename":"file2"},{"photo_id":"1329873030","filename":"file4"},{"photo_id":"1329873022","filename":"file1"},{"photo_id":"1329873018","filename":"file0"},{"photo_id":"1329873027","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329873030":["hashtag1","hashtag2"]},{"1329873018":["hashtag1","hashtag2"]},{"1329873027":["hashtag1","hashtag2"]},{"1329873031":["hashtag1","hashtag2"]},{"1329873025":["hashtag1","hashtag2"]},{"1329873022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329873030, 1329873018, 1329873027, 1329873031, 1329873025, 1329873022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.83119201660156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 22:51:32.227874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/50/image_18012025_22_50_02_190720_0003.jpg', '/home/pi/Desktop/images/18012025/22/51/image_18012025_22_51_02_370529_0000.jpg', '/home/pi/Desktop/images/18012025/22/51/image_18012025_22_51_02_370529_0001.jpg', '/home/pi/Desktop/images/18012025/22/51/image_18012025_22_51_02_370529_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/50/image_18012025_22_50_02_190720_0003.jpg
/home/pi/Desktop/images/18012025/22/51/image_18012025_22_51_02_370529_0000.jpg
/home/pi/Desktop/images/18012025/22/51/image_18012025_22_51_02_370529_0001.jpg
/home/pi/Desktop/images/18012025/22/51/image_18012025_22_51_02_370529_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329873089","1329873087","1329873072","1329873066"],"photo_ids_order":["1329873066","1329873072","1329873087","1329873089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/531a8b51c863f1858cbeb7dc90658fb6.jpg","text":"TemporaryFile(/tmp/multipartBody3458393422297576779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237163580,"filename":"image_18012025_22_51_02_370529_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6bc034f3ed6c8a70532df11d6b5707c9.jpg","text":"TemporaryFile(/tmp/multipartBody534502252338862676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237163580,"filename":"image_18012025_22_51_02_370529_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/251d984293886e1ba059f93c33bad6f6.jpg","text":"TemporaryFile(/tmp/multipartBody3962308560417626273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237163580,"filename":"image_18012025_22_51_02_370529_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/826f1efa7b8740c0e4a14bfd55a9dc20.jpg","text":"TemporaryFile(/tmp/multipartBody4196849565588705426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237163580,"filename":"image_18012025_22_50_02_190720_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329873087","file1":"1329873072","file0":"1329873066","file3":"1329873089"},"map_files_photo_id_array":[{"photo_id":"1329873087","filename":"file2"},{"photo_id":"1329873072","filename":"file1"},{"photo_id":"1329873066","filename":"file0"},{"photo_id":"1329873089","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329873089":["hashtag1","hashtag2"]},{"1329873087":["hashtag1","hashtag2"]},{"1329873072":["hashtag1","hashtag2"]},{"1329873066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329873089, 1329873087, 1329873072, 1329873066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.04336714744568 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:52:22.424138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/51/image_18012025_22_51_02_370529_0003.jpg', '/home/pi/Desktop/images/18012025/22/52/image_18012025_22_52_02_634819_0000.jpg', '/home/pi/Desktop/images/18012025/22/52/image_18012025_22_52_02_634819_0001.jpg', '/home/pi/Desktop/images/18012025/22/52/image_18012025_22_52_02_634819_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/51/image_18012025_22_51_02_370529_0003.jpg
/home/pi/Desktop/images/18012025/22/52/image_18012025_22_52_02_634819_0000.jpg
/home/pi/Desktop/images/18012025/22/52/image_18012025_22_52_02_634819_0001.jpg
/home/pi/Desktop/images/18012025/22/52/image_18012025_22_52_02_634819_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329873148","1329873150","1329873153","1329873156"],"photo_ids_order":["1329873148","1329873150","1329873153","1329873156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d085ba99288c08143011ad717f18f7cc.jpg","text":"TemporaryFile(/tmp/multipartBody9136923293035271943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237213560,"filename":"image_18012025_22_51_02_370529_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/94b37d3209346ed48bf76e5b655ebbb3.jpg","text":"TemporaryFile(/tmp/multipartBody6852179806340766441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237213560,"filename":"image_18012025_22_52_02_634819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb07323681d650d43f961e70175434d8.jpg","text":"TemporaryFile(/tmp/multipartBody32004990967944519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237213560,"filename":"image_18012025_22_52_02_634819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e12aa3eaaa2b96f85b9cd91e9166324.jpg","text":"TemporaryFile(/tmp/multipartBody1812471211987134724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237213560,"filename":"image_18012025_22_52_02_634819_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329873153","file1":"1329873150","file0":"1329873148","file3":"1329873156"},"map_files_photo_id_array":[{"photo_id":"1329873153","filename":"file2"},{"photo_id":"1329873150","filename":"file1"},{"photo_id":"1329873148","filename":"file0"},{"photo_id":"1329873156","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329873148":["hashtag1","hashtag2"]},{"1329873150":["hashtag1","hashtag2"]},{"1329873153":["hashtag1","hashtag2"]},{"1329873156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329873148, 1329873150, 1329873153, 1329873156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.058162689208984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:53:22.698209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/52/image_18012025_22_52_02_634819_0003.jpg', '/home/pi/Desktop/images/18012025/22/53/image_18012025_22_53_02_784541_0000.jpg', '/home/pi/Desktop/images/18012025/22/53/image_18012025_22_53_02_784541_0001.jpg', '/home/pi/Desktop/images/18012025/22/53/image_18012025_22_53_02_784541_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/52/image_18012025_22_52_02_634819_0003.jpg
/home/pi/Desktop/images/18012025/22/53/image_18012025_22_53_02_784541_0000.jpg
/home/pi/Desktop/images/18012025/22/53/image_18012025_22_53_02_784541_0001.jpg
/home/pi/Desktop/images/18012025/22/53/image_18012025_22_53_02_784541_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329874064","1329874735","1329874444","1329873795"],"photo_ids_order":["1329873795","1329874064","1329874444","1329874735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d08d5fa5a0a01e9baf05a5837ee3f733.jpg","text":"TemporaryFile(/tmp/multipartBody5806771558885256319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237273922,"filename":"image_18012025_22_53_02_784541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bcdd5daa63bb147362aba47418bd1c9a.jpg","text":"TemporaryFile(/tmp/multipartBody3948206937497793895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237273922,"filename":"image_18012025_22_53_02_784541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4d69a924d772d573ee884d71aa7260c0.jpg","text":"TemporaryFile(/tmp/multipartBody5745802100087605340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237273922,"filename":"image_18012025_22_53_02_784541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/240fa25b863c8c77d91e051255b2a50b.jpg","text":"TemporaryFile(/tmp/multipartBody5611563680431041586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237273922,"filename":"image_18012025_22_52_02_634819_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329874444","file1":"1329874064","file0":"1329873795","file3":"1329874735"},"map_files_photo_id_array":[{"photo_id":"1329874444","filename":"file2"},{"photo_id":"1329874064","filename":"file1"},{"photo_id":"1329873795","filename":"file0"},{"photo_id":"1329874735","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329874064":["hashtag1","hashtag2"]},{"1329874735":["hashtag1","hashtag2"]},{"1329874444":["hashtag1","hashtag2"]},{"1329873795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329874064, 1329874735, 1329874444, 1329873795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.617966651916504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:54:21.841149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/53/image_18012025_22_53_02_784541_0003.jpg', '/home/pi/Desktop/images/18012025/22/54/image_18012025_22_54_03_148703_0000.jpg', '/home/pi/Desktop/images/18012025/22/54/image_18012025_22_54_03_148703_0001.jpg', '/home/pi/Desktop/images/18012025/22/54/image_18012025_22_54_03_148703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/53/image_18012025_22_53_02_784541_0003.jpg
/home/pi/Desktop/images/18012025/22/54/image_18012025_22_54_03_148703_0000.jpg
/home/pi/Desktop/images/18012025/22/54/image_18012025_22_54_03_148703_0001.jpg
/home/pi/Desktop/images/18012025/22/54/image_18012025_22_54_03_148703_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329874742","1329874751","1329874748","1329874744"],"photo_ids_order":["1329874742","1329874744","1329874748","1329874751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53e46227719ace1ed95459391d45a189.jpg","text":"TemporaryFile(/tmp/multipartBody664103398872475119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237333125,"filename":"image_18012025_22_53_02_784541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/90229e34ee41151eb75ed0703fa33f41.jpg","text":"TemporaryFile(/tmp/multipartBody5104169539476269360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237333125,"filename":"image_18012025_22_54_03_148703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f5574d4cd6f2a6a6624bc6249c5420c.jpg","text":"TemporaryFile(/tmp/multipartBody2950887002931324304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237333125,"filename":"image_18012025_22_54_03_148703_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53cbd46013afc78b4c40e486f65efa8c.jpg","text":"TemporaryFile(/tmp/multipartBody3746598309487795855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237333125,"filename":"image_18012025_22_54_03_148703_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329874748","file1":"1329874744","file0":"1329874742","file3":"1329874751"},"map_files_photo_id_array":[{"photo_id":"1329874748","filename":"file2"},{"photo_id":"1329874744","filename":"file1"},{"photo_id":"1329874742","filename":"file0"},{"photo_id":"1329874751","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329874742":["hashtag1","hashtag2"]},{"1329874751":["hashtag1","hashtag2"]},{"1329874748":["hashtag1","hashtag2"]},{"1329874744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329874742, 1329874751, 1329874748, 1329874744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.76663398742676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:55:22.096040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/54/image_18012025_22_54_03_148703_0003.jpg', '/home/pi/Desktop/images/18012025/22/55/image_18012025_22_55_02_178999_0000.jpg', '/home/pi/Desktop/images/18012025/22/55/image_18012025_22_55_02_178999_0001.jpg', '/home/pi/Desktop/images/18012025/22/55/image_18012025_22_55_02_178999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/54/image_18012025_22_54_03_148703_0003.jpg
/home/pi/Desktop/images/18012025/22/55/image_18012025_22_55_02_178999_0000.jpg
/home/pi/Desktop/images/18012025/22/55/image_18012025_22_55_02_178999_0001.jpg
/home/pi/Desktop/images/18012025/22/55/image_18012025_22_55_02_178999_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329875467","1329874910","1329875112","1329875462"],"photo_ids_order":["1329874910","1329875112","1329875462","1329875467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cffc1b8d9a7862a0aa9547e58224a15b.jpg","text":"TemporaryFile(/tmp/multipartBody5682315424506157588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237393321,"filename":"image_18012025_22_55_02_178999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4303fd22f9d5bd58af1069ce6d863135.jpg","text":"TemporaryFile(/tmp/multipartBody6638935914743662234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237393321,"filename":"image_18012025_22_54_03_148703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b98f8f24a0cf89e2ceab5f89308b0b4e.jpg","text":"TemporaryFile(/tmp/multipartBody5868530145006566531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237393321,"filename":"image_18012025_22_55_02_178999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e009722aae6c4bd6f83617bace49239.jpg","text":"TemporaryFile(/tmp/multipartBody4326563619751714230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237393321,"filename":"image_18012025_22_55_02_178999_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329875462","file1":"1329875112","file0":"1329874910","file3":"1329875467"},"map_files_photo_id_array":[{"photo_id":"1329875462","filename":"file2"},{"photo_id":"1329875112","filename":"file1"},{"photo_id":"1329874910","filename":"file0"},{"photo_id":"1329875467","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329875467":["hashtag1","hashtag2"]},{"1329874910":["hashtag1","hashtag2"]},{"1329875112":["hashtag1","hashtag2"]},{"1329875462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329875467, 1329874910, 1329875112, 1329875462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.52591300010681 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:56:22.178965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/55/image_18012025_22_55_02_178999_0003.jpg', '/home/pi/Desktop/images/18012025/22/56/image_18012025_22_56_02_317241_0000.jpg', '/home/pi/Desktop/images/18012025/22/56/image_18012025_22_56_02_317241_0001.jpg', '/home/pi/Desktop/images/18012025/22/56/image_18012025_22_56_02_317241_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/55/image_18012025_22_55_02_178999_0003.jpg
/home/pi/Desktop/images/18012025/22/56/image_18012025_22_56_02_317241_0000.jpg
/home/pi/Desktop/images/18012025/22/56/image_18012025_22_56_02_317241_0001.jpg
/home/pi/Desktop/images/18012025/22/56/image_18012025_22_56_02_317241_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329875713","1329875710","1329875544","1329875715"],"photo_ids_order":["1329875544","1329875710","1329875713","1329875715"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4ed02349cd2c774a3e665aa2370abec3.jpg","text":"TemporaryFile(/tmp/multipartBody5684973760135370461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237453543,"filename":"image_18012025_22_56_02_317241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4f0e1e34d6d6f2d15c84a54c28cd435b.jpg","text":"TemporaryFile(/tmp/multipartBody8426592819550786945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237453543,"filename":"image_18012025_22_56_02_317241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4d1cc598725f3d116b9a8b21364d9f9.jpg","text":"TemporaryFile(/tmp/multipartBody1036348238679834583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237453543,"filename":"image_18012025_22_55_02_178999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0f79329212472cb8e1c7c9a9933d7c0e.jpg","text":"TemporaryFile(/tmp/multipartBody8717439185780581971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237453543,"filename":"image_18012025_22_56_02_317241_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329875713","file1":"1329875710","file0":"1329875544","file3":"1329875715"},"map_files_photo_id_array":[{"photo_id":"1329875713","filename":"file2"},{"photo_id":"1329875710","filename":"file1"},{"photo_id":"1329875544","filename":"file0"},{"photo_id":"1329875715","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329875713":["hashtag1","hashtag2"]},{"1329875710":["hashtag1","hashtag2"]},{"1329875544":["hashtag1","hashtag2"]},{"1329875715":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329875713, 1329875710, 1329875544, 1329875715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76191306114197 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-18 22:57:22.440381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/56/image_18012025_22_56_02_317241_0003.jpg', '/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0000.jpg', '/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0001.jpg', '/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/56/image_18012025_22_56_02_317241_0003.jpg
/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0000.jpg
/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0001.jpg
/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_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-18 22:59:02.333167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/56/image_18012025_22_56_02_317241_0003.jpg', '/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0000.jpg', '/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0001.jpg', '/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0002.jpg', '/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0003.jpg', '/home/pi/Desktop/images/18012025/22/58/image_18012025_22_58_02_780664_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/56/image_18012025_22_56_02_317241_0003.jpg
/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0000.jpg
/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0001.jpg
/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0002.jpg
/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0003.jpg
/home/pi/Desktop/images/18012025/22/58/image_18012025_22_58_02_780664_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.099130392074585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 22:59:21.758567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/56/image_18012025_22_56_02_317241_0003.jpg', '/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0000.jpg', '/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0001.jpg', '/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0002.jpg', '/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0003.jpg', '/home/pi/Desktop/images/18012025/22/58/image_18012025_22_58_02_780664_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/56/image_18012025_22_56_02_317241_0003.jpg
/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0000.jpg
/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0001.jpg
/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0002.jpg
/home/pi/Desktop/images/18012025/22/57/image_18012025_22_57_02_589076_0003.jpg
/home/pi/Desktop/images/18012025/22/58/image_18012025_22_58_02_780664_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329876264","1329876267","1329876269","1329876266","1329876583","1329876271"],"photo_ids_order":["1329876264","1329876266","1329876267","1329876269","1329876271","1329876583"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7b011db7eae1a47be8e9ed4945c165ca.jpg","text":"TemporaryFile(/tmp/multipartBody5872076928848766718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237639162,"filename":"image_18012025_22_56_02_317241_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/558ed901a64af145715c678d9474fb98.jpg","text":"TemporaryFile(/tmp/multipartBody3206123849699480446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237639162,"filename":"image_18012025_22_57_02_589076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a4cc7bf2424c20d1d47d7882f0d51c1e.jpg","text":"TemporaryFile(/tmp/multipartBody7912762025403736531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237639162,"filename":"image_18012025_22_57_02_589076_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3326bb566abd56cd432e7c28e8af17d1.jpg","text":"TemporaryFile(/tmp/multipartBody535357694429861261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237639162,"filename":"image_18012025_22_57_02_589076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/55640926e7d125fdcc76843ef0bb63d3.jpg","text":"TemporaryFile(/tmp/multipartBody4151775074617492912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237639162,"filename":"image_18012025_22_58_02_780664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fac3402ba9639758d32ef5109403fafb.jpg","text":"TemporaryFile(/tmp/multipartBody2412870717267290117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237639162,"filename":"image_18012025_22_57_02_589076_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329876267","file1":"1329876266","file0":"1329876264","file4":"1329876271","file5":"1329876583","file3":"1329876269"},"map_files_photo_id_array":[{"photo_id":"1329876583","filename":"file5"},{"photo_id":"1329876267","filename":"file2"},{"photo_id":"1329876271","filename":"file4"},{"photo_id":"1329876266","filename":"file1"},{"photo_id":"1329876264","filename":"file0"},{"photo_id":"1329876269","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329876264":["hashtag1","hashtag2"]},{"1329876267":["hashtag1","hashtag2"]},{"1329876269":["hashtag1","hashtag2"]},{"1329876266":["hashtag1","hashtag2"]},{"1329876583":["hashtag1","hashtag2"]},{"1329876271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329876264, 1329876267, 1329876269, 1329876266, 1329876583, 1329876271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.359981060028076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:00:21.982405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/58/image_18012025_22_58_02_780664_0001.jpg', '/home/pi/Desktop/images/18012025/22/58/image_18012025_22_58_02_780664_0002.jpg', '/home/pi/Desktop/images/18012025/22/58/image_18012025_22_58_02_780664_0003.jpg', '/home/pi/Desktop/images/18012025/22/59/image_18012025_22_59_03_020421_0000.jpg', '/home/pi/Desktop/images/18012025/22/59/image_18012025_22_59_03_020421_0001.jpg', '/home/pi/Desktop/images/18012025/22/59/image_18012025_22_59_03_020421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/58/image_18012025_22_58_02_780664_0001.jpg
/home/pi/Desktop/images/18012025/22/58/image_18012025_22_58_02_780664_0002.jpg
/home/pi/Desktop/images/18012025/22/58/image_18012025_22_58_02_780664_0003.jpg
/home/pi/Desktop/images/18012025/22/59/image_18012025_22_59_03_020421_0000.jpg
/home/pi/Desktop/images/18012025/22/59/image_18012025_22_59_03_020421_0001.jpg
/home/pi/Desktop/images/18012025/22/59/image_18012025_22_59_03_020421_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329877077","1329877071","1329877073","1329877066","1329877075","1329877069"],"photo_ids_order":["1329877066","1329877069","1329877071","1329877073","1329877075","1329877077"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5706d4ca5970a84ce947642575702d2b.jpg","text":"TemporaryFile(/tmp/multipartBody7311899793840923952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237699225,"filename":"image_18012025_22_59_03_020421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3c5b8a7431e8f194f79caeb472370c56.jpg","text":"TemporaryFile(/tmp/multipartBody6831305391437770555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237699225,"filename":"image_18012025_22_58_02_780664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cff33937f83c15cc4050b86e8c8f2bdc.jpg","text":"TemporaryFile(/tmp/multipartBody4805899100968675621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237699225,"filename":"image_18012025_22_59_03_020421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0339cc51a0817148c551477788c282a9.jpg","text":"TemporaryFile(/tmp/multipartBody8622061829082047535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237699225,"filename":"image_18012025_22_58_02_780664_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9d32aed74e3dab1b82abd2da1ddfeebd.jpg","text":"TemporaryFile(/tmp/multipartBody301645337157234901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237699225,"filename":"image_18012025_22_59_03_020421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9c02af3cc3f46848b021c5031b49485c.jpg","text":"TemporaryFile(/tmp/multipartBody1850537485897419214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237699225,"filename":"image_18012025_22_58_02_780664_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329877071","file1":"1329877069","file0":"1329877066","file4":"1329877075","file5":"1329877077","file3":"1329877073"},"map_files_photo_id_array":[{"photo_id":"1329877077","filename":"file5"},{"photo_id":"1329877071","filename":"file2"},{"photo_id":"1329877075","filename":"file4"},{"photo_id":"1329877069","filename":"file1"},{"photo_id":"1329877066","filename":"file0"},{"photo_id":"1329877073","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329877077":["hashtag1","hashtag2"]},{"1329877071":["hashtag1","hashtag2"]},{"1329877073":["hashtag1","hashtag2"]},{"1329877066":["hashtag1","hashtag2"]},{"1329877075":["hashtag1","hashtag2"]},{"1329877069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329877077, 1329877071, 1329877073, 1329877066, 1329877075, 1329877069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.26770997047424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:01:22.140086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/22/59/image_18012025_22_59_03_020421_0003.jpg', '/home/pi/Desktop/images/18012025/23/00/image_18012025_23_00_02_130750_0000.jpg', '/home/pi/Desktop/images/18012025/23/00/image_18012025_23_00_02_130750_0001.jpg', '/home/pi/Desktop/images/18012025/23/00/image_18012025_23_00_02_130750_0002.jpg', '/home/pi/Desktop/images/18012025/23/00/image_18012025_23_00_02_130750_0003.jpg', '/home/pi/Desktop/images/18012025/23/01/image_18012025_23_01_02_316249_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/22/59/image_18012025_22_59_03_020421_0003.jpg
/home/pi/Desktop/images/18012025/23/00/image_18012025_23_00_02_130750_0000.jpg
/home/pi/Desktop/images/18012025/23/00/image_18012025_23_00_02_130750_0001.jpg
/home/pi/Desktop/images/18012025/23/00/image_18012025_23_00_02_130750_0002.jpg
/home/pi/Desktop/images/18012025/23/00/image_18012025_23_00_02_130750_0003.jpg
/home/pi/Desktop/images/18012025/23/01/image_18012025_23_01_02_316249_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329877467","1329877462","1329877456","1329877441","1329877465","1329877459"],"photo_ids_order":["1329877441","1329877456","1329877459","1329877462","1329877465","1329877467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c349d177b7ef2f6aaceb7e14895efccc.jpg","text":"TemporaryFile(/tmp/multipartBody4309318726006775795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237759092,"filename":"image_18012025_23_01_02_316249_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aaeb4a7e6024fb5c75435727a20de70a.jpg","text":"TemporaryFile(/tmp/multipartBody287591005569066861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237759092,"filename":"image_18012025_23_00_02_130750_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/166bebcf9cc1298a5ce1ff6427a9cd16.jpg","text":"TemporaryFile(/tmp/multipartBody8073949264643562631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237759092,"filename":"image_18012025_23_00_02_130750_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a4b2836b65d9a213bbdece254f4d1a7.jpg","text":"TemporaryFile(/tmp/multipartBody6715391912982617674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237759092,"filename":"image_18012025_22_59_03_020421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/972379685f05dff82ead98ebd57bc073.jpg","text":"TemporaryFile(/tmp/multipartBody1729231623539574755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237759092,"filename":"image_18012025_23_00_02_130750_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/819eba6c5069721cf8cb0f1da14f79dc.jpg","text":"TemporaryFile(/tmp/multipartBody1457571409889075379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237759092,"filename":"image_18012025_23_00_02_130750_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329877459","file1":"1329877456","file0":"1329877441","file4":"1329877465","file5":"1329877467","file3":"1329877462"},"map_files_photo_id_array":[{"photo_id":"1329877467","filename":"file5"},{"photo_id":"1329877459","filename":"file2"},{"photo_id":"1329877465","filename":"file4"},{"photo_id":"1329877456","filename":"file1"},{"photo_id":"1329877441","filename":"file0"},{"photo_id":"1329877462","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329877467":["hashtag1","hashtag2"]},{"1329877462":["hashtag1","hashtag2"]},{"1329877456":["hashtag1","hashtag2"]},{"1329877441":["hashtag1","hashtag2"]},{"1329877465":["hashtag1","hashtag2"]},{"1329877459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329877467, 1329877462, 1329877456, 1329877441, 1329877465, 1329877459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.63456869125366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:02:22.410105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/01/image_18012025_23_01_02_316249_0001.jpg', '/home/pi/Desktop/images/18012025/23/01/image_18012025_23_01_02_316249_0002.jpg', '/home/pi/Desktop/images/18012025/23/01/image_18012025_23_01_02_316249_0003.jpg', '/home/pi/Desktop/images/18012025/23/02/image_18012025_23_02_02_533621_0000.jpg', '/home/pi/Desktop/images/18012025/23/02/image_18012025_23_02_02_533621_0001.jpg', '/home/pi/Desktop/images/18012025/23/02/image_18012025_23_02_02_533621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/01/image_18012025_23_01_02_316249_0001.jpg
/home/pi/Desktop/images/18012025/23/01/image_18012025_23_01_02_316249_0002.jpg
/home/pi/Desktop/images/18012025/23/01/image_18012025_23_01_02_316249_0003.jpg
/home/pi/Desktop/images/18012025/23/02/image_18012025_23_02_02_533621_0000.jpg
/home/pi/Desktop/images/18012025/23/02/image_18012025_23_02_02_533621_0001.jpg
/home/pi/Desktop/images/18012025/23/02/image_18012025_23_02_02_533621_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329877507","1329877488","1329877476","1329877490","1329877472","1329877483"],"photo_ids_order":["1329877472","1329877476","1329877483","1329877488","1329877490","1329877507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fb087fdfc24e96e7eeafdb2e510b5225.jpg","text":"TemporaryFile(/tmp/multipartBody3936407227068172715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237818805,"filename":"image_18012025_23_02_02_533621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/94a2c83837c0fee6c99b363dc20741d7.jpg","text":"TemporaryFile(/tmp/multipartBody4639863847509699545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237818805,"filename":"image_18012025_23_02_02_533621_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c1a3c534ac30fba44f34a9defdb8e9fb.jpg","text":"TemporaryFile(/tmp/multipartBody7982709548659459682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237818805,"filename":"image_18012025_23_01_02_316249_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/30b1be881e54b168b09bf3e3312c9c01.jpg","text":"TemporaryFile(/tmp/multipartBody7883446508608304025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237818805,"filename":"image_18012025_23_02_02_533621_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a698f319600bb77eac8c49041a2ffddb.jpg","text":"TemporaryFile(/tmp/multipartBody7801987679832320964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237818805,"filename":"image_18012025_23_01_02_316249_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/582a1c13ef85bb735a27c999a2ad6e00.jpg","text":"TemporaryFile(/tmp/multipartBody4140507612915591069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237818805,"filename":"image_18012025_23_01_02_316249_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329877483","file1":"1329877476","file0":"1329877472","file4":"1329877490","file5":"1329877507","file3":"1329877488"},"map_files_photo_id_array":[{"photo_id":"1329877507","filename":"file5"},{"photo_id":"1329877483","filename":"file2"},{"photo_id":"1329877490","filename":"file4"},{"photo_id":"1329877476","filename":"file1"},{"photo_id":"1329877472","filename":"file0"},{"photo_id":"1329877488","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329877507":["hashtag1","hashtag2"]},{"1329877488":["hashtag1","hashtag2"]},{"1329877476":["hashtag1","hashtag2"]},{"1329877490":["hashtag1","hashtag2"]},{"1329877472":["hashtag1","hashtag2"]},{"1329877483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329877507, 1329877488, 1329877476, 1329877490, 1329877472, 1329877483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.532089948654175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:03:22.681113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/02/image_18012025_23_02_02_533621_0003.jpg', '/home/pi/Desktop/images/18012025/23/03/image_18012025_23_03_02_734264_0000.jpg', '/home/pi/Desktop/images/18012025/23/03/image_18012025_23_03_02_734264_0001.jpg', '/home/pi/Desktop/images/18012025/23/03/image_18012025_23_03_02_734264_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/02/image_18012025_23_02_02_533621_0003.jpg
/home/pi/Desktop/images/18012025/23/03/image_18012025_23_03_02_734264_0000.jpg
/home/pi/Desktop/images/18012025/23/03/image_18012025_23_03_02_734264_0001.jpg
/home/pi/Desktop/images/18012025/23/03/image_18012025_23_03_02_734264_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329878232","1329877551","1329877839","1329877525"],"photo_ids_order":["1329877525","1329877551","1329877839","1329878232"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7ee4f8b99600dc301691593d7dc30b21.jpg","text":"TemporaryFile(/tmp/multipartBody2787989553898710109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237874033,"filename":"image_18012025_23_03_02_734264_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5e7666b3f2e28702602358880603fdf9.jpg","text":"TemporaryFile(/tmp/multipartBody1060718594442464666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237874033,"filename":"image_18012025_23_03_02_734264_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0900a65af86eece25ddcf071270d4750.jpg","text":"TemporaryFile(/tmp/multipartBody6329803521449192610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237874033,"filename":"image_18012025_23_03_02_734264_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e8bf481ace6a7bad4e70499767233643.jpg","text":"TemporaryFile(/tmp/multipartBody3036744078087873255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237874033,"filename":"image_18012025_23_02_02_533621_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329877839","file1":"1329877551","file0":"1329877525","file3":"1329878232"},"map_files_photo_id_array":[{"photo_id":"1329877839","filename":"file2"},{"photo_id":"1329877551","filename":"file1"},{"photo_id":"1329877525","filename":"file0"},{"photo_id":"1329878232","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329878232":["hashtag1","hashtag2"]},{"1329877551":["hashtag1","hashtag2"]},{"1329877839":["hashtag1","hashtag2"]},{"1329877525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329878232, 1329877551, 1329877839, 1329877525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.03472065925598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:04:22.763960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/03/image_18012025_23_03_02_734264_0003.jpg', '/home/pi/Desktop/images/18012025/23/04/image_18012025_23_04_02_988449_0000.jpg', '/home/pi/Desktop/images/18012025/23/04/image_18012025_23_04_02_988449_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/03/image_18012025_23_03_02_734264_0003.jpg
/home/pi/Desktop/images/18012025/23/04/image_18012025_23_04_02_988449_0000.jpg
/home/pi/Desktop/images/18012025/23/04/image_18012025_23_04_02_988449_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329878330","1329878336","1329878332"],"photo_ids_order":["1329878330","1329878332","1329878336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7e234fb3d7f5051f664cbc35455b55a0.jpg","text":"TemporaryFile(/tmp/multipartBody2424744831923674815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237931574,"filename":"image_18012025_23_03_02_734264_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0696f1556dfca23b1ad06a99142c9b4e.jpg","text":"TemporaryFile(/tmp/multipartBody5125667069993210459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237931574,"filename":"image_18012025_23_04_02_988449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17e8cf07cd1834f18210c2ecd96e9dcc.jpg","text":"TemporaryFile(/tmp/multipartBody1291881379394890363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237931574,"filename":"image_18012025_23_04_02_988449_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329878336","file1":"1329878332","file0":"1329878330"},"map_files_photo_id_array":[{"photo_id":"1329878336","filename":"file2"},{"photo_id":"1329878332","filename":"file1"},{"photo_id":"1329878330","filename":"file0"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329878330":["hashtag1","hashtag2"]},{"1329878336":["hashtag1","hashtag2"]},{"1329878332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329878330, 1329878336, 1329878332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.91768193244934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 23:05:02.599855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/45/image_16012025_23_45_02_756972_0000.jpg', '/home/pi/Desktop/images/16012025/23/45/image_16012025_23_45_02_756972_0001.jpg', '/home/pi/Desktop/images/16012025/23/45/image_16012025_23_45_02_756972_0002.jpg', '/home/pi/Desktop/images/16012025/23/45/image_16012025_23_45_02_756972_0003.jpg', '/home/pi/Desktop/images/16012025/23/46/image_16012025_23_46_02_939145_0000.jpg', '/home/pi/Desktop/images/16012025/23/46/image_16012025_23_46_02_939145_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/45/image_16012025_23_45_02_756972_0000.jpg
/home/pi/Desktop/images/16012025/23/45/image_16012025_23_45_02_756972_0001.jpg
/home/pi/Desktop/images/16012025/23/45/image_16012025_23_45_02_756972_0002.jpg
/home/pi/Desktop/images/16012025/23/45/image_16012025_23_45_02_756972_0003.jpg
/home/pi/Desktop/images/16012025/23/46/image_16012025_23_46_02_939145_0000.jpg
/home/pi/Desktop/images/16012025/23/46/image_16012025_23_46_02_939145_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329878823","1329878832","1329878828","1329878825","1329878830","1329878821"],"photo_ids_order":["1329878821","1329878823","1329878825","1329878828","1329878830","1329878832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/48605c850630ff334f76f80d1a8b566c.jpg","text":"TemporaryFile(/tmp/multipartBody6067033496175276796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237980344,"filename":"image_16012025_23_45_02_756972_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/981b8ffb6082db9e7eca254461070a5c.jpg","text":"TemporaryFile(/tmp/multipartBody139505120475332308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237980344,"filename":"image_16012025_23_46_02_939145_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6fc39f53a44b9848567945bbe14b1b5f.jpg","text":"TemporaryFile(/tmp/multipartBody7987655911017152529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237980344,"filename":"image_16012025_23_45_02_756972_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/90579a8dd7ad01f0554c87ea1494d18c.jpg","text":"TemporaryFile(/tmp/multipartBody2226462385934289540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237980344,"filename":"image_16012025_23_45_02_756972_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c48f6a9c5b9642b20263c23a599cf2fc.jpg","text":"TemporaryFile(/tmp/multipartBody2266785452941048158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237980344,"filename":"image_16012025_23_46_02_939145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9f1800d2c42dd807ddd1c3ae7aed8401.jpg","text":"TemporaryFile(/tmp/multipartBody5430519093105677544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737237980344,"filename":"image_16012025_23_45_02_756972_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329878825","file1":"1329878823","file0":"1329878821","file4":"1329878830","file5":"1329878832","file3":"1329878828"},"map_files_photo_id_array":[{"photo_id":"1329878832","filename":"file5"},{"photo_id":"1329878825","filename":"file2"},{"photo_id":"1329878830","filename":"file4"},{"photo_id":"1329878823","filename":"file1"},{"photo_id":"1329878821","filename":"file0"},{"photo_id":"1329878828","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329878823":["hashtag1","hashtag2"]},{"1329878832":["hashtag1","hashtag2"]},{"1329878828":["hashtag1","hashtag2"]},{"1329878825":["hashtag1","hashtag2"]},{"1329878830":["hashtag1","hashtag2"]},{"1329878821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329878823, 1329878832, 1329878828, 1329878825, 1329878830, 1329878821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.29510951042175 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:06:22.171623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/04/image_18012025_23_04_02_988449_0003.jpg', '/home/pi/Desktop/images/18012025/23/05/image_18012025_23_05_03_100783_0000.jpg', '/home/pi/Desktop/images/18012025/23/05/image_18012025_23_05_03_100783_0001.jpg', '/home/pi/Desktop/images/18012025/23/05/image_18012025_23_05_03_100783_0002.jpg', '/home/pi/Desktop/images/18012025/23/05/image_18012025_23_05_03_100783_0003.jpg', '/home/pi/Desktop/images/18012025/23/06/image_18012025_23_06_02_367910_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/04/image_18012025_23_04_02_988449_0003.jpg
/home/pi/Desktop/images/18012025/23/05/image_18012025_23_05_03_100783_0000.jpg
/home/pi/Desktop/images/18012025/23/05/image_18012025_23_05_03_100783_0001.jpg
/home/pi/Desktop/images/18012025/23/05/image_18012025_23_05_03_100783_0002.jpg
/home/pi/Desktop/images/18012025/23/05/image_18012025_23_05_03_100783_0003.jpg
/home/pi/Desktop/images/18012025/23/06/image_18012025_23_06_02_367910_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329880032","1329879941","1329879155","1329879634","1329880030","1329880027"],"photo_ids_order":["1329879155","1329879634","1329879941","1329880027","1329880030","1329880032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d5939c9fd61981f5d0b54d6c0ce6623c.jpg","text":"TemporaryFile(/tmp/multipartBody1480042496103642556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238058637,"filename":"image_18012025_23_06_02_367910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/652497ad23672e3641e5d2c7330e47e6.jpg","text":"TemporaryFile(/tmp/multipartBody5856962353941271219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238058637,"filename":"image_18012025_23_05_03_100783_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a74eb078fa8620ae3ea3759b83928e7.jpg","text":"TemporaryFile(/tmp/multipartBody5935030157342938801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238058637,"filename":"image_18012025_23_04_02_988449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/64fe23c928524cdf807d59ded1b93473.jpg","text":"TemporaryFile(/tmp/multipartBody5135518010534165002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238058637,"filename":"image_18012025_23_05_03_100783_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba27b2335a5db9ac758384fcf2164fc2.jpg","text":"TemporaryFile(/tmp/multipartBody8545622410108907943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238058637,"filename":"image_18012025_23_05_03_100783_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/db87ac28ef192defa840ef43eb30c145.jpg","text":"TemporaryFile(/tmp/multipartBody182709579178881453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238058637,"filename":"image_18012025_23_05_03_100783_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329879941","file1":"1329879634","file0":"1329879155","file4":"1329880030","file5":"1329880032","file3":"1329880027"},"map_files_photo_id_array":[{"photo_id":"1329880032","filename":"file5"},{"photo_id":"1329879941","filename":"file2"},{"photo_id":"1329880030","filename":"file4"},{"photo_id":"1329879634","filename":"file1"},{"photo_id":"1329879155","filename":"file0"},{"photo_id":"1329880027","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329880032":["hashtag1","hashtag2"]},{"1329879941":["hashtag1","hashtag2"]},{"1329879155":["hashtag1","hashtag2"]},{"1329879634":["hashtag1","hashtag2"]},{"1329880030":["hashtag1","hashtag2"]},{"1329880027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329880032, 1329879941, 1329879155, 1329879634, 1329880030, 1329880027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.9007089138031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:07:22.316991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/06/image_18012025_23_06_02_367910_0001.jpg', '/home/pi/Desktop/images/18012025/23/06/image_18012025_23_06_02_367910_0002.jpg', '/home/pi/Desktop/images/18012025/23/06/image_18012025_23_06_02_367910_0003.jpg', '/home/pi/Desktop/images/18012025/23/07/image_18012025_23_07_02_562062_0000.jpg', '/home/pi/Desktop/images/18012025/23/07/image_18012025_23_07_02_562062_0001.jpg', '/home/pi/Desktop/images/18012025/23/07/image_18012025_23_07_02_562062_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/06/image_18012025_23_06_02_367910_0001.jpg
/home/pi/Desktop/images/18012025/23/06/image_18012025_23_06_02_367910_0002.jpg
/home/pi/Desktop/images/18012025/23/06/image_18012025_23_06_02_367910_0003.jpg
/home/pi/Desktop/images/18012025/23/07/image_18012025_23_07_02_562062_0000.jpg
/home/pi/Desktop/images/18012025/23/07/image_18012025_23_07_02_562062_0001.jpg
/home/pi/Desktop/images/18012025/23/07/image_18012025_23_07_02_562062_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329880050","1329880413","1329880078","1329880093","1329880075","1329880080"],"photo_ids_order":["1329880050","1329880075","1329880078","1329880080","1329880093","1329880413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dbe990ece16234a4d2d97a91d6404538.jpg","text":"TemporaryFile(/tmp/multipartBody7714360709697050281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238118524,"filename":"image_18012025_23_06_02_367910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2f76cbb0b5c61f1431a4085406da0d6c.jpg","text":"TemporaryFile(/tmp/multipartBody266328728539517782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238118524,"filename":"image_18012025_23_07_02_562062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b3b1817538ee50878506d3d83fd586ad.jpg","text":"TemporaryFile(/tmp/multipartBody3824218440278464871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238118524,"filename":"image_18012025_23_06_02_367910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ffc8cb8567ecb289ea8482f62b2e3d1b.jpg","text":"TemporaryFile(/tmp/multipartBody4344913141771883727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238118524,"filename":"image_18012025_23_07_02_562062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8b9243d6b0da017d3bd8e7cdfadf76dc.jpg","text":"TemporaryFile(/tmp/multipartBody8741775795423427513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238118524,"filename":"image_18012025_23_06_02_367910_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a76f8f7f24c04ee1bbaab08af4955ee.jpg","text":"TemporaryFile(/tmp/multipartBody2230208340883101843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238118524,"filename":"image_18012025_23_07_02_562062_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329880078","file1":"1329880075","file0":"1329880050","file4":"1329880093","file5":"1329880413","file3":"1329880080"},"map_files_photo_id_array":[{"photo_id":"1329880413","filename":"file5"},{"photo_id":"1329880078","filename":"file2"},{"photo_id":"1329880093","filename":"file4"},{"photo_id":"1329880075","filename":"file1"},{"photo_id":"1329880050","filename":"file0"},{"photo_id":"1329880080","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329880050":["hashtag1","hashtag2"]},{"1329880413":["hashtag1","hashtag2"]},{"1329880078":["hashtag1","hashtag2"]},{"1329880093":["hashtag1","hashtag2"]},{"1329880075":["hashtag1","hashtag2"]},{"1329880080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329880050, 1329880413, 1329880078, 1329880093, 1329880075, 1329880080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.538400650024414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:08:22.522249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/07/image_18012025_23_07_02_562062_0003.jpg', '/home/pi/Desktop/images/18012025/23/08/image_18012025_23_08_02_700840_0000.jpg', '/home/pi/Desktop/images/18012025/23/08/image_18012025_23_08_02_700840_0001.jpg', '/home/pi/Desktop/images/18012025/23/08/image_18012025_23_08_02_700840_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/07/image_18012025_23_07_02_562062_0003.jpg
/home/pi/Desktop/images/18012025/23/08/image_18012025_23_08_02_700840_0000.jpg
/home/pi/Desktop/images/18012025/23/08/image_18012025_23_08_02_700840_0001.jpg
/home/pi/Desktop/images/18012025/23/08/image_18012025_23_08_02_700840_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329880506","1329880508","1329880502","1329880504"],"photo_ids_order":["1329880502","1329880504","1329880506","1329880508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6ffeaaced502165bd1c2984ca7f929d9.jpg","text":"TemporaryFile(/tmp/multipartBody4048091419444409832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238174035,"filename":"image_18012025_23_08_02_700840_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7300ab079f24c277d6a9e95905566c31.jpg","text":"TemporaryFile(/tmp/multipartBody7583879469054526336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238174035,"filename":"image_18012025_23_08_02_700840_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0910e84859abbc0478ed43a6cde79ece.jpg","text":"TemporaryFile(/tmp/multipartBody9023342196741810258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238174035,"filename":"image_18012025_23_07_02_562062_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/198a74eb4ecd56968cb27e051222aa00.jpg","text":"TemporaryFile(/tmp/multipartBody8513422905173638537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238174035,"filename":"image_18012025_23_08_02_700840_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329880506","file1":"1329880504","file0":"1329880502","file3":"1329880508"},"map_files_photo_id_array":[{"photo_id":"1329880506","filename":"file2"},{"photo_id":"1329880504","filename":"file1"},{"photo_id":"1329880502","filename":"file0"},{"photo_id":"1329880508","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329880506":["hashtag1","hashtag2"]},{"1329880508":["hashtag1","hashtag2"]},{"1329880502":["hashtag1","hashtag2"]},{"1329880504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329880506, 1329880508, 1329880502, 1329880504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.81900644302368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:09:22.788636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/08/image_18012025_23_08_02_700840_0003.jpg', '/home/pi/Desktop/images/18012025/23/09/image_18012025_23_09_02_900949_0000.jpg', '/home/pi/Desktop/images/18012025/23/09/image_18012025_23_09_02_900949_0001.jpg', '/home/pi/Desktop/images/18012025/23/09/image_18012025_23_09_02_900949_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/08/image_18012025_23_08_02_700840_0003.jpg
/home/pi/Desktop/images/18012025/23/09/image_18012025_23_09_02_900949_0000.jpg
/home/pi/Desktop/images/18012025/23/09/image_18012025_23_09_02_900949_0001.jpg
/home/pi/Desktop/images/18012025/23/09/image_18012025_23_09_02_900949_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329880515","1329880518","1329880520","1329880522"],"photo_ids_order":["1329880515","1329880518","1329880520","1329880522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b8430c7069e4d88c640e278ca0c1fa0.jpg","text":"TemporaryFile(/tmp/multipartBody5375728872228241726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238233996,"filename":"image_18012025_23_08_02_700840_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96b03d4dfe193b18ab11c559a0cc2c73.jpg","text":"TemporaryFile(/tmp/multipartBody3979771149018564890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238233996,"filename":"image_18012025_23_09_02_900949_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/39bb4914447fe0179e3b6fe00556efeb.jpg","text":"TemporaryFile(/tmp/multipartBody1453048718518543763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238233996,"filename":"image_18012025_23_09_02_900949_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/578e1e6d11991a4f2e073edadf5e7e15.jpg","text":"TemporaryFile(/tmp/multipartBody7881833672777845926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238233996,"filename":"image_18012025_23_09_02_900949_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329880520","file1":"1329880518","file0":"1329880515","file3":"1329880522"},"map_files_photo_id_array":[{"photo_id":"1329880520","filename":"file2"},{"photo_id":"1329880518","filename":"file1"},{"photo_id":"1329880515","filename":"file0"},{"photo_id":"1329880522","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329880515":["hashtag1","hashtag2"]},{"1329880518":["hashtag1","hashtag2"]},{"1329880520":["hashtag1","hashtag2"]},{"1329880522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329880515, 1329880518, 1329880520, 1329880522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82314372062683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:10:21.939963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/09/image_18012025_23_09_02_900949_0003.jpg', '/home/pi/Desktop/images/18012025/23/10/image_18012025_23_10_03_035409_0000.jpg', '/home/pi/Desktop/images/18012025/23/10/image_18012025_23_10_03_035409_0001.jpg', '/home/pi/Desktop/images/18012025/23/10/image_18012025_23_10_03_035409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/09/image_18012025_23_09_02_900949_0003.jpg
/home/pi/Desktop/images/18012025/23/10/image_18012025_23_10_03_035409_0000.jpg
/home/pi/Desktop/images/18012025/23/10/image_18012025_23_10_03_035409_0001.jpg
/home/pi/Desktop/images/18012025/23/10/image_18012025_23_10_03_035409_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329880544","1329880532","1329880529","1329880528"],"photo_ids_order":["1329880528","1329880529","1329880532","1329880544"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ec2c383664de3a99e7e6908a081069be.jpg","text":"TemporaryFile(/tmp/multipartBody7243903722575655853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238292931,"filename":"image_18012025_23_10_03_035409_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ee1fc36874862aa77073811968f0a05b.jpg","text":"TemporaryFile(/tmp/multipartBody5092550745372322624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238292931,"filename":"image_18012025_23_10_03_035409_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/390551de5be725fa3da5ccc24a2bc337.jpg","text":"TemporaryFile(/tmp/multipartBody1301135317830637936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238292931,"filename":"image_18012025_23_10_03_035409_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dfb70c724ac24838eb3371df3449c7d7.jpg","text":"TemporaryFile(/tmp/multipartBody9218704482410578078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238292931,"filename":"image_18012025_23_09_02_900949_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329880532","file1":"1329880529","file0":"1329880528","file3":"1329880544"},"map_files_photo_id_array":[{"photo_id":"1329880532","filename":"file2"},{"photo_id":"1329880529","filename":"file1"},{"photo_id":"1329880528","filename":"file0"},{"photo_id":"1329880544","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329880544":["hashtag1","hashtag2"]},{"1329880532":["hashtag1","hashtag2"]},{"1329880529":["hashtag1","hashtag2"]},{"1329880528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329880544, 1329880532, 1329880529, 1329880528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.109829902648926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:11:22.072858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/10/image_18012025_23_10_03_035409_0003.jpg', '/home/pi/Desktop/images/18012025/23/11/image_18012025_23_11_02_300094_0000.jpg', '/home/pi/Desktop/images/18012025/23/11/image_18012025_23_11_02_300094_0001.jpg', '/home/pi/Desktop/images/18012025/23/11/image_18012025_23_11_02_300094_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/10/image_18012025_23_10_03_035409_0003.jpg
/home/pi/Desktop/images/18012025/23/11/image_18012025_23_11_02_300094_0000.jpg
/home/pi/Desktop/images/18012025/23/11/image_18012025_23_11_02_300094_0001.jpg
/home/pi/Desktop/images/18012025/23/11/image_18012025_23_11_02_300094_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329880601","1329880597","1329880603","1329880599"],"photo_ids_order":["1329880597","1329880599","1329880601","1329880603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/521b393175c21250eb0f2e1fa5d3ba27.jpg","text":"TemporaryFile(/tmp/multipartBody8446018646126928375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238353331,"filename":"image_18012025_23_11_02_300094_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/915a7cb2330661b34303aae0e9019f24.jpg","text":"TemporaryFile(/tmp/multipartBody2696452372341817734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238353331,"filename":"image_18012025_23_10_03_035409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3729decd96494d2a898a845731f155fa.jpg","text":"TemporaryFile(/tmp/multipartBody9052729183621088703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238353331,"filename":"image_18012025_23_11_02_300094_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/adb71bb45948487b2c13e7e1eb3ee508.jpg","text":"TemporaryFile(/tmp/multipartBody5936816334058400084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238353331,"filename":"image_18012025_23_11_02_300094_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329880601","file1":"1329880599","file0":"1329880597","file3":"1329880603"},"map_files_photo_id_array":[{"photo_id":"1329880601","filename":"file2"},{"photo_id":"1329880599","filename":"file1"},{"photo_id":"1329880597","filename":"file0"},{"photo_id":"1329880603","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329880601":["hashtag1","hashtag2"]},{"1329880597":["hashtag1","hashtag2"]},{"1329880603":["hashtag1","hashtag2"]},{"1329880599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329880601, 1329880597, 1329880603, 1329880599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.322776794433594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 23:12:02.578136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/46/image_16012025_23_46_02_939145_0002.jpg', '/home/pi/Desktop/images/16012025/23/46/image_16012025_23_46_02_939145_0003.jpg', '/home/pi/Desktop/images/16012025/23/47/image_16012025_23_47_03_109678_0000.jpg', '/home/pi/Desktop/images/16012025/23/47/image_16012025_23_47_03_109678_0001.jpg', '/home/pi/Desktop/images/16012025/23/47/image_16012025_23_47_03_109678_0002.jpg', '/home/pi/Desktop/images/16012025/23/47/image_16012025_23_47_03_109678_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/46/image_16012025_23_46_02_939145_0002.jpg
/home/pi/Desktop/images/16012025/23/46/image_16012025_23_46_02_939145_0003.jpg
/home/pi/Desktop/images/16012025/23/47/image_16012025_23_47_03_109678_0000.jpg
/home/pi/Desktop/images/16012025/23/47/image_16012025_23_47_03_109678_0001.jpg
/home/pi/Desktop/images/16012025/23/47/image_16012025_23_47_03_109678_0002.jpg
/home/pi/Desktop/images/16012025/23/47/image_16012025_23_47_03_109678_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":["1329880632","1329880625","1329880607","1329880612","1329880615","1329880609"],"photo_ids_order":["1329880607","1329880609","1329880612","1329880615","1329880625","1329880632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b4ce0ae488b5b3697b13af0cfac401a8.jpg","text":"TemporaryFile(/tmp/multipartBody3123673764896918830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238400301,"filename":"image_16012025_23_47_03_109678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cfa41922ca6f2a4d8abd735cdd589dbd.jpg","text":"TemporaryFile(/tmp/multipartBody8883040837851362321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238400301,"filename":"image_16012025_23_47_03_109678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b8026ddd8e3164cd7ed7dd6ce15591a8.jpg","text":"TemporaryFile(/tmp/multipartBody949302110442547252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238400301,"filename":"image_16012025_23_46_02_939145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/74f70ae1708b3ea6e3bb8acfa0a7cd5e.jpg","text":"TemporaryFile(/tmp/multipartBody3703185975312283079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238400301,"filename":"image_16012025_23_47_03_109678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b603fd25f061e7e890be139baf56ba74.jpg","text":"TemporaryFile(/tmp/multipartBody2615121592367012428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238400301,"filename":"image_16012025_23_47_03_109678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dc14017dba6defe017e83bc2fea6f821.jpg","text":"TemporaryFile(/tmp/multipartBody2488859394600107344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238400301,"filename":"image_16012025_23_46_02_939145_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329880612","file1":"1329880609","file0":"1329880607","file4":"1329880625","file5":"1329880632","file3":"1329880615"},"map_files_photo_id_array":[{"photo_id":"1329880632","filename":"file5"},{"photo_id":"1329880612","filename":"file2"},{"photo_id":"1329880625","filename":"file4"},{"photo_id":"1329880609","filename":"file1"},{"photo_id":"1329880607","filename":"file0"},{"photo_id":"1329880615","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329880632":["hashtag1","hashtag2"]},{"1329880625":["hashtag1","hashtag2"]},{"1329880607":["hashtag1","hashtag2"]},{"1329880612":["hashtag1","hashtag2"]},{"1329880615":["hashtag1","hashtag2"]},{"1329880609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329880632, 1329880625, 1329880607, 1329880612, 1329880615, 1329880609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.09519290924072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 23:13:03.045720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/11/image_18012025_23_11_02_300094_0003.jpg', '/home/pi/Desktop/images/18012025/23/12/image_18012025_23_12_02_421001_0000.jpg', '/home/pi/Desktop/images/18012025/23/12/image_18012025_23_12_02_421001_0001.jpg', '/home/pi/Desktop/images/18012025/23/12/image_18012025_23_12_02_421001_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/11/image_18012025_23_11_02_300094_0003.jpg
/home/pi/Desktop/images/18012025/23/12/image_18012025_23_12_02_421001_0000.jpg
/home/pi/Desktop/images/18012025/23/12/image_18012025_23_12_02_421001_0001.jpg
/home/pi/Desktop/images/18012025/23/12/image_18012025_23_12_02_421001_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329880676","1329880678","1329880681","1329880675"],"photo_ids_order":["1329880675","1329880676","1329880678","1329880681"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b8872065641714138af04c14d738fa38.jpg","text":"TemporaryFile(/tmp/multipartBody3995809847176771286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238454095,"filename":"image_18012025_23_12_02_421001_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b8db1d7aa549d889333750c007a60c13.jpg","text":"TemporaryFile(/tmp/multipartBody926189991748977122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238454095,"filename":"image_18012025_23_12_02_421001_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/063aaa2b22a581bf89558e096901edf1.jpg","text":"TemporaryFile(/tmp/multipartBody5375796365090774138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238454095,"filename":"image_18012025_23_12_02_421001_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cba1358e94df3588ec13d7b6d2e558a8.jpg","text":"TemporaryFile(/tmp/multipartBody1852053922854134867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238454095,"filename":"image_18012025_23_11_02_300094_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329880678","file1":"1329880676","file0":"1329880675","file3":"1329880681"},"map_files_photo_id_array":[{"photo_id":"1329880678","filename":"file2"},{"photo_id":"1329880676","filename":"file1"},{"photo_id":"1329880675","filename":"file0"},{"photo_id":"1329880681","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329880676":["hashtag1","hashtag2"]},{"1329880678":["hashtag1","hashtag2"]},{"1329880681":["hashtag1","hashtag2"]},{"1329880675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329880676, 1329880678, 1329880681, 1329880675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.49319577217102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 23:13:52.382277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/12/image_18012025_23_12_02_421001_0003.jpg', '/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0000.jpg', '/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0001.jpg', '/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/12/image_18012025_23_12_02_421001_0003.jpg
/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0000.jpg
/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0001.jpg
/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.881214618682861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:14:22.600415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/12/image_18012025_23_12_02_421001_0003.jpg', '/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0000.jpg', '/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0001.jpg', '/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0002.jpg', '/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0003.jpg', '/home/pi/Desktop/images/18012025/23/14/image_18012025_23_14_02_752847_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/12/image_18012025_23_12_02_421001_0003.jpg
/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0000.jpg
/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0001.jpg
/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0002.jpg
/home/pi/Desktop/images/18012025/23/13/image_18012025_23_13_02_558373_0003.jpg
/home/pi/Desktop/images/18012025/23/14/image_18012025_23_14_02_752847_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329880871","1329880865","1329880873","1329880875","1329880869","1329880860"],"photo_ids_order":["1329880860","1329880865","1329880869","1329880871","1329880873","1329880875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/887faec5558ecc09e9405b25f4538e6e.jpg","text":"TemporaryFile(/tmp/multipartBody7952312908393949031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238539146,"filename":"image_18012025_23_13_02_558373_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/032359f86b259bab523287091d2fff2c.jpg","text":"TemporaryFile(/tmp/multipartBody4261894328090208315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238539146,"filename":"image_18012025_23_13_02_558373_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/72d77d770f8f765573dca282249685f4.jpg","text":"TemporaryFile(/tmp/multipartBody5805293359416660804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238539146,"filename":"image_18012025_23_13_02_558373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/97cebfac01aeb96afab9571ff6589726.jpg","text":"TemporaryFile(/tmp/multipartBody6551908168724582339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238539146,"filename":"image_18012025_23_14_02_752847_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b09f7d08ba9553611126af7af17d5db8.jpg","text":"TemporaryFile(/tmp/multipartBody5109366288453478713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238539146,"filename":"image_18012025_23_13_02_558373_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/35f93b0934adca1327186cbfa3460f83.jpg","text":"TemporaryFile(/tmp/multipartBody7011444325336715614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238539146,"filename":"image_18012025_23_12_02_421001_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329880869","file1":"1329880865","file0":"1329880860","file4":"1329880873","file5":"1329880875","file3":"1329880871"},"map_files_photo_id_array":[{"photo_id":"1329880875","filename":"file5"},{"photo_id":"1329880869","filename":"file2"},{"photo_id":"1329880873","filename":"file4"},{"photo_id":"1329880865","filename":"file1"},{"photo_id":"1329880860","filename":"file0"},{"photo_id":"1329880871","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329880871":["hashtag1","hashtag2"]},{"1329880865":["hashtag1","hashtag2"]},{"1329880873":["hashtag1","hashtag2"]},{"1329880875":["hashtag1","hashtag2"]},{"1329880869":["hashtag1","hashtag2"]},{"1329880860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329880871, 1329880865, 1329880873, 1329880875, 1329880869, 1329880860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.811230182647705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:15:22.713973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/14/image_18012025_23_14_02_752847_0001.jpg', '/home/pi/Desktop/images/18012025/23/14/image_18012025_23_14_02_752847_0002.jpg', '/home/pi/Desktop/images/18012025/23/14/image_18012025_23_14_02_752847_0003.jpg', '/home/pi/Desktop/images/18012025/23/15/image_18012025_23_15_02_964865_0000.jpg', '/home/pi/Desktop/images/18012025/23/15/image_18012025_23_15_02_964865_0001.jpg', '/home/pi/Desktop/images/18012025/23/15/image_18012025_23_15_02_964865_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/14/image_18012025_23_14_02_752847_0001.jpg
/home/pi/Desktop/images/18012025/23/14/image_18012025_23_14_02_752847_0002.jpg
/home/pi/Desktop/images/18012025/23/14/image_18012025_23_14_02_752847_0003.jpg
/home/pi/Desktop/images/18012025/23/15/image_18012025_23_15_02_964865_0000.jpg
/home/pi/Desktop/images/18012025/23/15/image_18012025_23_15_02_964865_0001.jpg
/home/pi/Desktop/images/18012025/23/15/image_18012025_23_15_02_964865_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329880889","1329880883","1329880891","1329880885","1329880887","1329880881"],"photo_ids_order":["1329880881","1329880883","1329880885","1329880887","1329880889","1329880891"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/02a0464a10223ff96c41be8e2bb63438.jpg","text":"TemporaryFile(/tmp/multipartBody8605296211454152414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238599730,"filename":"image_18012025_23_15_02_964865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/681050bbcd16b7aea9cd6db4c905690e.jpg","text":"TemporaryFile(/tmp/multipartBody7378743664372376029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238599730,"filename":"image_18012025_23_14_02_752847_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d42891432f1785b6ebb9c792ab85f312.jpg","text":"TemporaryFile(/tmp/multipartBody5989432343630091692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238599730,"filename":"image_18012025_23_15_02_964865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ea9edf8d9bd4adce24e5f2245c63b26a.jpg","text":"TemporaryFile(/tmp/multipartBody5330054717542503253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238599730,"filename":"image_18012025_23_14_02_752847_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/892fa0ad15a045aadefee60bbaaae4f3.jpg","text":"TemporaryFile(/tmp/multipartBody5607149387349657350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238599730,"filename":"image_18012025_23_15_02_964865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/03358bff585e9d6fb8e8d2999cb2a9bc.jpg","text":"TemporaryFile(/tmp/multipartBody8467244491122312795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238599730,"filename":"image_18012025_23_14_02_752847_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329880885","file1":"1329880883","file0":"1329880881","file4":"1329880889","file5":"1329880891","file3":"1329880887"},"map_files_photo_id_array":[{"photo_id":"1329880891","filename":"file5"},{"photo_id":"1329880885","filename":"file2"},{"photo_id":"1329880889","filename":"file4"},{"photo_id":"1329880883","filename":"file1"},{"photo_id":"1329880881","filename":"file0"},{"photo_id":"1329880887","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329880889":["hashtag1","hashtag2"]},{"1329880883":["hashtag1","hashtag2"]},{"1329880891":["hashtag1","hashtag2"]},{"1329880885":["hashtag1","hashtag2"]},{"1329880887":["hashtag1","hashtag2"]},{"1329880881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329880889, 1329880883, 1329880891, 1329880885, 1329880887, 1329880881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.8760986328125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:16:22.066997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/15/image_18012025_23_15_02_964865_0003.jpg', '/home/pi/Desktop/images/18012025/23/16/image_18012025_23_16_03_117739_0000.jpg', '/home/pi/Desktop/images/18012025/23/16/image_18012025_23_16_03_117739_0001.jpg', '/home/pi/Desktop/images/18012025/23/16/image_18012025_23_16_03_117739_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/15/image_18012025_23_15_02_964865_0003.jpg
/home/pi/Desktop/images/18012025/23/16/image_18012025_23_16_03_117739_0000.jpg
/home/pi/Desktop/images/18012025/23/16/image_18012025_23_16_03_117739_0001.jpg
/home/pi/Desktop/images/18012025/23/16/image_18012025_23_16_03_117739_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329880991","1329881009","1329880994","1329880958"],"photo_ids_order":["1329880958","1329880991","1329880994","1329881009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6757ec94b1bbb948f47431fd967ec334.jpg","text":"TemporaryFile(/tmp/multipartBody8270972240413506734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238653421,"filename":"image_18012025_23_16_03_117739_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4e25adb2d938b3076850bc3ce38fb3dc.jpg","text":"TemporaryFile(/tmp/multipartBody6944129041376768585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238653421,"filename":"image_18012025_23_16_03_117739_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/31269e6633a8d4b3345c6346fc223c09.jpg","text":"TemporaryFile(/tmp/multipartBody1599678645601324007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238653421,"filename":"image_18012025_23_16_03_117739_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5c523790d4c2e25398f33ca2c5a3977c.jpg","text":"TemporaryFile(/tmp/multipartBody3202978307602627766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238653421,"filename":"image_18012025_23_15_02_964865_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329880994","file1":"1329880991","file0":"1329880958","file3":"1329881009"},"map_files_photo_id_array":[{"photo_id":"1329880994","filename":"file2"},{"photo_id":"1329880991","filename":"file1"},{"photo_id":"1329880958","filename":"file0"},{"photo_id":"1329881009","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329880991":["hashtag1","hashtag2"]},{"1329881009":["hashtag1","hashtag2"]},{"1329880994":["hashtag1","hashtag2"]},{"1329880958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329880991, 1329881009, 1329880994, 1329880958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.93869495391846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:17:22.147718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/16/image_18012025_23_16_03_117739_0003.jpg', '/home/pi/Desktop/images/18012025/23/17/image_18012025_23_17_02_306810_0000.jpg', '/home/pi/Desktop/images/18012025/23/17/image_18012025_23_17_02_306810_0001.jpg', '/home/pi/Desktop/images/18012025/23/17/image_18012025_23_17_02_306810_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/16/image_18012025_23_16_03_117739_0003.jpg
/home/pi/Desktop/images/18012025/23/17/image_18012025_23_17_02_306810_0000.jpg
/home/pi/Desktop/images/18012025/23/17/image_18012025_23_17_02_306810_0001.jpg
/home/pi/Desktop/images/18012025/23/17/image_18012025_23_17_02_306810_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329881096","1329881089","1329881094","1329881019"],"photo_ids_order":["1329881019","1329881089","1329881094","1329881096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f4886c5e1a2448d7ea23eaad838cf790.jpg","text":"TemporaryFile(/tmp/multipartBody5670021015558865626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238713579,"filename":"image_18012025_23_17_02_306810_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/989c3d7d59b26585cf58b42155751850.jpg","text":"TemporaryFile(/tmp/multipartBody6819417108823961886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238713579,"filename":"image_18012025_23_17_02_306810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5da0c349fd22d076cfef252cba46eb17.jpg","text":"TemporaryFile(/tmp/multipartBody6244995054690718770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238713579,"filename":"image_18012025_23_17_02_306810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/281626ffceac1da8136049c0b3252f31.jpg","text":"TemporaryFile(/tmp/multipartBody2885862108283068273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238713579,"filename":"image_18012025_23_16_03_117739_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329881094","file1":"1329881089","file0":"1329881019","file3":"1329881096"},"map_files_photo_id_array":[{"photo_id":"1329881094","filename":"file2"},{"photo_id":"1329881089","filename":"file1"},{"photo_id":"1329881019","filename":"file0"},{"photo_id":"1329881096","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329881096":["hashtag1","hashtag2"]},{"1329881089":["hashtag1","hashtag2"]},{"1329881094":["hashtag1","hashtag2"]},{"1329881019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329881096, 1329881089, 1329881094, 1329881019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.18004083633423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:18:22.257701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/17/image_18012025_23_17_02_306810_0003.jpg', '/home/pi/Desktop/images/18012025/23/18/image_18012025_23_18_02_434982_0000.jpg', '/home/pi/Desktop/images/18012025/23/18/image_18012025_23_18_02_434982_0001.jpg', '/home/pi/Desktop/images/18012025/23/18/image_18012025_23_18_02_434982_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/17/image_18012025_23_17_02_306810_0003.jpg
/home/pi/Desktop/images/18012025/23/18/image_18012025_23_18_02_434982_0000.jpg
/home/pi/Desktop/images/18012025/23/18/image_18012025_23_18_02_434982_0001.jpg
/home/pi/Desktop/images/18012025/23/18/image_18012025_23_18_02_434982_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329881106","1329881110","1329881113","1329881103"],"photo_ids_order":["1329881103","1329881106","1329881110","1329881113"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/69c88d9e0bb0b5d35040ef7d40f45b18.jpg","text":"TemporaryFile(/tmp/multipartBody3485306249104704373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238773869,"filename":"image_18012025_23_18_02_434982_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f56bf916182572f4ff9aa4f0a3ea935c.jpg","text":"TemporaryFile(/tmp/multipartBody1901517451079917048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238773869,"filename":"image_18012025_23_18_02_434982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c3c92443251d39bb1d18edd4feec6f1.jpg","text":"TemporaryFile(/tmp/multipartBody775056444295162749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238773869,"filename":"image_18012025_23_18_02_434982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/634c44680f43c34225263855263ad92e.jpg","text":"TemporaryFile(/tmp/multipartBody899632610520319973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238773869,"filename":"image_18012025_23_17_02_306810_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329881110","file1":"1329881106","file0":"1329881103","file3":"1329881113"},"map_files_photo_id_array":[{"photo_id":"1329881110","filename":"file2"},{"photo_id":"1329881106","filename":"file1"},{"photo_id":"1329881103","filename":"file0"},{"photo_id":"1329881113","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329881106":["hashtag1","hashtag2"]},{"1329881110":["hashtag1","hashtag2"]},{"1329881113":["hashtag1","hashtag2"]},{"1329881103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329881106, 1329881110, 1329881113, 1329881103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.766358852386475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:19:22.442162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/18/image_18012025_23_18_02_434982_0003.jpg', '/home/pi/Desktop/images/18012025/23/19/image_18012025_23_19_02_654080_0000.jpg', '/home/pi/Desktop/images/18012025/23/19/image_18012025_23_19_02_654080_0001.jpg', '/home/pi/Desktop/images/18012025/23/19/image_18012025_23_19_02_654080_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/18/image_18012025_23_18_02_434982_0003.jpg
/home/pi/Desktop/images/18012025/23/19/image_18012025_23_19_02_654080_0000.jpg
/home/pi/Desktop/images/18012025/23/19/image_18012025_23_19_02_654080_0001.jpg
/home/pi/Desktop/images/18012025/23/19/image_18012025_23_19_02_654080_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329881171","1329881168","1329881146","1329881142"],"photo_ids_order":["1329881142","1329881146","1329881168","1329881171"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70eafa46372863aa06b857bc0d9d1e1d.jpg","text":"TemporaryFile(/tmp/multipartBody1534337900077978188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238833889,"filename":"image_18012025_23_19_02_654080_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/235437dee5931b0076ab3021122db0a2.jpg","text":"TemporaryFile(/tmp/multipartBody3385965349489907545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238833889,"filename":"image_18012025_23_19_02_654080_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f8fc33a5cfa96df7fb363d91d0e31fd5.jpg","text":"TemporaryFile(/tmp/multipartBody3550140184041720646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238833889,"filename":"image_18012025_23_19_02_654080_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aa0b9aa60687e969e8dc50e649017770.jpg","text":"TemporaryFile(/tmp/multipartBody3503615711769755661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238833889,"filename":"image_18012025_23_18_02_434982_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329881168","file1":"1329881146","file0":"1329881142","file3":"1329881171"},"map_files_photo_id_array":[{"photo_id":"1329881168","filename":"file2"},{"photo_id":"1329881146","filename":"file1"},{"photo_id":"1329881142","filename":"file0"},{"photo_id":"1329881171","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329881171":["hashtag1","hashtag2"]},{"1329881168":["hashtag1","hashtag2"]},{"1329881146":["hashtag1","hashtag2"]},{"1329881142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329881171, 1329881168, 1329881146, 1329881142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.53889012336731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:20:22.700574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/19/image_18012025_23_19_02_654080_0003.jpg', '/home/pi/Desktop/images/18012025/23/20/image_18012025_23_20_02_815356_0000.jpg', '/home/pi/Desktop/images/18012025/23/20/image_18012025_23_20_02_815356_0001.jpg', '/home/pi/Desktop/images/18012025/23/20/image_18012025_23_20_02_815356_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/19/image_18012025_23_19_02_654080_0003.jpg
/home/pi/Desktop/images/18012025/23/20/image_18012025_23_20_02_815356_0000.jpg
/home/pi/Desktop/images/18012025/23/20/image_18012025_23_20_02_815356_0001.jpg
/home/pi/Desktop/images/18012025/23/20/image_18012025_23_20_02_815356_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329881188","1329881184","1329881178","1329881181"],"photo_ids_order":["1329881178","1329881181","1329881184","1329881188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6f06ef270b8208f9544fa7f88729854d.jpg","text":"TemporaryFile(/tmp/multipartBody5280633924589873007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238894364,"filename":"image_18012025_23_20_02_815356_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0e156944816e915b4198b5a2a1dc6fdb.jpg","text":"TemporaryFile(/tmp/multipartBody4488494346373027185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238894364,"filename":"image_18012025_23_20_02_815356_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/379871d41f589519b10db43b66cae71d.jpg","text":"TemporaryFile(/tmp/multipartBody280936798979583316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238894364,"filename":"image_18012025_23_19_02_654080_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5d323f4aeed68d2a00b79791532244ed.jpg","text":"TemporaryFile(/tmp/multipartBody621509254518521735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238894364,"filename":"image_18012025_23_20_02_815356_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329881184","file1":"1329881181","file0":"1329881178","file3":"1329881188"},"map_files_photo_id_array":[{"photo_id":"1329881184","filename":"file2"},{"photo_id":"1329881181","filename":"file1"},{"photo_id":"1329881178","filename":"file0"},{"photo_id":"1329881188","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329881188":["hashtag1","hashtag2"]},{"1329881184":["hashtag1","hashtag2"]},{"1329881178":["hashtag1","hashtag2"]},{"1329881181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329881188, 1329881184, 1329881178, 1329881181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.849040031433105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:21:21.711688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/20/image_18012025_23_20_02_815356_0003.jpg', '/home/pi/Desktop/images/18012025/23/21/image_18012025_23_21_02_987568_0000.jpg', '/home/pi/Desktop/images/18012025/23/21/image_18012025_23_21_02_987568_0001.jpg', '/home/pi/Desktop/images/18012025/23/21/image_18012025_23_21_02_987568_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/20/image_18012025_23_20_02_815356_0003.jpg
/home/pi/Desktop/images/18012025/23/21/image_18012025_23_21_02_987568_0000.jpg
/home/pi/Desktop/images/18012025/23/21/image_18012025_23_21_02_987568_0001.jpg
/home/pi/Desktop/images/18012025/23/21/image_18012025_23_21_02_987568_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329881204","1329881196","1329881199","1329881202"],"photo_ids_order":["1329881196","1329881199","1329881202","1329881204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f9a113161acaa85c252c9a93a8f41046.jpg","text":"TemporaryFile(/tmp/multipartBody8055759741882951005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238952847,"filename":"image_18012025_23_21_02_987568_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/20977808a46b8cff2e85a714b52f0849.jpg","text":"TemporaryFile(/tmp/multipartBody5634893747608139145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238952847,"filename":"image_18012025_23_20_02_815356_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c9d5e765a76aed2218939a81531a316a.jpg","text":"TemporaryFile(/tmp/multipartBody1347511341658141926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238952847,"filename":"image_18012025_23_21_02_987568_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/82cecb810e390f7cbde6adccd7f929ef.jpg","text":"TemporaryFile(/tmp/multipartBody8851377324046991737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737238952847,"filename":"image_18012025_23_21_02_987568_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329881202","file1":"1329881199","file0":"1329881196","file3":"1329881204"},"map_files_photo_id_array":[{"photo_id":"1329881202","filename":"file2"},{"photo_id":"1329881199","filename":"file1"},{"photo_id":"1329881196","filename":"file0"},{"photo_id":"1329881204","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329881204":["hashtag1","hashtag2"]},{"1329881196":["hashtag1","hashtag2"]},{"1329881199":["hashtag1","hashtag2"]},{"1329881202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329881204, 1329881196, 1329881199, 1329881202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7055344581604 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-18 23:22:22.006672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/21/image_18012025_23_21_02_987568_0003.jpg', '/home/pi/Desktop/images/18012025/23/22/image_18012025_23_22_02_127186_0000.jpg', '/home/pi/Desktop/images/18012025/23/22/image_18012025_23_22_02_127186_0001.jpg', '/home/pi/Desktop/images/18012025/23/22/image_18012025_23_22_02_127186_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/21/image_18012025_23_21_02_987568_0003.jpg
/home/pi/Desktop/images/18012025/23/22/image_18012025_23_22_02_127186_0000.jpg
/home/pi/Desktop/images/18012025/23/22/image_18012025_23_22_02_127186_0001.jpg
/home/pi/Desktop/images/18012025/23/22/image_18012025_23_22_02_127186_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329882503","1329882510","1329882513","1329882507"],"photo_ids_order":["1329882503","1329882507","1329882510","1329882513"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c2561460e74d44665af6bb57c38cd0f.jpg","text":"TemporaryFile(/tmp/multipartBody8908593171218011452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239013493,"filename":"image_18012025_23_21_02_987568_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/edfb01f92c40b632d3656493afbe3a82.jpg","text":"TemporaryFile(/tmp/multipartBody3449112820136343434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239013493,"filename":"image_18012025_23_22_02_127186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2c4aacd2d6729e82657dda57bdf1178f.jpg","text":"TemporaryFile(/tmp/multipartBody5710777638317388510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239013493,"filename":"image_18012025_23_22_02_127186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b231a530ff353717870b7388d91f8a20.jpg","text":"TemporaryFile(/tmp/multipartBody156917361348053793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239013493,"filename":"image_18012025_23_22_02_127186_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329882510","file1":"1329882507","file0":"1329882503","file3":"1329882513"},"map_files_photo_id_array":[{"photo_id":"1329882510","filename":"file2"},{"photo_id":"1329882507","filename":"file1"},{"photo_id":"1329882503","filename":"file0"},{"photo_id":"1329882513","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329882503":["hashtag1","hashtag2"]},{"1329882510":["hashtag1","hashtag2"]},{"1329882513":["hashtag1","hashtag2"]},{"1329882507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329882503, 1329882510, 1329882513, 1329882507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.23090171813965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:23:22.148091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/22/image_18012025_23_22_02_127186_0003.jpg', '/home/pi/Desktop/images/18012025/23/23/image_18012025_23_23_02_316186_0000.jpg', '/home/pi/Desktop/images/18012025/23/23/image_18012025_23_23_02_316186_0001.jpg', '/home/pi/Desktop/images/18012025/23/23/image_18012025_23_23_02_316186_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/22/image_18012025_23_22_02_127186_0003.jpg
/home/pi/Desktop/images/18012025/23/23/image_18012025_23_23_02_316186_0000.jpg
/home/pi/Desktop/images/18012025/23/23/image_18012025_23_23_02_316186_0001.jpg
/home/pi/Desktop/images/18012025/23/23/image_18012025_23_23_02_316186_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329882542","1329882530","1329882526","1329882523"],"photo_ids_order":["1329882523","1329882526","1329882530","1329882542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fa1b16ff1775dee821426b87ca36ac21.jpg","text":"TemporaryFile(/tmp/multipartBody7263780719783774296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239073236,"filename":"image_18012025_23_23_02_316186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bb7008874cb73d331277f41305b8c998.jpg","text":"TemporaryFile(/tmp/multipartBody8303709067259553580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239073236,"filename":"image_18012025_23_23_02_316186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/be1d19bb226f43bbf6fc9e7fd0f8337e.jpg","text":"TemporaryFile(/tmp/multipartBody3947951376287726515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239073236,"filename":"image_18012025_23_23_02_316186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/60254de6dc3416b2b36229567310209c.jpg","text":"TemporaryFile(/tmp/multipartBody3993347908709231835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239073236,"filename":"image_18012025_23_22_02_127186_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329882530","file1":"1329882526","file0":"1329882523","file3":"1329882542"},"map_files_photo_id_array":[{"photo_id":"1329882530","filename":"file2"},{"photo_id":"1329882526","filename":"file1"},{"photo_id":"1329882523","filename":"file0"},{"photo_id":"1329882542","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329882542":["hashtag1","hashtag2"]},{"1329882530":["hashtag1","hashtag2"]},{"1329882526":["hashtag1","hashtag2"]},{"1329882523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329882542, 1329882530, 1329882526, 1329882523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.420995235443115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 23:24:02.775066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0000.jpg', '/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0001.jpg', '/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0002.jpg', '/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0003.jpg', '/home/pi/Desktop/images/16012025/23/49/image_16012025_23_49_02_474672_0000.jpg', '/home/pi/Desktop/images/16012025/23/49/image_16012025_23_49_02_474672_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0000.jpg
/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0001.jpg
/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0002.jpg
/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0003.jpg
/home/pi/Desktop/images/16012025/23/49/image_16012025_23_49_02_474672_0000.jpg
/home/pi/Desktop/images/16012025/23/49/image_16012025_23_49_02_474672_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 17.23588275909424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:24:22.332843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/23/image_18012025_23_23_02_316186_0003.jpg', '/home/pi/Desktop/images/18012025/23/24/image_18012025_23_24_02_472477_0000.jpg', '/home/pi/Desktop/images/18012025/23/24/image_18012025_23_24_02_472477_0001.jpg', '/home/pi/Desktop/images/18012025/23/24/image_18012025_23_24_02_472477_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/23/image_18012025_23_23_02_316186_0003.jpg
/home/pi/Desktop/images/18012025/23/24/image_18012025_23_24_02_472477_0000.jpg
/home/pi/Desktop/images/18012025/23/24/image_18012025_23_24_02_472477_0001.jpg
/home/pi/Desktop/images/18012025/23/24/image_18012025_23_24_02_472477_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329882592","1329882580","1329882588","1329882584"],"photo_ids_order":["1329882580","1329882584","1329882588","1329882592"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d6749f631d59adf5034f1828d0840360.jpg","text":"TemporaryFile(/tmp/multipartBody3576949453593196278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239133651,"filename":"image_18012025_23_24_02_472477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d970dcf9719d11a939a78461e8abed1.jpg","text":"TemporaryFile(/tmp/multipartBody968809207817697798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239133651,"filename":"image_18012025_23_23_02_316186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cfd64e1e4db769ef28078b58db73bb12.jpg","text":"TemporaryFile(/tmp/multipartBody1105397175908166081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239133651,"filename":"image_18012025_23_24_02_472477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b2a8bc6709e6d3a199d48f97f8db6269.jpg","text":"TemporaryFile(/tmp/multipartBody4436448015696301780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239133651,"filename":"image_18012025_23_24_02_472477_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329882588","file1":"1329882584","file0":"1329882580","file3":"1329882592"},"map_files_photo_id_array":[{"photo_id":"1329882588","filename":"file2"},{"photo_id":"1329882584","filename":"file1"},{"photo_id":"1329882580","filename":"file0"},{"photo_id":"1329882592","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329882592":["hashtag1","hashtag2"]},{"1329882580":["hashtag1","hashtag2"]},{"1329882588":["hashtag1","hashtag2"]},{"1329882584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329882592, 1329882580, 1329882588, 1329882584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43305444717407 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:25:22.492228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/24/image_18012025_23_24_02_472477_0003.jpg', '/home/pi/Desktop/images/18012025/23/25/image_18012025_23_25_02_665225_0000.jpg', '/home/pi/Desktop/images/18012025/23/25/image_18012025_23_25_02_665225_0001.jpg', '/home/pi/Desktop/images/18012025/23/25/image_18012025_23_25_02_665225_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/24/image_18012025_23_24_02_472477_0003.jpg
/home/pi/Desktop/images/18012025/23/25/image_18012025_23_25_02_665225_0000.jpg
/home/pi/Desktop/images/18012025/23/25/image_18012025_23_25_02_665225_0001.jpg
/home/pi/Desktop/images/18012025/23/25/image_18012025_23_25_02_665225_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329883381","1329883243","1329883240","1329883376"],"photo_ids_order":["1329883240","1329883243","1329883376","1329883381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1f3097586a826b6f443de5a8e6eebbeb.jpg","text":"TemporaryFile(/tmp/multipartBody5017930788632319426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239193764,"filename":"image_18012025_23_25_02_665225_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a9e7a71df9bb91892251d6dd8254f4df.jpg","text":"TemporaryFile(/tmp/multipartBody1131663419827642665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239193764,"filename":"image_18012025_23_25_02_665225_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d4e0670eea9a2b35fb8b4f30f6f55f35.jpg","text":"TemporaryFile(/tmp/multipartBody2577353222424626406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239193764,"filename":"image_18012025_23_24_02_472477_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e3e5c370a6f08b17a14ea199acb4ca26.jpg","text":"TemporaryFile(/tmp/multipartBody3323931374836550935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239193764,"filename":"image_18012025_23_25_02_665225_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329883376","file1":"1329883243","file0":"1329883240","file3":"1329883381"},"map_files_photo_id_array":[{"photo_id":"1329883376","filename":"file2"},{"photo_id":"1329883243","filename":"file1"},{"photo_id":"1329883240","filename":"file0"},{"photo_id":"1329883381","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329883381":["hashtag1","hashtag2"]},{"1329883243":["hashtag1","hashtag2"]},{"1329883240":["hashtag1","hashtag2"]},{"1329883376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329883381, 1329883243, 1329883240, 1329883376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58375096321106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 23:26:03.077654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0000.jpg', '/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0001.jpg', '/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0002.jpg', '/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0003.jpg', '/home/pi/Desktop/images/16012025/23/49/image_16012025_23_49_02_474672_0000.jpg', '/home/pi/Desktop/images/16012025/23/49/image_16012025_23_49_02_474672_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0000.jpg
/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0001.jpg
/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0002.jpg
/home/pi/Desktop/images/16012025/23/48/image_16012025_23_48_02_201548_0003.jpg
/home/pi/Desktop/images/16012025/23/49/image_16012025_23_49_02_474672_0000.jpg
/home/pi/Desktop/images/16012025/23/49/image_16012025_23_49_02_474672_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329883387","1329883406","1329883392","1329883389","1329883397","1329883385"],"photo_ids_order":["1329883385","1329883387","1329883389","1329883392","1329883397","1329883406"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/680e599387f8974ba8c04a1107ac109e.jpg","text":"TemporaryFile(/tmp/multipartBody8788207315201354751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239240598,"filename":"image_16012025_23_48_02_201548_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e9b7b37f37f3f034a8d50ddb4f24b2d.jpg","text":"TemporaryFile(/tmp/multipartBody4526013286435471317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239240598,"filename":"image_16012025_23_49_02_474672_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/119356e8d43bacde00b257b415dcffe4.jpg","text":"TemporaryFile(/tmp/multipartBody3079894481423570405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239240598,"filename":"image_16012025_23_48_02_201548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/53c66f138319ededdb997b70bbf43204.jpg","text":"TemporaryFile(/tmp/multipartBody9855519176822900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239240598,"filename":"image_16012025_23_48_02_201548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d3ed33d23f2b588a0be2dbae4e6d8c4.jpg","text":"TemporaryFile(/tmp/multipartBody8996739970987283841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239240598,"filename":"image_16012025_23_49_02_474672_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6392297a4cc814fa771d5e5e629d6bea.jpg","text":"TemporaryFile(/tmp/multipartBody7395746541127490698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239240598,"filename":"image_16012025_23_48_02_201548_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329883389","file1":"1329883387","file0":"1329883385","file4":"1329883397","file5":"1329883406","file3":"1329883392"},"map_files_photo_id_array":[{"photo_id":"1329883406","filename":"file5"},{"photo_id":"1329883389","filename":"file2"},{"photo_id":"1329883397","filename":"file4"},{"photo_id":"1329883387","filename":"file1"},{"photo_id":"1329883385","filename":"file0"},{"photo_id":"1329883392","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329883387":["hashtag1","hashtag2"]},{"1329883406":["hashtag1","hashtag2"]},{"1329883392":["hashtag1","hashtag2"]},{"1329883389":["hashtag1","hashtag2"]},{"1329883397":["hashtag1","hashtag2"]},{"1329883385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329883387, 1329883406, 1329883392, 1329883389, 1329883397, 1329883385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.70403599739075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:27:21.953896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/25/image_18012025_23_25_02_665225_0003.jpg', '/home/pi/Desktop/images/18012025/23/26/image_18012025_23_26_02_877537_0000.jpg', '/home/pi/Desktop/images/18012025/23/26/image_18012025_23_26_02_877537_0001.jpg', '/home/pi/Desktop/images/18012025/23/26/image_18012025_23_26_02_877537_0002.jpg', '/home/pi/Desktop/images/18012025/23/26/image_18012025_23_26_02_877537_0003.jpg', '/home/pi/Desktop/images/18012025/23/27/image_18012025_23_27_03_115119_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/25/image_18012025_23_25_02_665225_0003.jpg
/home/pi/Desktop/images/18012025/23/26/image_18012025_23_26_02_877537_0000.jpg
/home/pi/Desktop/images/18012025/23/26/image_18012025_23_26_02_877537_0001.jpg
/home/pi/Desktop/images/18012025/23/26/image_18012025_23_26_02_877537_0002.jpg
/home/pi/Desktop/images/18012025/23/26/image_18012025_23_26_02_877537_0003.jpg
/home/pi/Desktop/images/18012025/23/27/image_18012025_23_27_03_115119_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329883759","1329883750","1329883752","1329883766","1329883754","1329883748"],"photo_ids_order":["1329883748","1329883750","1329883752","1329883754","1329883759","1329883766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/71202766ccb9d08768c1ea8163b6d827.jpg","text":"TemporaryFile(/tmp/multipartBody5163933267670990117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239318832,"filename":"image_18012025_23_26_02_877537_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c8779cdcfea61ed3ad9a8c03da4aef3a.jpg","text":"TemporaryFile(/tmp/multipartBody2056262625397261327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239318832,"filename":"image_18012025_23_26_02_877537_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c551e52125df9539020cf0d53f8d8201.jpg","text":"TemporaryFile(/tmp/multipartBody5256332505716999356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239318832,"filename":"image_18012025_23_26_02_877537_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/96c0807bb0571a4632c60275fe2ab091.jpg","text":"TemporaryFile(/tmp/multipartBody7678824765259617621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239318832,"filename":"image_18012025_23_27_03_115119_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/473fbce55607977346820cde76a9834d.jpg","text":"TemporaryFile(/tmp/multipartBody8986151365255759642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239318832,"filename":"image_18012025_23_26_02_877537_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1d97713ee45419da13362a4581d4f84b.jpg","text":"TemporaryFile(/tmp/multipartBody6699917207532401267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239318832,"filename":"image_18012025_23_25_02_665225_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329883752","file1":"1329883750","file0":"1329883748","file4":"1329883759","file5":"1329883766","file3":"1329883754"},"map_files_photo_id_array":[{"photo_id":"1329883766","filename":"file5"},{"photo_id":"1329883752","filename":"file2"},{"photo_id":"1329883759","filename":"file4"},{"photo_id":"1329883750","filename":"file1"},{"photo_id":"1329883748","filename":"file0"},{"photo_id":"1329883754","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329883759":["hashtag1","hashtag2"]},{"1329883750":["hashtag1","hashtag2"]},{"1329883752":["hashtag1","hashtag2"]},{"1329883766":["hashtag1","hashtag2"]},{"1329883754":["hashtag1","hashtag2"]},{"1329883748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329883759, 1329883750, 1329883752, 1329883766, 1329883754, 1329883748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.55430579185486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:28:22.097087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/27/image_18012025_23_27_03_115119_0001.jpg', '/home/pi/Desktop/images/18012025/23/27/image_18012025_23_27_03_115119_0002.jpg', '/home/pi/Desktop/images/18012025/23/27/image_18012025_23_27_03_115119_0003.jpg', '/home/pi/Desktop/images/18012025/23/28/image_18012025_23_28_02_302642_0000.jpg', '/home/pi/Desktop/images/18012025/23/28/image_18012025_23_28_02_302642_0001.jpg', '/home/pi/Desktop/images/18012025/23/28/image_18012025_23_28_02_302642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/27/image_18012025_23_27_03_115119_0001.jpg
/home/pi/Desktop/images/18012025/23/27/image_18012025_23_27_03_115119_0002.jpg
/home/pi/Desktop/images/18012025/23/27/image_18012025_23_27_03_115119_0003.jpg
/home/pi/Desktop/images/18012025/23/28/image_18012025_23_28_02_302642_0000.jpg
/home/pi/Desktop/images/18012025/23/28/image_18012025_23_28_02_302642_0001.jpg
/home/pi/Desktop/images/18012025/23/28/image_18012025_23_28_02_302642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329883773","1329883797","1329883782","1329883776","1329883779","1329883784"],"photo_ids_order":["1329883773","1329883776","1329883779","1329883782","1329883784","1329883797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1c221021f19e3e4df914cab231a42773.jpg","text":"TemporaryFile(/tmp/multipartBody8911378063825665127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239378404,"filename":"image_18012025_23_27_03_115119_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/83ba9db17d93baf6dd7dc5a1ceeddd3e.jpg","text":"TemporaryFile(/tmp/multipartBody78203714065342358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239378404,"filename":"image_18012025_23_28_02_302642_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7995ce4cd6f320f23f8874bfe7f6b9b2.jpg","text":"TemporaryFile(/tmp/multipartBody8792928838326145707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239378404,"filename":"image_18012025_23_28_02_302642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3b6c696f92fdb33c0ea7d934843f91e9.jpg","text":"TemporaryFile(/tmp/multipartBody9076489621203599444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239378404,"filename":"image_18012025_23_27_03_115119_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fab36e6cca37f310aec110b73474e3b7.jpg","text":"TemporaryFile(/tmp/multipartBody8976976925219585424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239378404,"filename":"image_18012025_23_27_03_115119_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1d634684faa0d2625eeba27750ec199a.jpg","text":"TemporaryFile(/tmp/multipartBody685557154302328749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239378404,"filename":"image_18012025_23_28_02_302642_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329883779","file1":"1329883776","file0":"1329883773","file4":"1329883784","file5":"1329883797","file3":"1329883782"},"map_files_photo_id_array":[{"photo_id":"1329883797","filename":"file5"},{"photo_id":"1329883779","filename":"file2"},{"photo_id":"1329883784","filename":"file4"},{"photo_id":"1329883776","filename":"file1"},{"photo_id":"1329883773","filename":"file0"},{"photo_id":"1329883782","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329883773":["hashtag1","hashtag2"]},{"1329883797":["hashtag1","hashtag2"]},{"1329883782":["hashtag1","hashtag2"]},{"1329883776":["hashtag1","hashtag2"]},{"1329883779":["hashtag1","hashtag2"]},{"1329883784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329883773, 1329883797, 1329883782, 1329883776, 1329883779, 1329883784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.29736876487732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:29:22.245157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/28/image_18012025_23_28_02_302642_0003.jpg', '/home/pi/Desktop/images/18012025/23/29/image_18012025_23_29_02_444145_0000.jpg', '/home/pi/Desktop/images/18012025/23/29/image_18012025_23_29_02_444145_0001.jpg', '/home/pi/Desktop/images/18012025/23/29/image_18012025_23_29_02_444145_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/28/image_18012025_23_28_02_302642_0003.jpg
/home/pi/Desktop/images/18012025/23/29/image_18012025_23_29_02_444145_0000.jpg
/home/pi/Desktop/images/18012025/23/29/image_18012025_23_29_02_444145_0001.jpg
/home/pi/Desktop/images/18012025/23/29/image_18012025_23_29_02_444145_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329883834","1329883819","1329883830","1329883832"],"photo_ids_order":["1329883819","1329883830","1329883832","1329883834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ba78c89f0e76e4452e111044fa7b390b.jpg","text":"TemporaryFile(/tmp/multipartBody9017196481256745336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239433421,"filename":"image_18012025_23_29_02_444145_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a2eb8712b61242138d99f08b80e3b73b.jpg","text":"TemporaryFile(/tmp/multipartBody826336703835137355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239433421,"filename":"image_18012025_23_28_02_302642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5ad54585e800955d40db01628c63711a.jpg","text":"TemporaryFile(/tmp/multipartBody46307229164348445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239433421,"filename":"image_18012025_23_29_02_444145_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/668ed2ffc332f84a24e888f3b5c033c6.jpg","text":"TemporaryFile(/tmp/multipartBody4995087360090465146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239433421,"filename":"image_18012025_23_29_02_444145_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329883832","file1":"1329883830","file0":"1329883819","file3":"1329883834"},"map_files_photo_id_array":[{"photo_id":"1329883832","filename":"file2"},{"photo_id":"1329883830","filename":"file1"},{"photo_id":"1329883819","filename":"file0"},{"photo_id":"1329883834","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329883834":["hashtag1","hashtag2"]},{"1329883819":["hashtag1","hashtag2"]},{"1329883830":["hashtag1","hashtag2"]},{"1329883832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329883834, 1329883819, 1329883830, 1329883832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.169716358184814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:30:22.435631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/29/image_18012025_23_29_02_444145_0003.jpg', '/home/pi/Desktop/images/18012025/23/30/image_18012025_23_30_02_642898_0000.jpg', '/home/pi/Desktop/images/18012025/23/30/image_18012025_23_30_02_642898_0001.jpg', '/home/pi/Desktop/images/18012025/23/30/image_18012025_23_30_02_642898_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/29/image_18012025_23_29_02_444145_0003.jpg
/home/pi/Desktop/images/18012025/23/30/image_18012025_23_30_02_642898_0000.jpg
/home/pi/Desktop/images/18012025/23/30/image_18012025_23_30_02_642898_0001.jpg
/home/pi/Desktop/images/18012025/23/30/image_18012025_23_30_02_642898_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329883849","1329883875","1329883851","1329883847"],"photo_ids_order":["1329883847","1329883849","1329883851","1329883875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7812e834e0231814fd2cfe195f0f07a9.jpg","text":"TemporaryFile(/tmp/multipartBody6461485386688101379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239494005,"filename":"image_18012025_23_30_02_642898_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ec45aa832715531c5ad4d31090279d6.jpg","text":"TemporaryFile(/tmp/multipartBody4741747256161938569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239494005,"filename":"image_18012025_23_30_02_642898_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/238c000f256dd5ecd9197358ea22415c.jpg","text":"TemporaryFile(/tmp/multipartBody1427991818312498686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239494005,"filename":"image_18012025_23_30_02_642898_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2375071536f883ff7c2f3a53a819bd21.jpg","text":"TemporaryFile(/tmp/multipartBody8495049706600152090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239494005,"filename":"image_18012025_23_29_02_444145_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329883851","file1":"1329883849","file0":"1329883847","file3":"1329883875"},"map_files_photo_id_array":[{"photo_id":"1329883851","filename":"file2"},{"photo_id":"1329883849","filename":"file1"},{"photo_id":"1329883847","filename":"file0"},{"photo_id":"1329883875","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329883849":["hashtag1","hashtag2"]},{"1329883875":["hashtag1","hashtag2"]},{"1329883851":["hashtag1","hashtag2"]},{"1329883847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329883849, 1329883875, 1329883851, 1329883847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.726080894470215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:31:22.579067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/30/image_18012025_23_30_02_642898_0003.jpg', '/home/pi/Desktop/images/18012025/23/31/image_18012025_23_31_02_740474_0000.jpg', '/home/pi/Desktop/images/18012025/23/31/image_18012025_23_31_02_740474_0001.jpg', '/home/pi/Desktop/images/18012025/23/31/image_18012025_23_31_02_740474_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/30/image_18012025_23_30_02_642898_0003.jpg
/home/pi/Desktop/images/18012025/23/31/image_18012025_23_31_02_740474_0000.jpg
/home/pi/Desktop/images/18012025/23/31/image_18012025_23_31_02_740474_0001.jpg
/home/pi/Desktop/images/18012025/23/31/image_18012025_23_31_02_740474_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329883913","1329883882","1329883885","1329883889"],"photo_ids_order":["1329883882","1329883885","1329883889","1329883913"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eed8290d0ac915f231d96a1a8913048e.jpg","text":"TemporaryFile(/tmp/multipartBody4387422651682977096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239554296,"filename":"image_18012025_23_31_02_740474_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/61fd1245fb75e96b88e3baba64e3e7c8.jpg","text":"TemporaryFile(/tmp/multipartBody609095178806103319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239554296,"filename":"image_18012025_23_30_02_642898_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a937c2987142fc90b981e8de1d48970.jpg","text":"TemporaryFile(/tmp/multipartBody3065701285861561546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239554296,"filename":"image_18012025_23_31_02_740474_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/950a3df607d76c29890b78beadf4a5a1.jpg","text":"TemporaryFile(/tmp/multipartBody5319117731475872680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239554296,"filename":"image_18012025_23_31_02_740474_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329883889","file1":"1329883885","file0":"1329883882","file3":"1329883913"},"map_files_photo_id_array":[{"photo_id":"1329883889","filename":"file2"},{"photo_id":"1329883885","filename":"file1"},{"photo_id":"1329883882","filename":"file0"},{"photo_id":"1329883913","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329883913":["hashtag1","hashtag2"]},{"1329883882":["hashtag1","hashtag2"]},{"1329883885":["hashtag1","hashtag2"]},{"1329883889":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329883913, 1329883882, 1329883885, 1329883889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.50458359718323 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:32:22.780739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/31/image_18012025_23_31_02_740474_0003.jpg', '/home/pi/Desktop/images/18012025/23/32/image_18012025_23_32_02_946677_0000.jpg', '/home/pi/Desktop/images/18012025/23/32/image_18012025_23_32_02_946677_0001.jpg', '/home/pi/Desktop/images/18012025/23/32/image_18012025_23_32_02_946677_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/31/image_18012025_23_31_02_740474_0003.jpg
/home/pi/Desktop/images/18012025/23/32/image_18012025_23_32_02_946677_0000.jpg
/home/pi/Desktop/images/18012025/23/32/image_18012025_23_32_02_946677_0001.jpg
/home/pi/Desktop/images/18012025/23/32/image_18012025_23_32_02_946677_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329883933","1329883927","1329883923","1329883931"],"photo_ids_order":["1329883923","1329883927","1329883931","1329883933"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/81e381cc4c4d5c3125b0024e7e92ed5e.jpg","text":"TemporaryFile(/tmp/multipartBody5458750735455283284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239614272,"filename":"image_18012025_23_32_02_946677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4068ea41bb5a950beee0d64370851498.jpg","text":"TemporaryFile(/tmp/multipartBody7697011583287327042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239614272,"filename":"image_18012025_23_32_02_946677_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c6d82d6e4ce3df506f1b3b7008981bc0.jpg","text":"TemporaryFile(/tmp/multipartBody8696266221923883130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239614272,"filename":"image_18012025_23_31_02_740474_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0ba433c35136dfd68b02c4113ff156ac.jpg","text":"TemporaryFile(/tmp/multipartBody4200322725443411991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239614272,"filename":"image_18012025_23_32_02_946677_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329883931","file1":"1329883927","file0":"1329883923","file3":"1329883933"},"map_files_photo_id_array":[{"photo_id":"1329883931","filename":"file2"},{"photo_id":"1329883927","filename":"file1"},{"photo_id":"1329883923","filename":"file0"},{"photo_id":"1329883933","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329883933":["hashtag1","hashtag2"]},{"1329883927":["hashtag1","hashtag2"]},{"1329883923":["hashtag1","hashtag2"]},{"1329883931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329883933, 1329883927, 1329883923, 1329883931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.3007869720459 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:33:21.912827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/32/image_18012025_23_32_02_946677_0003.jpg', '/home/pi/Desktop/images/18012025/23/33/image_18012025_23_33_03_165848_0000.jpg', '/home/pi/Desktop/images/18012025/23/33/image_18012025_23_33_03_165848_0001.jpg', '/home/pi/Desktop/images/18012025/23/33/image_18012025_23_33_03_165848_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/32/image_18012025_23_32_02_946677_0003.jpg
/home/pi/Desktop/images/18012025/23/33/image_18012025_23_33_03_165848_0000.jpg
/home/pi/Desktop/images/18012025/23/33/image_18012025_23_33_03_165848_0001.jpg
/home/pi/Desktop/images/18012025/23/33/image_18012025_23_33_03_165848_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329884416","1329884413","1329884547","1329884418"],"photo_ids_order":["1329884413","1329884416","1329884418","1329884547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e91915594b201b879c9d2a9cc441d8c5.jpg","text":"TemporaryFile(/tmp/multipartBody5539825785633594348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239673007,"filename":"image_18012025_23_33_03_165848_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/00830ed2cd526388347a9f303879105c.jpg","text":"TemporaryFile(/tmp/multipartBody1914862595085133547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239673007,"filename":"image_18012025_23_32_02_946677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e0aefa7697277e1b67d2a7093d3e361b.jpg","text":"TemporaryFile(/tmp/multipartBody3693112371318401520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239673007,"filename":"image_18012025_23_33_03_165848_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/aebf46918e7974f2681ce9f168638208.jpg","text":"TemporaryFile(/tmp/multipartBody1765631475243544478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239673007,"filename":"image_18012025_23_33_03_165848_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329884418","file1":"1329884416","file0":"1329884413","file3":"1329884547"},"map_files_photo_id_array":[{"photo_id":"1329884418","filename":"file2"},{"photo_id":"1329884416","filename":"file1"},{"photo_id":"1329884413","filename":"file0"},{"photo_id":"1329884547","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329884416":["hashtag1","hashtag2"]},{"1329884413":["hashtag1","hashtag2"]},{"1329884547":["hashtag1","hashtag2"]},{"1329884418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329884416, 1329884413, 1329884547, 1329884418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.855276346206665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 23:34:02.399661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/49/image_16012025_23_49_02_474672_0002.jpg', '/home/pi/Desktop/images/16012025/23/49/image_16012025_23_49_02_474672_0003.jpg', '/home/pi/Desktop/images/16012025/23/50/image_16012025_23_50_02_682541_0000.jpg', '/home/pi/Desktop/images/16012025/23/50/image_16012025_23_50_02_682541_0001.jpg', '/home/pi/Desktop/images/16012025/23/50/image_16012025_23_50_02_682541_0002.jpg', '/home/pi/Desktop/images/16012025/23/50/image_16012025_23_50_02_682541_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/49/image_16012025_23_49_02_474672_0002.jpg
/home/pi/Desktop/images/16012025/23/49/image_16012025_23_49_02_474672_0003.jpg
/home/pi/Desktop/images/16012025/23/50/image_16012025_23_50_02_682541_0000.jpg
/home/pi/Desktop/images/16012025/23/50/image_16012025_23_50_02_682541_0001.jpg
/home/pi/Desktop/images/16012025/23/50/image_16012025_23_50_02_682541_0002.jpg
/home/pi/Desktop/images/16012025/23/50/image_16012025_23_50_02_682541_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":["1329884781","1329884640","1329884802","1329884792","1329884794","1329884797"],"photo_ids_order":["1329884640","1329884781","1329884792","1329884794","1329884797","1329884802"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84826c20e0b92dbb04f5882e2f80b65d.jpg","text":"TemporaryFile(/tmp/multipartBody7083968869409941125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239719683,"filename":"image_16012025_23_49_02_474672_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/fd62694bf332432e0f00ff4e34c4cd09.jpg","text":"TemporaryFile(/tmp/multipartBody1542608693029570706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239719683,"filename":"image_16012025_23_49_02_474672_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ceb222713c2af3d4f3be8715a8658090.jpg","text":"TemporaryFile(/tmp/multipartBody4838676996022288909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239719683,"filename":"image_16012025_23_50_02_682541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4704f1bb8ebc7e896fca39d116c87789.jpg","text":"TemporaryFile(/tmp/multipartBody8902898803019618598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239719683,"filename":"image_16012025_23_50_02_682541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e77d439f2eda95a82c33c3ba7d3a4745.jpg","text":"TemporaryFile(/tmp/multipartBody7961382347770287064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239719683,"filename":"image_16012025_23_50_02_682541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6ca513ad21dd181639403c6dde2eb10.jpg","text":"TemporaryFile(/tmp/multipartBody1191147216630076841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239719683,"filename":"image_16012025_23_50_02_682541_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329884792","file1":"1329884781","file0":"1329884640","file4":"1329884797","file5":"1329884802","file3":"1329884794"},"map_files_photo_id_array":[{"photo_id":"1329884802","filename":"file5"},{"photo_id":"1329884792","filename":"file2"},{"photo_id":"1329884797","filename":"file4"},{"photo_id":"1329884781","filename":"file1"},{"photo_id":"1329884640","filename":"file0"},{"photo_id":"1329884794","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329884781":["hashtag1","hashtag2"]},{"1329884640":["hashtag1","hashtag2"]},{"1329884802":["hashtag1","hashtag2"]},{"1329884792":["hashtag1","hashtag2"]},{"1329884794":["hashtag1","hashtag2"]},{"1329884797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329884781, 1329884640, 1329884802, 1329884792, 1329884794, 1329884797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.244744539260864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 23:35:02.995396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/33/image_18012025_23_33_03_165848_0003.jpg', '/home/pi/Desktop/images/18012025/23/34/image_18012025_23_34_02_366619_0000.jpg', '/home/pi/Desktop/images/18012025/23/34/image_18012025_23_34_02_366619_0001.jpg', '/home/pi/Desktop/images/18012025/23/34/image_18012025_23_34_02_366619_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/33/image_18012025_23_33_03_165848_0003.jpg
/home/pi/Desktop/images/18012025/23/34/image_18012025_23_34_02_366619_0000.jpg
/home/pi/Desktop/images/18012025/23/34/image_18012025_23_34_02_366619_0001.jpg
/home/pi/Desktop/images/18012025/23/34/image_18012025_23_34_02_366619_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329884815","1329884817","1329884814","1329884819"],"photo_ids_order":["1329884814","1329884815","1329884817","1329884819"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/19c9385bf1fd229cfa9620e5b9de9e13.jpg","text":"TemporaryFile(/tmp/multipartBody4727926701361233860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239774304,"filename":"image_18012025_23_34_02_366619_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a3bd2fe1d4925954dec8e08a0ba47647.jpg","text":"TemporaryFile(/tmp/multipartBody2767212781641294118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239774304,"filename":"image_18012025_23_34_02_366619_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cd8b582e2f74389ae6d21067601f3fb2.jpg","text":"TemporaryFile(/tmp/multipartBody3746232649109654370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239774304,"filename":"image_18012025_23_33_03_165848_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/264df75fe134c01dd4d7099932407dc5.jpg","text":"TemporaryFile(/tmp/multipartBody229115770237672222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239774304,"filename":"image_18012025_23_34_02_366619_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329884817","file1":"1329884815","file0":"1329884814","file3":"1329884819"},"map_files_photo_id_array":[{"photo_id":"1329884817","filename":"file2"},{"photo_id":"1329884815","filename":"file1"},{"photo_id":"1329884814","filename":"file0"},{"photo_id":"1329884819","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329884815":["hashtag1","hashtag2"]},{"1329884817":["hashtag1","hashtag2"]},{"1329884814":["hashtag1","hashtag2"]},{"1329884819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329884815, 1329884817, 1329884814, 1329884819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.06314516067505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 23:35:52.253678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/34/image_18012025_23_34_02_366619_0003.jpg', '/home/pi/Desktop/images/18012025/23/35/image_18012025_23_35_02_325834_0000.jpg', '/home/pi/Desktop/images/18012025/23/35/image_18012025_23_35_02_325834_0001.jpg', '/home/pi/Desktop/images/18012025/23/35/image_18012025_23_35_02_325834_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/34/image_18012025_23_34_02_366619_0003.jpg
/home/pi/Desktop/images/18012025/23/35/image_18012025_23_35_02_325834_0000.jpg
/home/pi/Desktop/images/18012025/23/35/image_18012025_23_35_02_325834_0001.jpg
/home/pi/Desktop/images/18012025/23/35/image_18012025_23_35_02_325834_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329884830","1329884829","1329884832","1329884828"],"photo_ids_order":["1329884828","1329884829","1329884830","1329884832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4af6eb2d60fd81bbc979acb35700e5c5.jpg","text":"TemporaryFile(/tmp/multipartBody7408510672260920782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239823891,"filename":"image_18012025_23_35_02_325834_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0674dd26bec2f3a90b644cd9170b989f.jpg","text":"TemporaryFile(/tmp/multipartBody4495155734226572014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239823891,"filename":"image_18012025_23_35_02_325834_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/14de0cfaee6669e98527c672a69ac048.jpg","text":"TemporaryFile(/tmp/multipartBody4149271937154024376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239823891,"filename":"image_18012025_23_35_02_325834_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7112642862859b32c32a63447870a689.jpg","text":"TemporaryFile(/tmp/multipartBody2975732828280696532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239823891,"filename":"image_18012025_23_34_02_366619_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329884830","file1":"1329884829","file0":"1329884828","file3":"1329884832"},"map_files_photo_id_array":[{"photo_id":"1329884830","filename":"file2"},{"photo_id":"1329884829","filename":"file1"},{"photo_id":"1329884828","filename":"file0"},{"photo_id":"1329884832","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329884830":["hashtag1","hashtag2"]},{"1329884829":["hashtag1","hashtag2"]},{"1329884832":["hashtag1","hashtag2"]},{"1329884828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329884830, 1329884829, 1329884832, 1329884828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.515257596969604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 23:36:42.459549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/35/image_18012025_23_35_02_325834_0003.jpg', '/home/pi/Desktop/images/18012025/23/36/image_18012025_23_36_02_712576_0000.jpg', '/home/pi/Desktop/images/18012025/23/36/image_18012025_23_36_02_712576_0001.jpg', '/home/pi/Desktop/images/18012025/23/36/image_18012025_23_36_02_712576_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/35/image_18012025_23_35_02_325834_0003.jpg
/home/pi/Desktop/images/18012025/23/36/image_18012025_23_36_02_712576_0000.jpg
/home/pi/Desktop/images/18012025/23/36/image_18012025_23_36_02_712576_0001.jpg
/home/pi/Desktop/images/18012025/23/36/image_18012025_23_36_02_712576_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329884859","1329884847","1329884844","1329884867"],"photo_ids_order":["1329884844","1329884847","1329884859","1329884867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bcef18242c5f5ea71bbd8a9026ee39e1.jpg","text":"TemporaryFile(/tmp/multipartBody2621877554580287886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239873934,"filename":"image_18012025_23_36_02_712576_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/04f90992f5223acd7112528620684ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3573396500309157075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239873934,"filename":"image_18012025_23_36_02_712576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08d6f8fcd92ab12b891165a0f35c8f0d.jpg","text":"TemporaryFile(/tmp/multipartBody5199225048488714522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239873934,"filename":"image_18012025_23_35_02_325834_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3a3ff78f140d38375197104e9e363dbf.jpg","text":"TemporaryFile(/tmp/multipartBody7112369751626049053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239873934,"filename":"image_18012025_23_36_02_712576_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329884859","file1":"1329884847","file0":"1329884844","file3":"1329884867"},"map_files_photo_id_array":[{"photo_id":"1329884859","filename":"file2"},{"photo_id":"1329884847","filename":"file1"},{"photo_id":"1329884844","filename":"file0"},{"photo_id":"1329884867","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329884859":["hashtag1","hashtag2"]},{"1329884847":["hashtag1","hashtag2"]},{"1329884844":["hashtag1","hashtag2"]},{"1329884867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329884859, 1329884847, 1329884844, 1329884867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.38958954811096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 23:37:32.568546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/36/image_18012025_23_36_02_712576_0003.jpg', '/home/pi/Desktop/images/18012025/23/37/image_18012025_23_37_02_841116_0000.jpg', '/home/pi/Desktop/images/18012025/23/37/image_18012025_23_37_02_841116_0001.jpg', '/home/pi/Desktop/images/18012025/23/37/image_18012025_23_37_02_841116_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/36/image_18012025_23_36_02_712576_0003.jpg
/home/pi/Desktop/images/18012025/23/37/image_18012025_23_37_02_841116_0000.jpg
/home/pi/Desktop/images/18012025/23/37/image_18012025_23_37_02_841116_0001.jpg
/home/pi/Desktop/images/18012025/23/37/image_18012025_23_37_02_841116_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329884970","1329884999","1329884956","1329884884"],"photo_ids_order":["1329884884","1329884956","1329884970","1329884999"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e93064ff710a1ba7c6ffe603139371f.jpg","text":"TemporaryFile(/tmp/multipartBody842071047193545831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239924125,"filename":"image_18012025_23_37_02_841116_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cb2dac70dc4a4e2d0d29dd03ec885128.jpg","text":"TemporaryFile(/tmp/multipartBody5372793826302265134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239924125,"filename":"image_18012025_23_37_02_841116_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c43df06c5daf8dc4760f9cbd8f0d64d1.jpg","text":"TemporaryFile(/tmp/multipartBody4309147667769704803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239924125,"filename":"image_18012025_23_37_02_841116_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e636ae8faa86d299badbe992f2a27e2c.jpg","text":"TemporaryFile(/tmp/multipartBody8832471159237289757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239924125,"filename":"image_18012025_23_36_02_712576_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329884970","file1":"1329884956","file0":"1329884884","file3":"1329884999"},"map_files_photo_id_array":[{"photo_id":"1329884970","filename":"file2"},{"photo_id":"1329884956","filename":"file1"},{"photo_id":"1329884884","filename":"file0"},{"photo_id":"1329884999","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329884970":["hashtag1","hashtag2"]},{"1329884999":["hashtag1","hashtag2"]},{"1329884956":["hashtag1","hashtag2"]},{"1329884884":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329884970, 1329884999, 1329884956, 1329884884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.11961269378662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:38:21.781978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/37/image_18012025_23_37_02_841116_0003.jpg', '/home/pi/Desktop/images/18012025/23/38/image_18012025_23_38_03_007280_0000.jpg', '/home/pi/Desktop/images/18012025/23/38/image_18012025_23_38_03_007280_0001.jpg', '/home/pi/Desktop/images/18012025/23/38/image_18012025_23_38_03_007280_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/37/image_18012025_23_37_02_841116_0003.jpg
/home/pi/Desktop/images/18012025/23/38/image_18012025_23_38_03_007280_0000.jpg
/home/pi/Desktop/images/18012025/23/38/image_18012025_23_38_03_007280_0001.jpg
/home/pi/Desktop/images/18012025/23/38/image_18012025_23_38_03_007280_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329885106","1329885344","1329885020","1329885226"],"photo_ids_order":["1329885020","1329885106","1329885226","1329885344"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/66eb0640d5abadd325f7d99ce3da8040.jpg","text":"TemporaryFile(/tmp/multipartBody8743807072037522323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239973090,"filename":"image_18012025_23_38_03_007280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7eac8cc7c22ae8b1879652652a6d5b07.jpg","text":"TemporaryFile(/tmp/multipartBody8641464254565398398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239973090,"filename":"image_18012025_23_38_03_007280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/baa33be5a213c3efea9fdf08280c31a8.jpg","text":"TemporaryFile(/tmp/multipartBody8322303880799782417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239973090,"filename":"image_18012025_23_37_02_841116_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bb5f4520846156b2a922be72a77b498e.jpg","text":"TemporaryFile(/tmp/multipartBody1934584198757633109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737239973090,"filename":"image_18012025_23_38_03_007280_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329885226","file1":"1329885106","file0":"1329885020","file3":"1329885344"},"map_files_photo_id_array":[{"photo_id":"1329885226","filename":"file2"},{"photo_id":"1329885106","filename":"file1"},{"photo_id":"1329885020","filename":"file0"},{"photo_id":"1329885344","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329885106":["hashtag1","hashtag2"]},{"1329885344":["hashtag1","hashtag2"]},{"1329885020":["hashtag1","hashtag2"]},{"1329885226":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329885106, 1329885344, 1329885020, 1329885226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.63079071044922 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:39:21.952341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/38/image_18012025_23_38_03_007280_0003.jpg', '/home/pi/Desktop/images/18012025/23/39/image_18012025_23_39_02_143773_0000.jpg', '/home/pi/Desktop/images/18012025/23/39/image_18012025_23_39_02_143773_0001.jpg', '/home/pi/Desktop/images/18012025/23/39/image_18012025_23_39_02_143773_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/38/image_18012025_23_38_03_007280_0003.jpg
/home/pi/Desktop/images/18012025/23/39/image_18012025_23_39_02_143773_0000.jpg
/home/pi/Desktop/images/18012025/23/39/image_18012025_23_39_02_143773_0001.jpg
/home/pi/Desktop/images/18012025/23/39/image_18012025_23_39_02_143773_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329886851","1329886973","1329886594","1329886726"],"photo_ids_order":["1329886594","1329886726","1329886851","1329886973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/505cba842ca4dcf5c9453ba047388e2a.jpg","text":"TemporaryFile(/tmp/multipartBody3549758348572481063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240033646,"filename":"image_18012025_23_39_02_143773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c4a9cdae98eceb8e61d730835f7b0b57.jpg","text":"TemporaryFile(/tmp/multipartBody1627276444911520481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240033646,"filename":"image_18012025_23_39_02_143773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c0c1740a5c11a62bd864572951f37c7f.jpg","text":"TemporaryFile(/tmp/multipartBody1683367783362880949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240033646,"filename":"image_18012025_23_38_03_007280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/063569bcaa0522f98857ed59e38d5980.jpg","text":"TemporaryFile(/tmp/multipartBody5067583778601379708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240033646,"filename":"image_18012025_23_39_02_143773_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329886851","file1":"1329886726","file0":"1329886594","file3":"1329886973"},"map_files_photo_id_array":[{"photo_id":"1329886851","filename":"file2"},{"photo_id":"1329886726","filename":"file1"},{"photo_id":"1329886594","filename":"file0"},{"photo_id":"1329886973","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329886851":["hashtag1","hashtag2"]},{"1329886973":["hashtag1","hashtag2"]},{"1329886594":["hashtag1","hashtag2"]},{"1329886726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329886851, 1329886973, 1329886594, 1329886726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.40581703186035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:40:22.156273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/39/image_18012025_23_39_02_143773_0003.jpg', '/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0000.jpg', '/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0001.jpg', '/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/39/image_18012025_23_39_02_143773_0003.jpg
/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0000.jpg
/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0001.jpg
/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.164218425750732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 23:40:42.147020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/39/image_18012025_23_39_02_143773_0003.jpg', '/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0000.jpg', '/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0001.jpg', '/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/39/image_18012025_23_39_02_143773_0003.jpg
/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0000.jpg
/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0001.jpg
/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329887013","1329887018","1329886992","1329886995"],"photo_ids_order":["1329886992","1329886995","1329887013","1329887018"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/2b11cec24481a1d5733c4cee6fa8c5ac.jpg","text":"TemporaryFile(/tmp/multipartBody6261164616559093540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240113673,"filename":"image_18012025_23_40_02_313331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/150af8d9632e4df588c649d595acbc1c.jpg","text":"TemporaryFile(/tmp/multipartBody7308937481481150509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240113673,"filename":"image_18012025_23_40_02_313331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/87c81ae967fe9036eede395a1eac3d7b.jpg","text":"TemporaryFile(/tmp/multipartBody4181971979154917799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240113673,"filename":"image_18012025_23_39_02_143773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/db625529de9bbb3d4c4dfea813ba0a24.jpg","text":"TemporaryFile(/tmp/multipartBody2189467081801922793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240113673,"filename":"image_18012025_23_40_02_313331_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329887013","file1":"1329886995","file0":"1329886992","file3":"1329887018"},"map_files_photo_id_array":[{"photo_id":"1329887013","filename":"file2"},{"photo_id":"1329886995","filename":"file1"},{"photo_id":"1329886992","filename":"file0"},{"photo_id":"1329887018","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329887013":["hashtag1","hashtag2"]},{"1329887018":["hashtag1","hashtag2"]},{"1329886992":["hashtag1","hashtag2"]},{"1329886995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329887013, 1329887018, 1329886992, 1329886995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.25304460525513 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:41:22.249088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0003.jpg', '/home/pi/Desktop/images/18012025/23/41/image_18012025_23_41_02_485565_0000.jpg', '/home/pi/Desktop/images/18012025/23/41/image_18012025_23_41_02_485565_0001.jpg', '/home/pi/Desktop/images/18012025/23/41/image_18012025_23_41_02_485565_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/40/image_18012025_23_40_02_313331_0003.jpg
/home/pi/Desktop/images/18012025/23/41/image_18012025_23_41_02_485565_0000.jpg
/home/pi/Desktop/images/18012025/23/41/image_18012025_23_41_02_485565_0001.jpg
/home/pi/Desktop/images/18012025/23/41/image_18012025_23_41_02_485565_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329887319","1329887293","1329887289","1329887253"],"photo_ids_order":["1329887253","1329887289","1329887293","1329887319"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65e7f07165f36c5b5cd285054cde52ac.jpg","text":"TemporaryFile(/tmp/multipartBody1733041545645056519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240153356,"filename":"image_18012025_23_41_02_485565_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/65a6210feb29f025385099e6e7a12a38.jpg","text":"TemporaryFile(/tmp/multipartBody2939787424958268497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240153356,"filename":"image_18012025_23_41_02_485565_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/e1c1b15cea17fee4b4f43a0ea6ec4f1f.jpg","text":"TemporaryFile(/tmp/multipartBody3960604845346269803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240153356,"filename":"image_18012025_23_41_02_485565_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1b74b25d6f4561f776e4e4d11d99ac8c.jpg","text":"TemporaryFile(/tmp/multipartBody2890376902161364695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240153356,"filename":"image_18012025_23_40_02_313331_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329887293","file1":"1329887289","file0":"1329887253","file3":"1329887319"},"map_files_photo_id_array":[{"photo_id":"1329887293","filename":"file2"},{"photo_id":"1329887289","filename":"file1"},{"photo_id":"1329887253","filename":"file0"},{"photo_id":"1329887319","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329887319":["hashtag1","hashtag2"]},{"1329887293":["hashtag1","hashtag2"]},{"1329887289":["hashtag1","hashtag2"]},{"1329887253":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329887319, 1329887293, 1329887289, 1329887253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3066303730011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 23:42:02.847835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250116 ORDER BY id_local ASC LIMIT 6;
  port_id : 19672129
  datou_current_id : 2488596
in upload_from_sqlite, uploading in 19672129
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16012025/23/51/image_16012025_23_51_02_821050_0000.jpg', '/home/pi/Desktop/images/16012025/23/51/image_16012025_23_51_02_821050_0001.jpg', '/home/pi/Desktop/images/16012025/23/51/image_16012025_23_51_02_821050_0002.jpg', '/home/pi/Desktop/images/16012025/23/51/image_16012025_23_51_02_821050_0003.jpg', '/home/pi/Desktop/images/16012025/23/52/image_16012025_23_52_03_037709_0000.jpg', '/home/pi/Desktop/images/16012025/23/52/image_16012025_23_52_03_037709_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2488596&datou=0
/home/pi/Desktop/images/16012025/23/51/image_16012025_23_51_02_821050_0000.jpg
/home/pi/Desktop/images/16012025/23/51/image_16012025_23_51_02_821050_0001.jpg
/home/pi/Desktop/images/16012025/23/51/image_16012025_23_51_02_821050_0002.jpg
/home/pi/Desktop/images/16012025/23/51/image_16012025_23_51_02_821050_0003.jpg
/home/pi/Desktop/images/16012025/23/52/image_16012025_23_52_03_037709_0000.jpg
/home/pi/Desktop/images/16012025/23/52/image_16012025_23_52_03_037709_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":["1329887345","1329887383","1329887371","1329887496","1329887397","1329887343"],"photo_ids_order":["1329887343","1329887345","1329887371","1329887383","1329887397","1329887496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f16a596802130c385183b8ca50efbd10.jpg","text":"TemporaryFile(/tmp/multipartBody979118356384625354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240200345,"filename":"image_16012025_23_51_02_821050_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/80fd5dbecba37b2b6e5266d0b87427f7.jpg","text":"TemporaryFile(/tmp/multipartBody5455338592981595951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240200345,"filename":"image_16012025_23_51_02_821050_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/84ab838981cb73f0fa706ff5bc41ceb8.jpg","text":"TemporaryFile(/tmp/multipartBody792140330884430974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240200345,"filename":"image_16012025_23_51_02_821050_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/08b2f6aad3e0d5bc275e251456e612d5.jpg","text":"TemporaryFile(/tmp/multipartBody5142941892545351710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240200345,"filename":"image_16012025_23_52_03_037709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/045a979e0de684c561625f77ce4afec4.jpg","text":"TemporaryFile(/tmp/multipartBody6184125127242527852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240200345,"filename":"image_16012025_23_52_03_037709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f6fecf26da662a7f94279b491468cee2.jpg","text":"TemporaryFile(/tmp/multipartBody435615287724710282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240200345,"filename":"image_16012025_23_51_02_821050_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329887371","file1":"1329887345","file0":"1329887343","file4":"1329887397","file5":"1329887496","file3":"1329887383"},"map_files_photo_id_array":[{"photo_id":"1329887496","filename":"file5"},{"photo_id":"1329887371","filename":"file2"},{"photo_id":"1329887397","filename":"file4"},{"photo_id":"1329887345","filename":"file1"},{"photo_id":"1329887343","filename":"file0"},{"photo_id":"1329887383","filename":"file3"}],"portfolio_id":19672129,"hashtag_by_photo_ids":[{"1329887345":["hashtag1","hashtag2"]},{"1329887383":["hashtag1","hashtag2"]},{"1329887371":["hashtag1","hashtag2"]},{"1329887496":["hashtag1","hashtag2"]},{"1329887397":["hashtag1","hashtag2"]},{"1329887343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19672129 used, photo_id : ArrayBuffer(1329887345, 1329887383, 1329887371, 1329887496, 1329887397, 1329887343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.702184438705444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-18 23:43:03.340318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/41/image_18012025_23_41_02_485565_0003.jpg', '/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0000.jpg', '/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0001.jpg', '/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/41/image_18012025_23_41_02_485565_0003.jpg
/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0000.jpg
/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0001.jpg
/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.913383960723877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:43:22.707130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/41/image_18012025_23_41_02_485565_0003.jpg', '/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0000.jpg', '/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0001.jpg', '/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0002.jpg', '/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0003.jpg', '/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/41/image_18012025_23_41_02_485565_0003.jpg
/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0000.jpg
/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0001.jpg
/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0002.jpg
/home/pi/Desktop/images/18012025/23/42/image_18012025_23_42_02_647134_0003.jpg
/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329887684","1329887686","1329887689","1329887679","1329887682","1329887676"],"photo_ids_order":["1329887676","1329887679","1329887682","1329887684","1329887686","1329887689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/24b4e03af15c91b1e057e63861bc4391.jpg","text":"TemporaryFile(/tmp/multipartBody8274289352988547649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240279329,"filename":"image_18012025_23_42_02_647134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/ab806bf93eb2fd286e3f7736b0598f17.jpg","text":"TemporaryFile(/tmp/multipartBody8680326249224102814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240279329,"filename":"image_18012025_23_42_02_647134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5bd46ff66175170f561e81407b35d5f9.jpg","text":"TemporaryFile(/tmp/multipartBody7868544345396784820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240279329,"filename":"image_18012025_23_43_02_798423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c935ac2f9bb22b197ee1432bae9921c4.jpg","text":"TemporaryFile(/tmp/multipartBody6063756167407564500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240279329,"filename":"image_18012025_23_42_02_647134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1d820562a077a97b3f459efc902d3126.jpg","text":"TemporaryFile(/tmp/multipartBody2238478568735976491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240279329,"filename":"image_18012025_23_42_02_647134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f89d44e0d684cebb7b1aa65a531d29bd.jpg","text":"TemporaryFile(/tmp/multipartBody3279053231789286340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240279329,"filename":"image_18012025_23_41_02_485565_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329887682","file1":"1329887679","file0":"1329887676","file4":"1329887686","file5":"1329887689","file3":"1329887684"},"map_files_photo_id_array":[{"photo_id":"1329887689","filename":"file5"},{"photo_id":"1329887682","filename":"file2"},{"photo_id":"1329887686","filename":"file4"},{"photo_id":"1329887679","filename":"file1"},{"photo_id":"1329887676","filename":"file0"},{"photo_id":"1329887684","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329887684":["hashtag1","hashtag2"]},{"1329887686":["hashtag1","hashtag2"]},{"1329887689":["hashtag1","hashtag2"]},{"1329887679":["hashtag1","hashtag2"]},{"1329887682":["hashtag1","hashtag2"]},{"1329887676":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329887684, 1329887686, 1329887689, 1329887679, 1329887682, 1329887676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.35224270820618 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:44:21.802154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0001.jpg', '/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0002.jpg', '/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0003.jpg', '/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0000.jpg', '/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0001.jpg', '/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0001.jpg
/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0002.jpg
/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0003.jpg
/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0000.jpg
/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0001.jpg
/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 16.369189023971558 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 23:44:41.850440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0001.jpg', '/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0002.jpg', '/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0003.jpg', '/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0000.jpg', '/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0001.jpg', '/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0001.jpg
/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0002.jpg
/home/pi/Desktop/images/18012025/23/43/image_18012025_23_43_02_798423_0003.jpg
/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0000.jpg
/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0001.jpg
/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329887726","1329887723","1329887749","1329887728","1329887793","1329887727"],"photo_ids_order":["1329887723","1329887726","1329887727","1329887728","1329887749","1329887793"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/dd5b3a3a833a7500e5504359de43ba47.jpg","text":"TemporaryFile(/tmp/multipartBody4911618771750156729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240358613,"filename":"image_18012025_23_43_02_798423_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c9ce07e4fc192288c165faf7633d5617.jpg","text":"TemporaryFile(/tmp/multipartBody1112533559064646126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240358613,"filename":"image_18012025_23_43_02_798423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6e4ff1a3289266fb6ca2317203916e51.jpg","text":"TemporaryFile(/tmp/multipartBody1639431599901650995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240358613,"filename":"image_18012025_23_44_03_051551_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/bc335c9f803c4f660afe58440d7cec72.jpg","text":"TemporaryFile(/tmp/multipartBody5449119229366091087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240358613,"filename":"image_18012025_23_44_03_051551_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b6a19bf130c4e240e0b97d23c889c9c7.jpg","text":"TemporaryFile(/tmp/multipartBody8243413794446687986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240358613,"filename":"image_18012025_23_44_03_051551_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/47cdf827332d4ae0ff646fdef1b12a74.jpg","text":"TemporaryFile(/tmp/multipartBody4017446147036074049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240358613,"filename":"image_18012025_23_43_02_798423_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329887727","file1":"1329887726","file0":"1329887723","file4":"1329887749","file5":"1329887793","file3":"1329887728"},"map_files_photo_id_array":[{"photo_id":"1329887793","filename":"file5"},{"photo_id":"1329887727","filename":"file2"},{"photo_id":"1329887749","filename":"file4"},{"photo_id":"1329887726","filename":"file1"},{"photo_id":"1329887723","filename":"file0"},{"photo_id":"1329887728","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329887726":["hashtag1","hashtag2"]},{"1329887723":["hashtag1","hashtag2"]},{"1329887749":["hashtag1","hashtag2"]},{"1329887728":["hashtag1","hashtag2"]},{"1329887793":["hashtag1","hashtag2"]},{"1329887727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329887726, 1329887723, 1329887749, 1329887728, 1329887793, 1329887727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.469996213912964 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 23:45:52.045905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0003.jpg', '/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0000.jpg', '/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0001.jpg', '/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0003.jpg
/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0000.jpg
/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0001.jpg
/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.006209135055542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:46:22.271975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0003.jpg', '/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0000.jpg', '/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0001.jpg', '/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0002.jpg', '/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0003.jpg', '/home/pi/Desktop/images/18012025/23/46/image_18012025_23_46_02_368042_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/44/image_18012025_23_44_03_051551_0003.jpg
/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0000.jpg
/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0001.jpg
/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0002.jpg
/home/pi/Desktop/images/18012025/23/45/image_18012025_23_45_02_181404_0003.jpg
/home/pi/Desktop/images/18012025/23/46/image_18012025_23_46_02_368042_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329887822","1329887816","1329887818","1329887812","1329887820","1329887814"],"photo_ids_order":["1329887812","1329887814","1329887816","1329887818","1329887820","1329887822"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/70a0542d84e55cbbd83659d41d3a645f.jpg","text":"TemporaryFile(/tmp/multipartBody2628316027483708713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240458875,"filename":"image_18012025_23_46_02_368042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/889d35a714627de6fe1037ba066d93ed.jpg","text":"TemporaryFile(/tmp/multipartBody4273502369109922189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240458875,"filename":"image_18012025_23_45_02_181404_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0a584de8afdd11abdd0e86e9dee79019.jpg","text":"TemporaryFile(/tmp/multipartBody5027910457386655245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240458875,"filename":"image_18012025_23_45_02_181404_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/5be19e9dec26ce570ca9dfdc3af76efb.jpg","text":"TemporaryFile(/tmp/multipartBody3687609279254822759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240458875,"filename":"image_18012025_23_44_03_051551_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f478eb151f1b7c4a9612102371ac1c54.jpg","text":"TemporaryFile(/tmp/multipartBody6730742894277983262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240458875,"filename":"image_18012025_23_45_02_181404_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/25b60804bf0fc739b3f1adf2cc260972.jpg","text":"TemporaryFile(/tmp/multipartBody5584581843091791291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240458875,"filename":"image_18012025_23_45_02_181404_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329887816","file1":"1329887814","file0":"1329887812","file4":"1329887820","file5":"1329887822","file3":"1329887818"},"map_files_photo_id_array":[{"photo_id":"1329887822","filename":"file5"},{"photo_id":"1329887816","filename":"file2"},{"photo_id":"1329887820","filename":"file4"},{"photo_id":"1329887814","filename":"file1"},{"photo_id":"1329887812","filename":"file0"},{"photo_id":"1329887818","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329887822":["hashtag1","hashtag2"]},{"1329887816":["hashtag1","hashtag2"]},{"1329887818":["hashtag1","hashtag2"]},{"1329887812":["hashtag1","hashtag2"]},{"1329887820":["hashtag1","hashtag2"]},{"1329887814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329887822, 1329887816, 1329887818, 1329887812, 1329887820, 1329887814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.501609563827515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:47:22.410193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/46/image_18012025_23_46_02_368042_0001.jpg', '/home/pi/Desktop/images/18012025/23/46/image_18012025_23_46_02_368042_0002.jpg', '/home/pi/Desktop/images/18012025/23/46/image_18012025_23_46_02_368042_0003.jpg', '/home/pi/Desktop/images/18012025/23/47/image_18012025_23_47_02_621668_0000.jpg', '/home/pi/Desktop/images/18012025/23/47/image_18012025_23_47_02_621668_0001.jpg', '/home/pi/Desktop/images/18012025/23/47/image_18012025_23_47_02_621668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/46/image_18012025_23_46_02_368042_0001.jpg
/home/pi/Desktop/images/18012025/23/46/image_18012025_23_46_02_368042_0002.jpg
/home/pi/Desktop/images/18012025/23/46/image_18012025_23_46_02_368042_0003.jpg
/home/pi/Desktop/images/18012025/23/47/image_18012025_23_47_02_621668_0000.jpg
/home/pi/Desktop/images/18012025/23/47/image_18012025_23_47_02_621668_0001.jpg
/home/pi/Desktop/images/18012025/23/47/image_18012025_23_47_02_621668_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329888038","1329887890","1329887886","1329887871","1329888141","1329887888"],"photo_ids_order":["1329887871","1329887886","1329887888","1329887890","1329888038","1329888141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0be023b657bd01a39ed9d89631485e91.jpg","text":"TemporaryFile(/tmp/multipartBody3059755179778467307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240519568,"filename":"image_18012025_23_47_02_621668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/68e0750397f0cbe71d230a963d70f850.jpg","text":"TemporaryFile(/tmp/multipartBody1888019253524125158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240519568,"filename":"image_18012025_23_47_02_621668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6237e7c2ec1d607b46ac1aa68f9b8959.jpg","text":"TemporaryFile(/tmp/multipartBody5789305698179517460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240519568,"filename":"image_18012025_23_46_02_368042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/b462552adc50f31a28b2ed1773b348c2.jpg","text":"TemporaryFile(/tmp/multipartBody7583339778905241204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240519568,"filename":"image_18012025_23_46_02_368042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/098ba4c582cb3742738a90b32cd3cb85.jpg","text":"TemporaryFile(/tmp/multipartBody7620389820668835966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240519568,"filename":"image_18012025_23_47_02_621668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/6d6760b7f67e6b9f23ae410f4379e0a0.jpg","text":"TemporaryFile(/tmp/multipartBody5535213306105480917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240519568,"filename":"image_18012025_23_46_02_368042_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329887888","file1":"1329887886","file0":"1329887871","file4":"1329888038","file5":"1329888141","file3":"1329887890"},"map_files_photo_id_array":[{"photo_id":"1329888141","filename":"file5"},{"photo_id":"1329887888","filename":"file2"},{"photo_id":"1329888038","filename":"file4"},{"photo_id":"1329887886","filename":"file1"},{"photo_id":"1329887871","filename":"file0"},{"photo_id":"1329887890","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329888038":["hashtag1","hashtag2"]},{"1329887890":["hashtag1","hashtag2"]},{"1329887886":["hashtag1","hashtag2"]},{"1329887871":["hashtag1","hashtag2"]},{"1329888141":["hashtag1","hashtag2"]},{"1329887888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329888038, 1329887890, 1329887886, 1329887871, 1329888141, 1329887888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.079198598861694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 23:48:32.663960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/47/image_18012025_23_47_02_621668_0003.jpg', '/home/pi/Desktop/images/18012025/23/48/image_18012025_23_48_02_869907_0000.jpg', '/home/pi/Desktop/images/18012025/23/48/image_18012025_23_48_02_869907_0001.jpg', '/home/pi/Desktop/images/18012025/23/48/image_18012025_23_48_02_869907_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/47/image_18012025_23_47_02_621668_0003.jpg
/home/pi/Desktop/images/18012025/23/48/image_18012025_23_48_02_869907_0000.jpg
/home/pi/Desktop/images/18012025/23/48/image_18012025_23_48_02_869907_0001.jpg
/home/pi/Desktop/images/18012025/23/48/image_18012025_23_48_02_869907_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329888298","1329888265","1329888294","1329888267"],"photo_ids_order":["1329888265","1329888267","1329888294","1329888298"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/99c4e656dd8de1b552c3e5a8e49605ef.jpg","text":"TemporaryFile(/tmp/multipartBody3161724553024317209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240583669,"filename":"image_18012025_23_48_02_869907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/eba58fe5df783bf45367d46fb31480df.jpg","text":"TemporaryFile(/tmp/multipartBody607014979300390813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240583669,"filename":"image_18012025_23_47_02_621668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/f9331fe118ba69ad7fa42c539a48c6f2.jpg","text":"TemporaryFile(/tmp/multipartBody1851549031938320882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240583669,"filename":"image_18012025_23_48_02_869907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/cfc2a352d99be17782c0ee0d5f54a578.jpg","text":"TemporaryFile(/tmp/multipartBody898630855934136557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240583669,"filename":"image_18012025_23_48_02_869907_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329888294","file1":"1329888267","file0":"1329888265","file3":"1329888298"},"map_files_photo_id_array":[{"photo_id":"1329888294","filename":"file2"},{"photo_id":"1329888267","filename":"file1"},{"photo_id":"1329888265","filename":"file0"},{"photo_id":"1329888298","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329888298":["hashtag1","hashtag2"]},{"1329888265":["hashtag1","hashtag2"]},{"1329888294":["hashtag1","hashtag2"]},{"1329888267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329888298, 1329888265, 1329888294, 1329888267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.600651025772095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:49:21.844218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/48/image_18012025_23_48_02_869907_0003.jpg', '/home/pi/Desktop/images/18012025/23/49/image_18012025_23_49_02_959132_0000.jpg', '/home/pi/Desktop/images/18012025/23/49/image_18012025_23_49_02_959132_0001.jpg', '/home/pi/Desktop/images/18012025/23/49/image_18012025_23_49_02_959132_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/48/image_18012025_23_48_02_869907_0003.jpg
/home/pi/Desktop/images/18012025/23/49/image_18012025_23_49_02_959132_0000.jpg
/home/pi/Desktop/images/18012025/23/49/image_18012025_23_49_02_959132_0001.jpg
/home/pi/Desktop/images/18012025/23/49/image_18012025_23_49_02_959132_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329888455","1329888457","1329888447","1329888459"],"photo_ids_order":["1329888447","1329888455","1329888457","1329888459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8e1ffa73d6d6b50742d5b26cda941079.jpg","text":"TemporaryFile(/tmp/multipartBody3512966005897415279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240633126,"filename":"image_18012025_23_49_02_959132_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/da4dcf6e0709449c3f80a5e08971d1d8.jpg","text":"TemporaryFile(/tmp/multipartBody215022172484725260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240633126,"filename":"image_18012025_23_49_02_959132_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/19e8664eb7f3de87a505d315f0829389.jpg","text":"TemporaryFile(/tmp/multipartBody5291745445435688520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240633126,"filename":"image_18012025_23_48_02_869907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8577d964767a98afc1766ba4ee39c3ef.jpg","text":"TemporaryFile(/tmp/multipartBody36915546482900322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240633126,"filename":"image_18012025_23_49_02_959132_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329888457","file1":"1329888455","file0":"1329888447","file3":"1329888459"},"map_files_photo_id_array":[{"photo_id":"1329888457","filename":"file2"},{"photo_id":"1329888455","filename":"file1"},{"photo_id":"1329888447","filename":"file0"},{"photo_id":"1329888459","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329888455":["hashtag1","hashtag2"]},{"1329888457":["hashtag1","hashtag2"]},{"1329888447":["hashtag1","hashtag2"]},{"1329888459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329888455, 1329888457, 1329888447, 1329888459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.7265510559082 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:50:22.019565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/49/image_18012025_23_49_02_959132_0003.jpg', '/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0000.jpg', '/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0001.jpg', '/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/49/image_18012025_23_49_02_959132_0003.jpg
/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0000.jpg
/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0001.jpg
/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.969920873641968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 23:50:41.937581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/49/image_18012025_23_49_02_959132_0003.jpg', '/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0000.jpg', '/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0001.jpg', '/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/49/image_18012025_23_49_02_959132_0003.jpg
/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0000.jpg
/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0001.jpg
/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329888614","1329888615","1329888609","1329888612"],"photo_ids_order":["1329888609","1329888612","1329888614","1329888615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/c5cea13421332cf6367439a8ad8499f8.jpg","text":"TemporaryFile(/tmp/multipartBody6592851382309711486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240713309,"filename":"image_18012025_23_50_02_269323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3254966ed81eebaa57b21e0802df7c24.jpg","text":"TemporaryFile(/tmp/multipartBody1138773167553968929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240713309,"filename":"image_18012025_23_50_02_269323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/15bcaaeef82477a64265287cd4eb66ce.jpg","text":"TemporaryFile(/tmp/multipartBody1294289678064476863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240713309,"filename":"image_18012025_23_49_02_959132_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/750eb0df96464f70c62c92a0801d53a1.jpg","text":"TemporaryFile(/tmp/multipartBody6589583359712677577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240713309,"filename":"image_18012025_23_50_02_269323_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329888614","file1":"1329888612","file0":"1329888609","file3":"1329888615"},"map_files_photo_id_array":[{"photo_id":"1329888614","filename":"file2"},{"photo_id":"1329888612","filename":"file1"},{"photo_id":"1329888609","filename":"file0"},{"photo_id":"1329888615","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329888614":["hashtag1","hashtag2"]},{"1329888615":["hashtag1","hashtag2"]},{"1329888609":["hashtag1","hashtag2"]},{"1329888612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329888614, 1329888615, 1329888609, 1329888612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.10612630844116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 23:51:32.065267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0003.jpg', '/home/pi/Desktop/images/18012025/23/51/image_18012025_23_51_02_324038_0000.jpg', '/home/pi/Desktop/images/18012025/23/51/image_18012025_23_51_02_324038_0001.jpg', '/home/pi/Desktop/images/18012025/23/51/image_18012025_23_51_02_324038_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/50/image_18012025_23_50_02_269323_0003.jpg
/home/pi/Desktop/images/18012025/23/51/image_18012025_23_51_02_324038_0000.jpg
/home/pi/Desktop/images/18012025/23/51/image_18012025_23_51_02_324038_0001.jpg
/home/pi/Desktop/images/18012025/23/51/image_18012025_23_51_02_324038_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329888697","1329888694","1329888688","1329888692"],"photo_ids_order":["1329888688","1329888692","1329888694","1329888697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/0da5d4afd67705575921c971d14b0eea.jpg","text":"TemporaryFile(/tmp/multipartBody3516475159105119072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240763805,"filename":"image_18012025_23_51_02_324038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/440a1b45bc2abd7d81f0649d8aa211d6.jpg","text":"TemporaryFile(/tmp/multipartBody4312703471800937484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240763805,"filename":"image_18012025_23_51_02_324038_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/54661e6dd774160a785e535fdf4ab5ce.jpg","text":"TemporaryFile(/tmp/multipartBody2150220864448565840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240763805,"filename":"image_18012025_23_50_02_269323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/28a13d29f82d69154ed7a661c4052926.jpg","text":"TemporaryFile(/tmp/multipartBody8503230781622494597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240763805,"filename":"image_18012025_23_51_02_324038_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329888694","file1":"1329888692","file0":"1329888688","file3":"1329888697"},"map_files_photo_id_array":[{"photo_id":"1329888694","filename":"file2"},{"photo_id":"1329888692","filename":"file1"},{"photo_id":"1329888688","filename":"file0"},{"photo_id":"1329888697","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329888697":["hashtag1","hashtag2"]},{"1329888694":["hashtag1","hashtag2"]},{"1329888688":["hashtag1","hashtag2"]},{"1329888692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329888697, 1329888694, 1329888688, 1329888692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.30050444602966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:52:22.267070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/51/image_18012025_23_51_02_324038_0003.jpg', '/home/pi/Desktop/images/18012025/23/52/image_18012025_23_52_02_517160_0000.jpg', '/home/pi/Desktop/images/18012025/23/52/image_18012025_23_52_02_517160_0001.jpg', '/home/pi/Desktop/images/18012025/23/52/image_18012025_23_52_02_517160_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/51/image_18012025_23_51_02_324038_0003.jpg
/home/pi/Desktop/images/18012025/23/52/image_18012025_23_52_02_517160_0000.jpg
/home/pi/Desktop/images/18012025/23/52/image_18012025_23_52_02_517160_0001.jpg
/home/pi/Desktop/images/18012025/23/52/image_18012025_23_52_02_517160_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329888752","1329888748","1329888771","1329888758"],"photo_ids_order":["1329888748","1329888752","1329888758","1329888771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1e3cd36e0402febe70bc1334919d2b44.jpg","text":"TemporaryFile(/tmp/multipartBody6981021666347473920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240813934,"filename":"image_18012025_23_52_02_517160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a65fefec9695d367aa0f303090d8436e.jpg","text":"TemporaryFile(/tmp/multipartBody5682481129685008070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240813934,"filename":"image_18012025_23_51_02_324038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d09058724ffcbf2cc892b9aa2bb2cc8b.jpg","text":"TemporaryFile(/tmp/multipartBody3324669285296506905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240813934,"filename":"image_18012025_23_52_02_517160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a08cf7ea6c408b82bcb531102532264e.jpg","text":"TemporaryFile(/tmp/multipartBody2953943716375721670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240813934,"filename":"image_18012025_23_52_02_517160_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329888758","file1":"1329888752","file0":"1329888748","file3":"1329888771"},"map_files_photo_id_array":[{"photo_id":"1329888758","filename":"file2"},{"photo_id":"1329888752","filename":"file1"},{"photo_id":"1329888748","filename":"file0"},{"photo_id":"1329888771","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329888752":["hashtag1","hashtag2"]},{"1329888748":["hashtag1","hashtag2"]},{"1329888771":["hashtag1","hashtag2"]},{"1329888758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329888752, 1329888748, 1329888771, 1329888758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.06497859954834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:53:22.480116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/52/image_18012025_23_52_02_517160_0003.jpg', '/home/pi/Desktop/images/18012025/23/53/image_18012025_23_53_02_606049_0000.jpg', '/home/pi/Desktop/images/18012025/23/53/image_18012025_23_53_02_606049_0001.jpg', '/home/pi/Desktop/images/18012025/23/53/image_18012025_23_53_02_606049_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/52/image_18012025_23_52_02_517160_0003.jpg
/home/pi/Desktop/images/18012025/23/53/image_18012025_23_53_02_606049_0000.jpg
/home/pi/Desktop/images/18012025/23/53/image_18012025_23_53_02_606049_0001.jpg
/home/pi/Desktop/images/18012025/23/53/image_18012025_23_53_02_606049_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329889099","1329889048","1329889053","1329889056"],"photo_ids_order":["1329889048","1329889053","1329889056","1329889099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/7064921125efe57fdcaa9bbdaa697696.jpg","text":"TemporaryFile(/tmp/multipartBody1143970057081834258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240874000,"filename":"image_18012025_23_53_02_606049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/a5455b21bc2f247f7df74ce5adb119eb.jpg","text":"TemporaryFile(/tmp/multipartBody4981869717306439148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240874000,"filename":"image_18012025_23_52_02_517160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/18b94bb7c275df38aaf65c47fd229f71.jpg","text":"TemporaryFile(/tmp/multipartBody931467273617949293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240874000,"filename":"image_18012025_23_53_02_606049_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/21dbd24f06fc6a2d62c1d008a797bbdf.jpg","text":"TemporaryFile(/tmp/multipartBody2345467050589890055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240874000,"filename":"image_18012025_23_53_02_606049_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329889056","file1":"1329889053","file0":"1329889048","file3":"1329889099"},"map_files_photo_id_array":[{"photo_id":"1329889056","filename":"file2"},{"photo_id":"1329889053","filename":"file1"},{"photo_id":"1329889048","filename":"file0"},{"photo_id":"1329889099","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329889099":["hashtag1","hashtag2"]},{"1329889048":["hashtag1","hashtag2"]},{"1329889053":["hashtag1","hashtag2"]},{"1329889056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329889099, 1329889048, 1329889053, 1329889056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.55867791175842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:54:22.708908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/53/image_18012025_23_53_02_606049_0003.jpg', '/home/pi/Desktop/images/18012025/23/54/image_18012025_23_54_02_904979_0000.jpg', '/home/pi/Desktop/images/18012025/23/54/image_18012025_23_54_02_904979_0001.jpg', '/home/pi/Desktop/images/18012025/23/54/image_18012025_23_54_02_904979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/53/image_18012025_23_53_02_606049_0003.jpg
/home/pi/Desktop/images/18012025/23/54/image_18012025_23_54_02_904979_0000.jpg
/home/pi/Desktop/images/18012025/23/54/image_18012025_23_54_02_904979_0001.jpg
/home/pi/Desktop/images/18012025/23/54/image_18012025_23_54_02_904979_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329890402","1329890399","1329890393","1329890396"],"photo_ids_order":["1329890393","1329890396","1329890399","1329890402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/9ad50c214c2fdd62cfe230d6a2fc1635.jpg","text":"TemporaryFile(/tmp/multipartBody982474811594035438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240933547,"filename":"image_18012025_23_54_02_904979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/40dd9b1c5bf8b270179b6e8d500ebc8b.jpg","text":"TemporaryFile(/tmp/multipartBody6300917830895226816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240933547,"filename":"image_18012025_23_54_02_904979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/efc5ee9db07017a10bba7981e2c506ab.jpg","text":"TemporaryFile(/tmp/multipartBody2188239205883935627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240933547,"filename":"image_18012025_23_53_02_606049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/3816dbb24b7dc664d12eea5500b92269.jpg","text":"TemporaryFile(/tmp/multipartBody9223308487067611445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240933547,"filename":"image_18012025_23_54_02_904979_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329890399","file1":"1329890396","file0":"1329890393","file3":"1329890402"},"map_files_photo_id_array":[{"photo_id":"1329890399","filename":"file2"},{"photo_id":"1329890396","filename":"file1"},{"photo_id":"1329890393","filename":"file0"},{"photo_id":"1329890402","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329890402":["hashtag1","hashtag2"]},{"1329890399":["hashtag1","hashtag2"]},{"1329890393":["hashtag1","hashtag2"]},{"1329890396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329890402, 1329890399, 1329890393, 1329890396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.352477073669434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:55:21.815766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/54/image_18012025_23_54_02_904979_0003.jpg', '/home/pi/Desktop/images/18012025/23/55/image_18012025_23_55_03_115664_0000.jpg', '/home/pi/Desktop/images/18012025/23/55/image_18012025_23_55_03_115664_0001.jpg', '/home/pi/Desktop/images/18012025/23/55/image_18012025_23_55_03_115664_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/54/image_18012025_23_54_02_904979_0003.jpg
/home/pi/Desktop/images/18012025/23/55/image_18012025_23_55_03_115664_0000.jpg
/home/pi/Desktop/images/18012025/23/55/image_18012025_23_55_03_115664_0001.jpg
/home/pi/Desktop/images/18012025/23/55/image_18012025_23_55_03_115664_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329890420","1329890412","1329890415","1329890418"],"photo_ids_order":["1329890412","1329890415","1329890418","1329890420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/77bf49ff937e19a44a8c249e65d4b094.jpg","text":"TemporaryFile(/tmp/multipartBody1338652587622652233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240993429,"filename":"image_18012025_23_55_03_115664_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d8a74769514cfa7ef687ddb722e87bf3.jpg","text":"TemporaryFile(/tmp/multipartBody7956094244368775065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240993429,"filename":"image_18012025_23_54_02_904979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/d174b2c16859b3ba9c02c327b81c196f.jpg","text":"TemporaryFile(/tmp/multipartBody9022071069899363302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240993429,"filename":"image_18012025_23_55_03_115664_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/4c8c643dc61510fe32480d5e4fc9a3e6.jpg","text":"TemporaryFile(/tmp/multipartBody8145283480408337580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737240993429,"filename":"image_18012025_23_55_03_115664_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329890418","file1":"1329890415","file0":"1329890412","file3":"1329890420"},"map_files_photo_id_array":[{"photo_id":"1329890418","filename":"file2"},{"photo_id":"1329890415","filename":"file1"},{"photo_id":"1329890412","filename":"file0"},{"photo_id":"1329890420","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329890420":["hashtag1","hashtag2"]},{"1329890412":["hashtag1","hashtag2"]},{"1329890415":["hashtag1","hashtag2"]},{"1329890418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329890420, 1329890412, 1329890415, 1329890418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.67025828361511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-18 23:56:22.023080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/55/image_18012025_23_55_03_115664_0003.jpg', '/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0000.jpg', '/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0001.jpg', '/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/55/image_18012025_23_55_03_115664_0003.jpg
/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0000.jpg
/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0001.jpg
/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 11.031116962432861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-18 23:56:42.017342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/55/image_18012025_23_55_03_115664_0003.jpg', '/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0000.jpg', '/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0001.jpg', '/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/55/image_18012025_23_55_03_115664_0003.jpg
/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0000.jpg
/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0001.jpg
/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329891127","1329891103","1329891125","1329891128"],"photo_ids_order":["1329891103","1329891125","1329891127","1329891128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/8bb399f4c22106c4b1aa5cc3b2a338d6.jpg","text":"TemporaryFile(/tmp/multipartBody200093878010730451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241073448,"filename":"image_18012025_23_56_02_153007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/413ea05ecdd6e4b4332255e4b5f9a75e.jpg","text":"TemporaryFile(/tmp/multipartBody7310068586405342324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241073448,"filename":"image_18012025_23_55_03_115664_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/17b45587f329950aa1cbe498567e1f50.jpg","text":"TemporaryFile(/tmp/multipartBody2703130835684637192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241073448,"filename":"image_18012025_23_56_02_153007_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/18/1a1aa7d110114cd3fd4a9b2dd334f3c1.jpg","text":"TemporaryFile(/tmp/multipartBody8012333215925926223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1737241073448,"filename":"image_18012025_23_56_02_153007_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1329891127","file1":"1329891125","file0":"1329891103","file3":"1329891128"},"map_files_photo_id_array":[{"photo_id":"1329891127","filename":"file2"},{"photo_id":"1329891125","filename":"file1"},{"photo_id":"1329891103","filename":"file0"},{"photo_id":"1329891128","filename":"file3"}],"portfolio_id":19724253,"hashtag_by_photo_ids":[{"1329891127":["hashtag1","hashtag2"]},{"1329891103":["hashtag1","hashtag2"]},{"1329891125":["hashtag1","hashtag2"]},{"1329891128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19724253 used, photo_id : ArrayBuffer(1329891127, 1329891103, 1329891125, 1329891128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.89917731285095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-18 23:57:32.084144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250118 ORDER BY id_local ASC LIMIT 6;
  port_id : 19724253
  datou_current_id : 2493062
in upload_from_sqlite, uploading in 19724253
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0003.jpg', '/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0000.jpg', '/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0001.jpg', '/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2493062&datou=0
/home/pi/Desktop/images/18012025/23/56/image_18012025_23_56_02_153007_0003.jpg
/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0000.jpg
/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0001.jpg
/home/pi/Desktop/images/18012025/23/57/image_18012025_23_57_02_327082_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
